mirror of https://github.com/k3s-io/k3s
Merge pull request #73477 from liggitt/storage-media-type
Allow control over media-typepull/564/head
commit
3b02f17b35
|
@ -78,6 +78,7 @@ CLOUD_PROVIDER=${CLOUD_PROVIDER:-""}
|
|||
CLOUD_CONFIG=${CLOUD_CONFIG:-""}
|
||||
FEATURE_GATES=${FEATURE_GATES:-"AllAlpha=false"}
|
||||
STORAGE_BACKEND=${STORAGE_BACKEND:-"etcd3"}
|
||||
STORAGE_MEDIA_TYPE=${STORAGE_MEDIA_TYPE:-""}
|
||||
# preserve etcd data. you also need to set ETCD_DIR.
|
||||
PRESERVE_ETCD="${PRESERVE_ETCD:-false}"
|
||||
# enable Pod priority and preemption
|
||||
|
@ -574,6 +575,7 @@ function start_apiserver {
|
|||
--insecure-bind-address="${API_HOST_IP}" \
|
||||
--insecure-port="${API_PORT}" \
|
||||
--storage-backend=${STORAGE_BACKEND} \
|
||||
--storage-media-type=${STORAGE_MEDIA_TYPE} \
|
||||
--etcd-servers="http://${ETCD_HOST}:${ETCD_PORT}" \
|
||||
--service-cluster-ip-range="${SERVICE_CLUSTER_IP_RANGE}" \
|
||||
--feature-gates="${FEATURE_GATES}" \
|
||||
|
|
Loading…
Reference in New Issue