From a24bcf3098ead1612160a4d77ae77427d20bc660 Mon Sep 17 00:00:00 2001 From: Kamesh Sampath Date: Sat, 6 Oct 2018 12:05:53 +0530 Subject: [PATCH] Removed dynamic-admission-controllers addon - Resolving Issue #169 - other minor readme updates --- add-ons/istio/README.adoc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/add-ons/istio/README.adoc b/add-ons/istio/README.adoc index 909eed5..142233f 100644 --- a/add-ons/istio/README.adoc +++ b/add-ons/istio/README.adoc @@ -24,11 +24,10 @@ $ minishift profile set servicemesh <1> $ minishift config set memory 8GB <2> $ minishift config set cpus 4 <3> $ minishift config set image-caching true <4> -$ minishift config set openshift-version v3.1.0 <5> -$ minishift addon enable admin-user -$ minishift addon enable anyuid -$ minishift addon enable dynamic-admission-controllers #optional <6> -$ minishift start servicemesh<7> +$ minishift config set openshift-version v3.10.0 <5> +$ minishift addon enable admin-user <6> +$ minishift addon enable anyuid <7> +$ minishift start <8> ---- <1> Create a new Minishift profile named **servicemesh** @@ -36,8 +35,9 @@ $ minishift start servicemesh<7> <3> 4 CPUs results in a maximum of 30 pods, since Istio deploys approximately 9 pods at minimum <4> Caches the downloaded container images for future use <5> Pinning OpenShift version to v3.10.0, so that upgrade of minishift does not recreate the OpenShift cluster -<6> Enable the Minishift `dynamic-admission-controllers` add-on if you want to use auto injection of side-car container. -<7> Since we have set the profile to be **servicemesh**, this command starts Minishift with profile **servicemesh** +<6> Creates a new user called **admin** with **cluster-admin** role +<7> Allows containers within OpenShift to be run with any user id +<8> Since we have set the profile to be **servicemesh**, this command starts Minishift with profile **servicemesh** == Install add-on @@ -46,7 +46,6 @@ Run the following command to install `istio` add-on: [source,bash] ---- $ git clone https://github.com/minishift/minishift-addons -$ minishift addon install ./minishift-addons/add-ons/dynamic-admission-controllers #optional $ minishift addon install ./minishift-addons/add-ons/istio ---- @@ -56,10 +55,11 @@ Run the following command to apply `istio` add-on: [source,bash] ---- -$ minishift addon apply dynamic-admission-controllers #optional -$ minishift addon apply istio <1> +$ minishift addon enable istio <1> +$ minishift addon apply istio <2> ---- -<1> The command will take few minutes, you can watch the status with command `oc -n istio-system get pods -w --as system:admin`, you can terminate watch with kbd:[CTRL + C] +<1> Enabling the **istio** addon allows the addon to be automatically applied during profile recreation i.e. minishift delete && minishift start +<2> The command will take few minutes, you can watch the status with command `oc -n istio-system get pods -w --as system:admin`, you can terminate watch with kbd:[CTRL + C] == Undeploy Istio