Closed kauana closed 4 years ago
LGTM
I ran it through kubeval
using --strict
mode and looks like this is now a bonafide DaemonSet
🎉 !
$ kubeval /tmp/daemonset-ingressgateway.yaml --strict
PASS - /tmp/daemonset-ingressgateway.yaml contains a valid DaemonSet
When ran against the old DaemonSet
:
$ kubeval /tmp/daemonset-ingressgateway.yaml --strict
WARN - /tmp/daemonset-ingressgateway.yaml contains an invalid DaemonSet - strategy: Additional property strategy is not allowed
Maybe this is something we could run in CI or as a part of our Istio config generation script to make sure everything remains valid. 🤔
LGTM
I ran it through
kubeval
using--strict
mode and looks like this is now a bonafideDaemonSet
!$ kubeval /tmp/daemonset-ingressgateway.yaml --strict PASS - /tmp/daemonset-ingressgateway.yaml contains a valid DaemonSet
When ran against the old
DaemonSet
:$ kubeval /tmp/daemonset-ingressgateway.yaml --strict WARN - /tmp/daemonset-ingressgateway.yaml contains an invalid DaemonSet - strategy: Additional property strategy is not allowed
Maybe this is something we could run in CI or as a part of our Istio config generation script to make sure everything remains valid.
Great idea. I will create a chore for that.
Hey all,
I added a solution to this issue and I would appreciate if y'all took at look at it and let me know what you think. Basically what I am doing is removing the old
strategy
and replacing it with theupdateStrategy
+ removemaxSurge
changes we want.cc @christianang @XanderStrike @ndhanushkodi @jrussett @tcdowney