-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In MeshHTTPRoute with MeshMultizoneService XDS config is invalid #11456
Comments
My zone meshmultizoneservice: ➜ ~ kubectl get meshmultizoneservice -A -oyaml
apiVersion: v1
items:
- apiVersion: kuma.io/v1alpha1
kind: MeshMultiZoneService
metadata:
annotations:
kuma.io/display-name: demo-app-everywhere
creationTimestamp: "2024-09-18T12:59:26Z"
generation: 230
labels:
kuma.io/mesh: default
kuma.io/origin: global
name: demo-app-everywhere-cdzbd69dxz92wf94
namespace: kong-mesh-system
resourceVersion: "68393"
uid: 14099451-3ddb-4973-b1b3-9accd5b945c1
spec:
ports:
- appProtocol: tcp
name: "5000"
port: 5000
targetPort: 0
selector:
meshService:
matchLabels:
kuma.io/display-name: demo-app
status:
addresses:
- hostname: demo-app-everywhere.mzsvc.mesh.local
hostnameGeneratorRef:
coreName: synced-mesh-multi-zone-service-4244v574644557w2.kong-mesh-system
origin: HostnameGenerator
hostnameGenerators:
- conditions:
- message: ""
reason: Generated
status: "True"
type: Generated
hostnameGeneratorRef:
coreName: synced-mesh-multi-zone-service-4244v574644557w2.kong-mesh-system
meshServices:
- mesh: default
name: demo-app
namespace: kuma-demo
zone: east
- mesh: default
name: demo-app
namespace: kuma-demo
zone: west
vips:
- ip: 243.0.0.0
kind: List
metadata:
resourceVersion: "" So the label I have doesn't exist |
Tried using:
no success either. with:
The error becomes:
|
Yet another error if I use a new MeshService:
(hitting the same issue when fixing the label typo)
|
For MeshService it was caused by missing port. This works: - default:
backendRefs:
- kind: MeshService
labels:
kuma.io/display-name: demo-app
port: 5000
weight: 1 So it's a validation issue |
Other validation issue I use: backendRefs:
- kind: MeshMultiZoneService
name: demo-app-everywhere
port: 5000
weight: 1 I get in the CP logs:
|
Also when using a label selector that doesn't match anything I get:
|
Have #11458 to fix the log message |
What happened?
on version: 0.0.0-preview.vacb7899a5
With the following MeshHTTPRoute:
And meshMZService:
It's possible that my route is invalid but it should behave differently anyway
The text was updated successfully, but these errors were encountered: