Table of Contents |
---|
@MIGU 补充应用安装相关部分
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# master kubeadm init --image-repository registry.aliyuncs.com/google_containers --kubernetes-version=v1.23.7 --pod-network-cidr=10.10.0.0/16 |
Execute screenshot
Let kubectl take effect
Execute command
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# master mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config kubectl get po -A |
...
Here select cilium as the network plugin
Confirm that your current default version of the kernel is above 4.9
Check the current kernel version and boot sequence
Execute command
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# master awk -F\' '$1=="menuentry " {print i++ " : " $2}' /boot/grub2/grub.cfguname -sr |
Cilium install
Execute command
...
7 Propagate a deployment by Karmada
Before propagating a deployment, make sure the worker cluster is already working properly
In the following steps, we are going to propagate a deployment by Karmada. We use the installation of nginx as an example
7.1 Join a worker/member cluster to karmada control plane
Here we add the working node cluster through push mode
Execute command
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
kubectl karmada join worker-cluster --cluster-kubeconfig=prod --cluster-context=prod |
...
https://zhuanlan.zhihu.com/p/368879345
https://docs.docker.com/engine/install/centos/
...