File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
deploy/helm/elastic-agent/examples/kubernetes-default Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,30 @@ In this example we install the built-in `kubernetes` integration with the defaul
13132. `kubernetes` integration assets installed through Kibana ([Kibana - Install and uninstall Elastic Agent integration assets](https://www.elastic.co/guide/en/fleet/current/install-uninstall-integration-assets.html))
1414
1515## Run:
16+
17+ #### Public image registry:
1618```console
1719helm install elastic-agent ../../ \
1820 -f ./agent-kubernetes-values.yaml \
1921 --set outputs.default.type=ESSecretAuthAPI \
2022 --set outputs.default.secretName=es-api-secret
2123```
2224
25+
26+ #### Private image registry:
27+ Create secret with the contents of docker auth config
28+ ```
29+ kubectl create secret generic regcred --from-file=.dockerconfigjson=<your home folder here>/.docker/config.json --type=kubernetes.io/dockerconfigjson
30+ ```
31+
32+ Install elastic-agent
33+ ``` console
34+ helm install elastic-agent ../../ \
35+ -f ./agent-kubernetes-values.yaml \
36+ --set 'agent.imagePullSecrets[0].name=regcred' \
37+ --set outputs.default.type=ESSecretAuthAPI \
38+ --set outputs.default.secretName=es-api-secret
39+
2340## Validate:
2441
25421. The Kibana `kubernetes`-related dashboards should start showing up the respective info.
You can’t perform that action at this time.
0 commit comments