-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: renamed Istio exercise directories to reflect order
- Loading branch information
1 parent
fa51a0f
commit 52a484b
Showing
54 changed files
with
1,140 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
exercises/istio/1-installing-istio/demoprofile-230608-114724.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: install.istio.io/v1alpha1 | ||
kind: IstioOperator | ||
spec: | ||
profile: demo |
16 changes: 16 additions & 0 deletions
16
exercises/istio/1-installing-istio/internalgateway-230608-114724.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: install.istio.io/v1alpha1 | ||
kind: IstioOperator | ||
metadata: | ||
name: internal-gateway-only | ||
spec: | ||
profile: empty | ||
components: | ||
ingressGateways: | ||
- namespace: some-namespace | ||
name: ilb-gateway | ||
enabled: true | ||
label: | ||
istio: ilb-gateway | ||
k8s: | ||
serviceAnnotations: | ||
networking.gke.io/load-balancer-type: "Internal" |
8 changes: 8 additions & 0 deletions
8
exercises/istio/1-installing-istio/iopdemonoegress-230608-114724.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: install.istio.io/v1alpha1 | ||
kind: IstioOperator | ||
spec: | ||
profile: demo | ||
components: | ||
egressGateways: | ||
- name: istio-egressgateway | ||
enabled: false |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
233 changes: 233 additions & 0 deletions
233
exercises/istio/5-troubleshooting/listeners-210119-085816.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
[ | ||
{ | ||
"name": "0.0.0.0_80", | ||
"address": { | ||
"socketAddress": { | ||
"address": "0.0.0.0", | ||
"portValue": 80 | ||
} | ||
}, | ||
"filterChains": [ | ||
{ | ||
"filterChainMatch": { | ||
"applicationProtocols": [ | ||
"http/1.0", | ||
"http/1.1", | ||
"h2c" | ||
] | ||
}, | ||
"filters": [ | ||
{ | ||
"name": "envoy.filters.network.http_connection_manager", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | ||
"statPrefix": "outbound_0.0.0.0_80", | ||
"rds": { | ||
"configSource": { | ||
"ads": {}, | ||
"resourceApiVersion": "V3" | ||
}, | ||
"routeConfigName": "80" | ||
}, | ||
"httpFilters": [ | ||
{ | ||
"name": "istio.metadata_exchange", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/udpa.type.v1.TypedStruct", | ||
"typeUrl": "type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm", | ||
"value": { | ||
"config": { | ||
"configuration": { | ||
"@type": "type.googleapis.com/google.protobuf.StringValue", | ||
"value": "{}\n" | ||
}, | ||
"vm_config": { | ||
"code": { | ||
"local": { | ||
"inline_string": "envoy.wasm.metadata_exchange" | ||
} | ||
}, | ||
"runtime": "envoy.wasm.runtime.null" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "istio.alpn", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/istio.envoy.config.filter.http.alpn.v2alpha1.FilterConfig", | ||
"alpnOverride": [ | ||
{ | ||
"alpnOverride": [ | ||
"istio-http/1.0", | ||
"istio" | ||
] | ||
}, | ||
{ | ||
"upstreamProtocol": "HTTP11", | ||
"alpnOverride": [ | ||
"istio-http/1.1", | ||
"istio" | ||
] | ||
}, | ||
{ | ||
"upstreamProtocol": "HTTP2", | ||
"alpnOverride": [ | ||
"istio-h2", | ||
"istio" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "envoy.filters.http.cors", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors" | ||
} | ||
}, | ||
{ | ||
"name": "envoy.filters.http.fault", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault" | ||
} | ||
}, | ||
{ | ||
"name": "istio.stats", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/udpa.type.v1.TypedStruct", | ||
"typeUrl": "type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm", | ||
"value": { | ||
"config": { | ||
"configuration": { | ||
"@type": "type.googleapis.com/google.protobuf.StringValue", | ||
"value": "{\n \"debug\": \"false\",\n \"stat_prefix\": \"istio\"\n}\n" | ||
}, | ||
"root_id": "stats_outbound", | ||
"vm_config": { | ||
"code": { | ||
"local": { | ||
"inline_string": "envoy.wasm.stats" | ||
} | ||
}, | ||
"runtime": "envoy.wasm.runtime.null", | ||
"vm_id": "stats_outbound" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "envoy.filters.http.router", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | ||
} | ||
} | ||
], | ||
"tracing": { | ||
"clientSampling": { | ||
"value": 100 | ||
}, | ||
"randomSampling": { | ||
"value": 100 | ||
}, | ||
"overallSampling": { | ||
"value": 100 | ||
} | ||
}, | ||
"streamIdleTimeout": "0s", | ||
"accessLog": [ | ||
{ | ||
"name": "envoy.access_loggers.file", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", | ||
"path": "/dev/stdout", | ||
"format": "[%START_TIME%] \"%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%\" %RESPONSE_CODE% %RESPONSE_FLAGS% \"%DYNAMIC_METADATA(istio.mixer:status)%\" \"%UPSTREAM_TRANSPORT_FAILURE_REASON%\" %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% \"%REQ(X-FORWARDED-FOR)%\" \"%REQ(USER-AGENT)%\" \"%REQ(X-REQUEST-ID)%\" \"%REQ(:AUTHORITY)%\" \"%UPSTREAM_HOST%\" %UPSTREAM_CLUSTER% %UPSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_REMOTE_ADDRESS% %REQUESTED_SERVER_NAME% %ROUTE_NAME%\n" | ||
} | ||
} | ||
], | ||
"useRemoteAddress": false, | ||
"generateRequestId": true, | ||
"upgradeConfigs": [ | ||
{ | ||
"upgradeType": "websocket" | ||
} | ||
], | ||
"normalizePath": true | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"filterChainMatch": {}, | ||
"filters": [ | ||
{ | ||
"name": "istio.stats", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/udpa.type.v1.TypedStruct", | ||
"typeUrl": "type.googleapis.com/envoy.extensions.filters.network.wasm.v3.Wasm", | ||
"value": { | ||
"config": { | ||
"configuration": { | ||
"@type": "type.googleapis.com/google.protobuf.StringValue", | ||
"value": "{\n \"debug\": \"false\",\n \"stat_prefix\": \"istio\"\n}\n" | ||
}, | ||
"root_id": "stats_outbound", | ||
"vm_config": { | ||
"code": { | ||
"local": { | ||
"inline_string": "envoy.wasm.stats" | ||
} | ||
}, | ||
"runtime": "envoy.wasm.runtime.null", | ||
"vm_id": "tcp_stats_outbound" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "envoy.filters.network.tcp_proxy", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy", | ||
"statPrefix": "PassthroughCluster", | ||
"cluster": "PassthroughCluster", | ||
"accessLog": [ | ||
{ | ||
"name": "envoy.access_loggers.file", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", | ||
"path": "/dev/stdout", | ||
"format": "[%START_TIME%] \"%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%\" %RESPONSE_CODE% %RESPONSE_FLAGS% \"%DYNAMIC_METADATA(istio.mixer:status)%\" \"%UPSTREAM_TRANSPORT_FAILURE_REASON%\" %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% \"%REQ(X-FORWARDED-FOR)%\" \"%REQ(USER-AGENT)%\" \"%REQ(X-REQUEST-ID)%\" \"%REQ(:AUTHORITY)%\" \"%UPSTREAM_HOST%\" %UPSTREAM_CLUSTER% %UPSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_LOCAL_ADDRESS% %DOWNSTREAM_REMOTE_ADDRESS% %REQUESTED_SERVER_NAME% %ROUTE_NAME%\n" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"name": "PassthroughFilterChain" | ||
} | ||
], | ||
"deprecatedV1": { | ||
"bindToPort": false | ||
}, | ||
"listenerFilters": [ | ||
{ | ||
"name": "envoy.filters.listener.tls_inspector", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.filters.listener.tls_inspector.v3.TlsInspector" | ||
} | ||
}, | ||
{ | ||
"name": "envoy.filters.listener.http_inspector", | ||
"typedConfig": { | ||
"@type": "type.googleapis.com/envoy.extensions.filters.listener.http_inspector.v3.HttpInspector" | ||
} | ||
} | ||
], | ||
"listenerFiltersTimeout": "5s", | ||
"continueOnListenerFiltersTimeout": true, | ||
"trafficDirection": "OUTBOUND" | ||
} | ||
] |
Oops, something went wrong.