-
Notifications
You must be signed in to change notification settings - Fork 161
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
kubent reported API_VERSION is incorrect #662
Comments
I just found this #276. If I understand this correctly, the kubent tool doesn't really tell me what I need to fix before I upgrade my cluster, it just tells me what will probably fail if I try to apply the same Kubernetes objects to the cluster after the upgrade, right? Perhaps a warning about this with a link to issue 276 would be helpful in the output of the kubent tool? |
Yes, we can add a warning. |
Same as me:
But when I check api-resource,
|
Interesting, could be the depreciated api we are using. |
When I run
kubent
I see this:(Redacting excess output - don't judge our geriatric cluster, haha.)
However, that
CronJob
is not versionbatch/v1beta1
, it'sbatch/v1
:The only place I see
v1beta1
is in the metadata annotations "kubectl.kubernetes.io/last-applied-configuration".Is
kubent
grepping through output or actually looking at theapiVersion
field?The text was updated successfully, but these errors were encountered: