随笔分类 -  kubernetes

kubernetes namespace Terminating
摘要:1.kubectl get namespace annoying-namespace-to-delete -o json > tmp.jsonthen edit tmp.json and remove"kubernetes" curl -k -H "Content-Type: application 阅读全文
posted @ 2018-08-03 18:15 九重霄 阅读(597) 评论(0) 推荐(0)
kubernetes promethues预警、报警
摘要:k8s addon中prometheus为测试事例,官方推荐生产环境使用Prometheus Operator and kube-prometheus. 1.clone 源码 git clone https://github.com/coreos/prometheus-operator.git 2. 阅读全文
posted @ 2018-06-13 09:59 九重霄 阅读(585) 评论(0) 推荐(0)
KubeletNotReady runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
摘要:1. mkdir -p /etc/cni/net.d 2. vi 10-flannel.conflist { "name": "cbr0", "plugins": [ { "type": "flannel", "delegate": { "hairpinMode": true, "isDefault 阅读全文
posted @ 2018-05-02 19:22 九重霄 阅读(2997) 评论(0) 推荐(0)
"cni0" already has an IP address different from 10.244.2.1/24。 Error while adding to cni network: failed to allocate for range 0: no IP addresses available in range set: 10.244.2.1-10.244.2.254
摘要:"cni0" already has an IP address different from 10.244.2.1/24。 Error while adding to cni network: failed to allocate for range 0: no IP addresses avai 阅读全文
posted @ 2018-04-25 11:43 九重霄 阅读(4119) 评论(1) 推荐(0)
kubadm创建k8s v1.10集群
摘要:kubadm创建k8s集群 1:服务器信息以及节点介绍 主机名 ip 备注 k8s-master 192.168.0.104 master etcd keepalived k8s-client1 192.168.0.99 master etcd keepalived k8s-client2 192. 阅读全文
posted @ 2018-04-25 11:39 九重霄 阅读(1487) 评论(0) 推荐(0)