From f05002e8aa456b3975f1d9254b33bcd5b5b6ce00 Mon Sep 17 00:00:00 2001 From: Vikky Omkar Date: Mon, 6 Apr 2020 00:56:54 +0530 Subject: [PATCH 1/2] doc on how to enable feature gates --- site/content/en/docs/Reference/Configuration/kubernetes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/site/content/en/docs/Reference/Configuration/kubernetes.md b/site/content/en/docs/Reference/Configuration/kubernetes.md index 8781b3f710..63f33700a0 100644 --- a/site/content/en/docs/Reference/Configuration/kubernetes.md +++ b/site/content/en/docs/Reference/Configuration/kubernetes.md @@ -55,3 +55,9 @@ For instance, to allow Kubernetes to launch on an unsupported Docker release: ```shell minikube start --extra-config=kubeadm.ignore-preflight-errors=SystemVerification ``` + +Kubernetes alpha/experimental features can be enabled or disabled by the `--feature-gates` flag on the `minikube start` command. It takes a string of the form `key=value` where key is the `component` name and value is the `status` of it. + +```shell +minikube start --feature-gates=EphemeralContainers=true +``` From 06ac3fcae695d34b9d10be1cc8bcb68d16495406 Mon Sep 17 00:00:00 2001 From: Vikky Omkar Date: Mon, 6 Apr 2020 14:19:02 +0530 Subject: [PATCH 2/2] added a heading for feature gate --- site/content/en/docs/Reference/Configuration/kubernetes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site/content/en/docs/Reference/Configuration/kubernetes.md b/site/content/en/docs/Reference/Configuration/kubernetes.md index 63f33700a0..7a271d49c0 100644 --- a/site/content/en/docs/Reference/Configuration/kubernetes.md +++ b/site/content/en/docs/Reference/Configuration/kubernetes.md @@ -56,6 +56,8 @@ For instance, to allow Kubernetes to launch on an unsupported Docker release: minikube start --extra-config=kubeadm.ignore-preflight-errors=SystemVerification ``` +## Enable feature gates + Kubernetes alpha/experimental features can be enabled or disabled by the `--feature-gates` flag on the `minikube start` command. It takes a string of the form `key=value` where key is the `component` name and value is the `status` of it. ```shell