You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In V1beta1IngressBackend model, servicePort is String. But calling ExtensionsV1beta1Api.createNamespacedIngress with "servicePort": "443" throws
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Ingress.extensions \"ingress\" is invalid: [spec.backend.servicePort: Invalid value: \"443\": must contain at least one letter or number (a-z, 0-9), spec.rules[0].http.backend.servicePort: Invalid value: \"443\": must contain at least one letter or number (a-z, 0-9)]","reason":"Invalid","details":{"name":"ingress","group":"extensions","kind":"Ingress","causes":[{"reason":"FieldValueInvalid","message":"Invalid value: \"443\": must contain at least one letter or number (a-z, 0-9)","field":"spec.backend.servicePort"},{"reason":"FieldValueInvalid","message":"Invalid value: \"443\": must contain at least one letter or number (a-z, 0-9)","field":"spec.rules[0].http.backend.servicePort"}]},"code":422}
Serialized version of V1beta1Ingress captured from debug
kubectl apply -f ingress.json
The Ingress "ingress" is invalid:
* spec.backend.servicePort: Invalid value: "443": must contain at least one letter or number (a-z, 0-9)
* spec.rules[0].http.backend.servicePort: Invalid value: "443": must contain at least one letter or number (a-z, 0-9)
If I change "servicePort": "443" to "servicePort": 443 and run kubectl apply -f ingress.json, Ingress is created. But there is no way to do that using the V1beta1Ingress model for java client.
The text was updated successfully, but these errors were encountered:
java-client: v1.0.0-beta1
k8s: v1.8.2
In V1beta1IngressBackend model, servicePort is String. But calling ExtensionsV1beta1Api.createNamespacedIngress with "servicePort": "443" throws
Serialized version of V1beta1Ingress captured from debug
If I change
"servicePort": "443"
to"servicePort": 443
and runkubectl apply -f ingress.json
, Ingress is created. But there is no way to do that using the V1beta1Ingress model for java client.The text was updated successfully, but these errors were encountered: