Skip to content

Instantly share code, notes, and snippets.

@pdavies011010
Created November 10, 2019 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdavies011010/33798fa19464140255d4451b8ec23f6b to your computer and use it in GitHub Desktop.
Save pdavies011010/33798fa19464140255d4451b8ec23f6b to your computer and use it in GitHub Desktop.
Routes attached to the ingressgateway
MacBook-Pro:istio-1.3.4$ istioctl proxy-config route -o json -n istio-system istio-ingressgateway-7bfddc6954-p8m55
[
{
"name": "http.80",
"virtualHosts": [
{
"name": "blackhole:80",
"domains": [
"*"
],
"routes": [
{
"name": "default",
"match": {
"prefix": "/"
},
"directResponse": {
"status": 404
},
"perFilterConfig": {
"mixer": {
"disable_check_calls": true
}
}
}
]
}
],
"validateClusters": false
},
{
"virtualHosts": [
{
"name": "backend",
"domains": [
"*"
],
"routes": [
{
"match": {
"prefix": "/stats/prometheus"
},
"route": {
"cluster": "prometheus_stats"
}
}
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment