Skip to content

Commit

Permalink
Removed dynamic-admission-controllers addon
Browse files Browse the repository at this point in the history
- Resolving Issue #169
- other minor readme updates
  • Loading branch information
kameshsampath authored and praveenkumar committed Oct 6, 2018
1 parent 055486c commit a24bcf3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions add-ons/istio/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ $ 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**
<2> Use 8GB of memory for Istio and apps that you might deploy later
<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

Expand All @@ -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
----

Expand All @@ -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

Expand Down

0 comments on commit a24bcf3

Please sign in to comment.