Skip to content

Instantly share code, notes, and snippets.

@bazzilio
Created March 4, 2019 20:29
Show Gist options
  • Save bazzilio/893a71e6d02490f0394ca741b014dc65 to your computer and use it in GitHub Desktop.
Save bazzilio/893a71e6d02490f0394ca741b014dc65 to your computer and use it in GitHub Desktop.
Strange Service
#curl http://localhost:8080/api/
{
"kind": "APIVersions",
"versions": [
"v1"
],
"serverAddressByClientCIDRs": [
{
"clientCIDR": "0.0.0.0/0",
"serverAddress": "192.168.80.30:6443"
}
]
}
# env | grep KUBERNETES_PORT
KUBERNETES_PORT=tcp://10.233.0.1:443
# kubectl get services -o yaml
apiVersion: v1
items:
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: "2019-03-01T15:06:37Z"
labels:
component: apiserver
provider: kubernetes
name: kubernetes
namespace: default
resourceVersion: "378254"
selfLink: /api/v1/namespaces/default/services/kubernetes
uid: 9c862c2b-3c33-11e9-8f3d-6c3be5b47db8
spec:
clusterIP: 10.233.0.1
ports:
- name: https
port: 443
protocol: TCP
targetPort: 6443
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment