Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
feat(probes): add probes to deployment. Set default host as 0.0.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Mahdi Dibaiee <[email protected]>
  • Loading branch information
Mahdi Dibaiee authored and ali-essam committed Apr 7, 2019
1 parent 7397487 commit aa08cf3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
10 changes: 10 additions & 0 deletions stable/apm-server/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ spec:
ports:
- name: http
containerPort: 8200
livenessProbe:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 60
readinessProbe:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 60
securityContext:
runAsUser: 0
resources:
Expand Down
10 changes: 10 additions & 0 deletions stable/apm-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ spec:
- name: http
containerPort: 8200
protocol: TCP
livenessProbe:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 60
readinessProbe:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 60
securityContext:
runAsUser: 0
resources:
Expand Down
4 changes: 2 additions & 2 deletions stable/apm-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ service:


config:
apm-server: {}
apm-server:
### Defines the host and port the server is listening on
# host: "localhost:8200"
host: "0.0.0.0:8200"

## Maximum permitted size in bytes of an unzipped request accepted by the server to be processed.
# max_unzipped_size: 52428800
Expand Down

0 comments on commit aa08cf3

Please sign in to comment.