Skip to content

Instantly share code, notes, and snippets.

@j-zimnowoda
Created September 9, 2019 19:36
Show Gist options
  • Save j-zimnowoda/ec9a20c03339d1495317e0d39b191bcd to your computer and use it in GitHub Desktop.
Save j-zimnowoda/ec9a20c03339d1495317e0d39b191bcd to your computer and use it in GitHub Desktop.
$ kubectl get pods -o yaml
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
spec:
containers:
ports:
- containerPort: <p-port>
hostIP: <n-ip1>
podIP: <p-ip1>
- apiVersion: v1
kind: Pod
spec:
containers:
ports:
- containerPort: <p-port>
hostIP: <n-ip3>
phase: Running
podIP: <p-ip2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment