Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option node affinity by OS version in our manifest #62

Open
dmicheneau opened this issue Oct 18, 2024 · 2 comments
Open

Add option node affinity by OS version in our manifest #62

dmicheneau opened this issue Oct 18, 2024 · 2 comments
Assignees

Comments

@dmicheneau
Copy link
Member

dmicheneau commented Oct 18, 2024

the goal is to deploy kimup on a node where the binary is accepted

@azrod
Copy link
Member

azrod commented Oct 18, 2024

Example

spec:
  replicas: 1
  selector:
    matchLabels:
      control-plane: controller-manager
  template:
    metadata:
      annotations:
        kubectl.kubernetes.io/default-container: manager
      labels:
        control-plane: controller-manager
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: kubernetes.io/arch
                operator: In
                values:
                - amd64
                - arm64
                - ppc64le
                - s390x
              - key: kubernetes.io/os
                operator: In
                values:
                - linux

@dmicheneau
Copy link
Member Author

Add this in the code of both controller and in manifest file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants