mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 06:12:54 +00:00
fix affinity duplicate (#1225)
This commit is contained in:
@@ -169,379 +169,6 @@ spec:
|
|||||||
topology_spread_constraints:
|
topology_spread_constraints:
|
||||||
description: topology rule(s) for the pods
|
description: topology rule(s) for the pods
|
||||||
type: string
|
type: string
|
||||||
affinity:
|
|
||||||
description: If specified, the pod's scheduling constraints
|
|
||||||
properties:
|
|
||||||
nodeAffinity:
|
|
||||||
properties:
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
preference:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchFields:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
weight:
|
|
||||||
format: int32
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- preference
|
|
||||||
- weight
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
properties:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchFields:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- nodeSelectorTerms
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
type: object
|
|
||||||
podAffinity:
|
|
||||||
properties:
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
podAffinityTerm:
|
|
||||||
properties:
|
|
||||||
labelSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaceSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaces:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
topologyKey:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- topologyKey
|
|
||||||
type: object
|
|
||||||
weight:
|
|
||||||
format: int32
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- podAffinityTerm
|
|
||||||
- weight
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
labelSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaceSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaces:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
topologyKey:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- topologyKey
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
type: object
|
|
||||||
podAntiAffinity:
|
|
||||||
properties:
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
podAffinityTerm:
|
|
||||||
properties:
|
|
||||||
labelSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaceSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaces:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
topologyKey:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- topologyKey
|
|
||||||
type: object
|
|
||||||
weight:
|
|
||||||
format: int32
|
|
||||||
type: integer
|
|
||||||
required:
|
|
||||||
- podAffinityTerm
|
|
||||||
- weight
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
labelSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaceSelector:
|
|
||||||
properties:
|
|
||||||
matchExpressions:
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
key:
|
|
||||||
type: string
|
|
||||||
operator:
|
|
||||||
type: string
|
|
||||||
values:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
required:
|
|
||||||
- key
|
|
||||||
- operator
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
matchLabels:
|
|
||||||
additionalProperties:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
namespaces:
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
topologyKey:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- topologyKey
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
termination_grace_period_seconds:
|
|
||||||
description: Optional duration in seconds pods needs to terminate gracefully
|
|
||||||
type: integer
|
|
||||||
format: int32
|
|
||||||
service_labels:
|
|
||||||
description: Additional labels to apply to the service
|
|
||||||
type: string
|
|
||||||
annotations:
|
annotations:
|
||||||
description: annotations for the pods
|
description: annotations for the pods
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
@@ -99,8 +99,6 @@ task_node_selector: ''
|
|||||||
# app.kubernetes.io/name: "<resourcename>"
|
# app.kubernetes.io/name: "<resourcename>"
|
||||||
topology_spread_constraints: ''
|
topology_spread_constraints: ''
|
||||||
|
|
||||||
affinity: {}
|
|
||||||
|
|
||||||
# Add node tolerations for the AWX pods. Specify as literal block. E.g.:
|
# Add node tolerations for the AWX pods. Specify as literal block. E.g.:
|
||||||
# tolerations: |
|
# tolerations: |
|
||||||
# - key: "dedicated"
|
# - key: "dedicated"
|
||||||
|
|||||||
Reference in New Issue
Block a user