From 165e29232832c636219c260bdcdead5fd14d657c Mon Sep 17 00:00:00 2001 From: Zbigniew Zabost <135184+ZbigniewZabost@users.noreply.github.com> Date: Tue, 22 Jun 2021 09:31:06 +0200 Subject: [PATCH 1/2] Update README.md --- OpenShift/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/OpenShift/README.md b/OpenShift/README.md index 5c8d7ff..7a5ec4d 100644 --- a/OpenShift/README.md +++ b/OpenShift/README.md @@ -4,6 +4,8 @@ See the official [documentation](https://docs.instana.io/quick_start/agent_setup # Robot Shop Deployment +## OCP 3.x + For OpenShift run the `setup.sh` script to create the project and set the extra permissions. Use the Helm chart for Kubernetes to install Stan's Robot Shop. To install on Minishift. @@ -29,5 +31,17 @@ web NodePort 172.30.180.253 8080:31147/TCP 4m Use the IP and the node port to form the URL `http://192.168.99.106:31147/` +## OCP 4.x + +For Openshift cluster in version 4.x follow these steps: + +``` +export KUBECONFIG=/path/to/oc/cluster/dir/auth/kubeconfig +oc adm new-project robot-shop +oc adm policy add-scc-to-user anyuid -z default -n robot-shop +cd robot-shop/K8s +helm install robot-shop --set openshift=true -n robot-shop helm +``` + From b2384ee7321e8eae07e47421e856964da2b15edd Mon Sep 17 00:00:00 2001 From: Zbigniew Zabost <135184+ZbigniewZabost@users.noreply.github.com> Date: Tue, 22 Jun 2021 10:51:45 +0200 Subject: [PATCH 2/2] Update README.md --- OpenShift/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenShift/README.md b/OpenShift/README.md index 7a5ec4d..b3abc99 100644 --- a/OpenShift/README.md +++ b/OpenShift/README.md @@ -39,6 +39,7 @@ For Openshift cluster in version 4.x follow these steps: export KUBECONFIG=/path/to/oc/cluster/dir/auth/kubeconfig oc adm new-project robot-shop oc adm policy add-scc-to-user anyuid -z default -n robot-shop +oc adm policy add-scc-to-user privileged -z default -n robot-shop cd robot-shop/K8s helm install robot-shop --set openshift=true -n robot-shop helm ```