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

icy-controller-6092

01/23/2024, 1:12 AM
using
new k8s.core.v1.Pod
in my dev environment, and the pod is replaced when
env
changes, but only updated when
envFrom
- then failing on update because there's a very small number of fields you can update on a running pod. Does that sound like a bug or am I using it the wrong way?
c

cuddly-computer-18851

01/23/2024, 2:50 AM
Pretty sure you should always use some kind of higher level wrapper - a Deployment, batchJob, something
i

icy-controller-6092

01/23/2024, 3:24 AM
It does seem like a pod controller has some overlap with Pulumi, so I just keep things simpler locally and use pulumi to control the pods The main point though is that there seems to be some effort to define which fields should cause the pod to replace vs update, but it’s currently not fully specced maybe?
c

cuddly-computer-18851

01/23/2024, 4:16 AM
Pod controllers need to be running all the time, to handle rolling deployments, PDBs, scaling etc.
i

icy-controller-6092

01/23/2024, 4:30 AM
This is for a local dev environment