Closed dipanjank closed 3 years ago
Hi, is there an eta on when the fix for this will be released?
Trying to upgrade, we also ran into this issue.
@doriordan Would you be open to taking a look at #322 which aims to fix this?
Ingresses are broken in 2.6.0
without that fix.
We've resorted to using 2.5.0
for now, but are lacking new features added in 2.6.0
.
Hi @MPV thanks for the PR, I will have a chance to look at this tomorrow
@doriordan Any chance you could take a look again? ❤️
This repo seems to have been abandoned. A maintained fork is available here https://github.com/hagay3/skuber Please refer to the new repo which this PR already in place.
Thanks, Hagai
Hi,
I have encountered two problems with Skuber 2.5.0 when trying to create an ingress object. When I try to create an ingress to an existing service, I get the below exception:
I think this is because the companion object in
skuber.networking.Ingress.scala
(https://github.com/doriordan/skuber/blob/master/client/src/main/scala/skuber/networking/Ingress.scala#L141) is still using the deprecated api group "extensions/v1beta1" instead of "networking.k8s.io/v1beta1" in the class definition. I have experiment with said solution in my dev environment and it works.The second problem is that when I try to specify a numeric port in
Ingress.addHttpRule
, it fails with a validation error from Kubernetes. I think this is because the Kubernetes API for creating ingress expects an integer when the port is supposed to be numeric. If it is a string, it expects the name of a Port resource and not the string value of integer port number.skuber.networking.skuber.Backend
always expects a string - IMHO it should either accept both int and string or should apply the same validation rule to convert the all numeric port number string to int internally before calling Kubernetes.Steps to Reproduce
Create the hello-minikube service as described here: https://kubernetes.io/docs/setup/learning-environment/minikube/
Add an entry in
etc/hosts
which associates the cluster IP with the hostname "helloservice.acme.com".Execute the following:
Thanks in advance! Please let me know if I can provide any other assistance.
Best, Dipanjan