• Stars
    star
    123
  • Rank 290,145 (Top 6 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created about 6 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

k8s集群资料合集(高可用安装部署+应用部署+redis+mysql+kafak等各个组件生产环境使用技巧以及高可用)

一、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 二进制高可用部署