Getting stub information in Kubernetes deployments

After you run the stub in an Istio or Kubernetes cluster, you can query the Kubernetes cluster to see information about the stub.

You can issue kubectl commands to the Kubernetes cluster to get details about the stub that was started in Kubernetes or Istio.

For more information about kubectl commands, refer to the related links.

To get: Issue the command:

The Deployment details

# kubectl get deployments

The Pod details

# kubectl get pods

The Service details

# kubectl get svc

The Virtual Service details

# kubectl get vs

The log details

kubectl logs <pod id> <container id>