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: argoproj.io/v1alpha1 | |
| kind: Rollout | |
| metadata: | |
| name: rollouts-demo | |
| spec: | |
| replicas: 1 | |
| strategy: | |
| canary: | |
| steps: | |
| - setWeight: 5 |
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
| SERVICE FQDN PORT SUBSET DIRECTION TYPE DESTINATION RULE | |
| BlackHoleCluster - - - STATIC | |
| InboundPassthroughClusterIpv4 - - - ORIGINAL_DST | |
| PassthroughCluster - - - ORIGINAL_DST | |
| agent - - - STATIC | |
| details.bookinfo.svc.cluster.local 9080 - outbound EDS details.bookinfo | |
| details.bookinfo.svc.cluster.local 9080 v1 outbound EDS details.bookinfo | |
| details.bookinfo.svc.cluster.local 9080 v2 |
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 | |
| istioctl install --set profile=demo | |
| kubectl apply -f samples/addons/prometheus.yaml -n istio-system | |
| kubectl apply -f samples/addons/jaeger.yaml -n istio-system | |
| kubectl apply -f samples/addons/grafana.yaml -n istio-system | |
| kubectl apply -f samples/addons/kiali.yaml -n istio-system | |
| istioctl dashboard kiali |
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: networking.istio.io/v1alpha3 | |
| kind: DestinationRule | |
| metadata: | |
| name: grafana | |
| namespace: istio-system | |
| spec: | |
| host: grafana | |
| trafficPolicy: | |
| tls: | |
| mode: DISABLE |
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: networking.istio.io/v1alpha3 | |
| kind: Gateway | |
| metadata: | |
| name: grafana-gateway | |
| namespace: istio-system | |
| spec: | |
| selector: | |
| istio: ingressgateway | |
| servers: | |
| - port: |
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: kiali.io/v1alpha1 | |
| kind: Kiali | |
| metadata: | |
| name: kiali | |
| annotations: | |
| ansible.operator-sdk/reconcile-period: "0s" | |
| spec: | |
| deployment: | |
| image_version: "v1.9" | |
| accessible_namespaces: [ "**" ] |
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 | |
| # Enable admission controller webhooks | |
| # The configuration stanzas below look weird and are just to workaround for: | |
| # https://bugzilla.redhat.com/show_bug.cgi?id=1635918 | |
| minishift openshift config set --target=kube --patch '{ | |
| "admissionConfig": { | |
| "pluginConfig": { | |
| "ValidatingAdmissionWebhook": { | |
| "configuration": { |
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
| package models | |
| import ( | |
| meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| "github.com/kiali/kiali/config" | |
| "github.com/kiali/kiali/kubernetes" | |
| ) | |
| // DestinationRules destinationRules |
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
| <TabContent> | |
| <TabPaneWithErrorBoundary message={this.errorBoundaryMessage('Workloads')}> | |
| {(Object.keys(workloads).length > 0 || this.props.serviceDetails.istioSidecar) && ( | |
| <ServiceInfoWorkload workloads={workloads} namespace={this.props.namespace} /> | |
| )} | |
| </TabPaneWithErrorBoundary> | |
| <TabPaneWithErrorBoundary eventKey={'sources'} message={this.errorBoundaryMessage('Sources')}> | |
| <ServiceInfoRoutes dependencies={dependencies} /> | |
| </TabPaneWithErrorBoundary> | |
| <TabPaneWithErrorBoundary |
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
| fetch('cy-style.json', {mode: 'no-cors'}) | |
| .then(function(res) { | |
| return res.json() | |
| }) | |
| .then(function(style) { | |
| var cy = window.cy = cytoscape({ | |
| container: document.getElementById('cy'), | |
| boxSelectionEnabled: false, | |
| autounselectify: true, |
NewerOlder