-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconf.sample.yaml
74 lines (72 loc) · 2.23 KB
/
conf.sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
some: other configs
random: 5
kubernetes-state-checker:
- ttype: serviceChecks
name: Checks for various aspects of a service
description: Allows you to check for various aspects of a service
namespace: hos-m2
# Input values for this specific check
values:
# The service name to act on
serviceName: healthapp-caregaps
# Port number to check if the `ports` check is enabled
port: 20014
checksEnabled:
# Check if there is a cluster IP associated with this endpoint
clusterIP: true
# Checks if there are endpoints associated to this service or not
endpoints: true
# Check if host port is enabled or not
hostPort: false
# Check if the port is the one that is specified above
ports: true
- ttype: deploymentChecks
name: Checks for various aspects of a deployment
description: Allows you to check for various aspects of a deployment
namespace: hos-m2
# Input values for this specific check
values:
# The service name to act on
deploymentName: healthapp-caregaps
checksEnabled:
containers:
- name: healthapp-caregaps-app
# Check if a set of environment variables are present
env:
- name: AUTH_ADDRESS
value: localhost:30004
# image:
# name: "something*:*"
# healthcheck:
# value: something
# Check if a configmap mount is set
configMapMounts:
- foo
- bar
- ttype: deploymentChecks
name: Checks that the deployment has 3 contianers
description: Allows you to check for various aspects of a deployment
namespace: hos-m2
# Input values for this specific check
values:
# The service name to act on
deploymentName: healthapp-caregaps
checksEnabled:
containers:
- name: healthapp-caregaps-app
- name: envoy
- name: opa
- ttype: podChecks
name: Checks that the pod is in a running state
description: Allows you to check for various aspects of a pod
namespace: hos-m2
# Input values for this specific check
values:
checksEnabled:
state:
# The pod name to act on. This is a regex field.
- podName: healthapp-caregaps-*
desiredState: Running
- podName: foo
desiredState: CrashLoopBackOff