Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. SSH into the VMware Integrated OpenStack with Kubernetes.

  2. 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
    themeMidnight
    #vkube  login --insecure


  3. Get the list of all the clusters along with their Cluster ID, use the following command:

    Code Block
    themeMidnight
    #vkube cluster list --insecure

    Make a note of the Cluster ID of the cluster you want to access or know more about.

    Image Removed 

  4. Get the detailed information about the nodes running on a particular cluster, use the following command:

    Code Block
    themeMidnight
    #vkube cluster show <Cluster ID> --insecure 

    Make a note of the IP of the Master and Worker Nodes.



  5. Get a list of all the docker containers running in background.

    Code Block
    themeMidnight
    #docker ps -a


    Image Modified

  6. Get an interactive shell of the docker conatiner with the name app-api.

    Code Block
    themeMidnight
    #docker exec -it <Container ID or Name> /bin/bash 

    After this command, you'll get a shell of a running container.

      

  7. Once we are inside a running container, change the directory and go the cluster location using the following command:

    Code Block
    themeMidnight
    #cd /var/lib/vrc/terraform/<ClusterID>


  8. 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
    themeMidnight
    #ssh -i private.key -F ssh-bastion.conf ubuntu@Kubernetes_Host_IP_Address



  9. Once you are inside the Kubernetes Nodes, you can deploy ONAP, or troubleshoot an error as per your requirements.

...