Compare commits
6 Commits
Networking
...
6e892435d2
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e892435d2 | |||
| 0f880b4d91 | |||
| beed20ea37 | |||
| bb1b54b32e | |||
| d0f40d8157 | |||
| e61a54a23a |
@@ -125,3 +125,5 @@ sudo reboot
|
|||||||
```
|
```
|
||||||
|
|
||||||
And when the machine comes back up, ssh using the newly statically assigned IP address.
|
And when the machine comes back up, ssh using the newly statically assigned IP address.
|
||||||
|
|
||||||
|
Update - Dont forget to updated the /etc/resolve.conf with your nameserver address
|
||||||
|
|||||||
34
Networking/k8s/kubeadmin_install/Install_Instruction.md
Normal file
34
Networking/k8s/kubeadmin_install/Install_Instruction.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
**Installing k8s with kubeadm**
|
||||||
|
|
||||||
|
kubeadm join 192.168.50.20:6443 --token 72ckd0.rnphe03eqa135cjj \
|
||||||
|
--discovery-token-ca-cert-hash sha256:75add2111581b5b0a4a074f3748c46b67be82d246f110e557be049da0ef44941
|
||||||
|
|
||||||
|
|
||||||
|
worker node
|
||||||
|
|
||||||
|
container runtime
|
||||||
|
|
||||||
|
wget https://github.com/containerd/containerd/releases/download/v2.2.0/containerd-2.2.0-linux-amd64.tar.gz
|
||||||
|
|
||||||
|
download the systemctl
|
||||||
|
https://raw.githubusercontent.com/containerd/containerd/main/containerd.service
|
||||||
|
and move it to
|
||||||
|
|
||||||
|
sudo cp containerd.service /usr/lib/systemd/system
|
||||||
|
|
||||||
|
runc
|
||||||
|
download
|
||||||
|
https://github.com/opencontainers/runc/releases/download/v1.4.0/runc.amd64
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sudo mkdir -p /etc/containerd
|
||||||
|
sudo containerd config default | sudo tee /etc/containerd/config.toml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sudo cat <<EOF | sudo tee /etc/sysctl.d/k8s.conf
|
||||||
|
net.ipv4.ip_forward = 1
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sudo sysctl --system
|
||||||
2
Networking/k8s/kubeadmin_install/add_users.md
Normal file
2
Networking/k8s/kubeadmin_install/add_users.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
lol
|
||||||
|
|
||||||
Reference in New Issue
Block a user