onechart icon indicating copy to clipboard operation
onechart copied to clipboard

Transition from rollingUpdate to Recreate hits a kubectl shortcoming

Open laszlocph opened this issue 4 years ago • 4 comments

We use the recreate strategy when a volume is defined.

https://github.com/kubernetes/kubernetes/issues/24198

laszlocph avatar Dec 14 '21 11:12 laszlocph

  strategy:
    rollingUpdate: null
    type: Recreate

Seems to solve the issue with kubectl apply.

It doesn't seem to work in Flux though. Todo: test case with Flux, report issue in Flux if doesn't work

laszlocph avatar Sep 02 '22 13:09 laszlocph

Good First Issue

How is it so?

The bug is well described in the linked Kubernetes issue. That issue is resolved, and kubectl is able to propagate null fields to the api server. The task is to test that behavior, and then test again when flux does the apply

laszlocph avatar Sep 02 '22 13:09 laszlocph

@laszlocph is there a linked issue for the flux-apply ?

macetw avatar Feb 20 '24 20:02 macetw

I never pursued this further.

laszlocph avatar Feb 21 '24 09:02 laszlocph