OpenShift Service 4 of Mesh Tutorial (1) - Creating Service Mesh Operating Environment


This is one verified in OpenShift 4.2.x in a more complete OpenShift Service Mesh tutorial.

Installation Service Mesh Operator

Note: OpenShift Service Mesh Operator will automatically install when Elasticsearch Operator, Jaeger Operator, Kiali Operator, thus requiring only OpenShift Service Mesh Operator to install.

  1. Administrator login OpenShift 4 console, enter the Catalog in Aministrator view -> Operator Hub.
  2. After finding OpenShift Service Mesh enter, click on the Install button on the right slide description page.
  3. Click the Subscribe button in the Create Operator Subscription page.
  4. The following will see later Elasticsearch Operator, Jaeger Operator, Kiali Operator and OpenShift Service Mesh Operator already Copied state, indicating Operator has been successfully installed.
    Here Insert Picture Description

Configuration Service Mesh Operating Environment

Preparation of project resources

  1. Create a project run Istio
$ oc new-project my-istio-system
  1. Tutorial obtain the relevant code
$ git clone https://github.com/liuxiaoyu-git/service-mesh.git

Creating Service Mesh Control Plane

  1. Go Go Service Mesh Operator in the Installed Operator.
    Here Insert Picture Description
  2. Enter the Create Instance on Istio Service Mesh Control Plane.
    Here Insert Picture Description
  3. Copy the install / basic-install.yml file within the text area, and then click the Create button.
    Here Insert Picture Description
  4. Execute command to view the progress of creating a progress, after the completion of Pod 12 will run in my-istio-system project.
$ watch oc get pods -n my-istio-system

Here Insert Picture Description

Creating Service Mesh Member Roll

All items in the Member Roll Service Mesh resources is being OpenShift nanotubes, and thus make use of my-istio-app item behind the associated Service Mesh Member Roll.

  1. Check install / memberroll.yml documents confirming members included my-istio-app.
apiVersion: maistra.io/v1
kind: ServiceMeshMemberRoll
metadata:
  name: default
spec:
  members:
  - my-istio-app
  1. Run command to create ServiceMeshMemberRoll object.
$ oc apply -f install/memberroll.yml -n my-istio-system
Published 54 original articles · won praise 0 · Views 1093

Guess you like

Origin blog.csdn.net/weixin_43902588/article/details/103839959
Recommended