This message was deleted.
# kubernetes
s
This message was deleted.
g
I think this turned out to still happen when pulumi was “removing” the replica count from the deployment. Further deployments with the replica count removed doesn’t cause this.
b
you can set ignoreChanges in the pulumi customresourceoptions
Copy code
new x(name, { opts }, { ignoreChanges: 'spec.template.replicas' });
something like that IIRC
g
yeah, it’s just strange that this happens in the first place. it’s like pulumi completely takes over the replica sets to do it’s own thing. When applying raw yaml with this field set to
1
, this behavior isn’t experienced.