简体   繁体   中英

ValidationError(PodDisruptionBudget.spec)

while helm upgrading the prometheus, I am receiving the below error.

Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(PodDisruptionBudget.spec): unknown field "enabled" in io.k8s.api.policy.v1.PodDisruptionBudgetSpec

can someone pls help with the solution.... thanks in advance

Most likely caused by charts versions mismatch.

helm -n $NS upgrade --install prometheus prometheus-community/prometheus -f /PATH/TO/values.yaml --version $YOUR_VERSION

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM