This message was deleted.
# kubernetes
s
This message was deleted.
c
@tall-library-51128 it seems you may be hitting this: https://github.com/kubernetes/kubernetes/issues/24198 from my reading of this, you need to explicitly set
strategy.rollingUpdate
to null / None.
t
sorry, forgot to mentioned that I did try to explicitly set it to
None
and ran into the same error, it's odd (and a bit frustrating)
the official kubernetes documentation states that we should patch the resource like that:
Copy code
spec:
  strategy:
    $retainKeys:
    - type
    type: Recreate
Explaining that
With this patch, we indicate that we want to retain only the type key of the strategy object. Thus, the rollingUpdate will be removed during the patch operation.
Is there any way we can achieve the same using
pulumi_kubernetes
?