You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- choose OS as ubuntu 64bit and 30G disk, make sure your #CPU>=2
20
22
- start vm, choose the downloaded ubuntu ISO and follow the installation wizard
21
23
- specify username/password like cadmin/cadmin
22
-
- install ssh server
24
+
- install ssh server, enable and start the service
23
25
- do not install built-in kubenernetes
24
26
- wait enough long for the os installation complete
25
27
26
-
### shutdown the OS, and set 2nd network adaptor
27
-
- go vm->settings->network->adaptor 2
28
-
- enable the adaptor and select host only adaptor, and choose vboxnet0, `vboxnet0` the host network name configured above
29
-
### login to the system and set ip for second adaptor
28
+
### shutdown the OS, and set 2nd network adapter
29
+
- go vm->settings->network->adapter 2
30
+
- enable the adaptor and select host only adapter, and choose vboxnet0, `vboxnet0` the host network name configured above
31
+
### login to the system and set ip for second adapter
30
32
```
31
33
vi /etc/netplan/00-installer-config.yaml
32
34
@@ -44,7 +46,7 @@ network:
44
46
netplan apply
45
47
```
46
48
### network configuration
47
-
now your vm has two adaptor:
49
+
now your vm has two adapters:
48
50
- one is nat which will get an IP automatically, generally it's 10.0.2.15, this interface is for external access from your vm
49
51
- one is host adapter which need create extra ip, which is configured as 192.168.34.2
50
52
the reason we need the host adaptor and static IP is then we can set this static IP as k8s advertise IP and you can move your VM in different everywhere.(otherwise your VM IP would be changed in different environment)
@@ -56,4 +58,4 @@ the reason we need the host adaptor and static IP is then we can set this static
0 commit comments