...

Text file src/github.com/emissary-ingress/emissary/v3/pkg/diagnostics/v1/testdata/diagnostics.json

Documentation: github.com/emissary-ingress/emissary/v3/pkg/diagnostics/v1/testdata

     1{
     2    "active_elements": [
     3        "yaml-s3-latest.1",
     4        "yaml-s3-latest.2"
     5    ],
     6    "ambassador_elements": {
     7        "--diagnostics--": {
     8            "kind": "Diagnostics",
     9            "location": "--diagnostics--"
    10        },
    11        "--internal--": {
    12            "kind": "Internal",
    13            "location": "--internal--"
    14        },
    15        "code-config.app.1": {
    16            "kind": "Mapping",
    17            "location": "code-config.app",
    18            "parent": "code-config.app",
    19            "serialization": "apiVersion:"
    20        },
    21        "yaml-s3-proxy.app.1": {
    22            "kind": "Mapping",
    23            "location": "yaml-s3-proxy.app",
    24            "parent": "yaml-s3-proxy.app",
    25            "serialization": "apiVersion"
    26        }
    27    },
    28    "ambassador_resolvers": [
    29        {
    30            "_source": "--internal--",
    31            "groups": [
    32                "ambassador.jargon.1",
    33                "ambassador.jargon.1"
    34            ],
    35            "kind": "KubernetesServiceResolver",
    36            "name": "kubernetes-service"
    37        }
    38    ],
    39    "ambassador_resources": {},
    40    "ambassador_services": [
    41        {
    42            "_service_weight": 100.0,
    43            "_source": "ambassador-auth.jargon.1",
    44            "cluster": "cluster_0_0_0_1_8500_jargon",
    45            "name": "udp://0.0.0.0:8500",
    46            "type": "AuthService"
    47        },
    48        {
    49            "_service_weight": 100.0,
    50            "_source": "tracing-jaeger.monitoring.1",
    51            "cluster": "cluster_monitoring_9411_monitoring",
    52            "name": "udp://trace-collector.monitoring:9411",
    53            "type": "TracingService (jaeger)"
    54        }
    55    ],
    56    "banner_content": "",
    57    "cluster_info": {
    58        "cluster_0_0_0_1_8500_jargon": {
    59            "_active": true,
    60            "_cache_key": "Cluster-cluster_0_0_0_1_8500_jargon",
    61            "_errored": false,
    62            "_hcolor": "orange",
    63            "_health": "undefined cluster",
    64            "_hmetric": "undefined cluster",
    65            "_hostname": "0.0.0.0",
    66            "_is_sidecar": true,
    67            "_namespace": "jargon",
    68            "_port": 8500,
    69            "_referenced_by": [
    70                "ambassador-edge-heap.jargon.1"
    71            ],
    72            "_resolver": "kubernetes-service",
    73            "_rkey": "cluster_0_0_0_1_8500_jargon",
    74            "connect_timeout_ms": 3000,
    75            "enable_endpoints": false,
    76            "enable_ipv4": true,
    77            "enable_ipv6": false,
    78            "envoy_name": "cluster_0_0_0_1_8500_jargon",
    79            "ignore_cluster": false,
    80            "kind": "IRCluster",
    81            "lb_type": "round_robin",
    82            "location": "ambassador-edge-heap.jargon.1",
    83            "name": "cluster_0_0_0_1_8500_jargon",
    84            "namespace": "jargon",
    85            "respect_dns_ttl": false,
    86            "service": "0.0.0.0:8500",
    87            "stats_name": "0_0_0_1_8500",
    88            "targets": [
    89                {
    90                    "ip": "0.0.0.0",
    91                    "port": 8500,
    92                    "target_kind": "IPaddr"
    93                }
    94            ],
    95            "type": "strict_dns",
    96            "urls": [
    97                "udp://0.0.0.0:8500"
    98            ],
    99            "weight": 100
   100        },
   101        "multi-system-ui": {
   102            "_hcolor": "orange",
   103            "_hmetric": "unknown",
   104            "_referenced_by": [
   105                "multi-system-ui.app.1"
   106            ],
   107            "name": "multi-system-ui",
   108            "service": "beta-app.company.io",
   109            "type_label": "redirect",
   110            "weight": 100
   111        }
   112    },
   113    "cluster_stats": {
   114        "cluster_system_a_ui_saas_beta_80_saas_beta": {
   115            "hcolor": "orange",
   116            "health": "undefined cluster",
   117            "hmetric": "undefined cluster",
   118            "reason": "Cluster cluster_system_a_ui_saas_beta_80_saas_beta is not defined",
   119            "valid": false
   120        },
   121        "cluster_tracing_trace_collector_monitoring_9411_monitoring": {
   122            "hcolor": "orange",
   123            "health": "undefined cluster",
   124            "hmetric": "undefined cluster",
   125            "reason": "Cluster cluster_tracing_trace_collector_monitoring_9411_monitoring is not defined",
   126            "valid": false
   127        }
   128    },
   129    "envoy_elements": {
   130        "code-health.app.1": {
   131            "cluster": [
   132                {
   133                    "alt_stat_name": "code_saas_beta_8181",
   134                    "connect_timeout": "3.000s",
   135                    "dns_lookup_family": "V4_ONLY",
   136                    "lb_policy": "ROUND_ROBIN",
   137                    "load_assignment": {
   138                        "cluster_name": "cluster_code_saas_beta_8181_saas_beta",
   139                        "endpoints": [
   140                            {
   141                                "lb_endpoints": [
   142                                    {
   143                                        "endpoint": {
   144                                            "address": {
   145                                                "socket_address": {
   146                                                    "address": "code.app",
   147                                                    "port_value": 8181,
   148                                                    "protocol": "TCP"
   149                                                }
   150                                            }
   151                                        }
   152                                    }
   153                                ]
   154                            }
   155                        ]
   156                    },
   157                    "name": "cluster_code_saas_beta_8181_saas_beta",
   158                    "type": "STRICT_DNS"
   159                }
   160            ],
   161            "route": [
   162                {
   163                    "match": {
   164                        "case_sensitive": true,
   165                        "headers": [
   166                            {
   167                                "exact_match": "staging-app.company.io",
   168                                "name": ":authority"
   169                            }
   170                        ],
   171                        "prefix": "/code/healthz",
   172                        "runtime_fraction": {
   173                            "default_value": {
   174                                "denominator": "HUNDRED",
   175                                "numerator": 100
   176                            },
   177                            "runtime_key": "routing.traffic_shift.cluster_code_saas_beta_8181_saas_beta"
   178                        }
   179                    },
   180                    "route": {
   181                        "cluster": "cluster_code_saas_beta_8181_saas_beta",
   182                        "prefix_rewrite": "/healthz",
   183                        "priority": null,
   184                        "timeout": "3.000s"
   185                    }
   186                }
   187            ]
   188        },
   189        "multi-system-webhooks-mapping.app.1": {
   190            "route": [
   191                {
   192                    "match": {
   193                        "case_sensitive": true,
   194                        "headers": [
   195                            {
   196                                "exact_match": "staging-app.company.io",
   197                                "name": ":authority"
   198                            }
   199                        ],
   200                        "prefix": "/cloud/webhooks",
   201                        "runtime_fraction": {
   202                            "default_value": {
   203                                "denominator": "HUNDRED",
   204                                "numerator": 100
   205                            },
   206                            "runtime_key": "routing.traffic_shift.cluster_system_a_saas_beta_8080_saas_beta"
   207                        }
   208                    },
   209                    "route": {
   210                        "cluster": "cluster_system_a_saas_beta_8080_saas_beta",
   211                        "prefix_rewrite": "/webhooks",
   212                        "priority": null,
   213                        "timeout": "3.000s"
   214                    }
   215                }
   216            ]
   217        }
   218    },
   219    "envoy_resources": {},
   220    "envoy_status": {
   221        "alive": true,
   222        "ready": true,
   223        "since_update": "4 seconds ago",
   224        "uptime": "23 minutes, 59 seconds"
   225    },
   226    "errors": [
   227        [
   228            "ir.ratelimit",
   229            "RateLimitService: protocol_version v2 is unsupported, protocol_version must be \"v3\""
   230        ]
   231    ],
   232    "groups": {
   233        "grp-012f1710d3bd1b96ced208d37d16fcfe2022e987": {
   234            "_active": true,
   235            "_cache_key": "IRHTTPMappingGroup-012f1710d3bd1b96ced208d37d16fcfe2022e987",
   236            "_errored": false,
   237            "_referenced_by": [
   238                "download-tel2-darwin-arm64-latest.app.1"
   239            ],
   240            "_rkey": "download-tel2-darwin-arm64-latest.app.1",
   241            "default_class": "httpmapping",
   242            "group_id": "012f1710d3bd1b96ced208d37d16fcfe2022e987",
   243            "group_weight": [
   244                0,
   245                47,
   246                33,
   247                0,
   248                "/download/tel2/darwin/arm64/latest/telepresence",
   249                "GET",
   250                ":authority-staging-app.company.io"
   251            ],
   252            "headers": [
   253                {
   254                    "name": ":authority",
   255                    "regex": false,
   256                    "value": "staging-app.company.io"
   257                }
   258            ],
   259            "host": "staging-app.company.io",
   260            "kind": "IRHTTPMappingGroup",
   261            "location": "download-tel2-darwin-arm64-latest.app.1",
   262            "mappings": [
   263                {
   264                    "_active": true,
   265                    "_errored": false,
   266                    "_rkey": "download-tel2-darwin-arm64-latest.app.1",
   267                    "cluster_name": "cluster_sso_saas_beta_8080_saas_beta",
   268                    "cluster_service": "sso.app:8080",
   269                    "host": "staging-app.company.io",
   270                    "location": "download-tel2-darwin-arm64-latest.app.1",
   271                    "name": "download-tel2-darwin-arm64-latest",
   272                    "prefix": "/download/tel2/darwin/arm64/latest/telepresence",
   273                    "rewrite": "/redirects/download/tel2/darwin/arm64/latest/telepresence"
   274                }
   275            ],
   276            "metadata_labels": {
   277                "ambassador_crd": "download-tel2-darwin-arm64-latest.app",
   278                "app.kubernetes.io/instance": "infra"
   279            },
   280            "name": "GROUP: download-tel2-darwin-arm64-latest",
   281            "namespace": "app",
   282            "precedence": 0,
   283            "prefix": "/download/tel2/darwin/arm64/latest/telepresence",
   284            "query_parameters": [],
   285            "regex_rewrite": {},
   286            "rewrite": "/redirects/download/tel2/darwin/arm64/latest/telepresence",
   287            "serialization": "apiVersion:"
   288        },
   289        "grp-06e673d20a47ca27c1214f0765db576d37674160": {
   290            "_active": true,
   291            "_cache_key": "IRHTTPMappingGroup-06e673d20a47ca27c1214f0765db576d37674160",
   292            "_errored": false,
   293            "_referenced_by": [
   294                "aes-backend-renewal-webhook.jargon-beta.1"
   295            ],
   296            "_rkey": "aes-backend-renewal-webhook.jargon-beta.1",
   297            "default_class": "httpmapping",
   298            "group_id": "06e673d20a47ca27c1214f0765db576d37674160",
   299            "group_weight": [
   300                0,
   301                21,
   302                38,
   303                0,
   304                "/beta/renewal-webhook",
   305                "GET",
   306                ":authority-staging-jargon.company.io"
   307            ],
   308            "headers": [
   309                {
   310                    "name": ":authority",
   311                    "regex": false,
   312                    "value": "staging-jargon.company.io"
   313                }
   314            ],
   315            "host": "staging-jargon.company.io",
   316            "kind": "IRHTTPMappingGroup",
   317            "location": "aes-backend-renewal-webhook.jargon-beta.1",
   318            "mappings": [
   319                {
   320                    "_active": true,
   321                    "_errored": false,
   322                    "_rkey": "aes-backend-renewal-webhook.jargon-beta.1",
   323                    "cluster_name": "cluster_aes_backend_jargon_beta_jargon_beta",
   324                    "cluster_service": "aes-backend.jargon-beta",
   325                    "host": "staging-jargon.company.io",
   326                    "location": "aes-backend-renewal-webhook.jargon-beta.1",
   327                    "name": "aes-backend-renewal-webhook",
   328                    "prefix": "/beta/renewal-webhook",
   329                    "rewrite": "/renewal-webhook"
   330                }
   331            ],
   332            "metadata_labels": {
   333                "ambassador_crd": "aes-backend-renewal-webhook.jargon-beta",
   334                "app.kubernetes.io/instance": "aes-backend"
   335            },
   336            "name": "GROUP: aes-backend-renewal-webhook",
   337            "namespace": "jargon-beta",
   338            "precedence": 0,
   339            "prefix": "/beta/renewal-webhook",
   340            "query_parameters": [],
   341            "regex_rewrite": {},
   342            "rewrite": "/renewal-webhook",
   343            "serialization": "apiVersion:"
   344        }
   345    },
   346    "loginfo": {
   347        "all": "error"
   348    },
   349    "notices": [
   350        {
   351            "level": "NOTICE",
   352            "message": "-global-: A future Ambassador version will change the GRPC protocol version for AuthServices. See the CHANGELOG for details."
   353        }
   354    ],
   355    "route_info": [
   356        {
   357            "_group_id": "8db7c38a2e026c4ebe74ba2e75770b855a1a5437",
   358            "_route": {
   359                "_active": true,
   360                "_cache_key": "IRHTTPMappingGroup-8db7c38a2e026c4ebe74ba2e75770b855a1a5437",
   361                "_errored": false,
   362                "_referenced_by": [
   363                    "ambassador-edge-heap.jargon.1"
   364                ],
   365                "_rkey": "ambassador-edge-heap.jargon.1",
   366                "default_class": "httpmapping",
   367                "group_id": "8db7c38a2e026c4ebe74ba2e75770b855a1a5437",
   368                "group_weight": [
   369                    1000000,
   370                    13,
   371                    11,
   372                    0,
   373                    "/.ambassador/",
   374                    "GET",
   375                    ":authority-*"
   376                ],
   377                "headers": [
   378                    {
   379                        "name": ":authority",
   380                        "regex": false,
   381                        "value": "*"
   382                    }
   383                ],
   384                "host": "*",
   385                "kind": "IRHTTPMappingGroup",
   386                "location": "ambassador-edge-heap.jargon.1",
   387                "mappings": [
   388                    {
   389                        "_active": true,
   390                        "_cache_key": "Mapping-v2-ambassador-edge-heap-jargon",
   391                        "_errored": false,
   392                        "_rkey": "ambassador-edge-heap.jargon.1",
   393                        "_weight": 100,
   394                        "add_request_headers": {},
   395                        "add_response_headers": {},
   396                        "cluster": {
   397                            "_active": true,
   398                            "_cache_key": "Cluster-cluster_0_0_0_1_8500_jargon",
   399                            "_errored": false,
   400                            "_hostname": "0.0.0.0",
   401                            "_is_sidecar": true,
   402                            "_namespace": "jargon",
   403                            "_port": 8500,
   404                            "_referenced_by": [
   405                                "ambassador-edge-heap.jargon.1"
   406                            ],
   407                            "_resolver": "kubernetes-service",
   408                            "_rkey": "cluster_0_0_0_1_8500_jargon",
   409                            "connect_timeout_ms": 3000,
   410                            "enable_endpoints": false,
   411                            "enable_ipv4": true,
   412                            "enable_ipv6": false,
   413                            "envoy_name": "cluster_0_0_0_1_8500_jargon",
   414                            "ignore_cluster": false,
   415                            "kind": "IRCluster",
   416                            "lb_type": "round_robin",
   417                            "location": "ambassador-edge-heap.jargon.1",
   418                            "name": "cluster_0_0_0_1_8500_jargon",
   419                            "namespace": "jargon",
   420                            "respect_dns_ttl": false,
   421                            "service": "0.0.0.0:8500",
   422                            "stats_name": "0_0_0_1_8500",
   423                            "targets": [
   424                                {
   425                                    "ip": "0.0.0.0",
   426                                    "port": 8500,
   427                                    "target_kind": "IPaddr"
   428                                }
   429                            ],
   430                            "type": "strict_dns",
   431                            "urls": [
   432                                "udp://0.0.0.0:8500"
   433                            ]
   434                        },
   435                        "cluster_key": "Cluster-cluster_0_0_0_1_8500_jargon",
   436                        "default_class": "httpmapping",
   437                        "group_id": "8db7c38a2e026c4ebe74ba2e75770b855a1a5437",
   438                        "headers": [
   439                            {
   440                                "name": ":authority",
   441                                "regex": false,
   442                                "value": "*"
   443                            }
   444                        ],
   445                        "host": "*",
   446                        "kind": "Mapping",
   447                        "location": "ambassador-edge-heap.jargon.1",
   448                        "metadata_labels": {
   449                            "ambassador_crd": "ambassador-edge-heap.jargon",
   450                            "ambassador_diag_class": "private",
   451                            "product": "aes"
   452                        },
   453                        "name": "ambassador-edge-heap",
   454                        "namespace": "jargon",
   455                        "precedence": 1000000,
   456                        "prefix": "/.ambassador/",
   457                        "query_parameters": [],
   458                        "regex_rewrite": {},
   459                        "resolver": "kubernetes-service",
   460                        "rewrite": "",
   461                        "route_weight": [
   462                            1000000,
   463                            13,
   464                            11,
   465                            0,
   466                            "/.ambassador/",
   467                            "GET",
   468                            ":authority-*"
   469                        ],
   470                        "serialization": "ambassador_id:\n- _automatic_\napiVersion: getambassador.io/v3alpha1\ngeneration: 1\nhostname: '*'\nkind: Mapping\nmetadata_labels:\n  ambassador_crd: ambassador-edge-heap.jargon\n  ambassador_diag_class: private\n  product: aes\nname: ambassador-edge-heap\nnamespace: jargon\nprecedence: 1000000\nprefix: /.ambassador/\nrewrite: ''\nservice: 0.0.0.0:8500\n",
   471                        "service": "0.0.0.0:8500"
   472                    }
   473                ],
   474                "metadata_labels": {
   475                    "ambassador_crd": "ambassador-edge-heap.jargon",
   476                    "ambassador_diag_class": "private",
   477                    "product": "aes"
   478                },
   479                "name": "GROUP: ambassador-edge-heap",
   480                "namespace": "jargon",
   481                "precedence": 1000000,
   482                "prefix": "/.ambassador/",
   483                "query_parameters": [],
   484                "regex_rewrite": {},
   485                "rewrite": "",
   486                "serialization": "ambassador_id"
   487            },
   488            "_source": "ambassador-edge-heap.jargon.1",
   489            "clusters": [
   490                {
   491                    "_active": true,
   492                    "_cache_key": "Cluster-cluster_0_0_0_1_8500_jargon",
   493                    "_errored": false,
   494                    "_hcolor": "orange",
   495                    "_health": "undefined cluster",
   496                    "_hmetric": "undefined cluster",
   497                    "_hostname": "0.0.0.0",
   498                    "_is_sidecar": true,
   499                    "_namespace": "jargon",
   500                    "_port": 8500,
   501                    "_referenced_by": [
   502                        "ambassador-edge-heap.jargon.1"
   503                    ],
   504                    "_resolver": "kubernetes-service",
   505                    "_rkey": "cluster_0_0_0_1_8500_jargon",
   506                    "connect_timeout_ms": 3000,
   507                    "enable_endpoints": false,
   508                    "enable_ipv4": true,
   509                    "enable_ipv6": false,
   510                    "envoy_name": "cluster_0_0_0_1_8500_jargon",
   511                    "ignore_cluster": false,
   512                    "kind": "IRCluster",
   513                    "lb_type": "round_robin",
   514                    "location": "ambassador-edge-heap.jargon.1",
   515                    "name": "cluster_0_0_0_1_8500_jargon",
   516                    "namespace": "jargon",
   517                    "respect_dns_ttl": false,
   518                    "service": "service-1:8500",
   519                    "stats_name": "0_0_0_1_8500",
   520                    "targets": [
   521                        {
   522                            "ip": "0.0.0.0",
   523                            "port": 8500,
   524                            "target_kind": "IPaddr"
   525                        }
   526                    ],
   527                    "type": "strict_dns",
   528                    "urls": [
   529                        "udp://0.0.0.0:8500"
   530                    ],
   531                    "weight": 100
   532                }
   533            ],
   534            "diag_class": "private",
   535            "headers": [],
   536            "host": "*",
   537            "key": "http://*/ambassador/v0/",
   538            "method": "*",
   539            "precedence": 1000000,
   540            "prefix": "/.ambassador/",
   541            "rewrite": ""
   542        },
   543        {
   544            "_group_id": "5583320547a3f09b81d6c9e8c3d487f6642b082d",
   545            "_route": {
   546                "_active": true,
   547                "_cache_key": "IRHTTPMappingGroup-5583320547a3f09b81d6c9e8c3d487f6642b082d",
   548                "_errored": false,
   549                "_referenced_by": [
   550                    "yaml-beta.1"
   551                ],
   552                "_rkey": "yaml-beta.1",
   553                "default_class": "httpmapping",
   554                "group_id": "5583320547a3f09b81d6c9e8c3d487f6642b082d",
   555                "group_weight": [
   556                    0,
   557                    72,
   558                    33,
   559                    0,
   560                    "/yaml/(v2-docs|ambassador|ambassador-docs|edge-heap|emissary)/latest/.*",
   561                    "GET",
   562                    ":authority-staging-app.company.io"
   563                ],
   564                "headers": [
   565                    {
   566                        "name": ":authority",
   567                        "regex": false,
   568                        "value": "staging-app.company.io"
   569                    }
   570                ],
   571                "host": "staging-.io",
   572                "kind": "IRHTTPMappingGroup",
   573                "location": "yaml.app.1",
   574                "mappings": [
   575                    {
   576                        "_active": true,
   577                        "_cache_key": "Mapping-v2-yaml-s3-latest-app",
   578                        "_errored": false,
   579                        "_rkey": "yaml-s3-latest.app.1",
   580                        "_weight": 100,
   581                        "add_request_headers": {},
   582                        "add_response_headers": {},
   583                        "cluster": {
   584                            "_active": true,
   585                            "_cache_key": "Cluster-cluster_sso_saas_beta_8080_saas_beta",
   586                            "_errored": false,
   587                            "_hostname": "sso.app",
   588                            "_is_sidecar": false,
   589                            "_namespace": "app",
   590                            "_port": 8080,
   591                            "_referenced_by": [
   592                                "auth-beta.1",
   593                                "yaml-s3beta.1"
   594                            ],
   595                            "_resolver": "kubernetes-service",
   596                            "_rkey": "cluster_beta",
   597                            "connect_timeout_ms": 3000,
   598                            "enable_endpoints": false,
   599                            "enable_ipv4": true,
   600                            "enable_ipv6": false,
   601                            "envoy_name": "cluster_beta",
   602                            "ignore_cluster": false,
   603                            "kind": "IRCluster",
   604                            "lb_type": "round_robin",
   605                            "location": "auth-beta.1",
   606                            "name": "cluster_saas_beta",
   607                            "namespace": "jargon",
   608                            "respect_dns_ttl": false,
   609                            "service": "sso:8080",
   610                            "stats_name": "sso_8080",
   611                            "targets": [
   612                                {
   613                                    "ip": "sta",
   614                                    "port": 8080,
   615                                    "target_kind": "DNSname"
   616                                }
   617                            ],
   618                            "type": "strict_dns",
   619                            "urls": [
   620                                "udp://sso:8080"
   621                            ]
   622                        },
   623                        "cluster_key": "beta",
   624                        "default_class": "httpmapping",
   625                        "group_id": "5583320547a3f09b81d6c9e8c3d487f6642b082d",
   626                        "headers": [
   627                            {
   628                                "name": ":authority",
   629                                "regex": false,
   630                                "value": "stag.io"
   631                            }
   632                        ],
   633                        "host": "stag.io",
   634                        "kind": "Mapping",
   635                        "location": "yaml-s3-latest.app.1",
   636                        "metadata_labels": {
   637                            "ambassador_crd": "yaml-beta",
   638                            "app.kubernetes.io/instance": "infra"
   639                        },
   640                        "name": "yaml-s3-latest",
   641                        "namespace": "app",
   642                        "precedence": 0,
   643                        "prefix": "/yaml/(v2)/latest/.*",
   644                        "prefix_regex": true,
   645                        "query_parameters": [],
   646                        "regex_rewrite": {
   647                            "pattern": "/yaml/(.*)",
   648                            "substitution": "/redirects/yaml/\\1"
   649                        },
   650                        "resolver": "kubernetes-service",
   651                        "rewrite": "",
   652                        "route_weight": [
   653                            0,
   654                            72,
   655                            33,
   656                            0,
   657                            "/yaml/latest/.*",
   658                            "GET",
   659                            ":authority-staging-app.company.io"
   660                        ],
   661                        "serialization": "apiVersion"
   662                    }
   663                ],
   664                "metadata_labels": {
   665                    "ambassador_crd": "yaml-s3-latest.app",
   666                    "app.kubernetes.io/instance": "infra"
   667                },
   668                "name": "GROUP: yaml-s3-latest",
   669                "namespace": "app",
   670                "precedence": 0,
   671                "prefix": "/yaml/(v2-docs|ambassador|ambassador-docs|edge-heap|emissary)/latest/.*",
   672                "prefix_regex": true,
   673                "query_parameters": [],
   674                "regex_rewrite": {
   675                    "pattern": "/yaml/(.*)",
   676                    "substitution": "/redirects/yaml/\\1"
   677                },
   678                "rewrite": "",
   679                "serialization": "apiVersion"
   680            },
   681            "_source": "yaml.1",
   682            "clusters": [
   683                {
   684                    "_active": true,
   685                    "_cache_key": "Cluster_beta",
   686                    "_errored": false,
   687                    "_hcolor": "orange",
   688                    "_health": "undefined cluster",
   689                    "_hmetric": "undefined cluster",
   690                    "_hostname": "sso-beta",
   691                    "_is_sidecar": false,
   692                    "_namespace": "app",
   693                    "_port": 8080,
   694                    "_referenced_by": [
   695                        "auth-beta.1"
   696                    ],
   697                    "_resolver": "kubernetes-service",
   698                    "_rkey": "cluster_saas_beta",
   699                    "connect_timeout_ms": 3000,
   700                    "enable_endpoints": false,
   701                    "enable_ipv4": true,
   702                    "enable_ipv6": false,
   703                    "envoy_name": "cluster_saas_beta",
   704                    "ignore_cluster": false,
   705                    "kind": "IRCluster",
   706                    "lb_type": "round_robin",
   707                    "location": "auth-beta.1",
   708                    "name": "cluster_saas_beta",
   709                    "namespace": "jargon",
   710                    "respect_dns_ttl": false,
   711                    "service": "sso-beta:8080",
   712                    "stats_name": "sso_8080",
   713                    "targets": [
   714                        {
   715                            "ip": "sso-beta",
   716                            "port": 8080,
   717                            "target_kind": "DNSname"
   718                        }
   719                    ],
   720                    "type": "strict_dns",
   721                    "urls": [
   722                        "udp://sso:8080"
   723                    ],
   724                    "weight": 100
   725                }
   726            ],
   727            "headers": [],
   728            "host": "staging-app.io",
   729            "key": "http://localhost:9090/latest/.*",
   730            "method": "*",
   731            "precedence": 0,
   732            "prefix": "/yaml/(v2-docs|ambassador|ambassador-docs|edge-heap|emissary)/latest/.*",
   733            "rewrite": ""
   734        }
   735    ],
   736    "source_map": {
   737        "--diagnostics--": {
   738            "--diagnostics--": true
   739        },
   740        "--internal--": {
   741            "--internal--": true
   742        },
   743        "code-config": {
   744            "code-config": true
   745        },
   746        "code-": {
   747            "code-": true
   748        }
   749    },
   750    "system": {
   751        "ambassador_id": "default",
   752        "ambassador_namespace": "jargon",
   753        "boot_time": "Tue, 28 Jun 2022 14:12:21 GMT",
   754        "cluster_id": "30defff8-f47d-5c41-a62c-22ecc72f1714",
   755        "debug_mode": false,
   756        "endpoints_enabled": true,
   757        "env_failures": [],
   758        "env_good": false,
   759        "env_status": {
   760            "Error check": {
   761                "specifics": [
   762                    [
   763                        false,
   764                        "1 total error logged"
   765                    ]
   766                ],
   767                "status": false
   768            },
   769            "Mappings": {
   770                "specifics": [
   771                    [
   772                        true,
   773                        "68 Mappings are active"
   774                    ]
   775                ],
   776                "status": true
   777            },
   778            "TLS": {
   779                "specifics": [
   780                    [
   781                        true,
   782                        "1 TLSContext is active"
   783                    ]
   784                ],
   785                "status": true
   786            }
   787        },
   788        "hostname": "edge-stack-66f8b6ccbc",
   789        "hr_uptime": "23 minutes, 59 seconds",
   790        "knative_enabled": false,
   791        "latest_snapshot": "snapshot",
   792        "single_namespace": false,
   793        "statsd_enabled": false,
   794        "version": "3.0.0-rc.0"
   795    },
   796    "tlscontexts": [
   797        {
   798            "_active": true,
   799            "_errored": false,
   800            "_referenced_by": [
   801                "beta-beta.1"
   802            ],
   803            "_rkey": "beta-app-beta.1",
   804            "hosts": [
   805                "staging.io"
   806            ],
   807            "is_fallback": false,
   808            "kind": "IRTLSContext",
   809            "location": "beta.1",
   810            "name": "beta-app",
   811            "namespace": "app",
   812            "secret_info": {
   813                "cert_chain_file": "C9DF17201E.crt",
   814                "private_key_file": "C9DF17201E.key",
   815                "secret": "staging.io"
   816            }
   817        },
   818        {
   819            "_active": true,
   820            "_errored": false,
   821            "_referenced_by": [
   822                "beta-auth-beta.1"
   823            ],
   824            "_rkey": "app.1",
   825            "hosts": [
   826                "staging-auth.io"
   827            ],
   828            "is_fallback": false,
   829            "kind": "IRTLSContext",
   830            "location": "beta-auth",
   831            "name": "beta-auth",
   832            "namespace": "app",
   833            "secret_info": {
   834                "cert_chain_file": "7755C258848960EFE5.crt",
   835                "private_key_file": "8848960EFE5.key",
   836                "secret": "staging-secret"
   837            }
   838        }
   839    ]
   840}

View as plain text