Upgrade deployment image updates reservations configuration

Hi,

I’m using Rancher v2.3.5 and I realized that when I update a deployment using API (see PUT body below), the deployments CPU and Memory Reservations is updated to default, removing any previous configuration.

body = “{“containers”: [{“name”: “{RANCHER_WORKLOAD_NAME}\",\"image\": \"{ECR_ENDPOINT}:${IMAGE_VERSION}”}]}”

Any suggestion to resolve this issue?

1 Like