This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: install.istio.io/v1alpha1 | |
| kind: IstioOperator | |
| metadata: | |
| annotations: | |
| armada-service: addon-istio | |
| kubectl.kubernetes.io/last-applied-configuration: | | |
| {"apiVersion":"install.istio.io/v1alpha1","kind":"IstioOperator","metadata":{"annotations":{"armada-service":"addon-istio","version":"1.6.0_2547"},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile"},"name":"managed-istio","namespace":"ibm-operators"},"spec":{"addonComponents":{"grafana":{"enabled":true},"kiali":{"enabled":true},"prometheus":{"enabled":true},"tracing":{"enabled":true}},"components":{"egressGateways":[{"enabled":true,"k8s":{"overlays":[{"kind":"Deployment","name":"istio-egressgateway","patches":[{"path":"spec.template.spec.containers.[name:istio-proxy].lifecycle","value":{"preStop":{"exec":{"command":["sleep","25"]}}}},{"path":"spec.template.spec.affinity","value":{"podAntiAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"podAffinityTerm":{"labelSelector":{"matchExpressions":[{"key":"app","operator":"I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| items: | |
| - apiVersion: install.istio.io/v1alpha1 | |
| kind: IstioOperator | |
| metadata: | |
| annotations: | |
| armada-service: addon-istio | |
| kubectl.kubernetes.io/last-applied-configuration: | | |
| {"apiVersion":"install.istio.io/v1alpha1","kind":"IstioOperator","metadata":{"annotations":{"armada-service":"addon-istio","version":"1.5.0_2107"},"labels":{"addonmanager.kubernetes.io/mode":"Reconcile"},"name":"managed-istio","namespace":"ibm-operators"},"spec":{"addonComponents":{"grafana":{"enabled":true},"kiali":{"enabled":true},"prometheus":{"enabled":true},"tracing":{"enabled":true}},"components":{"egressGateways":[{"enabled":true,"k8s":{"overlays":[{"kind":"Deployment","name":"istio-egressgateway","patches":[{"path":"spec.template.spec.containers.[name:istio-proxy].lifecycle","value":{"preStop":{"exec":{"command":["sleep","25"]}}}}]}]},"name":"istio-egressgateway"}],"ingressGateways":[{"enabled":true,"k8s":{"overlays":[{"kind":"Deployment","name":"istio-ingressgateway","patches":[{"path":"spec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/rvennam/emcee-demos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -x | |
| # clean | |
| kubectl config use-context mydemocluster | |
| kubectl label namespace stock-trader istio-injection- | |
| kubectl delete pods --all | |
| kubectl delete -f ./trader-gateway.yaml | |
| kubectl delete -f ./trader-vs.yaml | |
| kubectl delete -f ./stock-quote-deploy.yaml | |
| kubectl delete -f ./trader-deploy.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -x #echo on | |
| ## PREREQ: SET CONTEXTS for management-plane-context and remote-cluster-context | |
| #### Cleanup | |
| kubectl config use-context management-plane-context | |
| meshctl uninstall | |
| kubectl -n service-mesh-hub delete secret -l solo.io/kubeconfig=true | |
| kubectl delete istiooperator istiocontrolplane-default -n istio-operator --context management-plane-context |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Preparation | |
| ibmcloud ks cluster config --cluster mc1 | |
| ibmcloud ks cluster config --cluster mc2 | |
| export MAIN_CLUSTER_CTX=mc1/bp8qqdkd09bld02i62r0 | |
| export REMOTE_CLUSTER_CTX=mc2/bp8qqkmd0rgc3c2i62rg | |
| export MAIN_CLUSTER_NAME=main0 | |
| export REMOTE_CLUSTER_NAME=remote0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "### Downloading both versions of Istio" | |
| curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.4.6 sh - | |
| curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.5.1 sh - | |
| echo "### Uninstall sleep" | |
| kubectl delete deployment sleep -n default | |
| kubectl delete -f ./test-egress-gateway.yaml | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export CLUSTER=istio6 | |
| echo "Install Istio 1.4" | |
| curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.4.5 sh - | |
| cd istio-1.4.5 | |
| ibmcloud ks cluster addon enable istio -c $CLUSTER | |
| kubectl label namespace default istio-injection=enabled | |
| sleep 120s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "Install Istio 1.4" | |
| curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.4.5 sh - | |
| cd istio-1.4.5 | |
| ./bin/istioctl manifest apply --set profile=default | |
| kubectl label namespace default istio-injection=enabled | |
| sleep 120s | |
| kubectl get pods -n istio-system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: install.istio.io/v1alpha2 | |
| kind: IstioControlPlane | |
| spec: | |
| trafficManagement: | |
| enabled: false | |
| policy: | |
| enabled: false | |
| telemetry: | |
| enabled: false | |
| security: |