https://pulumi.com logo
i

important-jackal-88836

05/22/2020, 3:35 AM
Anyone else have deprecation warnings disappear after an update of the kubernetes plugin? It's as though
suppressDeprecationWarnings
is on by default now.
g

gorgeous-egg-16927

05/22/2020, 3:52 PM
Which apiVersions disappeared for you? It’s possible I broke something with https://github.com/pulumi/pulumi-kubernetes/pull/1135
i

important-jackal-88836

05/22/2020, 7:04 PM
Copy code
warning: apps/v1beta2/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.
warning: apps/v1beta2/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.
warning: extensions/v1beta1/Ingress is deprecated by networking/v1beta1/Ingress and not supported by Kubernetes v1.20+ clusters.
warning: apps/v1beta2/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.
warning: apps/v1beta2/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.
warning: apps/v1beta2/Deployment is deprecated by apps/v1/Deployment and not supported by Kubernetes v1.16+ clusters.
These warnings disappeared after updating the plugin. I certainly didn't fix the deprecation though I was getting around to it I swear. 😅
I can run
kubectl deprecations
but it was nice to have the reminders in pulumi.
g

gorgeous-egg-16927

05/22/2020, 8:33 PM
Hmm…still seems to be working for me. Perhaps something else changed in your stack?
i

important-jackal-88836

05/22/2020, 8:38 PM
ok weird I will investigate
ok I updated more things, latest
pulumi
cli and latest
@pulumi/kubernetes
and the warnings came back. 👍 Must have been some flakely combination of dependencies I had sorry.
👍 1
Is there a reference for what versions of packages should be used with what version of pulumi etc?
I'm pretty ignorant about what kind of peer dependencies might exist between these components.
or should I just get my shit together and use latest as much as possible.
g

gorgeous-egg-16927

05/22/2020, 9:33 PM
generally you should be able to use any combination of packages and pulumi CLI, but things occasionally get into a bad state. at that point, i usually just delete my
node_modules
and do a fresh
npm install
and that usually fixes it
👍 2
4 Views