Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
....

Peter Jausovec peterj

🚀
....
View GitHub Profile
View envoy-final.yaml
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 10000
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
View envoy-4.yaml
clusters:
- name: blue
connect_timeout: 5s
load_assignment:
cluster_name: blue
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
View envoy-3.yaml
route_config:
virtual_hosts:
- name: all_domains
domains: ["*"]
routes:
- match:
prefix: "/blue"
route:
cluster: blue
- match:
View envoy-2.yaml
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 10000
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
View envoy-1.yaml
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 10000
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
View envoy-minimal.yaml
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 10000
filter_chains: [{}]
View vars.sh
export CLIENT_ID=<value from Auth0>
export SECRET=<value from Auth0>
export ISSUER_BASE_URL=https://istioweekly.us.auth0.com
export AUDIENCE=https://web-frontend
export BASE_URL=https://istioweekly.com
View vs-httpbin.yaml
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: httpbin
namespace: internal
spec:
hosts:
- '*'
gateways:
- internal-gateway
View internal-gw.yaml
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: internal-gateway
namespace: internal
spec:
selector:
istio: internal-ingressgateway
servers:
- port:
View internal-gw-iop.yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
namespace: istio-system
name: internal-gw
spec:
profile: empty
components:
ingressGateways:
- namespace: internal