Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "name": "https.443.https.geth-dedicated.default",
- "virtualHosts": [
- {
- "name": "dedicated.istio.dm3ch.net:443",
- "domains": [
- "dedicated.istio.dm3ch.net",
- "dedicated.istio.dm3ch.net:*"
- ],
- "routes": [
- {
- "name": "custom.dumb-filter",
- "match": {
- "prefix": "/",
- "caseSensitive": true
- },
- "route": {
- "cluster": "outbound|8545||geth-dedicated.default.svc.cluster.local",
- "timeout": "0s",
- "retryPolicy": {
- "retryOn": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
- "numRetries": 2,
- "retryHostPredicate": [
- {
- "name": "envoy.retry_host_predicates.previous_hosts"
- }
- ],
- "hostSelectionRetryMaxAttempts": "5",
- "retriableStatusCodes": [
- 503
- ]
- },
- "hashPolicy": [
- {
- "connectionProperties": {
- "sourceIp": true
- }
- }
- ],
- "maxGrpcTimeout": "0s"
- },
- "metadata": {
- "filterMetadata": {
- "istio": {
- "config": "/apis/networking.istio.io/v1alpha3/namespaces/default/virtual-service/geth-dedicated"
- }
- }
- },
- "decorator": {
- "operation": "geth-dedicated.default.svc.cluster.local:8545/*"
- },
- "typedPerFilterConfig": {
- "envoy.filters.http.lua": {
- "@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute",
- "sourceCode": {
- "inlineString": "function envoy_on_response(response_handle)\n response_handle:headers():add(\"dm3ch-test\", \"dm3ch\")\n response_handle:logErr(\"Bye Bye.\")\nend\n"
- }
- }
- }
- }
- ],
- "includeRequestAttemptCount": true
- }
- ],
- "validateClusters": false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement