8 Commits

Author SHA1 Message Date
0f880b4d91 update 1.1 2025-12-08 08:03:27 +13:00
beed20ea37 Merge pull request 'Kubeadm' (#9) from Kubeadm into main
Reviewed-on: #9
2025-12-08 08:00:57 +13:00
bb1b54b32e update 1 2025-12-08 08:00:26 +13:00
d0f40d8157 something weird again? 2025-12-07 22:13:36 +13:00
e61a54a23a Merge pull request 'Stupid formatting' (#8) from Networking_3 into main
Reviewed-on: #8
2025-12-07 14:52:20 +13:00
317061526a Stupid formatting 2025-12-07 14:52:08 +13:00
a40d8210a6 Merge pull request 'Added the .md' (#6) from Networking_1 into main
Reviewed-on: #6
2025-12-07 14:47:23 +13:00
963569e324 Added the .md 2025-12-07 14:47:10 +13:00
3 changed files with 40 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ We will update the ***face enp1s0 inet dhcp***
section to look like this
Example of updated file
```
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
@@ -82,6 +82,7 @@ iface enp1s0 inet static
dns-nameservers 192.168.50.254 8.8.8.8
# This is an autoconfigured IPv6 interface
iface enp1s0 inet6 auto
```
After you have made this edit you can restart the service to get the new IP address
@@ -124,3 +125,5 @@ sudo reboot
```
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

View 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

View File

@@ -0,0 +1,2 @@
lol