-
Notifications
You must be signed in to change notification settings - Fork 72
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
Details: java.io.IOException: Unknown apiVersionKind: networking.k8s.io/v1/Ingress #142
Comments
The same problem. Any solution? |
We got the same problem here. |
same issue ! |
I am also on 1.19 (1.19.3 to be precise), but I only get a deprecation warning with the beta Ingress, I can still use it (both through kubectl and this plugin). It is understandable if you don't want to build on a deprecated version, but maybe this can help provide a temporary fix for someone else until this is fixed properly Here's an example of what I currently deploy through the plugin (v1 version of the same Ingress left in as comments)
|
The Plugin keeps an own list auf possible apiVersions. We switched to another plugin (kubernetes-cli) which works fine. |
not works too |
Same here... still no solution? |
no solution |
As there is still no solution to this, we totally removed this plugin from our tech stack and replaced it by kubernetes-cli plugin. Without a solution to this issue, this plugin is useless for us. |
Any solution on this? |
After Upgrading our kubernetes cluster to 1.19.0, we cannot use the plugin for our deployments, anymore.
Up to now, our Ingress ressources used the apiVersion extensions/v1beta1 but with the new version, this is no longer supported so we migrated our Ingress resources in the yaml files to new apiVersion: networking.k8s.io/v1. When we try to use the plugin now to deploy to our cluster, we get the following error:
ERROR: ERROR: java.io.IOException: ERROR: YAML file test.yaml is invalid, please check it. Details: java.io.IOException: Unknown apiVersionKind: networking.k8s.io/v1/Ingress known kinds are: {v1/ServerAddressByClientCIDRBuilder=class io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDRBuilder, v1/ReplicaSetConditionFluentImpl=class io.kubernetes.client.openapi.models.V1ReplicaSetConditionF...
When I put the same yaml file to my kubemaster server and deploy with
kubectl apply -f test.yaml
, everything works fine.Please advice.
Kind regards
Timo
The text was updated successfully, but these errors were encountered: