In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Install the required google class packages
two。 Add cross-domain host
61.91.161.217 gcr.io
61.91.161.217 www.gcr.io
61.91.161.217 packages.cloud.google.com
3. Initialize master node information using kuberadm
Kubeadm init-- kubernetemkdir-p $HOME/.kube
Sudo cp-I / etc/kubernetes/admin.conf $HOME/.kube/config
Sudo chown $(id-u): $(id-g) $HOME/.kube/config
S-version=v1.7.3-pod-network-cidr=10.199.0.0/16-apiserver-advertise-address=10.204.****
4. Check to see if the node is normal
Kubectl get nodes
5. Add nod
Kubeadm join-- token 472def.6bbb304791b76492 10.204.For others *: *
6. Check for problems
Journalctl-ex
Journalctl-xeu kubelet
7. Start a simple container
Kubectl create-f https://raw.githubusercontent.com/kubernetes/kubernetes.github.io/master/docs/concepts/workloads/controllers/nginx-deployment.yaml
8. View node container
Kubectl get po-o wide
9. View Node
Kubectl get nodes
10. View the pod of the component
Kubectl get pod-namespace=kube-system
Details: please refer to
Http://blog.frognew.com/2017/07/kubeadm-install-kubernetes-1.7.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.