apiVersion: v1
policies:
  - name: Default
    isDefault: true
    rules:
      - identifier: PODDISRUPTIONBUDGET_DENY_ZERO_VOLUNTARY_DISRUPTION
        messageOnFailure: 'some dummy test'
      - identifier: PODDISRUPTIONBUDGET_DENY_ZERO_VOLUNTARY_DISRUPTION
        messageOnFailure: ''
customRules:
  - identifier: PODDISRUPTIONBUDGET_DENY_ZERO_VOLUNTARY_DISRUPTION
    name: pods to undergo least voluntary disruption
    defaultMessageOnFailure: Setting minAvailable to 100 and maxUnavailable to 0 is not allowed by the organization, as node on which the pod is running can never be drained.
    schema:
      type: object
      required:
        - spec