Commit 9f2d2193 authored by Yifan Gu's avatar Yifan Gu

cluster/gce/coreos: Add command in addon templates.

As appc spec only has one field for executable path (Exec v.s. ENTRYPOINT + CMD), specifying only args will override the image's original ENTRYPOINT.
parent f93d9304
......@@ -63,6 +63,8 @@ spec:
requests:
cpu: 100m
memory: 50Mi
command:
- /glbc
args:
- --default-backend-service=kube-system/default-http-backend
- --sync-period=300s
\ No newline at end of file
......@@ -53,8 +53,9 @@ spec:
requests:
cpu: 100m
memory: 50Mi
command:
- /kube2sky
args:
# command = "/kube2sky"
- -domain=${DNS_DOMAIN}
- name: skydns
image: gcr.io/google_containers/skydns:2015-10-13-8c72f8c
......@@ -66,8 +67,9 @@ spec:
requests:
cpu: 100m
memory: 50Mi
command:
- /skydns
args:
# command = "/skydns"
- -machines=http://127.0.0.1:4001
- -addr=0.0.0.0:53
- -ns-rotate=false
......@@ -103,6 +105,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
command:
- /exechealthz
args:
- -cmd=nslookup kubernetes.default.svc.${DNS_DOMAIN} 127.0.0.1 >/dev/null
- -port=8080
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment