https://pulumi.com logo
#general
Title
# general
g

gorgeous-country-43026

05/14/2021, 9:31 AM
I'm wondering what are the potential problems I might face if I override the Kubernetes metadata name in my declarations? This means my Kubernetes resources will get the exact name I provide and not the one which is the resource name plus generated string? There's several reasons why I would want to do it but I wonder if this will lead me to some kind of world of hurt?
b

billowy-army-68599

05/14/2021, 2:29 PM
The main thing you’ll need to be aware of is that any resource you create this way that cannot be updated in place will be deleted before it’s recreated if you make changes to your infrastructure. I usually only do this on namespaces
1
g

gorgeous-egg-16927

05/14/2021, 5:41 PM
g

gorgeous-country-43026

05/17/2021, 9:33 AM
Thanks @billowy-army-68599, this was what I was suspecting. In our case downtime is not an issue and avoiding unnecessary resource scaling (due to temporary duplicate services) is more important so this is actually exactly how we want it to work 👍