From 577a04b02edc1f745408454894e89f063ff3f505 Mon Sep 17 00:00:00 2001 From: Medya Gh Date: Tue, 14 Jan 2020 12:05:32 -0800 Subject: [PATCH] disable istio provisioner by default --- deploy/addons/istio/README.md | 16 +++++++++++----- pkg/minikube/assets/addons.go | 2 +- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/deploy/addons/istio/README.md b/deploy/addons/istio/README.md index 45e2f3562b7d..0cc971bcf5a0 100644 --- a/deploy/addons/istio/README.md +++ b/deploy/addons/istio/README.md @@ -1,11 +1,16 @@ ## istio Addon [istio](https://istio.io/docs/setup/getting-started/) - Cloud platforms provide a wealth of benefits for the organizations that use them. -### Enabling istio -Propose to startup minikube with at least 8192 MB of memory and 4 CPUs to enable istio. -To enable this addon, simply run: +### Enable istio on minikube +Make sure to start minikube with at least 8192 MB of memory and 4 CPUs. + +```shell script +minikube start --memory=8000mb --cpus=4 +``` +To enable this addon, simply run: ```shell script +minikube addons enable istio-provisioner minikube addons enable istio ``` @@ -19,8 +24,9 @@ kubectl get po -n istio-system If everything went well you shouldn't get any errors about istio being installed in your cluster. If you haven't deployed any releases `kubectl get po -n istio-system` won't return anything. -### Deprecation of istio +### Disable istio To disable this addon, simply run: ```shell script +minikube addons disable istio-provisioner minikube addons disable istio -``` +``` \ No newline at end of file diff --git a/pkg/minikube/assets/addons.go b/pkg/minikube/assets/addons.go index 75f4e87f23de..c4ba5de1d0a9 100644 --- a/pkg/minikube/assets/addons.go +++ b/pkg/minikube/assets/addons.go @@ -195,7 +195,7 @@ var Addons = map[string]*Addon{ "istio-operator.yaml", "0640", true), - }, true, "istio-provisioner"), + }, false, "istio-provisioner"), "istio": NewAddon([]*BinAsset{ MustBinAsset( "deploy/addons/istio/istio-default-profile.yaml.tmpl",