File tree Expand file tree Collapse file tree 6 files changed +18
-6
lines changed
deploy/helm/elastic-agent Expand file tree Collapse file tree 6 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,18 @@ Here is a collection of example configurations for the eck-integrations chart.
66- [ System - custom authlogs path] ( kubernetes-default/README.md )
77- [ Kubernetes - only container logs] ( kubernetes-only-logs/README.md )
88- [ Kubernetes - only hints autodiscover] ( kubernetes-hints-autodiscover/README.md )
9- - [ Custom Integration - nginx ] ( nginx-custom-integration/README.md )
9+ - [ Nginx - custom integration ] ( nginx-custom-integration/README.md )
1010- [ Multiple Integrations] ( multiple-integrations/README.md )
1111- [ ECK - Kubernetes - defaults] ( eck/README.md )
12+ - [ Fleet - Managed Agent] ( fleet-managed/README.md )
13+ - [ User created cluster role] ( user-cluster-role/README.md )
14+ - [ User created service account] ( user-service-account/README.md )
1215
1316Useful links:
1417
1518- [ Kibana - Install and uninstall Elastic Agent integration assets] ( https://www.elastic.co/guide/en/fleet/current/install-uninstall-integration-assets.html )
1619- [ Kibana - Creating API Keys] ( https://www.elastic.co/guide/en/kibana/current/api-keys.html )
1720- [ Kibana - Create roles and users] ( https://www.elastic.co/guide/en/kibana/current/using-kibana-with-security.html#security-create-roles )
18- - [ ECK operator] ( https://github.com/elastic/cloud-on-k8s ) .
21+ - [ ECK operator] ( https://github.com/elastic/cloud-on-k8s )
22+ - [ Fleet - Manage Agents] ( https://www.elastic.co/guide/en/fleet/current/manage-agents-in-fleet.html )
23+ - [ Fleet - Installing Elastic Agent] ( https://www.elastic.co/guide/en/fleet/current/install-fleet-managed-elastic-agent.html#elastic-agent-installation-steps )
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ helm install elastic-agent ../../ \
3636 --set 'agent.imagePullSecrets[0].name=regcred' \
3737 --set outputs.default.type=ESSecretAuthAPI \
3838 --set outputs.default.secretName=es-api-secret
39+ ```
3940
4041## Validate:
4142
Original file line number Diff line number Diff line change 3434 {{- end -}}
3535 {{- end }}
3636 deployment :
37- {{- with ( $presetVal). replicaCount }}
38- replicas : {{ . }}
37+ {{- if hasKey $presetVal " replicaCount" }}
38+ replicas : {{ ($presetVal).replicaCount }}
3939 {{- end }}
4040 podTemplate :
4141{{- toYaml ($podTemplateResource).template | nindent 6 }}
Original file line number Diff line number Diff line change 3434 {{- end -}}
3535 {{- end }}
3636 statefulSet :
37- {{- with ( $presetVal). replicaCount }}
38- replicas : {{ . }}
37+ {{- if hasKey $presetVal " replicaCount" }}
38+ replicas : {{ ($presetVal).replicaCount }}
3939 {{- end }}
4040 podTemplate :
4141{{- toYaml ($podTemplateResource).template | nindent 6 }}
Original file line number Diff line number Diff line change 1717 selector :
1818 matchLabels :
1919 name : {{ $agentName }}
20+ {{- if hasKey $presetVal "replicaCount" }}
21+ replicas : {{ ($presetVal).replicaCount }}
22+ {{- end }}
2023 template :
2124 metadata :
2225 labels :
Original file line number Diff line number Diff line change 1717 selector :
1818 matchLabels :
1919 name : {{ $agentName }}
20+ {{- if hasKey $presetVal "replicaCount" }}
21+ replicas : {{ ($presetVal).replicaCount }}
22+ {{- end }}
2023 template :
2124 metadata :
2225 labels :
You can’t perform that action at this time.
0 commit comments