12:46:00-0700 esenin $ curl -sv localhost:10256/debug/config/failed | jq * Host localhost:10256 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:10256... * Connected to localhost (::1) port 10256 > GET /debug/config/failed HTTP/1.1 > Host: localhost:10256 > User-Agent: curl/8.6.0 > Accept: */* > < HTTP/1.1 200 OK < Content-Type: application/json < Date: Thu, 28 Mar 2024 19:46:03 GMT < Transfer-Encoding: chunked < { [3980 bytes data] * Leftovers after chunking: 7 bytes * Connection #0 to host localhost left intact { "_format_version": "3.0", "_info": { "select_tags": [ "managed-by-ingress-controller" ], "defaults": {} }, "services": [ { "connect_timeout": 60000, "host": "httproute.default.httproute-testing._.0", "id": "2fad71d1-7599-5c6e-9d4f-4afd44f99587", "name": "httproute.default.httproute-testing._.0", "port": 80, "protocol": "http", "read_timeout": 60000, "retries": 5, "write_timeout": 60000, "tags": [ "k8s-name:httproute-testing", "k8s-namespace:default", "k8s-kind:HTTPRoute", "k8s-uid:b183455e-25b4-4341-9c8e-af880e70352c", "k8s-group:gateway.networking.k8s.io", "k8s-version:v1" ], "routes": [ { "expression": "(http.path == \"/httproute-testing\") || (http.path ^= \"/httproute-testing/\")", "id": "91833860-2041-5eea-abf8-a1e85b7c64cf", "name": "httproute.default.httproute-testing._.0.0", "preserve_host": true, "priority": 35184514699263, "strip_path": true, "tags": [ "k8s-name:httproute-testing", "k8s-namespace:default", "k8s-kind:HTTPRoute", "k8s-uid:b183455e-25b4-4341-9c8e-af880e70352c", "k8s-group:gateway.networking.k8s.io", "k8s-version:v1" ], "https_redirect_status_code": 426 } ] }, { "connect_timeout": 60000, "host": "otherbin.default.80.svc", "id": "34e4aa70-3bfd-5836-b8dc-213610761449", "name": "default.otherbin.80", "path": "/", "port": 80, "protocol": "http", "read_timeout": 60000, "retries": 5, "write_timeout": 60000, "tags": [ "k8s-name:otherbin", "k8s-namespace:default", "k8s-kind:Service", "k8s-uid:67c65814-12ac-4332-bb3c-cc263332066b", "k8s-version:v1" ], "routes": [ { "expression": "http.path ^= \"/otherbin\"", "id": "aeac7457-4628-5e53-9e7e-1da2ccf52ec3", "name": "default.httpbin.otherbin..80", "preserve_host": true, "priority": 54975581388809, "strip_path": false, "tags": [ "k8s-name:httpbin", "k8s-namespace:default", "k8s-kind:Ingress", "k8s-uid:984f0f66-b031-41db-bf88-c00fa3eaebb9", "k8s-group:networking.k8s.io", "k8s-version:v1" ], "https_redirect_status_code": 426, "request_buffering": true, "response_buffering": true } ] }, { "connect_timeout": 60000, "host": "httpbin.default.80.svc", "id": "764d9f4d-c24c-5709-991c-19a96a581f6e", "name": "default.httpbin.80", "path": "/", "port": 80, "protocol": "http", "read_timeout": 60000, "retries": 5, "write_timeout": 60000, "tags": [ "k8s-name:httpbin", "k8s-namespace:default", "k8s-kind:Service", "k8s-uid:a34631ce-264f-4a70-b479-e49b7ea43e16", "k8s-version:v1" ], "routes": [ { "expression": "http.path ^= \"/httpbin\"", "id": "5df756b2-ceba-55e3-b9dc-a7e4dfbe6947", "name": "default.httpbin.httpbin..80", "preserve_host": true, "priority": 54975581388808, "strip_path": false, "tags": [ "k8s-name:httpbin", "k8s-namespace:default", "k8s-kind:Ingress", "k8s-uid:984f0f66-b031-41db-bf88-c00fa3eaebb9", "k8s-group:networking.k8s.io", "k8s-version:v1" ], "https_redirect_status_code": 426, "request_buffering": true, "response_buffering": true } ] } ], "plugins": [ { "name": "correlation-id", "config": { "echo_downstream": false, "generator": "uuid#counter", "header_name": "kong-id" }, "route": "default.httpbin.otherbin..80", "enabled": true, "protocols": [ "grpc", "grpcs", "http", "https" ], "tags": [ "k8s-name:kong-id", "k8s-namespace:default", "k8s-kind:KongPlugin", "k8s-uid:89a2bef9-b585-4309-8d30-ef06c3178d1e", "k8s-group:configuration.konghq.com", "k8s-version:v1" ] }, { "name": "correlation-id", "config": { "echo_downstream": false, "generator": "uuid#counter", "header_name": "kong-id" }, "route": "default.httpbin.httpbin..80", "enabled": true, "protocols": [ "grpc", "grpcs", "http", "https" ], "tags": [ "k8s-name:kong-id", "k8s-namespace:default", "k8s-kind:KongPlugin", "k8s-uid:89a2bef9-b585-4309-8d30-ef06c3178d1e", "k8s-group:configuration.konghq.com", "k8s-version:v1" ] } ], "upstreams": [ { "name": "otherbin.default.80.svc", "algorithm": "round-robin", "tags": [ "k8s-name:otherbin", "k8s-namespace:default", "k8s-kind:Service", "k8s-uid:67c65814-12ac-4332-bb3c-cc263332066b", "k8s-version:v1" ], "targets": [ { "target": "10.244.0.11:80" } ] }, { "name": "httproute.default.httproute-testing._.0", "algorithm": "round-robin", "tags": [ "k8s-name:httproute-testing", "k8s-namespace:default", "k8s-kind:HTTPRoute", "k8s-uid:b183455e-25b4-4341-9c8e-af880e70352c", "k8s-group:gateway.networking.k8s.io", "k8s-version:v1" ], "targets": [ { "target": "10.244.0.11:80", "weight": 75 }, { "target": "10.244.0.11:80", "weight": 25 } ] }, { "name": "httpbin.default.80.svc", "algorithm": "round-robin", "tags": [ "k8s-name:httpbin", "k8s-namespace:default", "k8s-kind:Service", "k8s-uid:a34631ce-264f-4a70-b479-e49b7ea43e16", "k8s-version:v1" ], "targets": [ { "target": "10.244.0.11:80" } ] } ] } 12:46:03-0700 esenin $ curl -sv localhost:10256/debug/config/raw-error * Host localhost:10256 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:10256... * Connected to localhost (::1) port 10256 > GET /debug/config/raw-error HTTP/1.1 > Host: localhost:10256 > User-Agent: curl/8.6.0 > Accept: */* > < HTTP/1.1 200 OK < Content-Type: text/plain < Date: Thu, 28 Mar 2024 19:46:10 GMT < Content-Length: 407 < * Connection #0 to host localhost left intact {"fields":{"targets":[null,"uniqueness violation: 'targets' entity with primary key set to '172fcf76-2116-5155-ae84-e534423f5354' already declared"]},"name":"invalid declarative configuration","message":"declarative config is invalid: {targets={[2]=\"uniqueness violation: 'targets' entity with primary key set to '172fcf76-2116-5155-ae84-e534423f5354' already declared\"}}","flattened_errors":{},"code":14}