Code Monkey home page Code Monkey logo

service-mesh's Introduction

Service Mesh Installation

Install the service mesh operators

helm install service-mesh-operators -n openshift-operators service-mesh-operators/

Manually approve the InstallPlans within the openshift-operators namespace.

  1. Navigate the the InstallPlans search page

    echo "https://$(oc get route console -o jsonpath={.spec.host} -n openshift-console)/k8s/ns/openshift-operators/operators.coreos.com~v1alpha1~InstallPlan"
  2. Select each InstallPlan on the search page. Within each InstallPlan's Overview tab select the Preview Install Plan button, then select the Approve button on the Components tab.

Uninstall the service mesh operators

  1. Delete the helm chart release:

    helm delete service-mesh-operators -n openshift-operators
  2. Follow the instructions from https://docs.openshift.com/container-platform/4.3/service_mesh/service_mesh_install/removing-ossm.html

Install the control plane

export deploy_namespace=istio-system

oc new-project ${deploy_namespace}

#Note: you may need to wait a moment for the operators to propagate

helm install control-plane -n ${deploy_namespace} control-plane/

Uninstall the control plane

export deploy_namespace=istio-system
helm delete control-plane -n ${deploy_namespace}

Install the oauth2 control plane

Follow the steps described within Configuring the OIDC Provider with Okta to create an Okta application & authorization server. Retrieve its client_id and client_secret.

Note that the Okta Application needs the login redirect URI to match the ${redirect_url} defined below.

export deploy_namespace=istio-system
export client_id=<my_client_id>
export client_secret=<my_client_secret>
export redirect_url="https://api-istio-system.$(oc get route console -o jsonpath={.status.ingress[0].routerCanonicalHostname} -n openshift-console)/oauth2/callback"

oc new-project ${deploy_namespace}

#Note: you may need to wait a moment for the operators to propagate

helm install control-plane-oauth2 -n ${deploy_namespace} --set client_id=${client_id} --set client_secret=${client_secret} --set redirect_url=${redirect_url} control-plane-oauth2/

Uninstall the oauth2 control plane

export deploy_namespace=istio-system
helm delete control-plane-oauth2 -n ${deploy_namespace}

Install the mongodb control plane

export deploy_namespace=istio-system

oc new-project ${deploy_namespace}

#Note: you may need to wait a moment for the operators to propagate

helm install control-plane-mongodb -n ${deploy_namespace} control-plane-mongodb/

Uninstall the mongodb control plane

export deploy_namespace=istio-system
helm delete control-plane-mongodb -n ${deploy_namespace}

Optional

Install the jaeger proxy (for bundled ca trust)

export deploy_namespace=istio-system
helm install jaeger-proxy -n ${deploy_namespace} jaeger-proxy/

Uninstall the jaeger proxy

export deploy_namespace=istio-system
helm delete jaeger-proxy -n ${deploy_namespace}

service-mesh's People

Contributors

trevorbox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.