https://pulumi.com logo
#kubernetes
Title
# kubernetes
b

bored-monitor-99026

07/07/2021, 6:48 AM
just curious, for ppl who use pulumi rke provider, if you update some config/parameter of a existing cluster, the cluster will get updated in place right? it won't be destroyed and recreated
b

brave-planet-10645

07/07/2021, 10:05 AM
... it depends. There might be some inputs that cause the cluster to be recreated, but it'll tell you that on preview
1
b

bored-monitor-99026

07/08/2021, 8:38 PM
thanks for the info!
b

brave-planet-10645

07/09/2021, 8:40 AM
There is a ticket somewhere to show in the docs what causes a resource to be created. In the meantime, the TF provider code is one of the best resources (no pun intended) to check. I'll find an example and link to it
Here's an example: https://github.com/pulumi/terraform-provider-aws/blob/pulumi-master/aws/resource_aws_instance.go#L47 You can see that a change in the AMI causes an EC2 instance to be recreated.
b

bored-monitor-99026

07/09/2021, 3:57 PM
thanks! i am also creating a new pulumi provider, this is very helpful.
b

brave-planet-10645

07/09/2021, 4:01 PM
a provider for what, if you don't mind me asking?
b

bored-monitor-99026

07/09/2021, 5:03 PM
sure, i'd like to create a pulumi provider for oneandone, there is a existing tf provider but i have some issues when converting it to pulumi, see here. the tf provider: https://github.com/hashicorp/terraform-provider-oneandone since it also provides a python sdk, i was considering to implement a new pulumi provider, but also has a issue, see here.
4 Views