fbrubbo / kubectl-snapshot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

data marshal error when pod disruption budget is a percent

matthewi opened this issue · comments

MaxUnavailable int `json:"maxUnavailable"`

https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget

2020/10/29 11:37:06 json: cannot unmarshal string into Go struct field .Items.spec.maxUnavailable of type int