Skip to content

Commit

Permalink
fix: enable hostNetwork for perNode preset
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutsovasilis committed Dec 18, 2024
1 parent 4203638 commit a3ad6c7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,7 @@ spec:
name: var-lib
readOnly: true
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: agent-pernode-example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ spec:
readOnly: true
subPath: agent.yml
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: agent-pernode-example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,7 @@ spec:
readOnly: true
subPath: agent.yml
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: agent-pernode-example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,7 @@ spec:
readOnly: true
subPath: agent.yml
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
initContainers:
- args:
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ spec:
readOnly: true
subPath: agent.yml
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: agent-pernode-example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,7 @@ spec:
readOnly: true
subPath: agent.yml
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
initContainers:
- args:
- -c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ spec:
readOnly: true
subPath: agent.yml
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: agent-pernode-example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,7 @@ spec:
readOnly: true
subPath: agent.yml
dnsPolicy: ClusterFirstWithHostNet
hostNetwork: true
nodeSelector:
kubernetes.io/os: linux
serviceAccountName: user-sa-perNode
Expand Down
1 change: 1 addition & 0 deletions deploy/helm/elastic-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ agent:
create: true
clusterRole:
create: true
hostNetwork: true
resources:
limits:
memory: 1000Mi
Expand Down

0 comments on commit a3ad6c7

Please sign in to comment.