Changes between Version 3 and Version 4 of Tutorials/m0SDN/k8s
- Timestamp:
- Jul 12, 2023, 7:10:25 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/m0SDN/k8s
v3 v4 8 8 2. Any available Orbit Sandbox Node 9 9 10 3. Ubuntu 20.04.5 LTS or Ubuntu 22.04.2 LTS (Choice is up to you)10 3. Ubuntu 20.04.5 LTS 11 11 12 12 ---- 13 13 14 In this tutorial, we will be using one of the sb 1nodes for setting up Kubernetes. However, sb(1-10) should also be capable for Kubernetes setup.14 In this tutorial, we will be using one of the sb9 nodes for setting up Kubernetes. However, sb(1-10) should also be capable for Kubernetes setup. 15 15 16 16 Make sure you have Ubuntu 20.04.5 (**baseline20.04.ndz**) or 22.04.2 (**ubuntu2204-beta.ndz**) LTS. To get the Ubuntu Version, follow these steps after ssh'ing into your console. Substitute for the image and node you want. … … 37 37 38 38 This will list the current version of Ubuntu loaded. 39 40 Example Image:41 42 [[Image(lsb_release.jpg)]]43 39 44 40 === Set up a Kubernetes Cluster === … … 109 105 110 106 10. Initialize the Kubernetes Cluster: 107 This command outputs kubeadm join command; make sure you copy this as this will be helpful for joining worker nodes to the master node 111 108 {{{#!shell 112 109 root@node1-5:~# kubeadm init --pod-network-cidr=10.19.0.0/16 … … 126 123 127 124 === Joining Worker Nodes to the Cluster === 128 To join worker nodes to the Kubernetes cluster, run the `kubeadm join` command that was outputted by the `kubeadm init` command. 125 Make sure you run till step 9[including] on the worker nodes and then 126 To join worker nodes to the Kubernetes cluster, run the `kubeadm join` command on the worker nodes that was outputted by the above `kubeadm init` command. 129 127 130 Example: 128 129 Example of kubeadm join command generated by kubeadm init: 131 130 {{{#!shell 132 131 root@node1-5:~# kubeadm join 10.19.1.5:6443 --token o1cttx.z9al8w8ljqcmqb4y --discovery-token-ca-cert-hash sha256:6ecd74d7eca0299b80499cf2e2e1c87c4079c3d234282be5822761880998853e