Created
October 8, 2015 12:12
-
-
Save kelseyhightower/7896092c0e611b88d2d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: kube-controller | |
spec: | |
hostNetwork: true | |
volumes: | |
- name: "etc-kubernetes" | |
hostPath: | |
path: "/etc/kubernetes" | |
- name: "ssl-certs" | |
hostPath: | |
path: "/usr/share/ca-certificates" | |
- name: "var-run-kubernetes" | |
hostPath: | |
path: "/var/run/kubernetes" | |
- name: "var-lib-kubernetes" | |
hostPath: | |
path: "/var/lib/kubernetes" | |
- name: "etcd-datadir" | |
hostPath: | |
path: "/var/lib/etcd" | |
containers: | |
- name: "etcd" | |
image: "b.gcr.io/kuar/etcd:2.2.0" | |
args: | |
- "--data-dir=/var/lib/etcd" | |
- "--advertise-client-urls=http://127.0.0.1:2379" | |
- "--listen-client-urls=http://127.0.0.1:2379" | |
- "--listen-peer-urls=http://127.0.0.1:2380" | |
- "--name=etcd" | |
volumeMounts: | |
- mountPath: /var/lib/etcd | |
name: "etcd-datadir" | |
- name: "kube-apiserver" | |
image: "b.gcr.io/kuar/kube-apiserver:1.0.6" | |
args: | |
- "--admission-control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ServiceAccount,ResourceQuota" | |
- "--allow-privileged=true" | |
- "--etcd-servers=http://127.0.0.1:2379" | |
- "--insecure-bind-address=0.0.0.0" | |
- "--service-cluster-ip-range=10.200.100.0/24" | |
- "--service-node-port-range=30000-37000" | |
- "--v=2" | |
volumeMounts: | |
- mountPath: /etc/kubernetes | |
name: "etc-kubernetes" | |
- mountPath: /var/run/kubernetes | |
name: "var-run-kubernetes" | |
- mountPath: /var/lib/kubernetes | |
name: "var-lib-kubernetes" | |
- name: "kube-controller-manager" | |
image: "b.gcr.io/kuar/kube-controller-manager:1.0.6" | |
args: | |
- "--master=http://127.0.0.1:8080" | |
- "--v=2" | |
volumeMounts: | |
- mountPath: /var/run/kubernetes | |
name: "var-run-kubernetes" | |
- mountPath: /var/lib/kubernetes | |
name: "var-lib-kubernetes" | |
- name: "kube-scheduler" | |
image: "b.gcr.io/kuar/kube-scheduler:1.0.6" | |
args: | |
- "--master=http://127.0.0.1:8080" | |
- "--v=2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment