Skip to content

Node Affinity adding #368

Description

@eduard-netoplayltd

Is your feature request related to a problem? Please describe.
So on my cluster i have nodes with public and private IP. And it will be great if you can add Node affinities to choose by node tag or/and label in values

Describe the solution you'd like
Just adding it like option will be enough like:

elementWeb:
  enabled: true
  additional: {}
  replicas: 1
  image:
    registry: ghcr.io
    repository:
    tag: <WEB_DOCKER_TAG>
    pullSecrets: 
      - name: github-auth
  ingress:
    host: <WEBHOST>
    annotations: {}
    tlsEnabled: true
    service: {}
  labels: {}
  extraEnv: []
  containersSecurityContext:
    allowPrivilegeEscalation: true
    capabilities:
      drop:
        - ALL
    readOnlyRootFilesystem: true
  podSecurityContext:
    fsGroup: 10004
    runAsGroup: 10004
    runAsNonRoot: true
    runAsUser: 10004
    seccompProfile:
      type: RuntimeDefault
    supplementalGroups: []
  resources:
    requests:
      memory: 50Mi
      cpu: 50m
    limits:
      memory: 200Mi
  serviceAccount:
    create: true
    name: ""
    annotations: {}
  tolerations: []
  topologySpreadConstraints: []
 PodAffinity[]
 NodeAffinity[]
 //     nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
              - matchExpressions:
                  - key: role
                    operator: In
                    values:
                      - Private 
                    ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions