We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 511ea0e commit 31516a2Copy full SHA for 31516a2
1 file changed
api/config.go
@@ -30,6 +30,9 @@ type Config struct {
30
// CPU is used to set process CPU limits. It can be set in terms of whole CPUs
31
// (ex 1) or in milli units to reflect the number of CPU shares (ex 500m).
32
CPU map[string]interface{} `json:"cpu,omitempty"`
33
+ // Timeout is used to set termination grace period. The key is the process name
34
+ // and the value is a number in seconds, e.g. 30
35
+ Timeout map[string]interface{} `json:"termination_grace_period,omitempty"`
36
// Healthcheck is map of healthchecks for each process that the application uses.
37
Healthcheck map[string]*Healthchecks `json:"healthcheck,omitempty"`
38
// Tags restrict applications to run on k8s nodes with that label.
0 commit comments