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 nodeSelector for FlowAggregator and ELK Pods #2087

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions build/yamls/elk-flow-collector/elk-flow-collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ spec:
volumeMounts:
- name: es-data
mountPath: /data
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
volumes:
- name: es-data
persistentVolumeClaim:
Expand Down Expand Up @@ -171,6 +174,9 @@ spec:
ports:
- containerPort: 5601
name: http
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -220,6 +226,9 @@ spec:
ports:
- containerPort: 4739
protocol: UDP
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
volumes:
- name: logstash-definition-volume
configMap:
Expand Down
3 changes: 3 additions & 0 deletions build/yamls/flow-aggregator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ spec:
subPath: flow-aggregator.conf
- mountPath: /var/log/antrea/flow-aggregator
name: host-var-log-antrea-flow-aggregator
nodeSelector:
kubernetes.io/arch: amd64
kubernetes.io/os: linux
serviceAccountName: flow-aggregator
volumes:
- configMap:
Expand Down
3 changes: 3 additions & 0 deletions build/yamls/flow-aggregator/base/flow-aggregator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ spec:
subPath: flow-aggregator.conf
- mountPath: /var/log/antrea/flow-aggregator
name: host-var-log-antrea-flow-aggregator
nodeSelector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
serviceAccountName: flow-aggregator
volumes:
- name: flow-aggregator-config
Expand Down