Created
February 17, 2019 07:20
-
-
Save anxious-coder-lhs/aad75ce1f628d9e184effd91ab223773 to your computer and use it in GitHub Desktop.
Ghost pod descriptor with health monitor checks enabled.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: ghost | |
labels: | |
app: ghost | |
env: prod | |
spec: | |
containers: | |
- name: ghost | |
image: ghost:latest | |
ports: | |
- name: http | |
containerPort: 2368 | |
resources: | |
limits: | |
cpu: 0.5 | |
memory: "200Mi" | |
livenessProbe: | |
httpGet: | |
path: /ghost/api/v0.1/posts | |
port: 2368 | |
scheme: HTTP | |
initialDelaySeconds: 5 | |
periodSeconds: 15 | |
timeoutSeconds: 5 | |
readinessProbe: | |
httpGet: | |
path: /ghost/api/v0.1/posts | |
port: 2368 | |
scheme: HTTP | |
initialDelaySeconds: 5 | |
timeoutSeconds: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment