Skip to content

Instantly share code, notes, and snippets.

@csrwng
Created July 14, 2021 20:11
Show Gist options
  • Save csrwng/47e324a06d734b35ed7206816e5b17eb to your computer and use it in GitHub Desktop.
Save csrwng/47e324a06d734b35ed7206816e5b17eb to your computer and use it in GitHub Desktop.
t % oc get svc/kubernetes -o yaml -n default --kubeconfig=/tmp/kubeconfig ~hyper kas_endpoint_api thinkpad
apiVersion: v1
kind: Service
metadata:
creationTimestamp: "2021-07-14T20:05:36Z"
labels:
component: apiserver
provider: kubernetes
name: kubernetes
namespace: default
resourceVersion: "277"
uid: 3c40f019-9605-429e-a8ac-de5ff648060d
spec:
clusterIP: 172.31.0.1
clusterIPs:
- 172.31.0.1
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: https
port: 443
protocol: TCP
targetPort: 6443
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment