Changes between Version 10 and Version 11 of dockerdeployment2023
- Timestamp:
- Dec 11, 2023, 5:59:22 AM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dockerdeployment2023
v10 v11 20 20 Once the VM is started login to the VM using below credentials. 21 21 22 username : user 23 password : Learn2023 22 '''username : user''' 23 24 '''password : Learn2023''' 24 25 25 26 Now your VM should have an IP address assigned through DHCP. To view the IP address and network adapter details enter the following command. … … 65 66 }}} 66 67 68 Once the network configuration is complete you may go ahead with renaming the hostname. Please add a meaningful name the VM. Since here we have 3 VMs for Kubernetes master and 2 worker nodes, you may have similar names like master, worker1, worker2 for each VMs. Since we are going to use the current VM as the master node in the next hands-on session you may name it as master or with a similar name.For this enter below commands. 69 70 {{{ 71 sudo hostnamectl set-hostname master 72 }}} 73 74 Next change the hostname entry in the /etc/hosts file. 75 76 {{{ 77 sudo nano /etc/hosts 78 }}} 79 80 {{{ 81 127.0.0.1 localhost 82 127.0.1.1 master 83 }}} 84 67 85 Now the Ubuntu VM is ready and you can go ahead with Docker installation. 68 86