Skip to content

Commit

Permalink
PDB improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
triceras committed Jan 24, 2025
1 parent 88ef1d4 commit 232ed46
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 44 deletions.
54 changes: 32 additions & 22 deletions charts/humio-operator/crds/core.humio.com_humioclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11248,30 +11248,35 @@ spec:
description: PodDisruptionBudget defines the PDB configuration
for this node spec
properties:
enabled:
description: Enabled indicates whether PodDisruptionBudget
is enabled for this NodePool.
type: boolean
maxUnavailable:
anyOf:
- type: integer
- type: string
description: |-
MaxUnavailable represents the maximum number of pods that can be unavailable for this Humio node pool
If not set, the operator will not use a MaxUnavailable value for the node pool's PodDisruptionBudget.
Can be a percentage or a fixed number.
description: MaxUnavailable is the maximum number of
pods that can be unavailable during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
minAvailable:
anyOf:
- type: integer
- type: string
description: |-
MinAvailable represents the minimum number of pods that should be available for this Humio node pool.
If not set, the operator will not create a PodDisruptionBudget for the node pool.
Can be a percentage or a fixed number.
description: MinAvailable is the minimum number of pods
that must be available during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
unhealthyPodEvictionPolicy:
description: UnhealthyPodEvictionPolicy defines the
policy for evicting unhealthy pods
description: |-
UnhealthyPodEvictionPolicy defines the policy for evicting unhealthy pods.
Requires Kubernetes 1.26+.
enum:
- AlwaysAllow
- IfHealthyBudget
- AlwaysAllow
type: string
type: object
podLabels:
Expand Down Expand Up @@ -13192,30 +13197,35 @@ spec:
description: PodDisruptionBudget defines the PDB configuration for
this node spec
properties:
enabled:
description: Enabled indicates whether PodDisruptionBudget is
enabled for this NodePool.
type: boolean
maxUnavailable:
anyOf:
- type: integer
- type: string
description: |-
MaxUnavailable represents the maximum number of pods that can be unavailable for this Humio node pool
If not set, the operator will not use a MaxUnavailable value for the node pool's PodDisruptionBudget.
Can be a percentage or a fixed number.
description: MaxUnavailable is the maximum number of pods that
can be unavailable during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
minAvailable:
anyOf:
- type: integer
- type: string
description: |-
MinAvailable represents the minimum number of pods that should be available for this Humio node pool.
If not set, the operator will not create a PodDisruptionBudget for the node pool.
Can be a percentage or a fixed number.
description: MinAvailable is the minimum number of pods that must
be available during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
unhealthyPodEvictionPolicy:
description: UnhealthyPodEvictionPolicy defines the policy for
evicting unhealthy pods
description: |-
UnhealthyPodEvictionPolicy defines the policy for evicting unhealthy pods.
Requires Kubernetes 1.26+.
enum:
- AlwaysAllow
- IfHealthyBudget
- AlwaysAllow
type: string
type: object
podLabels:
Expand Down
54 changes: 32 additions & 22 deletions config/crd/bases/core.humio.com_humioclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11248,30 +11248,35 @@ spec:
description: PodDisruptionBudget defines the PDB configuration
for this node spec
properties:
enabled:
description: Enabled indicates whether PodDisruptionBudget
is enabled for this NodePool.
type: boolean
maxUnavailable:
anyOf:
- type: integer
- type: string
description: |-
MaxUnavailable represents the maximum number of pods that can be unavailable for this Humio node pool
If not set, the operator will not use a MaxUnavailable value for the node pool's PodDisruptionBudget.
Can be a percentage or a fixed number.
description: MaxUnavailable is the maximum number of
pods that can be unavailable during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
minAvailable:
anyOf:
- type: integer
- type: string
description: |-
MinAvailable represents the minimum number of pods that should be available for this Humio node pool.
If not set, the operator will not create a PodDisruptionBudget for the node pool.
Can be a percentage or a fixed number.
description: MinAvailable is the minimum number of pods
that must be available during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
unhealthyPodEvictionPolicy:
description: UnhealthyPodEvictionPolicy defines the
policy for evicting unhealthy pods
description: |-
UnhealthyPodEvictionPolicy defines the policy for evicting unhealthy pods.
Requires Kubernetes 1.26+.
enum:
- AlwaysAllow
- IfHealthyBudget
- AlwaysAllow
type: string
type: object
podLabels:
Expand Down Expand Up @@ -13192,30 +13197,35 @@ spec:
description: PodDisruptionBudget defines the PDB configuration for
this node spec
properties:
enabled:
description: Enabled indicates whether PodDisruptionBudget is
enabled for this NodePool.
type: boolean
maxUnavailable:
anyOf:
- type: integer
- type: string
description: |-
MaxUnavailable represents the maximum number of pods that can be unavailable for this Humio node pool
If not set, the operator will not use a MaxUnavailable value for the node pool's PodDisruptionBudget.
Can be a percentage or a fixed number.
description: MaxUnavailable is the maximum number of pods that
can be unavailable during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
minAvailable:
anyOf:
- type: integer
- type: string
description: |-
MinAvailable represents the minimum number of pods that should be available for this Humio node pool.
If not set, the operator will not create a PodDisruptionBudget for the node pool.
Can be a percentage or a fixed number.
description: MinAvailable is the minimum number of pods that must
be available during a disruption.
format: int-or-string
type: string
x-kubernetes-int-or-string: true
unhealthyPodEvictionPolicy:
description: UnhealthyPodEvictionPolicy defines the policy for
evicting unhealthy pods
description: |-
UnhealthyPodEvictionPolicy defines the policy for evicting unhealthy pods.
Requires Kubernetes 1.26+.
enum:
- AlwaysAllow
- IfHealthyBudget
- AlwaysAllow
type: string
type: object
podLabels:
Expand Down

0 comments on commit 232ed46

Please sign in to comment.