-
Notifications
You must be signed in to change notification settings - Fork 67
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
Deprecation warning for ingress in extensions/v1beta1 while it was created using the networking.k8s.io/v1 API #237
Comments
An idea that just crossed my mind: could it be that the go library your use to connect to the cluster is an outdated version that requests Ingresses using the former |
I have the same problem, got "Ingress found in extensions/v1beta1" but actually there is "networking.k8s.io/v1" used. This is when I use kubepug on Windows. |
Ah right, I did not mention it but I was using MacOS. |
I just installed kubepug and encountering the same issue, it's identifying all of the ingresses currently in my cluster. When I do a |
I have the same issue on MacOS. |
I did the following changes, and eventually it works for me.
|
I'm also having this issue when connecting to a 1.21 EKS cluster from my Linux machine (Fedora) using kubepug
|
from the kubernetes API perspective i think it was expected as per explained here. you can test it by using
i just skip for ingress detection since it will resolved in 1.22 as mentioned before.
|
i found the keywords under the annotations managedFields. do not understand why the plugin would check that |
How skip check extensions/v1beta1 ? |
After updating deprecations plugin via krew to v1.4.0 issue have been gone and Ingresses are no longer listed. Upgrades available for installed plugins: |
Just for the record: Using version v1.4.0 the issue still exists for us. |
@0xErnie can you please point me to how to reproduce it? Is it a Kubernetes v1.21, and you run Kubepug against it for what target version? Thanks! |
ok, found the problem, fixes coming next :) |
fixed in a3ce8c8 |
Fixed on #403, please reopen here or let me know if it is not working. The next release (v1.5.0-alpha.1) will contain the fix. Thanks for using the project :) |
Description
I am running Kubernetes
v1.21
on AWS with the control plane managed by the EKS service.I installed Grafana with a manifest that defines an Ingress using the
networking.k8s.io/v1
API.Ingresses are then implemented as an Application Load Balancer (ALB) in AWS by the
aws-load-balancer-controller
deployment. I am runningv2.4.0
of that deployment, which is the latest version.Expected behaviour
Running the deprecations plugin should not find that Ingress to be deprecated.
Setup
Kubernetes version:
v1.21.5
Deprecations module version:
v1.3.2
Grafana chart: official helm chart repo and github source files
v6.17.10
helm:
v3.5.1
Deprecations Plugin output
Manifest file for Ingress
Full source
Pertinent info only:
In our values, we set
grafana.ingress.apiVersion
tonetworking.k8s.io/v1
Yaml output of Ingress
No
extensions/v1beta1
API is reported in here.The text was updated successfully, but these errors were encountered: