Skip to content

Instantly share code, notes, and snippets.

@eloycoto
Created February 11, 2021 10:59
Show Gist options
  • Save eloycoto/e613b2a479ac78a206dab8907dfd386c to your computer and use it in GitHub Desktop.
Save eloycoto/e613b2a479ac78a206dab8907dfd386c to your computer and use it in GitHub Desktop.
2021-02-11T10:52:01.100034Z warn ads ADS:RDS: ACK ERROR router~10.244.0.2~istio-ingressgateway-55948cbc7d-f8nfk.istio-system~istio-system.svc.cluster.local-5 Internal:Proto constraint validation failed (RouteConfigurationValidationError.VirtualHosts[i]: ["embedded message failed validation"] | caused by VirtualHostValidationError.Routes[i]: ["embedded message failed validation"] | caused by RouteValidationError.Route: ["embedded message failed validation"] | caused by RouteActionValidationError.WeightedClusters: ["embedded message failed validation"] | caused by WeightedClusterValidationError.Clusters: ["value must contain at least " '\x01' " item(s)"]): name: "http.80"
virtual_hosts {
name: "foo.com:80"
domains: "foo.com"
domains: "foo.com:*"
routes {
match {
prefix: "/"
case_sensitive {
value: true
}
}
route {
weighted_clusters {
}
timeout {
}
retry_policy {
retry_on: "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes"
num_retries {
value: 2
}
retry_host_predicate {
name: "envoy.retry_host_predicates.previous_hosts"
}
host_selection_retry_max_attempts: 5
retriable_status_codes: 503
}
max_stream_duration {
max_stream_duration {
}
}
}
metadata {
filter_metadata {
key: "istio"
value {
fields {
key: "config"
value {
string_value: "/apis/networking.istio.io/v1alpha3/namespaces/default/virtual-service/http-app-1-istio-autogenerated-k8s-gateway"
}
}
}
}
}
decorator {
operation: "http-app-1-istio-autogenerated-k8s-gateway:80/*"
}
request_headers_to_add {
header {
key: "eloy"
value: "coto"
}
append {
value: true
}
}
}
include_request_attempt_count: true
}
validate_clusters {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment