- k8s应用配置详解 - https://www.cnblogs.com/lyc94620/p/10945437.html
- K8s 实战之概念、集群部署与服务配置 - https://segmentfault.com/a/1190000020139341
- k8s dashboard安装 https://www.cnblogs.com/bigberg/p/13469736.html
- k8s flannel网络安装
- 用到的命令
docker pull mirrorgooglecontainers/kube-apiserver:v1.21.1
docker pull mirrorgooglecontainers/kube-controller-manager:v1.21.1
docker pull mirrorgooglecontainers/kube-scheduler:v1.21.1
docker pull mirrorgooglecontainers/kube-proxy:v1.21.1
docker pull mirrorgooglecontainers/pause:3.1
docker pull mirrorgooglecontainers/etcd:3.3.10
docker pull coredns/coredns:1.3.1
kubeadm init --apiserver-advertise-address=172.81.247.96 --image-repository=registry.aliyuncs.com/google_containers --pod-network-cidr=10.244.0.0/16 --kubernetes-version=v1.21.0
yum install --downloadonly --downloaddir=/opt/k8s/packages \
kubelet-1.21.1 \
kubeadm-1.21.1 \
kubectl-1.21.1
docker save -o kube-apiserver.tar registry.aliyuncs.com/google_containers/kube-apiserver:v1.21.1
docker save -o kube-controller-manager.tar registry.aliyuncs.com/google_containers/kube-controller-manager:v1.21.1
docker save -o kube-scheduler.tar registry.aliyuncs.com/google_containers/kube-scheduler:v1.21.1
docker save -o kube-proxy.tar registry.aliyuncs.com/google_containers/kube-proxy:v1.21.1
docker save -o pause.tar registry.aliyuncs.com/google_containers/pause:3.4.1
docker save -o coredns.tar registry.aliyuncs.com/google_containers/coredns/coredns:v1.8.0
docker save -o etcd.tar registry.aliyuncs.com/google_containers/etcd:3.4.13-0
docker save -o kube-dashboard.tar kubernetesui/dashboard:v2.0.1
docker save -o metrics-scraper.tar kubernetesui/metrics-scraper:v1.0.4
docker save -o flannel.tar quay.io/coreos/flannel:v0.14.0
kubectl describe secrets -n kube-system $(kubectl -n kube-system get secret | awk '/dashboard-admin/{print $1}')
- k8s集群架构图
- k8s nginx-ingress
- kubect explain xx