k8s多集群配置管理平台
k8s多集群配置管理平台
临时集群特性
模拟生产环境
整体环境说明
内网:10.17.1.44
[root@localhost account-server]# kubectl get nodes
NAME STATUS ROLES AGE VERSION
localhost Ready master 25h v1.17.5
[root@localhost account-server]# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
cattle-system cattle-cluster-agent-689f8dcc64-7slpk 1/1 Running 0 78m
cattle-system cattle-node-agent-7lndv 1/1 Running 0 78m
ingress-nginx nginx-ingress-controller-74879f74c6-jdzx9 1/1 Running 0 24h
kong ingress-kong-d7b5d68f4-j6tsx 2/2 Running 2 25h
kube-system calico-kube-controllers-69cb4d4df7-447m5 1/1 Running 0 25h
kube-system calico-node-7cb2w 1/1 Running 0 25h
kube-system coredns-9d85f5447-x5l4c 1/1 Running 0 25h
kube-system coredns-9d85f5447-zqgh7 1/1 Running 0 25h
kube-system etcd-localhost 1/1 Running 0 25h
kube-system kube-apiserver-localhost 1/1 Running 0 25h
kube-system kube-controller-manager-localhost 1/1 Running 0 25h
kube-system kube-proxy-gdtdt 1/1 Running 0 25h
kube-system kube-scheduler-localhost 1/1 Running 0 25h
kube-system metrics-server-6fcdc7bddc-ggsnm 1/1 Running 0 25h
myaliyun: 47.1x6.x9.1x6
rancher 部署于此节点
[root@zisefeizhu ~]# docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
rancher/rancher:latest
[root@zisefeizhu ~]# free -h
total used free shared buff/cache available
Mem: 3.7G 1.1G 320M 640K 2.3G 2.3G
Swap: 0B 0B 0B
[root@zisefeizhu ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
87aeb7e4a262 rancher/rancher:latest "entrypoint.sh" 2 hours ago Up 2 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp angry_visvesvaraya
临时环境(模拟生产):如上图
[root@mobanji .kube]# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
arms-prom arms-prometheus-ack-arms-prometheus-7b4d578f86-ff824 1/1 Running 0 9m26s
arms-prom kube-state-metrics-864b9c5857-ljb6l 1/1 Running 0 9m42s
arms-prom node-exporter-6ttg5 2/2 Running 0 9m42s
arms-prom node-exporter-rz7rr 2/2 Running 0 9m42s
arms-prom node-exporter-t45zj 2/2 Running 0 9m42s
kube-system ack-node-problem-detector-daemonset-2r9bg 1/1 Running 0 9m14s
kube-system ack-node-problem-detector-daemonset-mjk4k 1/1 Running 0 9m15s
kube-system ack-node-problem-detector-daemonset-t94p4 1/1 Running 0 9m13s
kube-system ack-node-problem-detector-eventer-6cb57ffb68-gl5n5 1/1 Running 0 9m44s
kube-system alibaba-log-controller-795d7486f8-jrcv2 1/1 Running 2 9m45s
kube-system alicloud-application-controller-bc84954fb-z5dq9 1/1 Running 0 9m45s
kube-system alicloud-monitor-controller-7c8c5485f4-xdrdd 1/1 Running 0 9m45s
kube-system aliyun-acr-credential-helper-59b59477df-p7vxc 1/1 Running 0 9m46s
kube-system coredns-79989b94b6-47vll 1/1 Running 0 9m46s
kube-system coredns-79989b94b6-dqpjm 1/1 Running 0 9m46s
kube-system csi-plugin-2kjc9 9/9 Running 0 9m45s
kube-system csi-plugin-5lt7b 9/9 Running 0 9m45s
kube-system csi-plugin-px52m 9/9 Running 0 9m45s
kube-system csi-provisioner-56d7fb44b6-6czqx 8/8 Running 0 9m45s
kube-system csi-provisioner-56d7fb44b6-jqsrt 8/8 Running 1 9m45s
kube-system kube-eventer-init-mv2vj 0/1 Completed 0 9m44s
kube-system kube-flannel-ds-4xbhr 1/1 Running 0 9m46s
kube-system kube-flannel-ds-mfg7m 1/1 Running 0 9m46s
kube-system kube-flannel-ds-wnrp2 1/1 Running 0 9m46s
kube-system kube-proxy-worker-44tkt 1/1 Running 0 9m45s
kube-system kube-proxy-worker-nw2g6 1/1 Running 0 9m45s
kube-system kube-proxy-worker-s78vl 1/1 Running 0 9m45s
kube-system logtail-ds-67lkm 1/1 Running 0 9m45s
kube-system logtail-ds-68fdz 1/1 Running 0 9m45s
kube-system logtail-ds-bkntm 1/1 Running 0 9m45s
kube-system metrics-server-f88f9b8d8-l9zl4 1/1 Running 0 9m46s
kube-system nginx-ingress-controller-758cdc676c-k8ffj 1/1 Running 0 9m46s
kube-system nginx-ingress-controller-758cdc676c-pxzxd 1/1 Running 0 9m46s
测试点
可行性验证
在临时环境上部署rancher 并同时管控临时环境和内网环境
!暂rancher管控两个k8s集群成功。说明rancher可以管理多k8s集群
临时环境
内网环境
可行性验证到此完毕
可预测性问题验证
测试rancher web 和k8s本端是否可以同时进行操作
k8s集群本端正常。
rancher web 正常。
这说明 rancher web 可以和k8s本端同时进行管控操作
删除myaliyun的rancher然后再起一个rancher 看能否管控
[root@zisefeizhu ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
87aeb7e4a262 rancher/rancher:latest "entrypoint.sh" 2 hours ago Up 2 hours 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp angry_visvesvaraya
[root@zisefeizhu ~]# docker container rm -f 87aeb7e4a262
87aeb7e4a262
观察k8s集群
[root@mobanji .kube]# kubectl get pods -A -w
NAMESPACE NAME READY STATUS RESTARTS AGE
arms-prom arms-prometheus-ack-arms-prometheus-7b4d578f86-ff824 1/1 Running 0 22m
arms-prom kube-state-metrics-864b9c5857-ljb6l 1/1 Running 0 22m
arms-prom node-exporter-6ttg5 2/2 Running 0 22m
arms-prom node-exporter-rz7rr 2/2 Running 0 22m
arms-prom node-exporter-t45zj 2/2 Running 0 22m
cattle-system cattle-cluster-agent-7d99b645d9-s5gqh 1/1 Running 0 16m
cattle-system cattle-node-agent-9s4tw 0/1 Pending 0 16m
cattle-system cattle-node-agent-m8rhk 1/1 Running 0 17m
cattle-system cattle-node-agent-nkl5m 1/1 Running 0 17m
kube-system ack-node-problem-detector-daemonset-2r9bg 1/1 Running 0 22m
kube-system ack-node-problem-detector-daemonset-mjk4k 1/1 Running 0 22m
kube-system ack-node-problem-detector-daemonset-t94p4 1/1 Running 0 22m
kube-system ack-node-problem-detector-eventer-6cb57ffb68-gl5n5 1/1 Running 0 22m
kube-system alibaba-log-controller-795d7486f8-jrcv2 1/1 Running 2 22m
kube-system alicloud-application-controller-bc84954fb-z5dq9 1/1 Running 0 22m
kube-system alicloud-monitor-controller-7c8c5485f4-xdrdd 1/1 Running 0 22m
kube-system aliyun-acr-credential-helper-59b59477df-p7vxc 1/1 Running 0 23m
kube-system coredns-79989b94b6-47vll 1/1 Running 0 23m
kube-system coredns-79989b94b6-dqpjm 1/1 Running 0 23m
kube-system csi-plugin-2kjc9 9/9 Running 0 22m
kube-system csi-plugin-5lt7b 9/9 Running 0 22m
kube-system csi-plugin-px52m 9/9 Running 0 22m
kube-system csi-provisioner-56d7fb44b6-6czqx 8/8 Running 0 22m
kube-system csi-provisioner-56d7fb44b6-jqsrt 8/8 Running 1 22m
kube-system kube-eventer-init-mv2vj 0/1 Completed 0 22m
kube-system kube-flannel-ds-4xbhr 1/1 Running 0 23m
kube-system kube-flannel-ds-mfg7m 1/1 Running 0 23m
kube-system kube-flannel-ds-wnrp2 1/1 Running 0 23m
kube-system kube-proxy-worker-44tkt 1/1 Running 0 22m
kube-system kube-proxy-worker-nw2g6 1/1 Running 0 22m
kube-system kube-proxy-worker-s78vl 1/1 Running 0 22m
kube-system logtail-ds-67lkm 1/1 Running 0 22m
kube-system logtail-ds-68fdz 1/1 Running 0 22m
kube-system logtail-ds-bkntm 1/1 Running 0 22m
kube-system metrics-server-f88f9b8d8-l9zl4 1/1 Running 0 23m
kube-system nginx-ingress-controller-758cdc676c-k8ffj 1/1 Running 0 23m
kube-system nginx-ingress-controller-758cdc676c-pxzxd 1/1 Running 0 23m
临时环境和内网环境 k8s 集群都没发生改变
[root@zisefeizhu ~]# docker run -d --restart=unless-stopped \
> -p 80:80 -p 443:443 \
> rancher/rancher:latest
bdc79c85e179ab9bb481a391029ac7e03a19252ede71860992971e90f6e871bd
rancher web k8s集群丢失,再次添加
[root@mobanji .kube]# curl --insecure -sfL https://47.1xx.x9.1x6/v3/import/tgnmhhj6n2s5tc4prw9ft4pnd87w6sfw54487lrj2k5rkd26zwg8.yaml | kubectl apply -f -
clusterrole.rbac.authorization.k8s.io/proxy-clusterrole-kubeapiserver unchanged
clusterrolebinding.rbac.authorization.k8s.io/proxy-role-binding-kubernetes-master unchanged
namespace/cattle-system unchanged
serviceaccount/cattle unchanged
clusterrolebinding.rbac.authorization.k8s.io/cattle-admin-binding unchanged
secret/cattle-credentials-e50bc99 created
clusterrole.rbac.authorization.k8s.io/cattle-admin unchanged
deployment.apps/cattle-cluster-agent configured
daemonset.apps/cattle-node-agent configured
这证明rancher意外宕机对k8s集群没有影响
能否两个rancher同时管控
在内网环境部署rancher
注:因为临时环境无法访问内网,所以此问题只能在内网环境测试
目前内网环境正加入在临时环境部署的rancher中,现在直接在内网环境的rancher中加入内网k8s
[root@localhost elfk]# curl --insecure -sfL https://10.17.1.44:1443/v3/import/867hj6vl9tfg7vqwc4xdnpck8f6pjw8hn4bjw9thksj5spbnwjprjh.yaml | kubectl apply -f -
clusterrole.rbac.authorization.k8s.io/proxy-clusterrole-kubeapiserver unchanged
clusterrolebinding.rbac.authorization.k8s.io/proxy-role-binding-kubernetes-master unchanged
namespace/cattle-system unchanged
serviceaccount/cattle unchanged
clusterrolebinding.rbac.authorization.k8s.io/cattle-admin-binding unchanged
secret/cattle-credentials-6375cce created
clusterrole.rbac.authorization.k8s.io/cattle-admin unchanged
deployment.apps/cattle-cluster-agent configured
daemonset.apps/cattle-node-agent configured
内网环境的k8s端 管控正常
[root@localhost elfk]# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
cattle-prometheus exporter-kube-state-cluster-monitoring-dcf459bb8-t8qnj 1/1 Running 0 98m
cattle-prometheus exporter-node-cluster-monitoring-9kdvj 1/1 Running 0 98m
cattle-prometheus grafana-cluster-monitoring-698d79ff64-tv8hx 2/2 Running 0 98m
cattle-prometheus prometheus-cluster-monitoring-0 5/5 Running 1 95m
cattle-prometheus prometheus-operator-monitoring-operator-5f5d4c5987-8fjtq 1/1 Running 0 98m
cattle-system cattle-cluster-agent-56c4d48669-dpftm 1/1 Running 0 73s
cattle-system cattle-node-agent-p8r5x 1/1 Running 0 69s
ingress-nginx nginx-ingress-controller-74879f74c6-jdzx9 1/1 Running 0 25h
kong ingress-kong-d7b5d68f4-j6tsx 2/2 Running 2 25h
kube-system calico-kube-controllers-69cb4d4df7-447m5 1/1 Running 0 25h
kube-system calico-node-7cb2w 1/1 Running 0 25h
kube-system coredns-9d85f5447-x5l4c 1/1 Running 0 26h
kube-system coredns-9d85f5447-zqgh7 1/1 Running 0 26h
kube-system etcd-localhost 1/1 Running 0 26h
kube-system kube-apiserver-localhost 1/1 Running 0 26h
kube-system kube-controller-manager-localhost 1/1 Running 0 26h
kube-system kube-proxy-gdtdt 1/1 Running 0 26h
kube-system kube-scheduler-localhost 1/1 Running 0 26h
kube-system metrics-server-6fcdc7bddc-ggsnm 1/1 Running 0 25h
临时环境的rancher 失去对内网k8s的管控
内网环境的rancher接管对内网k8s的管控
此实验在临时环境同时跑两个rancher(端口差别)验证也是如此
使用rancher 的kubeconfig管控k8s集群
[root@mobanji .kube]# vim config
apiVersion: v1
kind: Config
clusters:
- name: "linshi"
cluster:
server: "https://4xx.1xx.6x.1x6/k8s/clusters/c-tgrbh"
certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJpVENDQ\
VM2Z0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQTdNUnd3R2dZRFZRUUtFeE5rZVc1aGJXbGoKY\
kdsemRHVnVaWEl0YjNKbk1Sc3dHUVlEVlFRREV4SmtlVzVoYldsamJHbHpkR1Z1WlhJdFkyRXdIa\
GNOTWpBdwpOekUxTURrMU56VXlXaGNOTXpBd056RXpNRGsxTnpVeVdqQTdNUnd3R2dZRFZRUUtFe\
E5rZVc1aGJXbGpiR2x6CmRHVnVaWEl0YjNKbk1Sc3dHUVlEVlFRREV4SmtlVzVoYldsamJHbHpkR\
1Z1WlhJdFkyRXdXVEFUQmdjcWhrak8KUFFJQkJnZ3Foa2pPUFFNQkJ3TkNBQVIza3pSWnV4UDVia\
npjd0lGVkNTcHdHZFZ2d281M1Q5b1pwajBOczhuVApVemg1VVFUNHVPYzE4QytYZVUvZkdyM3QrV\
0Q4bU0vRDVaaHc3L0ZuTWw0b295TXdJVEFPQmdOVkhROEJBZjhFCkJBTUNBcVF3RHdZRFZSMFRBU\
UgvQkFVd0F3RUIvekFLQmdncWhrak9QUVFEQWdOSkFEQkdBaUVBd2JaRmRBbEkKSWVJNlBrODdsU\
kJTNVh3eDk3NHNGUHpIL3RCRTUxMnpSOVFDSVFEbWtDZWpoa1paZlhocG1LWHdCMjc2ek1Odwpzc\
zdYdFdRY25Hc1JKNjJpZkE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t"
users:
- name: "linshi"
user:
token: "kubeconfig-user-rjd7z:z4lw5wcchlmf5ncjcss7hw7rrspcrt8jxcv29xxmlrtmjchw6kp8fc"
contexts:
- name: "linshi"
context:
user: "linshi"
cluster: "linshi"
current-context: "linshi"
[root@mobanji .kube]# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
arms-prom arms-prometheus-ack-arms-prometheus-7b4d578f86-ff824 1/1 Running 0 69m
arms-prom kube-state-metrics-864b9c5857-ljb6l 1/1 Running 0 70m
arms-prom node-exporter-6ttg5 2/2 Running 0 70m
arms-prom node-exporter-rz7rr 2/2 Running 0 70m
arms-prom node-exporter-t45zj 2/2 Running 0 70m
cattle-system cattle-cluster-agent-57c67fb54c-6pr9q 1/1 Running 0 22m
cattle-system cattle-node-agent-44d7g 1/1 Running 0 40m
cattle-system cattle-node-agent-f2b62 0/1 Pending 0 22m
cattle-system cattle-node-agent-qg86b 1/1 Running 0 40m
kube-system ack-node-problem-detector-daemonset-2r9bg 1/1 Running 0 69m
kube-system ack-node-problem-detector-daemonset-mjk4k 1/1 Running 0 69m
kube-system ack-node-problem-detector-daemonset-t94p4 1/1 Running 0 69m
kube-system ack-node-problem-detector-eventer-6cb57ffb68-gl5n5 1/1 Running 0 70m
kube-system alibaba-log-controller-795d7486f8-jrcv2 1/1 Running 2 70m
kube-system alicloud-application-controller-bc84954fb-z5dq9 1/1 Running 0 70m
kube-system alicloud-monitor-controller-7c8c5485f4-xdrdd 1/1 Running 0 70m
kube-system aliyun-acr-credential-helper-59b59477df-p7vxc 1/1 Running 0 70m
kube-system coredns-79989b94b6-47vll 1/1 Running 0 70m
kube-system coredns-79989b94b6-dqpjm 1/1 Running 0 70m
kube-system csi-plugin-2kjc9 9/9 Running 0 70m
kube-system csi-plugin-5lt7b 9/9 Running 0 70m
kube-system csi-plugin-px52m 9/9 Running 0 70m
kube-system csi-provisioner-56d7fb44b6-6czqx 8/8 Running 0 70m
kube-system csi-provisioner-56d7fb44b6-jqsrt 8/8 Running 1 70m
kube-system kube-eventer-init-mv2vj 0/1 Completed 0 70m
kube-system kube-flannel-ds-4xbhr 1/1 Running 0 70m
kube-system kube-flannel-ds-mfg7m 1/1 Running 0 70m
kube-system kube-flannel-ds-wnrp2 1/1 Running 0 70m
kube-system kube-proxy-worker-44tkt 1/1 Running 0 70m
kube-system kube-proxy-worker-nw2g6 1/1 Running 0 70m
kube-system kube-proxy-worker-s78vl 1/1 Running 0 70m
kube-system logtail-ds-67lkm 1/1 Running 0 70m
kube-system logtail-ds-68fdz 1/1 Running 0 70m
kube-system logtail-ds-bkntm 1/1 Running 0 70m
kube-system metrics-server-f88f9b8d8-l9zl4 1/1 Running 0 70m
kube-system nginx-ingress-controller-758cdc676c-k8ffj 1/1 Running 0 70m
kube-system nginx-ingress-controller-758cdc676c-pxzxd 1/1 Running 0 70m
这说明使用rancher的kubeconfig可以给特定集群进行管控
现在换回原来的看是否可以管控
[root@mobanji .kube]# mv config.bak02 config
mv:是否覆盖"config"? y
[root@mobanji .kube]# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
arms-prom arms-prometheus-ack-arms-prometheus-7b4d578f86-ff824 1/1 Running 0 71m
arms-prom kube-state-metrics-864b9c5857-ljb6l 1/1 Running 0 71m
arms-prom node-exporter-6ttg5 2/2 Running 0 71m
arms-prom node-exporter-rz7rr 2/2 Running 0 71m
arms-prom node-exporter-t45zj 2/2 Running 0 71m
cattle-system cattle-cluster-agent-57c67fb54c-6pr9q 1/1 Running 0 24m
cattle-system cattle-node-agent-44d7g 1/1 Running 0 41m
cattle-system cattle-node-agent-f2b62 0/1 Pending 0 24m
cattle-system cattle-node-agent-qg86b 1/1 Running 0 41m
kube-system ack-node-problem-detector-daemonset-2r9bg 1/1 Running 0 71m
kube-system ack-node-problem-detector-daemonset-mjk4k 1/1 Running 0 71m
kube-system ack-node-problem-detector-daemonset-t94p4 1/1 Running 0 71m
kube-system ack-node-problem-detector-eventer-6cb57ffb68-gl5n5 1/1 Running 0 71m
kube-system alibaba-log-controller-795d7486f8-jrcv2 1/1 Running 2 71m
kube-system alicloud-application-controller-bc84954fb-z5dq9 1/1 Running 0 71m
kube-system alicloud-monitor-controller-7c8c5485f4-xdrdd 1/1 Running 0 71m
kube-system aliyun-acr-credential-helper-59b59477df-p7vxc 1/1 Running 0 71m
kube-system coredns-79989b94b6-47vll 1/1 Running 0 71m
kube-system coredns-79989b94b6-dqpjm 1/1 Running 0 71m
kube-system csi-plugin-2kjc9 9/9 Running 0 71m
kube-system csi-plugin-5lt7b 9/9 Running 0 71m
kube-system csi-plugin-px52m 9/9 Running 0 71m
kube-system csi-provisioner-56d7fb44b6-6czqx 8/8 Running 0 71m
kube-system csi-provisioner-56d7fb44b6-jqsrt 8/8 Running 1 71m
kube-system kube-eventer-init-mv2vj 0/1 Completed 0 71m
kube-system kube-flannel-ds-4xbhr 1/1 Running 0 71m
kube-system kube-flannel-ds-mfg7m 1/1 Running 0 71m
kube-system kube-flannel-ds-wnrp2 1/1 Running 0 71m
kube-system kube-proxy-worker-44tkt 1/1 Running 0 71m
kube-system kube-proxy-worker-nw2g6 1/1 Running 0 71m
kube-system kube-proxy-worker-s78vl 1/1 Running 0 71m
kube-system logtail-ds-67lkm 1/1 Running 0 71m
kube-system logtail-ds-68fdz 1/1 Running 0 71m
kube-system logtail-ds-bkntm 1/1 Running 0 71m
kube-system metrics-server-f88f9b8d8-l9zl4 1/1 Running 0 71m
kube-system nginx-ingress-controller-758cdc676c-k8ffj 1/1 Running 0 71m
kube-system nginx-ingress-controller-758cdc676c-pxzxd 1/1 Running 0 71m
这证明rancher的kubeconfig并不影响k8s集群自身的config
遇到的问题
临时环境托管k8s无法拉取镜像
1.虚拟路由器
2.防火墙
临时环境没有公网ip 无法部署rancher
绑定eip
部署rancher临时环境k8s挂掉
在myaliyun部署rancher导致临时环境k8s集群的controller和scheduler挂掉
我观察到一个现象:在aliyun的ecs上部署k8s 然后在用:docker run -d --restart=unless-stopped \
> -p 1880:80 -p 1443:443 \
> rancher/rancher:latest 起一个rancher 这会导致k8s集群崩溃。如下所示:kube-system kube-controller-manager-zisefeizhu 0/1 Error 10 117s
kube-system kube-controller-manager-zisefeizhu 0/1 CrashLoopBackOff 10 118s
kube-system kube-scheduler-zisefeizhu 0/1 Error 9 3m59s
kube-system kube-scheduler-zisefeizhu 0/1 CrashLoopBackOff 9 4m3s
具体原因是:rancher 在试图控制我的k8s集群的controller 和 scheduler
而且还有一个现像:docker 起的rancher 处于不断重启的过程
[rootazisefeizhu-J#docker ps |grep rancher
0.0.0.0:1
entrypoint.sh"
rancher/rancher:latest
3d9ff6e8388
880.2807P000
rootazisefeizhu-liadockorps
greprancher
0.0.0.0:1
e3d91f6e8388ncher/ranchert
Up75econds
minutes4go
entrypoint.sh
880-80/tcp0.0.0.0:1443-3443/tcp
cstaticnightingalo
这个现象在内网自建的k8s上没有的 但在阿里云的k8s上是出现的
资源不足导致竞争,而且凉掉
k8s多集群配置管理平台的更多相关文章
- 基于k8s的集群稳定架构
前言 我司的集群时刻处于崩溃的边缘,通过近三个月的掌握,发现我司的集群不稳定的原因有以下几点: 1.发版流程不稳定 2.缺少监控平台[最重要的原因] 3.缺少日志系统 4.极度缺少有关操作文档 5.请 ...
- 基于k8s的集群稳定架构-转载
基于k8s的集群稳定架构-转载 前言 我司的集群时刻处于崩溃的边缘,通过近三个月的掌握,发现我司的集群不稳定的原因有以下几点: 1.发版流程不稳定 2.缺少监控平台[最重要的原因] 3.缺少日志系统 ...
- k8s docker集群搭建
一.Kubernetes系列之介绍篇 •Kubernetes介绍 1.背景介绍 云计算飞速发展 - IaaS - PaaS - SaaS Docker技术突飞猛进 - 一次构建,到处运行 - 容器 ...
- Kubernetes(k8s) docker集群搭建
原文地址:https://blog.csdn.net/real_myth/article/details/78719244 一.Kubernetes系列之介绍篇 •Kubernetes介绍 1.背 ...
- k8s极简史:K8s多集群技术发展的历史、现状与未来
引子 随着云原生技术的普及,越来越多的企业使用Kubernetes来管理应用,并且集群规模也呈爆发式增长,企业也亟需应对随集群规模增长而带来的各种挑战.同时,为了更好地提供高可用.弹性伸缩的应用,企业 ...
- 基于 Clusternet 与 OCM 打造新一代开放的多集群管理平台
背景 随着 5G.物联网设备的爆炸性增长以及智能终端不断增强的计算能力,带来了前所未有的数据量,传统的中心集中式计算捉襟见肘."新基建"战略的实施,工业互联网.车联网/自动驾驶.智 ...
- 这一篇 K8S(Kubernetes)集群部署 我觉得还可以!!!
点赞再看,养成习惯,微信搜索[牧小农]关注我获取更多资讯,风里雨里,小农等你,很高兴能够成为你的朋友. 国内安装K8S的四种途径 Kubernetes 的安装其实并不复杂,因为Kubernetes 属 ...
- 腾讯发布 K8s 多集群管理开源项目 Clusternet
11月4日,在腾讯数字生态大会上,腾讯宣布了云原生领域一项重磅开源进展-- K8s 多集群管理项目 Clusternet 正式开源. Clusternet 由腾讯联合多点生活.QQ音乐.富途证券.微众 ...
- 基于zookeeper+mesos+marathon的docker集群管理平台
参考文档: mesos:http://mesos.apache.org/ mesosphere社区版:https://github.com/mesosphere/open-docs mesospher ...
随机推荐
- console.log & front-end jobs
console.log & front-end jobs bind & function let log = console.log; let obj = {}; log(obj); ...
- js & touch & pull down & load more
js & touch & pull down & load more https://www.jianshu.com/p/93597d6bd77d index-list htt ...
- Axios & POST & application/x-www-form-urlencoded
Axios & POST & application/x-www-form-urlencoded application/x-www-form-urlencoded https://g ...
- NGK算力市场,不止有动静态收益还有SPC空投!
随着数字货币交易的火热,云算力挖矿也悄然崛起.越来越多的用户开启云算力挖矿,以获取更多的收益.相较于传统的矿机挖矿,用户通过购买算力进行云挖矿,节省了购买矿机以及维护的成本.另一方面,也降低了安全风险 ...
- 为什么空投总是抢不到?大神教你狂撸SPC!
为什么空投总是抢不到?你是否总有这样的疑虑.明明现在区块链市场中空投项目这么多,明明身边的朋友都抢到了空投,明明人家都已经躺赚百万千万,为何只有我,什么都没抢到.今天,本文将教你如何抢空投,成为下一个 ...
- WebRTC 系列之音频会话管理
WebRTC(Web Real-Time Communication)是一个支持网页浏览器进行实时语音对话或视频对话的 API.W3C 和 IETF 在2021年1月26日共同宣布 WebRTC 1. ...
- C++算法代码——奖学金
题目来自:http://218.5.5.242:9018/JudgeOnline/problem.php?id=1098 题目描述 某小学最近得到了一笔赞助,打算拿出其中一部分为学习成绩优秀的前5名学 ...
- 04、数组与Arrays工具类
目录 前言 一.一维数组 基本认识 内存空间 二.二维数组 基本认识 三.工具类Arrays 前言 去年四月份大一下半学期正式开始学习Java,一路从java基础.数据库.jdbc.javaweb.s ...
- scala:函数作为值或参数进行传递、作为返回值进行返回
@ 目录 函数可以作为值进行传递 函数可以作为参数进行传递 函数可以作为返回值进行返回 什么是匿名函数 函数可以作为值进行传递 语法var f = 函数名 _ 如果明确了变量的数据类型,那么下划线可以 ...
- 【原创】Linux虚拟化KVM-Qemu分析(十)之virtio驱动
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: KVM版本:5.9 ...