Skip to content

Instantly share code, notes, and snippets.

@jefflaplante
Created October 24, 2016 02:54
Show Gist options
  • Save jefflaplante/e2ba9dda734f8b93cb5bd9e0c3bcc728 to your computer and use it in GitHub Desktop.
Save jefflaplante/e2ba9dda734f8b93cb5bd9e0c3bcc728 to your computer and use it in GitHub Desktop.
kube-proxy.yaml
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/config.hash: b389fb1cc04a861f21ba9efb8f61bf07
kubernetes.io/config.mirror: b389fb1cc04a861f21ba9efb8f61bf07
kubernetes.io/config.seen: 2016-10-18T17:52:10.122562409Z
kubernetes.io/config.source: file
creationTimestamp: 2016-10-18T17:53:25Z
labels:
component: kube-proxy
tier: node
name: kube-proxy-gke-matterhorn-test-default-pool-ead683d4-498k
namespace: kube-system
resourceVersion: "149"
selfLink: /api/v1/namespaces/kube-system/pods/kube-proxy-gke-matterhorn-test-default-pool-ead683d4-498k
uid: c4a1fc32-955b-11e6-8079-42010a8a0097
spec:
containers:
- command:
- /bin/sh
- -c
- kube-proxy --master=https://104.199.126.172 --kubeconfig=/var/lib/kube-proxy/kubeconfig
--cluster-cidr=10.16.0.0/14 --resource-container="" --v=2 1>>/var/log/kube-proxy.log
2>&1
image: gcr.io/google_containers/kube-proxy:96e983ab860f22f940bbe23900135ebe
imagePullPolicy: IfNotPresent
name: kube-proxy
resources:
requests:
cpu: 100m
securityContext:
privileged: true
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /etc/ssl/certs
name: ssl-certs-host
readOnly: true
- mountPath: /var/log
name: varlog
- mountPath: /var/lib/kube-proxy/kubeconfig
name: kubeconfig
dnsPolicy: ClusterFirst
hostNetwork: true
nodeName: gke-matterhorn-test-default-pool-ead683d4-498k
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- hostPath:
path: /usr/share/ca-certificates
name: ssl-certs-host
- hostPath:
path: /var/lib/kube-proxy/kubeconfig
name: kubeconfig
- hostPath:
path: /var/log
name: varlog
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2016-10-18T17:53:25Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2016-10-18T17:53:27Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2016-10-18T17:53:25Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://c3eea4a2e691ef7cc49a9dc0c9f0667ecf409d8c484dff54395691402066f378
image: gcr.io/google_containers/kube-proxy:96e983ab860f22f940bbe23900135ebe
imageID: docker://sha256:8ab137e57118cc6c237b18d49373cd8fdf67dc459aace0389a573d8a84f6ef92
lastState: {}
name: kube-proxy
ready: true
restartCount: 0
state:
running:
startedAt: 2016-10-18T17:53:26Z
hostIP: 10.138.0.18
phase: Running
podIP: 10.138.0.18
startTime: 2016-10-18T17:53:25Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment