Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created June 28, 2018 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrossley3/ba7e575f64842129260b7955aa19e386 to your computer and use it in GitHub Desktop.
Save jcrossley3/ba7e575f64842129260b7955aa19e386 to your computer and use it in GitHub Desktop.
[jim@localhost kwsk]$ kubectl get services -oyaml
apiVersion: v1
items:
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2018-06-28T19:46:24Z
name: hello-service
namespace: default
ownerReferences:
- apiVersion: serving.knative.dev/v1alpha1
blockOwnerDeletion: true
controller: true
kind: Route
name: hello
uid: f0c0b694-7b0b-11e8-8bac-742ff0813fec
resourceVersion: "21883"
selfLink: /api/v1/namespaces/default/services/hello-service
uid: f0cc2266-7b0b-11e8-8bac-742ff0813fec
spec:
clusterIP: 10.107.109.120
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2018-06-28T17:03:36Z
labels:
component: apiserver
provider: kubernetes
name: kubernetes
namespace: default
resourceVersion: "30"
selfLink: /api/v1/namespaces/default/services/kubernetes
uid: 326d2e2d-7af5-11e8-8bac-742ff0813fec
spec:
clusterIP: 10.96.0.1
ports:
- name: https
port: 443
protocol: TCP
targetPort: 8443
sessionAffinity: ClientIP
sessionAffinityConfig:
clientIP:
timeoutSeconds: 10800
type: ClusterIP
status:
loadBalancer: {}
kind: List
metadata:
resourceVersion: ""
selfLink: ""
[jim@localhost kwsk]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment