Bharat Kunwar
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
roles/kubernetes/master/templates/kubeadm-config.yaml.j2
|
@ -36,6 +36,9 @@ apiServerExtraArgs: |
|
|
insecure-port: "{{ kube_apiserver_insecure_port }}" |
|
|
insecure-port: "{{ kube_apiserver_insecure_port }}" |
|
|
admission-control: {{ kube_apiserver_admission_control | join(',') }} |
|
|
admission-control: {{ kube_apiserver_admission_control | join(',') }} |
|
|
apiserver-count: "{{ kube_apiserver_count }}" |
|
|
apiserver-count: "{{ kube_apiserver_count }}" |
|
|
|
|
|
{% if kube_version | version_compare('v1.9', '>=') %} |
|
|
|
|
|
endpoint-reconciler-type: lease |
|
|
|
|
|
{% endif %} |
|
|
service-node-port-range: {{ kube_apiserver_node_port_range }} |
|
|
service-node-port-range: {{ kube_apiserver_node_port_range }} |
|
|
kubelet-preferred-address-types: "{{ kubelet_preferred_address_types }}" |
|
|
kubelet-preferred-address-types: "{{ kubelet_preferred_address_types }}" |
|
|
{% if kube_basic_auth|default(true) %} |
|
|
{% if kube_basic_auth|default(true) %} |
|
|