程序猫大刚-k8s资料分享

  • 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集群架构
  • k8s nginx-ingress
    在这里插入图片描述
  • kubect explain xx
    在这里插入图片描述
    k8s dashboard
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值