Skip to content

Instantly share code, notes, and snippets.

@cloudqubes
Last active March 11, 2023 04:12
Show Gist options
  • Save cloudqubes/cd0b64e339132280abff108055be537f to your computer and use it in GitHub Desktop.
Save cloudqubes/cd0b64e339132280abff108055be537f to your computer and use it in GitHub Desktop.
ubuntu@controller:~$ kubectl get pods -o wide
NAME                                READY   STATUS    RESTARTS   AGE   IP            NODE         NOMINATED NODE   READINESS GATES
nginx-deployment-565887c86b-kcp5z   1/1     Running   0          34h   10.1.131.5    microk8s70   <none>           <none>
nginx-deployment-565887c86b-59d25   1/1     Running   0          34h   10.1.73.131   microk8s40   <none>           <none>
ubuntu@controller:~$ kubectl get services
NAME            TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
kubernetes      ClusterIP   10.152.183.1    <none>        443/TCP    2d10h
nginx-service   ClusterIP   10.152.183.23   <none>        8080/TCP   26h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment