Thursday, January 19, 2023

Part -1 Troubleshooting vRA & vRO - Troubleshooting Services and PODs

Part -1 Troubleshooting vRA & vRO - Troubleshooting Services and PODs

The vRA and vRO Services and POD’s running on Kubernetes and useKubectl commands for getting information and troubleshooting.

Handling Namespaces

Listing the Namespaces

1. To get list of all the namespaces and their status below command can be used


Kubectl get namespaces

image

Handling Services

The vRA and vRO run under namespace called “prelude”

PODs

1. To get list of all the PODs and their status below command can be used

Kubectl get pods -n prelude


image


2. To get filtered list of all the PODs and status below command can be used
Syntax : Kubectl get pods -n prelude | grep -i podname


Kubectl get pods -n prelude | grep -i vco

image

Restarting Services

1. The Specific Service can be restarted using below command

Syntax : Kubectl delete pods -n prelude < Service Name>

Kubectl delete pods -n prelude vco-app-xxxxxxxxxxxxx

image

While its getting deleted the POD, it goes to terminating state and new POD for service will be created. To get list specific PODs and its status below command can be used.

Kubectl get pods -n prelude | grep -i vco

And now New POD initialize and goes to running state, To get list specific PODs and its status below command can be used.


Kubectl get pods -n prelude | grep -i vco

NOTE: Watch the uptime of the POD

The Dependencies Services
/opt/charts/ < service name>/templates

cd /opt/charts/vco/templates
ls -l

image

No comments:

Post a Comment

VMware Aria Automation New Features in versions 8.13.1, 8.13 and 8.12.2

  VMware Aria Automation New Features in versions 8.13.1, 8.13 and 8.12.2 The latest release is 8.13.1 released in September 2023 VMware is ...