Skip to content

Commit

Permalink
K8SPSMDB-963: optional votes and priority for external nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
pooknull committed Aug 31, 2023
1 parent 3d4ed9c commit 653017a
Show file tree
Hide file tree
Showing 6 changed files with 247 additions and 92 deletions.
67 changes: 49 additions & 18 deletions config/crd/bases/psmdb.percona.com_perconaservermongodbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,11 @@ spec:
items:
type: string
type: array
allocatedResourceStatuses:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: granular
allocatedResources:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -1411,8 +1416,6 @@ spec:
type: array
phase:
type: string
resizeStatus:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -2558,6 +2561,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
restartPolicy:
type: string
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down Expand Up @@ -2870,8 +2875,6 @@ spec:
type: integer
required:
- host
- priority
- votes
type: object
type: array
hostAliases:
Expand Down Expand Up @@ -3806,6 +3809,11 @@ spec:
items:
type: string
type: array
allocatedResourceStatuses:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: granular
allocatedResources:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -3846,8 +3854,6 @@ spec:
type: array
phase:
type: string
resizeStatus:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -4993,6 +4999,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
restartPolicy:
type: string
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down Expand Up @@ -5634,6 +5642,11 @@ spec:
items:
type: string
type: array
allocatedResourceStatuses:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: granular
allocatedResources:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -5674,8 +5687,6 @@ spec:
type: array
phase:
type: string
resizeStatus:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -6821,6 +6832,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
restartPolicy:
type: string
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down Expand Up @@ -8145,6 +8158,11 @@ spec:
items:
type: string
type: array
allocatedResourceStatuses:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: granular
allocatedResources:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -8185,8 +8203,6 @@ spec:
type: array
phase:
type: string
resizeStatus:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -9332,6 +9348,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
restartPolicy:
type: string
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down Expand Up @@ -9644,8 +9662,6 @@ spec:
type: integer
required:
- host
- priority
- votes
type: object
type: array
hostAliases:
Expand Down Expand Up @@ -10580,6 +10596,11 @@ spec:
items:
type: string
type: array
allocatedResourceStatuses:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: granular
allocatedResources:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -10620,8 +10641,6 @@ spec:
type: array
phase:
type: string
resizeStatus:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -11767,6 +11786,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
restartPolicy:
type: string
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down Expand Up @@ -12408,6 +12429,11 @@ spec:
items:
type: string
type: array
allocatedResourceStatuses:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: granular
allocatedResources:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -12448,8 +12474,6 @@ spec:
type: array
phase:
type: string
resizeStatus:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -13595,6 +13619,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
restartPolicy:
type: string
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down Expand Up @@ -14851,6 +14877,11 @@ spec:
items:
type: string
type: array
allocatedResourceStatuses:
additionalProperties:
type: string
type: object
x-kubernetes-map-type: granular
allocatedResources:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -14891,8 +14922,6 @@ spec:
type: array
phase:
type: string
resizeStatus:
type: string
type: object
type: object
type: array
Expand Down Expand Up @@ -16038,6 +16067,8 @@ spec:
x-kubernetes-int-or-string: true
type: object
type: object
restartPolicy:
type: string
securityContext:
properties:
allowPrivilegeEscalation:
Expand Down
Loading

0 comments on commit 653017a

Please sign in to comment.