File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ type Config struct {
3030 // CPU is used to set process CPU limits. It can be set in terms of whole CPUs
3131 // (ex 1) or in milli units to reflect the number of CPU shares (ex 500m).
3232 CPU map [string ]interface {} `json:"cpu,omitempty"`
33- // Healthchecks are the healthchecks that the application uses.
34- Healthcheck map [string ]* Healthcheck `json:"healthcheck,omitempty"`
33+ // Healthcheck is map of healthchecks for each process that the application uses.
34+ Healthcheck map [string ]* Healthchecks `json:"healthcheck,omitempty"`
3535 // Tags restrict applications to run on k8s nodes with that label.
3636 Tags map [string ]interface {} `json:"tags,omitempty"`
3737 // Registry is a key-value pair to provide authentication for docker registries.
@@ -54,6 +54,10 @@ type ConfigHookRequest struct {
5454 App string `json:"receive_repo"`
5555}
5656
57+ // Healthchecks is a map of healthcheck probes.
58+ // The valid values are "livenessProbe" and "readinessProbe".
59+ type Healthchecks map [string ]* Healthcheck
60+
5761// Healthcheck is the structure for an application healthcheck.
5862// Healthchecks only need to provide information about themselves.
5963// All the information is pushed to the server and handled by kubernetes.
You can’t perform that action at this time.
0 commit comments