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

Commit

Permalink
Merge pull request #1 from mdibaiee/feature/apm-server-deployment
Browse files Browse the repository at this point in the history
feat(probes): add probes to deployment. Set default host as 0.0.0.0
  • Loading branch information
ali-essam authored Apr 7, 2019
2 parents 7397487 + f08e806 commit 21610c8
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 21610c8

Please sign in to comment.