Skip to content

Instantly share code, notes, and snippets.

@zoidyzoidzoid
Created April 6, 2017 14:26
Show Gist options
  • Save zoidyzoidzoid/488ad47f577aa5c150b3278dada389d5 to your computer and use it in GitHub Desktop.
Save zoidyzoidzoid/488ad47f577aa5c150b3278dada389d5 to your computer and use it in GitHub Desktop.
kubectl get svc/kubernetes -o yaml --export
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
component: apiserver
provider: kubernetes
name: kubernetes
selfLink: /api/v1/namespaces//services/kubernetes
spec:
ports:
- name: https
port: 443
protocol: TCP
targetPort: 443
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment