Skip to content

Instantly share code, notes, and snippets.

@kameshsampath
Last active September 22, 2019 05:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kameshsampath/3983b27dc7a8b7145d1b1c7a03ba6367 to your computer and use it in GitHub Desktop.
Save kameshsampath/3983b27dc7a8b7145d1b1c7a03ba6367 to your computer and use it in GitHub Desktop.
RH Servicemesh on OCP 4.2. via Opeator SDK CLI
apiVersion: operators.coreos.com/v1
kind: CatalogSourceConfig
metadata:
name: rhd-workshop-packages
namespace: openshift-marketplace
spec:
targetNamespace: openshift-operators
packages: knative-serving-operator,knative-eventing-operator,openshift-pipelines-operator,elasticsearch-operator,jaeger-product,kiali-ossm,servicemeshoperator
source: community-operators
apiVersion: maistra.io/v1
kind: ServiceMeshControlPlane
metadata:
name: basic-install
namespace: istio-system
spec:
istio:
global:
multitenant: false
proxy:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 128Mi
gateways:
istio-egressgateway:
autoscaleEnabled: false
istio-ingressgateway:
autoscaleEnabled: false
ior_enabled: false
mixer:
policy:
autoscaleEnabled: false
telemetry:
autoscaleEnabled: false
resources:
requests:
cpu: 100m
memory: 1Gi
limits:
cpu: 500m
memory: 4Gi
pilot:
autoscaleEnabled: false
traceSampling: 100
resources:
requests:
cpu: 100m
memory: 1Gi
limits:
cpu: 500m
memory: 2Gi
kiali:
enabled: true
grafana:
enabled: true
tracing:
enabled: true
jaeger:
template: all-in-one
threeScale:
enabled: false
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: elastic-search
namespace: openshift-operators
spec:
channel: preview
source: rhd-workshop-packages
name: elasticsearch-operator
sourceNamespace: openshift-operators
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: jaeger
namespace: openshift-operators
spec:
channel: stable
source: rhd-workshop-packages
name: jaeger-product
sourceNamespace: openshift-operators
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: kiali
namespace: openshift-operators
spec:
channel: stable
source: rhd-workshop-packages
name: kiali-ossm
sourceNamespace: openshift-operators
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: servicemesh
namespace: openshift-operators
spec:
channel: "1.0"
source: rhd-workshop-packages
name: servicemeshoperator
sourceNamespace: openshift-operators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment