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
| { "compressionlevel":-1, | |
| "height":100, | |
| "infinite":false, | |
| "layers":[ | |
| { | |
| "data":[6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, |
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
| ## apply to client cluster | |
| apiVersion: networking.istio.io/v1beta1 | |
| kind: ServiceEntry | |
| metadata: | |
| name: reviews.bookinfo.svc.remote-cluster.global | |
| namespace: istio-system | |
| spec: | |
| addresses: | |
| - 241.208.99.7 | |
| endpoints: |
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
| ########################## | |
| # # | |
| # Example # | |
| # Service # | |
| # # | |
| # # | |
| ########################## | |
| # petstore service | |
| apiVersion: apps/v1 |
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
| components: | |
| schemas: | |
| errorModel: | |
| properties: | |
| code: | |
| format: int32 | |
| type: integer | |
| message: | |
| type: string | |
| required: |
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
| # Source: gloo/templates/9-gateway-proxy-configmap.yaml | |
| # config_map | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: gateway-proxy-envoy-config | |
| namespace: gloo-system | |
| labels: | |
| app: gloo | |
| gloo: gateway-proxy |
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
| #!/usr/bin/env bash | |
| set -e | |
| if ! type levant > /dev/null; then | |
| echo installing levant... | |
| wget https://github.com/jrasell/levant/releases/download/0.2.7/darwin-amd64-levant | |
| chmod +x darwin-amd64-levant | |
| sudo mv darwin-amd64-levant /usr/local/bin/levant | |
| fi |
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 main | |
| import ( | |
| "github.com/ghodss/yaml" | |
| gateway "github.com/solo-io/gloo/projects/gateway/pkg/api/v1" | |
| "github.com/solo-io/gloo/projects/gloo/pkg/api/v1" | |
| "github.com/solo-io/gloo/projects/gloo/pkg/api/v1/plugins/transformation" | |
| "github.com/solo-io/solo-kit/pkg/api/v1/clients/kube/crd" | |
| "github.com/solo-io/solo-kit/pkg/api/v1/resources" | |
| "github.com/solo-io/solo-kit/pkg/api/v1/resources/core" |
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 helm | |
| import ( | |
| "fmt" | |
| "github.com/solo-io/go-utils/errors" | |
| "k8s.io/helm/pkg/chartutil" | |
| "k8s.io/helm/pkg/proto/hapi/chart" | |
| "k8s.io/helm/pkg/renderutil" | |
| "k8s.io/helm/pkg/timeconv" | |
| ) |
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 -e | |
| mkdir -p gloo-logs | |
| kubectl logs -n gloo-system -l gloo=control-plane > gloo-logs/control-plane.log | |
| kubectl logs -n gloo-system -l gloo=ingress > gloo-logs/ingress.log | |
| glooctl upstream get -o yaml > gloo-logs/upstreams.yaml | |
| glooctl virtualservice get -o yaml > gloo-logs/vservice.yaml | |
| tar czf gloo-logs.tar.gz gloo-logs | |
| rm -r gloo-logs |
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
| job "gloo" { | |
| datacenters = [ | |
| "dc1"] | |
| type = "service" | |
| update { | |
| max_parallel = 1 | |
| min_healthy_time = "10s" | |
| healthy_deadline = "3m" |
NewerOlder