...
SSH into the VMware Integrated OpenStack with Kubernetes.
Once you are logged into VMware Integrated OpenStack with Kubernetes, use the following command with the same username and password used during SSH:
Code Block theme Midnight #vkube login --insecure
Get the list of all the clusters along with their Cluster ID, use the following command:
Code Block theme Midnight #vkube cluster list --insecure
Make a note of the Cluster ID of the cluster you want to access or know more about.
Get the detailed information about the nodes running on a particular cluster, use the following command:
Code Block theme Midnight #vkube cluster show <Cluster ID> --insecure
Make a note of the IP of the Master and Worker Nodes.
Get a list of all the docker containers running in background.
Code Block theme Midnight #docker ps -a
Get an interactive shell of the docker conatiner with the name app-api.
Code Block theme Midnight #docker exec -it <Container ID or Name> /bin/bash
After this command, you'll get a shell of a running container.
Once we are inside a running container, change the directory and go the cluster location using the following command:
Code Block theme Midnight #cd /var/lib/vrc/terraform/<ClusterID>
Once you are into the correct directory, use the following command to SSH into the Kubernetes Master or Worker Node depending on the IP Address:
Code Block theme Midnight #ssh -i private.key -F ssh-bastion.conf ubuntu@Kubernetes_Host_IP_Address
Once you are inside the Kubernetes Nodes, you can deploy ONAP, or troubleshoot an error as per your requirements.
...