...
Code Block |
---|
|
# Determine Edge Cluster VM IP addresses:
[onaplab@os12 ~]$ sudo virsh list --all
Id Name State
----------------------------------------------------
6 amcop-vm-01 running
9 edge_k8s-1 running
10 edge_k8s-2 running
[onaplab@os12 ~]$ sudo virsh domifaddr edge_k8s-1
Name MAC address Protocol Address
-------------------------------------------------------------------------------
vnet1 52:54:00:19:96:72 ipv4 10.121.7.152/27
[onaplab@os12 ~]$ sudo virsh domifaddr edge_k8s-2
Name MAC address Protocol Address
-------------------------------------------------------------------------------
vnet2 52:54:00:c0:47:8b ipv4 10.121.7.146/27
# ssh to each VM from the Host Server. You should be able to ssh without specifying the key:
ssh onaplab@10.121.7.152
ssh onaplab@10.121.7.146
# Perform the following tasks inside the VMs:
onaplab@localhost:~$ kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system cmk-rpgd7 2/2 Running 0 28d
kube-system coredns-dff8fc7d-2xwrk 0/1 Pending 0 28d
kube-system coredns-dff8fc7d-q2gcr 1/1 Running 0 28d
kube-system dns-autoscaler-66498f5c5f-2kzmv 1/1 Running 0 28d
kube-system kube-apiserver-localhost 1/1 Running 0 28d
kube-system kube-controller-manager-localhost 1/1 Running 0 28d
kube-system kube-flannel-8rm9p 1/1 Running 0 28d
kube-system kube-multus-ds-amd64-mt9s5 1/1 Running 0 28d
kube-system kube-proxy-ggk8m 1/1 Running 0 28d
kube-system kube-scheduler-localhost 1/1 Running 0 28d
kube-system kubernetes-dashboard-84999f8b5b-48xjq 1/1 Running 0 28d
kube-system kubernetes-metrics-scraper-54fbb4d595-rw649 1/1 Running 0 28d
kube-system local-volume-provisioner-bmkc6 1/1 Running 0 28d
kube-system virtlet-vk7jl 3/3 Running 0 28d
node-feature-discovery nfd-master-78nms 1/1 Running 0 28d
node-feature-discovery nfd-worker-k4d5g 1/1 Running 45 28d
operator nfn-agent-zlp9g 1/1 Running 0 28d
operator nfn-operator-b768877d8-vcx7v 1/1 Running 0 28d
operator ovn4nfv-cni-4c6rx 1/1 Running 0 28d
# Verify connectivity to EMCO Cluster
onaplab@localhost:~$ ping 10.121.7.145
PING 10.121.7.145 (10.121.7.145) 56(84) bytes of data.
64 bytes from 10.121.7.145: icmp_seq=1 ttl=64 time=0.457 ms
64 bytes from 10.121.7.145: icmp_seq=2 ttl=64 time=0.576 ms
|
Uninstall Guide
Perform the following steps to remove EMCO and Edge Clusters from the Host Server:
Code Block |
---|
|
sudo virsh destroy amcop-vm-01
sudo virsh undefine amcop-vm-01
sudo virsh pool-destroy amcop-vm-01
sudo virsh pool-undefine amcop-vm-01
sudo rm /var/lib/libvirt/images/amcop-vm-01/amcop-vm-01-cidata.iso
sudo rm /var/lib/libvirt/images/amcop-vm-01/amcop-vm-01.qcow2
sudo virsh destroy edge_k8s-1
sudo virsh undefine edge_k8s-1
sudo virsh pool-destroy edge_k8s-1
sudo virsh pool-undefine edge_k8s-1
sudo rm /var/lib/libvirt/images/edge_k8s-1/edge_k8s-1-cidata.iso
sudo rm /var/lib/libvirt/images/edge_k8s-1/edge_k8s-1.qcow2
sudo virsh destroy edge_k8s-2
sudo virsh undefine edge_k8s-2
sudo virsh pool-destroy edge_k8s-2
sudo virsh pool-undefine edge_k8s-2
sudo rm /var/lib/libvirt/images/edge_k8s-2/edge_k8s-2-cidata.iso
sudo rm /var/lib/libvirt/images/edge_k8s-2/edge_k8s-2.qcow2
|
License
References