ops can be used to get shell access to the underlying Kubernetes cluster of an environment.
- Login to your LocalOps account
- Use
opsCLI to set Kubernetes context ofkubectlCLI to point at the environment’s Kubernetes cluster. - Then use
kubectlto inspect the cluster.
Login to LocalOps
Login to LocalOps account using your email address.Set kubernetes context
Use this commnd updates your local current context to point at the environment’s kubernetes cluster.env-id, visit your environment dashboard and see “Shell” tab.
Use Kubectl
Afterupdate-kubeconfig command succeeds, you can use any kubectl command to inspect pods, deployments, jobs and
everything else running in your LocalOps environment.
For example, to see all cluster resources: