Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
46cd8ec9
Commit
46cd8ec9
authored
Feb 17, 2017
by
Kubernetes Submit Queue
Committed by
GitHub
Feb 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #41637 from wojtek-t/expose_storage_format_as_env
Automatic merge from submit-queue Expose storage media type as env variable Ref #40636 @mml
parents
b2df7e53
3695e85b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
31 additions
and
8 deletions
+31
-8
common.sh
cluster/common.sh
+1
-0
config-test.sh
cluster/gce/config-test.sh
+4
-4
configure-vm.sh
cluster/gce/configure-vm.sh
+5
-0
configure-helper.sh
cluster/gce/container-linux/configure-helper.sh
+3
-0
configure-helper.sh
cluster/gce/gci/configure-helper.sh
+3
-0
configure-helper.sh
cluster/gce/trusty/configure-helper.sh
+3
-0
config-default.sh
cluster/kubemark/gce/config-default.sh
+5
-2
kube-apiserver.manifest
cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest
+6
-1
exceptions.txt
hack/verify-flags/exceptions.txt
+1
-1
No files found.
cluster/common.sh
View file @
46cd8ec9
...
@@ -734,6 +734,7 @@ MANIFEST_URL: $(yaml-quote ${MANIFEST_URL:-})
...
@@ -734,6 +734,7 @@ MANIFEST_URL: $(yaml-quote ${MANIFEST_URL:-})
MANIFEST_URL_HEADER:
$(
yaml-quote
${
MANIFEST_URL_HEADER
:-})
MANIFEST_URL_HEADER:
$(
yaml-quote
${
MANIFEST_URL_HEADER
:-})
NUM_NODES:
$(
yaml-quote
${
NUM_NODES
})
NUM_NODES:
$(
yaml-quote
${
NUM_NODES
})
STORAGE_BACKEND:
$(
yaml-quote
${
STORAGE_BACKEND
:-
etcd3
})
STORAGE_BACKEND:
$(
yaml-quote
${
STORAGE_BACKEND
:-
etcd3
})
STORAGE_MEDIA_TYPE:
$(
yaml-quote
${
STORAGE_MEDIA_TYPE
:-})
ENABLE_GARBAGE_COLLECTOR:
$(
yaml-quote
${
ENABLE_GARBAGE_COLLECTOR
:-})
ENABLE_GARBAGE_COLLECTOR:
$(
yaml-quote
${
ENABLE_GARBAGE_COLLECTOR
:-})
MASTER_ADVERTISE_ADDRESS:
$(
yaml-quote
${
MASTER_ADVERTISE_ADDRESS
:-})
MASTER_ADVERTISE_ADDRESS:
$(
yaml-quote
${
MASTER_ADVERTISE_ADDRESS
:-})
ETCD_CA_KEY:
$(
yaml-quote
${
ETCD_CA_KEY_BASE64
:-})
ETCD_CA_KEY:
$(
yaml-quote
${
ETCD_CA_KEY_BASE64
:-})
...
...
cluster/gce/config-test.sh
View file @
46cd8ec9
...
@@ -130,11 +130,9 @@ TEST_CLUSTER_RESYNC_PERIOD="${TEST_CLUSTER_RESYNC_PERIOD:---min-resync-period=3m
...
@@ -130,11 +130,9 @@ TEST_CLUSTER_RESYNC_PERIOD="${TEST_CLUSTER_RESYNC_PERIOD:---min-resync-period=3m
# ContentType used by all components to communicate with apiserver.
# ContentType used by all components to communicate with apiserver.
TEST_CLUSTER_API_CONTENT_TYPE
=
"
${
TEST_CLUSTER_API_CONTENT_TYPE
:-}
"
TEST_CLUSTER_API_CONTENT_TYPE
=
"
${
TEST_CLUSTER_API_CONTENT_TYPE
:-}
"
# ContentType used to store objects in underlying database.
TEST_CLUSTER_STORAGE_CONTENT_TYPE
=
"
${
TEST_CLUSTER_STORAGE_CONTENT_TYPE
:-}
"
KUBELET_TEST_ARGS
=
"
${
KUBELET_TEST_ARGS
:-}
--max-pods=110 --serialize-image-pulls=false --outofdisk-transition-frequency=0
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
KUBELET_TEST_ARGS
=
"
${
KUBELET_TEST_ARGS
:-}
--max-pods=110 --serialize-image-pulls=false --outofdisk-transition-frequency=0
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
APISERVER_TEST_ARGS
=
"
${
APISERVER_TEST_ARGS
:-}
--runtime-config=extensions/v1beta1
${
TEST_CLUSTER_DELETE_COLLECTION_WORKERS
}
${
TEST_CLUSTER_MAX_REQUESTS_INFLIGHT
}
${
TEST_CLUSTER_STORAGE_CONTENT_TYPE
}
"
APISERVER_TEST_ARGS
=
"
${
APISERVER_TEST_ARGS
:-}
--runtime-config=extensions/v1beta1
${
TEST_CLUSTER_DELETE_COLLECTION_WORKERS
}
${
TEST_CLUSTER_MAX_REQUESTS_INFLIGHT
}
"
CONTROLLER_MANAGER_TEST_ARGS
=
"
${
CONTROLLER_MANAGER_TEST_ARGS
:-}
${
TEST_CLUSTER_RESYNC_PERIOD
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
CONTROLLER_MANAGER_TEST_ARGS
=
"
${
CONTROLLER_MANAGER_TEST_ARGS
:-}
${
TEST_CLUSTER_RESYNC_PERIOD
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
SCHEDULER_TEST_ARGS
=
"
${
SCHEDULER_TEST_ARGS
:-}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
SCHEDULER_TEST_ARGS
=
"
${
SCHEDULER_TEST_ARGS
:-}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
KUBEPROXY_TEST_ARGS
=
"
${
KUBEPROXY_TEST_ARGS
:-}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
KUBEPROXY_TEST_ARGS
=
"
${
KUBEPROXY_TEST_ARGS
:-}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
...
@@ -195,8 +193,10 @@ KUBE_UP_AUTOMATIC_CLEANUP=${KUBE_UP_AUTOMATIC_CLEANUP:-false}
...
@@ -195,8 +193,10 @@ KUBE_UP_AUTOMATIC_CLEANUP=${KUBE_UP_AUTOMATIC_CLEANUP:-false}
# is only supported in trusty or GCI.
# is only supported in trusty or GCI.
TEST_CLUSTER
=
"
${
TEST_CLUSTER
:-
true
}
"
TEST_CLUSTER
=
"
${
TEST_CLUSTER
:-
true
}
"
# Storage backend. 'etcd2'
supported, 'etcd3' experimental
.
# Storage backend. 'etcd2'
and 'etcd3' are supported
.
STORAGE_BACKEND
=
${
STORAGE_BACKEND
:-}
STORAGE_BACKEND
=
${
STORAGE_BACKEND
:-}
# Storage media type: application/json and application/vnd.kubernetes.protobuf are supported.
STORAGE_MEDIA_TYPE
=
${
STORAGE_MEDIA_TYPE
:-}
# OpenContrail networking plugin specific settings
# OpenContrail networking plugin specific settings
NETWORK_PROVIDER
=
"
${
NETWORK_PROVIDER
:-
kubenet
}
"
# none, opencontrail, kubenet
NETWORK_PROVIDER
=
"
${
NETWORK_PROVIDER
:-
kubenet
}
"
# none, opencontrail, kubenet
...
...
cluster/gce/configure-vm.sh
View file @
46cd8ec9
...
@@ -485,6 +485,11 @@ EOF
...
@@ -485,6 +485,11 @@ EOF
storage_backend: '
$(
echo
"
$STORAGE_BACKEND
"
|
sed
-e
"s/'/''/g"
)
'
storage_backend: '
$(
echo
"
$STORAGE_BACKEND
"
|
sed
-e
"s/'/''/g"
)
'
EOF
EOF
fi
fi
if
[
-n
"
${
STORAGE_MEDIA_TYPE
:-}
"
]
;
then
cat
<<
EOF
>>/srv/salt-overlay/pillar/cluster-params.sls
storage_media_type: '
$(
echo
"
$STORAGE_MEDIA_TYPE
"
|
sed
-e
"s/'/''/g"
)
'
EOF
fi
if
[
-n
"
${
ADMISSION_CONTROL
:-}
"
]
&&
[
${
ADMISSION_CONTROL
}
==
*
"ImagePolicyWebhook"
*
]
;
then
if
[
-n
"
${
ADMISSION_CONTROL
:-}
"
]
&&
[
${
ADMISSION_CONTROL
}
==
*
"ImagePolicyWebhook"
*
]
;
then
cat
<<
EOF
>>/srv/salt-overlay/pillar/cluster-params.sls
cat
<<
EOF
>>/srv/salt-overlay/pillar/cluster-params.sls
admission-control-config-file: /etc/admission_controller.config
admission-control-config-file: /etc/admission_controller.config
...
...
cluster/gce/container-linux/configure-helper.sh
View file @
46cd8ec9
...
@@ -807,6 +807,9 @@ function start-kube-apiserver {
...
@@ -807,6 +807,9 @@ function start-kube-apiserver {
if
[[
-n
"
${
STORAGE_BACKEND
:-}
"
]]
;
then
if
[[
-n
"
${
STORAGE_BACKEND
:-}
"
]]
;
then
params+
=
" --storage-backend=
${
STORAGE_BACKEND
}
"
params+
=
" --storage-backend=
${
STORAGE_BACKEND
}
"
fi
fi
if
[[
-n
"
${
STORAGE_MEDIA_TYPE
:-}
"
]]
;
then
params+
=
" --storage-media-type=
${
STORAGE_MEDIA_TYPE
}
"
fi
if
[[
-n
"
${
ENABLE_GARBAGE_COLLECTOR
:-}
"
]]
;
then
if
[[
-n
"
${
ENABLE_GARBAGE_COLLECTOR
:-}
"
]]
;
then
params+
=
" --enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
params+
=
" --enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
fi
fi
...
...
cluster/gce/gci/configure-helper.sh
View file @
46cd8ec9
...
@@ -870,6 +870,9 @@ function start-kube-apiserver {
...
@@ -870,6 +870,9 @@ function start-kube-apiserver {
if
[[
-n
"
${
STORAGE_BACKEND
:-}
"
]]
;
then
if
[[
-n
"
${
STORAGE_BACKEND
:-}
"
]]
;
then
params+
=
" --storage-backend=
${
STORAGE_BACKEND
}
"
params+
=
" --storage-backend=
${
STORAGE_BACKEND
}
"
fi
fi
if
[[
-n
"
${
STORAGE_MEDIA_TYPE
:-}
"
]]
;
then
params+
=
" --storage-media-type=
${
STORAGE_MEDIA_TYPE
}
"
fi
if
[[
-n
"
${
ENABLE_GARBAGE_COLLECTOR
:-}
"
]]
;
then
if
[[
-n
"
${
ENABLE_GARBAGE_COLLECTOR
:-}
"
]]
;
then
params+
=
" --enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
params+
=
" --enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
fi
fi
...
...
cluster/gce/trusty/configure-helper.sh
View file @
46cd8ec9
...
@@ -598,6 +598,9 @@ start_kube_apiserver() {
...
@@ -598,6 +598,9 @@ start_kube_apiserver() {
if
[[
-n
"
${
STORAGE_BACKEND
:-}
"
]]
;
then
if
[[
-n
"
${
STORAGE_BACKEND
:-}
"
]]
;
then
params
=
"
${
params
}
--storage-backend=
${
STORAGE_BACKEND
}
"
params
=
"
${
params
}
--storage-backend=
${
STORAGE_BACKEND
}
"
fi
fi
if
[[
-n
"
${
STORAGE_MEDIA_TYPE
:-}
"
]]
;
then
params
=
"
${
params
}
--storage-media-type=
${
STORAGE_MEDIA_TYPE
}
"
fi
if
[
-n
"
${
NUM_NODES
:-}
"
]
;
then
if
[
-n
"
${
NUM_NODES
:-}
"
]
;
then
# If the cluster is large, increase max-requests-inflight limit in apiserver.
# If the cluster is large, increase max-requests-inflight limit in apiserver.
if
[[
"
${
NUM_NODES
}
"
-ge
1000
]]
;
then
if
[[
"
${
NUM_NODES
}
"
-ge
1000
]]
;
then
...
...
cluster/kubemark/gce/config-default.sh
View file @
46cd8ec9
...
@@ -73,12 +73,15 @@ KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS="${KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS:-
...
@@ -73,12 +73,15 @@ KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS="${KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS:-
# ContentType used by all components to communicate with apiserver.
# ContentType used by all components to communicate with apiserver.
TEST_CLUSTER_API_CONTENT_TYPE
=
"
${
TEST_CLUSTER_API_CONTENT_TYPE
:-}
"
TEST_CLUSTER_API_CONTENT_TYPE
=
"
${
TEST_CLUSTER_API_CONTENT_TYPE
:-}
"
# ContentType used to store objects in underlying database.
# ContentType used to store objects in underlying database.
TEST_CLUSTER_STORAGE_CONTENT_TYPE
=
"
${
TEST_CLUSTER_STORAGE_CONTENT_TYPE
:-}
"
TEST_CLUSTER_STORAGE_MEDIA_TYPE
=
""
if
[
-n
"
${
STORAGE_MEDIA_TYPE
:-}
"
]
;
then
TEST_CLUSTER_STORAGE_MEDIA_TYPE
=
"--storage-media-type=
${
STORAGE_MEDIA_TYPE
}
"
fi
ENABLE_GARBAGE_COLLECTOR
=
${
ENABLE_GARBAGE_COLLECTOR
:-
true
}
ENABLE_GARBAGE_COLLECTOR
=
${
ENABLE_GARBAGE_COLLECTOR
:-
true
}
KUBELET_TEST_ARGS
=
"--max-pods=100
$TEST_CLUSTER_LOG_LEVEL
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
KUBELET_TEST_ARGS
=
"--max-pods=100
$TEST_CLUSTER_LOG_LEVEL
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
APISERVER_TEST_ARGS
=
"--runtime-config=extensions/v1beta1
${
API_SERVER_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_STORAGE_
CONTENT
_TYPE
}
${
TEST_CLUSTER_MAX_REQUESTS_INFLIGHT
}
${
TEST_CLUSTER_DELETE_COLLECTION_WORKERS
}
--enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
APISERVER_TEST_ARGS
=
"--runtime-config=extensions/v1beta1
${
API_SERVER_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_STORAGE_
MEDIA
_TYPE
}
${
TEST_CLUSTER_MAX_REQUESTS_INFLIGHT
}
${
TEST_CLUSTER_DELETE_COLLECTION_WORKERS
}
--enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
CONTROLLER_MANAGER_TEST_ARGS
=
"
${
CONTROLLER_MANAGER_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_RESYNC_PERIOD
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
${
KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS
}
--enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
CONTROLLER_MANAGER_TEST_ARGS
=
"
${
CONTROLLER_MANAGER_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_RESYNC_PERIOD
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
${
KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS
}
--enable-garbage-collector=
${
ENABLE_GARBAGE_COLLECTOR
}
"
SCHEDULER_TEST_ARGS
=
"
${
SCHEDULER_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
${
KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS
}
"
SCHEDULER_TEST_ARGS
=
"
${
SCHEDULER_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
${
KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS
}
"
KUBEPROXY_TEST_ARGS
=
"
${
KUBEPROXY_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
KUBEPROXY_TEST_ARGS
=
"
${
KUBEPROXY_TEST_LOG_LEVEL
}
${
TEST_CLUSTER_API_CONTENT_TYPE
}
"
...
...
cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest
View file @
46cd8ec9
...
@@ -61,6 +61,11 @@
...
@@ -61,6 +61,11 @@
{% set etcd_servers = "--etcd-servers=http://127.0.0.1:2379" -%}
{% set etcd_servers = "--etcd-servers=http://127.0.0.1:2379" -%}
{% set etcd_servers_overrides = "--etcd-servers-overrides=/events#http://127.0.0.1:4002" -%}
{% set etcd_servers_overrides = "--etcd-servers-overrides=/events#http://127.0.0.1:4002" -%}
{% set storage_media_type = "" -%}
{% if pillar['storage_media_type'] is defined -%}
{% set storage_media_type = "--storage-media-type=" + pillar['storage_media_type'] -%}
{% endif -%}
{% set max_requests_inflight = "" -%}
{% set max_requests_inflight = "" -%}
{% set target_ram_mb = "" -%}
{% set target_ram_mb = "" -%}
{% if pillar['num_nodes'] is defined -%}
{% if pillar['num_nodes'] is defined -%}
...
@@ -175,7 +180,7 @@
...
@@ -175,7 +180,7 @@
{% set audit_log = "--audit-log-path=/var/log/kube-apiserver-audit.log --audit-log-maxage=0 --audit-log-maxbackup=0 --audit-log-maxsize=2000000000" -%}
{% set audit_log = "--audit-log-path=/var/log/kube-apiserver-audit.log --audit-log-maxage=0 --audit-log-maxbackup=0 --audit-log-maxsize=2000000000" -%}
{% endif -%}
{% endif -%}
{% set params = address + " " + storage_backend + " " + etcd_servers + " " + etcd_servers_overrides + " " + cloud_provider + " " + cloud_config + " " + runtime_config + " " + feature_gates + " " + admission_control + " " + max_requests_inflight + " " + target_ram_mb + " " + service_cluster_ip_range + " " + client_ca_file + basic_auth_file + " " + min_request_timeout + " " + enable_garbage_collector + " " + etcd_quorum_read + " " + audit_log -%}
{% set params = address + " " + storage_backend + " " +
storage_media_type + " " +
etcd_servers + " " + etcd_servers_overrides + " " + cloud_provider + " " + cloud_config + " " + runtime_config + " " + feature_gates + " " + admission_control + " " + max_requests_inflight + " " + target_ram_mb + " " + service_cluster_ip_range + " " + client_ca_file + basic_auth_file + " " + min_request_timeout + " " + enable_garbage_collector + " " + etcd_quorum_read + " " + audit_log -%}
{% set params = params + " " + cert_file + " " + key_file + " " + kubelet_cert_file + " " + kubelet_key_file + " --secure-port=" + secure_port + token_auth_file + " " + bind_address + " " + log_level + " " + advertise_address + " " + proxy_ssh_options + authz_mode + abac_policy_file + webhook_authentication_config + webhook_authorization_config + image_review_config -%}
{% set params = params + " " + cert_file + " " + key_file + " " + kubelet_cert_file + " " + kubelet_key_file + " --secure-port=" + secure_port + token_auth_file + " " + bind_address + " " + log_level + " " + advertise_address + " " + proxy_ssh_options + authz_mode + abac_policy_file + webhook_authentication_config + webhook_authorization_config + image_review_config -%}
# test_args has to be kept at the end, so they'll overwrite any prior configuration
# test_args has to be kept at the end, so they'll overwrite any prior configuration
...
...
hack/verify-flags/exceptions.txt
View file @
46cd8ec9
...
@@ -63,7 +63,7 @@ cluster/saltbase/salt/cluster-autoscaler/cluster-autoscaler.manifest:{% set para
...
@@ -63,7 +63,7 @@ cluster/saltbase/salt/cluster-autoscaler/cluster-autoscaler.manifest:{% set para
cluster/saltbase/salt/etcd/etcd.manifest: "value": "{{ pillar.get('storage_backend', 'etcd3') }}"
cluster/saltbase/salt/etcd/etcd.manifest: "value": "{{ pillar.get('storage_backend', 'etcd3') }}"
cluster/saltbase/salt/etcd/etcd.manifest:{% if pillar.get('storage_backend', 'etcd3') == 'etcd3' -%}
cluster/saltbase/salt/etcd/etcd.manifest:{% if pillar.get('storage_backend', 'etcd3') == 'etcd3' -%}
cluster/saltbase/salt/kube-admission-controls/init.sls:{% if 'LimitRanger' in pillar.get('admission_control', '') %}
cluster/saltbase/salt/kube-admission-controls/init.sls:{% if 'LimitRanger' in pillar.get('admission_control', '') %}
cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest:{% set params = address + " " + storage_backend + " " + etcd_servers + " " + etcd_servers_overrides + " " + cloud_provider + " " + cloud_config + " " + runtime_config + " " + feature_gates + " " + admission_control + " " + max_requests_inflight + " " + target_ram_mb + " " + service_cluster_ip_range + " " + client_ca_file + basic_auth_file + " " + min_request_timeout + " " + enable_garbage_collector + " " + etcd_quorum_read + " " + audit_log -%}
cluster/saltbase/salt/kube-apiserver/kube-apiserver.manifest:{% set params = address + " " + storage_backend + " " +
storage_media_type + " " +
etcd_servers + " " + etcd_servers_overrides + " " + cloud_provider + " " + cloud_config + " " + runtime_config + " " + feature_gates + " " + admission_control + " " + max_requests_inflight + " " + target_ram_mb + " " + service_cluster_ip_range + " " + client_ca_file + basic_auth_file + " " + min_request_timeout + " " + enable_garbage_collector + " " + etcd_quorum_read + " " + audit_log -%}
cluster/saltbase/salt/kube-controller-manager/kube-controller-manager.manifest:{% if pillar.get('enable_hostpath_provisioner', '').lower() == 'true' -%}
cluster/saltbase/salt/kube-controller-manager/kube-controller-manager.manifest:{% if pillar.get('enable_hostpath_provisioner', '').lower() == 'true' -%}
cluster/saltbase/salt/kube-controller-manager/kube-controller-manager.manifest:{% set params = "--master=127.0.0.1:8080" + " " + cluster_name + " " + cluster_cidr + " " + allocate_node_cidrs + " " + service_cluster_ip_range + " " + terminated_pod_gc + " " + enable_garbage_collector + " " + cloud_provider + " " + cloud_config + " " + service_account_key + " " + log_level + " " + root_ca_file -%}
cluster/saltbase/salt/kube-controller-manager/kube-controller-manager.manifest:{% set params = "--master=127.0.0.1:8080" + " " + cluster_name + " " + cluster_cidr + " " + allocate_node_cidrs + " " + service_cluster_ip_range + " " + terminated_pod_gc + " " + enable_garbage_collector + " " + cloud_provider + " " + cloud_config + " " + service_account_key + " " + log_level + " " + root_ca_file -%}
cluster/saltbase/salt/kube-controller-manager/kube-controller-manager.manifest:{% set params = params + " " + feature_gates -%}
cluster/saltbase/salt/kube-controller-manager/kube-controller-manager.manifest:{% set params = params + " " + feature_gates -%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment