Skip to content

Instantly share code, notes, and snippets.

@Elexy
Created November 26, 2018 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Elexy/d34d97d914006b4ec2c71e8c386f84dc to your computer and use it in GitHub Desktop.
Save Elexy/d34d97d914006b4ec2c71e8c386f84dc to your computer and use it in GitHub Desktop.
Runtime Contract
service1:
configuration:
probes:
liveness:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 5
timeoutSeconds: 1
readiness:
httpGet:
path: /ready
port: 8080
periodSeconds: 1
initialDelaySeconds: 4
timeoutSeconds: 1
variables:
- name: username
kind: environment
- name: password
kind: secret
output:
standard:
name: stdout
format: json
error:
name: stdout
format: json
metrics:
endpoint:
modality: pull
path: /metrics
format: prometheus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment