|
|
@ -20,11 +20,12 @@ type RedisSpec struct { |
|
|
|
PersistentVolumeSize resource.Quantity `json:"persistentVolumeSize,omitempty"` // default 1Gi
|
|
|
|
|
|
|
|
// haproxy
|
|
|
|
UseHAProxy bool `json:"useHAProxy,omitempty"` // set true to activate HAProxy deployment
|
|
|
|
HAProxyImage string `json:"haproxyImage,omitempty"` // override default haproxy:1.9.4-alpine
|
|
|
|
HAProxyReplicas *int32 `json:"haproxyReplicas,omitempty"` // override default 1
|
|
|
|
HAProxyTimeoutServer int `json:"haproxyTimeoutServer,omitempty"` // default 30
|
|
|
|
HAProxyTimeoutClient int `json:"haproxyTimeoutClient,omitempty"` // default 30
|
|
|
|
UseHAProxy bool `json:"useHAProxy,omitempty"` // set true to activate HAProxy deployment
|
|
|
|
HAProxyImage string `json:"haproxyImage,omitempty"` // override default haproxy:1.9.4-alpine
|
|
|
|
HAProxyReplicas *int32 `json:"haproxyReplicas,omitempty"` // override default 1
|
|
|
|
HAProxyTimeoutServer int `json:"haproxyTimeoutServer,omitempty"` // default 30 (seconds)
|
|
|
|
HAProxyTimeoutClient int `json:"haproxyTimeoutClient,omitempty"` // default 30 (seconds)
|
|
|
|
HAProxyBackendCheckInterval int `json:"haproxyBackendCheckInterval,omitempty"` // default 1 (seconds)
|
|
|
|
|
|
|
|
// manage resources
|
|
|
|
PodRequests *v1.ResourceList `json:"podRequests,omitempty"` |
|
|
|