Add fleet server
This commit is contained in:
parent
c7998f672e
commit
001a090af1
28
charts/eck-resources/templates/agent-fleet-server.yaml
Normal file
28
charts/eck-resources/templates/agent-fleet-server.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
{{- if .Values.enabled }}
|
||||
apiVersion: agent.k8s.elastic.co/v1alpha1
|
||||
kind: Agent
|
||||
metadata:
|
||||
name: fleet-server-{{ .Values.env }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
version: 8.12.0
|
||||
elasticsearchRefs:
|
||||
- name: elasticsearch-{{ .Values.env }}
|
||||
kibanaRef:
|
||||
name: kibana-{{ .Values.env }}
|
||||
fleetServerEnabled: true
|
||||
deployment:
|
||||
replicas: 1
|
||||
podTemplate:
|
||||
spec:
|
||||
containers:
|
||||
- name: agent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 512Mi
|
||||
config:
|
||||
fleet:
|
||||
server:
|
||||
host: 0.0.0.0
|
||||
{{- end }}
|
||||
Loading…
x
Reference in New Issue
Block a user