2.27. Service Mesh control plane configuration reference
You can customize your Red Hat OpenShift Service Mesh by modifying the default ServiceMeshControlPlane (SMCP) resource or by creating a completely custom SMCP resource. This reference section documents the configuration options available for the SMCP resource.
2.27.1. Service Mesh Control plane parameters 复制链接链接已复制到粘贴板!
The following table lists the top-level parameters for the ServiceMeshControlPlane resource.
| Name | Description | Type |
|---|---|---|
|
|
APIVersion defines the versioned schema of this representation of an object. Servers convert recognized schemas to the latest internal value, and may reject unrecognized values. The value for the |
The value for |
|
| Kind is a string value that represents the REST resource this object represents. |
|
|
|
Metadata about this | string |
|
|
The specification of the desired state of this | For more information, see Table 2. |
|
|
The current status of this | For more information, see Table 3. |
The following table lists the specifications for the ServiceMeshControlPlane resource. Changing these parameters configures Red Hat OpenShift Service Mesh components.
| Name | Description | Configurable parameters |
|---|---|---|
|
|
The |
|
|
|
The |
|
|
|
You use the |
|
|
|
The |
|
|
|
You use the |
|
|
|
You select the |
|
|
|
You use the |
|
|
|
You use the |
|
|
|
The |
|
|
|
The | N/A |
|
|
If |
|
|
|
You use the |
|
|
|
You use the | string |
ControlPlaneStatus represents the current state of your service mesh.
| Name | Description | Type |
|---|---|---|
|
|
The | Not configurable |
|
|
Represents the latest available observations of the object’s current state. | string |
|
| Shows the status of each deployed Service Mesh control plane component. | string |
|
| The resulting specification of the configuration options after all profiles have been applied. |
|
|
| The resulting values.yaml used to generate the charts. |
|
|
| The version of the charts that were last processed for this resource. | string |
|
|
The generation observed by the controller during the most recent reconciliation. The information in the status pertains to this particular generation of the object. The | integer |
|
| The version of the operator that last processed this resource. | string |
|
| The readiness status of components & owned resources. | string |
This example ServiceMeshControlPlane definition contains all of the supported parameters.
Example ServiceMeshControlPlane resource
apiVersion: maistra.io/v2
kind: ServiceMeshControlPlane
metadata:
name: basic
spec:
version: v2.6
proxy:
runtime:
container:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 128Mi
tracing:
type: Jaeger
gateways:
ingress: # istio-ingressgateway
service:
type: ClusterIP
ports:
- name: status-port
port: 15020
- name: http2
port: 80
targetPort: 8080
- name: https
port: 443
targetPort: 8443
meshExpansionPorts: []
egress: # istio-egressgateway
service:
type: ClusterIP
ports:
- name: status-port
port: 15020
- name: http2
port: 80
targetPort: 8080
- name: https
port: 443
targetPort: 8443
additionalIngress:
some-other-ingress-gateway: {}
additionalEgress:
some-other-egress-gateway: {}
policy:
type: Mixer
mixer: # only applies if policy.type: Mixer
enableChecks: true
failOpen: false
telemetry:
type: Istiod # or Mixer
mixer: # only applies if telemetry.type: Mixer, for v1 telemetry
sessionAffinity: false
batching:
maxEntries: 100
maxTime: 1s
adapters:
kubernetesenv: true
stdio:
enabled: true
outputAsJSON: true
addons:
grafana:
enabled: true
install:
config:
env: {}
envSecrets: {}
persistence:
enabled: true
storageClassName: ""
accessMode: ReadWriteOnce
capacity:
requests:
storage: 5Gi
service:
ingress:
contextPath: /grafana
tls:
termination: reencrypt
kiali:
name: kiali
enabled: true
install: # install kiali CR if not present
dashboard:
viewOnly: false
enableGrafana: true
enableTracing: true
enablePrometheus: true
service:
ingress:
contextPath: /kiali
jaeger:
name: jaeger
install:
storage:
type: Elasticsearch # or Memory
memory:
maxTraces: 100000
elasticsearch:
nodeCount: 3
storage: {}
redundancyPolicy: SingleRedundancy
indexCleaner: {}
ingress: {} # jaeger ingress configuration
runtime:
components:
pilot:
deployment:
replicas: 2
pod:
affinity: {}
container:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 128Mi
grafana:
deployment: {}
pod: {}
kiali:
deployment: {}
pod: {}