Merge pull request #1060 from holser/etcdv3
Allow to specify etcd backend for kube-api
This commit is contained in:
commit
d1299f358b
2 changed files with 2 additions and 0 deletions
|
@ -29,3 +29,4 @@ kube_apiserver_memory_limit: 2000M
|
||||||
kube_apiserver_cpu_limit: 800m
|
kube_apiserver_cpu_limit: 800m
|
||||||
kube_apiserver_memory_requests: 256M
|
kube_apiserver_memory_requests: 256M
|
||||||
kube_apiserver_cpu_requests: 300m
|
kube_apiserver_cpu_requests: 300m
|
||||||
|
kube_apiserver_storage_backend: etcd2
|
||||||
|
|
|
@ -41,6 +41,7 @@ spec:
|
||||||
- --service-account-key-file={{ kube_cert_dir }}/apiserver-key.pem
|
- --service-account-key-file={{ kube_cert_dir }}/apiserver-key.pem
|
||||||
- --secure-port={{ kube_apiserver_port }}
|
- --secure-port={{ kube_apiserver_port }}
|
||||||
- --insecure-port={{ kube_apiserver_insecure_port }}
|
- --insecure-port={{ kube_apiserver_insecure_port }}
|
||||||
|
- --storage-backend={{ kube_apiserver_storage_backend }}
|
||||||
{% if kube_api_runtime_config is defined %}
|
{% if kube_api_runtime_config is defined %}
|
||||||
{% for conf in kube_api_runtime_config %}
|
{% for conf in kube_api_runtime_config %}
|
||||||
- --runtime-config={{ conf }}
|
- --runtime-config={{ conf }}
|
||||||
|
|
Loading…
Reference in a new issue