Skip to content

Instantly share code, notes, and snippets.

@orlaqp
Created August 14, 2015 20:55
Show Gist options
  • Save orlaqp/5faaad12378f8cf2264e to your computer and use it in GitHub Desktop.
Save orlaqp/5faaad12378f8cf2264e to your computer and use it in GitHub Desktop.
kubectl get svc nginx -o yaml
apiVersion: v1beta3
kind: Service
metadata:
creationTimestamp: 2015-08-14T20:20:53Z
labels:
run: nginx
name: nginx
namespace: default
resourceVersion: "4136"
selfLink: /api/v1beta3/namespaces/default/services/nginx
uid: f62a7b7e-42c1-11e5-906e-0401648e4e01
spec:
portalIP: 10.100.69.79
ports:
- name: default
nodePort: 0
port: 80
protocol: TCP
targetPort: 3000
selector:
run: nginx
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment