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
# localhost:9081 -> details:9080 | |
# | |
# Need a ServiceEntry to route to details on 9081 instead of 9080 | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: ServiceEntry | |
metadata: | |
name: localhost-svc | |
spec: | |
hosts: | |
- details.service |
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
- ignorePortInHostMatching: true | |
name: "9080" | |
validateClusters: false | |
virtualHosts: | |
- domains: | |
- '*' | |
includeRequestAttemptCount: true | |
name: allow_any | |
routes: | |
- match: |
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
- accessLog: | |
- filter: | |
responseFlagFilter: | |
flags: | |
- NR | |
name: envoy.access_loggers.file | |
typedConfig: | |
'@type': type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog | |
logFormat: | |
textFormatSource: |
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
$ make SHELL='sh -x' -f Makefile.selfsigned.mk intermediate-certs VERBOSE=1 | |
+ echo 'generating root-key.pem' | |
generating root-key.pem | |
+ openssl genrsa -out root-key.pem 4096 | |
+ echo '[ req ]' | |
+ echo 'encrypt_key = no' | |
+ echo 'prompt = no' | |
+ echo 'utf8 = yes' | |
+ echo 'default_md = sha256' | |
+ echo 'default_bits = 4096' |
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.gloo.solo.io/v2 | |
kind: RouteTable | |
metadata: | |
name: ingress | |
namespace: ops-team | |
spec: | |
hosts: | |
- '*' | |
virtualGateways: | |
- name: north-south-gw |
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.gloo.solo.io/v2 | |
kind: ExternalService | |
metadata: | |
name: mydb | |
namespace: default | |
labels: | |
external-service: mydb | |
spec: | |
hosts: | |
- mydb.com |
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
openapi: '3.0.0' | |
info: | |
version: '1.0.0' | |
title: 'Currencies API' | |
description: International currency support | |
servers: | |
- url: https://currency.solo.io:443/ | |
description: Solo.io Currency server API | |
- url: http://localhost:8080/ | |
description: Local development |
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
{ | |
"openapi": "3.0.0", | |
"info": { | |
"version": "1.0.0", | |
"title": "Currencies API", | |
"description": "International currency support" | |
}, | |
"servers": [ | |
{ | |
"url": "https://currency.solo.io:443/", |
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
openapi: '3.1.0' | |
info: | |
version: '1.0.0' | |
title: 'Currencies API' | |
description: International currency support | |
servers: | |
- url: https://currency.solo.io:443/ | |
description: Solo.io Currency server API | |
- url: http://localhost:8080/ | |
description: Local development |
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/sh | |
kubectl logs deployment/gloo-mesh-mgmt-server -n gloo-mesh > mgmt-server.log | |
kubectl port-forward deployment/gloo-mesh-mgmt-server -n gloo-mesh 9091 >/dev/null 2>&1 & | |
pid=$! | |
sleep 3 | |
curl -s localhost:9091/snapshots/input > input.json | |
curl -s localhost:9091/snapshots/output > output.json |
NewerOlder