
K8S 部署
一、部署 coredns 和 dashboard## 从 https://hub.docker.com 上 pull 需要的镜像docker pull lizhenliang/coredns:1.2.2docker pull kubernetesui/dashboard:v2.0.0## 打标签docker tag lizhenliang/coredns:1.2.2 harbor.dev-fql.
部署
https://github.com/kelseyhightower/kubernetes-the-hard-way
https://github.com/opsnull/follow-me-install-kubernetes-cluster
初始化系统和全局变量
https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/01.%E5%88%9D%E5%A7%8B%E5%8C%96%E7%B3%BB%E7%BB%9F%E5%92%8C%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F.md
https://github.com/feiskyer/kubernetes-handbook/blob/master/SUMMARY.md
kubean
https://github.com/cncf/sandbox/issues/49
https://github.com/kubean-io/kubean
https://github.com/kubernetes-sigs/kubespray
K8S 二进制安装包
https://github.com/kubernetes/kubernetes/tree/master/CHANGELOG
https://github.com/easzlab/kubeasz
https://github.com/unixhot/salt-kubebin
https://github.com/opsnull/follow-me-install-kubernetes-cluster
https://github.com/Tencent/bk-bcs/blob/master/docs/install/Deploy_BCS_in_K8S_HA_Cluster.md
博哥爱运维
https://blog.csdn.net/weixin_46887489/article/details/133894707
https://space.bilibili.com/314330254/channel/collectiondetail?sid=1789438
https://blog.csdn.net/qq_34556414/article/details/123214438
二进制安装kubernetes三主三从高可用集群
https://blog.csdn.net/weixin_41314837/article/details/127431903
https://github.com/feiskyer/kubernetes-handbook/blob/master/SUMMARY.md
马哥
韩先超

乐信

K8S API server 高可用
https://www.qikqiak.com/post/manual-install-high-available-kubernetes-cluster
https://www.qikqiak.com/post/use-kubeadm-install-kubernetes-1.15.3/
https://www.qikqiak.com/post/use-kubeadm-install-kubernetes-1.10/
https://www.qikqiak.com/k8s-book
一、部署 coredns 和 dashboard
## 从 https://hub.docker.com 上 pull 需要的镜像
docker pull lizhenliang/coredns:1.2.2
docker pull kubernetesui/dashboard:v2.0.0
## 打标签
docker tag lizhenliang/coredns:1.2.2 harbor.dev-fql.com/lizhenliang/coredns:1.2.2
docker tag kubernetesui/dashboard:v2.0.0 harbor.dev-fql.com/kubernetesui/dashboard:v2.0.0
docker tag kubernetesui/metrics-scraper:v1.0.4 harbor.dev-fql.com/kubernetesui/metrics-scraper:v1.0.4
## push 到内网私有 harbor
docker push harbor.dev-fql.com/lizhenliang/coredns:1.2.2
docker push harbor.dev-fql.com/kubernetesui/dashboard:v2.0.0
docker push harbor.dev-fql.com/kubernetesui/metrics-scraper:v1.0.4
## 其他命令
启动名称是 dns-test 的 pod
kubectl run -it --rm dns-test --image=harbor.dev-fql.com/k8s/sre/bigdata/busybox sh
删除 pod
kubectl delete pods -n kube-system kube-proxy-jnkfx
获取描述信息
kubectl get deploy presto-coordinator-service -o yaml
kubectl get svc presto-coordinator-service -o yaml
kubectl get pods presto-coordinator-78d858f74b-bsjwd -o yaml
kubectl get ep presto-coordinator-service -o yaml
地址
https://hub.docker.com/r/lizhenliang/coredns
问题记录:
1.
更多推荐
所有评论(0)