随笔分类 -  k8s

摘要:参考:提高 kubectl 使用生产力[译] 英文原文:https://learnk8s.io/blog/kubectl-productivity/ Kubernetes 架构 Kubernetes 由一组独立的组件组成,这些组件在集群的节点上作为单独的进行运行,有些组件在 Master 节点上运行 阅读全文
posted @ 2019-07-29 11:33 番茄土豆西红柿 阅读(1207) 评论(0) 推荐(0)
摘要:安装笔记可参考 https://blog.51cto.com/kaliarch/2160569 有如下几点需要注意, 1.上述安装文档中prometheus和grafana是没有使用持久化存储,pod重启数据会丢失,建议改成持久存储 2.上述文档中使用的版本过旧,如Prometheus v2.0.0 阅读全文
posted @ 2019-07-26 17:53 番茄土豆西红柿 阅读(568) 评论(0) 推荐(0)
摘要:链接:https://kubernetes.io/docs/concepts/storage/persistent-volumes/ 支持的参数,比如mountOptions在这里可以找到 删除正在被使用的pvc报错的原因,文中有解释 阅读全文
posted @ 2019-07-26 16:17 番茄土豆西红柿 阅读(165) 评论(0) 推荐(0)
摘要:原文:https://mp.weixin.qq.com/s/176eyFBknzdA5wpiJrxDSg 概述 已经有了 cadvisor、heapster、metric-server,几乎容器运行的所有指标都能拿到,但是下面这种情况却无能为力: 我调度了多少个 replicas?现在可用的有几个? 阅读全文
posted @ 2019-07-11 12:12 番茄土豆西红柿 阅读(3018) 评论(0) 推荐(0)
摘要:参考:https://mp.weixin.qq.com/s/iwIQpWkJa2tOhWcvCdiOPQ## 阅读全文
posted @ 2019-07-11 10:58 番茄土豆西红柿 阅读(221) 评论(0) 推荐(0)
摘要:1,报错如下 是个警告,可以忽略,参考:https://my.oschina.net/u/2306127/blog/1647246 2.如何使用Kubernetes在一个yaml文件中设置多个命令? 说明:的command ["/bin/sh", "-c"]说: “运行shell,并执行下列指令”。 阅读全文
posted @ 2019-07-09 19:35 番茄土豆西红柿 阅读(1537) 评论(0) 推荐(0)
摘要:原文:https://cloud.tencent.com/developer/article/1394657 Deployment.spec.selector.matchLables实验解释 正确的Deployment,让matchLabels 和template.metadata.lables完全 阅读全文
posted @ 2019-07-09 10:37 番茄土豆西红柿 阅读(7357) 评论(1) 推荐(1)
摘要:原文:https://www.cnblogs.com/devilwind/p/8881201.html 原文https://blog.csdn.net/u013760355/article/details/70162242 https://blog.csdn.net/xinghun_4/articl 阅读全文
posted @ 2019-07-09 10:23 番茄土豆西红柿 阅读(749) 评论(0) 推荐(0)
摘要:参考:https://blog.51cto.com/lee90/2062252 官网对于联邦的介绍:https://prometheus.io/docs/prometheus/latest/federation/ prometheus2.0 在参数上有原先的1.X有较大的变化,很多参数被去掉了。另外 阅读全文
posted @ 2019-07-08 15:16 番茄土豆西红柿 阅读(2251) 评论(0) 推荐(0)
摘要:原文:https://www.jianshu.com/p/c22ff79c4452 之前介绍了 RBD 的使用方法,有了 RBD,远程磁盘挂载的问题就解决了,但 RBD 的问题是不能多个主机共享一个磁盘,如果有一份数据很多客户端都要读写该怎么办呢?这时 CephFS 作为文件系统存储解决方案就派上用 阅读全文
posted @ 2019-07-04 16:07 番茄土豆西红柿 阅读(602) 评论(0) 推荐(0)
摘要:原文:https://www.kubernetes.org.cn/3894.html 利用NFS client provisioner动态提供Kubernetes后端存储卷 本文翻译自nfs-client-provisioner的说明文档,本文将介绍使用nfs-client-provisioner这 阅读全文
posted @ 2019-07-04 16:06 番茄土豆西红柿 阅读(3641) 评论(0) 推荐(0)
摘要:https://container-solutions.com/adding-self-signed-registry-certs-docker-mac/ 阅读全文
posted @ 2019-05-08 10:34 番茄土豆西红柿 阅读(296) 评论(0) 推荐(0)
摘要:kubernetes 参考资料 非常建议先花20分钟,完成这个官方的交互式指南:https://kubernetes.io/docs/tutorials/kubernetes-basics/ 这个教程会介绍kubernetes 中重要的Pods、Deployment 、Service等概念,理解过后 阅读全文
posted @ 2019-03-06 18:13 番茄土豆西红柿 阅读(256) 评论(0) 推荐(0)
摘要:https://xiangyu123.github.io/2018/10/17/k8s-install/ 阅读全文
posted @ 2018-10-18 13:23 番茄土豆西红柿 阅读(124) 评论(0) 推荐(0)

TOP