Customizing the installation

After your default ServiceMeshControlPlane resource is deployed, you can configure the resource to suit your environment.

Resources for configuring your ServiceMeshControlPlane resource

Read more about how to configure your ServiceMeshControlPlane resource further, or skip ahead to Updating the ServiceMeshControlPlane.

Updating the ServiceMeshControlPlane

Configure Maistra Service Mesh to work with your app by creating and configuring a ServiceMeshControlPlane. The ServiceMeshControlPlane resource defines the configuration to be used during installation. You can deploy the default configuration provided by Red Hat or customize the ServiceMeshControlPlane resource for your microservices and workflows.

Editing the ServiceMeshControlPlane from the web console

Follow this procedure to edit the ServiceMeshControlPlane with the OpenShift Container Platform web console.

Procedure
  1. In the OpenShift Container Platform web console, click OperatorsInstalled Operators.

  2. Select the project where you installed the control plane, for example istio-system, from the Project menu.

  3. Click the Maistra Service Mesh Operator. In the Istio Service Mesh Control Plane column, click the name of your ServiceMeshControlPlane, for example basic-install.

  4. On the Create ServiceMeshControlPlane Details page, click YAML to modify your configuration.

  5. Click Save.

Editing the ServiceMeshControlPlane from the CLI

Follow this procedure to create or edit the ServiceMeshControlPlane with the command line.

Procedure
  1. Log in to the OpenShift Container Platform CLI as a user with the cluster-admin role. Enter the following command. Then, enter your username and password when prompted.

    $ oc login https://{HOSTNAME}:6443
  2. Change to the project where you installed the control plane, for example istio-system.

    $ oc project istio-system
  3. Edit the ServiceMeshControlPlane file.

  4. Run the following command to edit the control plane where <istio-installation.yaml> includes a full path to the file you edited:

    $ oc edit -n istio-system -f <istio-installation.yaml>
  5. Execute the following command to see the status of the control plane installation.

    $ oc get smcp -n istio-system

    The installation has finished successfully when the READY column is true.

    NAME            READY   STATUS              TEMPLATE   VERSION   AGE
    basic-install   9/9     InstallSuccessful   default    v2.0      4m25s

Next steps