Skip to content

Latest commit

 

History

History
68 lines (60 loc) · 2.76 KB

README.md

File metadata and controls

68 lines (60 loc) · 2.76 KB

一、K8S攻略

使用手册

手动部署 1.Kubernetes集群环境准备 2.Docker安装 3.CA证书制作 4.ETCD集群部署 5.Master节点部署 6.Node节点部署 7.Flannel部署 8.应用创建
必备插件 1.CoreDNS部署 2.Dashboard部署 3.Heapster部署 4.Ingress部署 5.CI/CD 6.Helm部署 6.Helm部署

二、k8s资源清理

1、# svc清理
$ kubectl delete svc $(kubectl get svc -n mos-namespace|grep -v NAME|awk '{print $1}') -n mos-namespace
service "mysql-production" deleted
service "nginx-test" deleted
service "redis-cluster" deleted
service "redis-production" deleted

2、# deployment清理
$ kubectl delete deployment $(kubectl get deployment -n mos-namespace|grep -v NAME|awk '{print $1}') -n mos-namespace
deployment.extensions "centos7-app" deleted

3、# configmap清理
$ kubectl delete cm $(kubectl get cm -n mos-namespace|grep -v NAME|awk '{print $1}') -n mos-namespace

https://www.xiaodianer.net/index.php/kubernetes/istio/41-istio-https-demo

https://mp.weixin.qq.com/s/jnVn6_cyRUILBQ0cBhBNyQ Kubernetes v1.18.2 二进制高可用部署