Skip to content

Instantly share code, notes, and snippets.

@kelseyhightower
Last active October 9, 2015 16:53
Show Gist options
  • Save kelseyhightower/5974e424e6bc87ac7178 to your computer and use it in GitHub Desktop.
Save kelseyhightower/5974e424e6bc87ac7178 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: kube-proxy
version: 1.0.6
spec:
hostNetwork: true
volumes:
- name: "etc-kubernetes"
hostPath:
path: "/etc/kubernetes"
- name: "ssl-certs"
hostPath:
path: "/usr/share/ca-certificates"
- name: "usr"
hostPath:
path: "/usr"
- name: "lib64"
hostPath:
path: "/lib64"
containers:
- name: "kube-proxy"
image: "b.gcr.io/kuar/kube-proxy:1.0.6"
args:
- "--master=<master-dns-or-ip:8080"
- "--v=2"
securityContext:
privileged: true
volumeMounts:
- mountPath: /etc/kubernetes
name: "etc-kubernetes"
- mountPath: /etc/ssl/certs
name: "ssl-certs"
- mountPath: /usr
name: "usr"
- mountPath: /lib64
name: "lib64"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment