Parameters
The parent key for all of the following parameters is cloudscale_loadbalancer_controller
.
namespace
type |
string |
default |
|
The namespace in which to deploy this component.
manifest_version
type |
string |
default |
|
The version of the upstream kustomize manifest to use.
Defaults to the cloudscale_loadbalancer_controller
image tag.
kustomize_input
type |
dict |
default |
|
Additional input for kustomize can be specified here.
Injects the component namespace into the kustomize build by default.
secrets
type |
dict |
default |
|
example |
|
A list of secrets to be made available to the component. The dictionary keys are the secret names, and the values are the secret manifests.
loadbalancers
type |
dict |
default |
{} |
example |
|
Allows specifying load balancers. The dictionary keys are the load balancer names, and the values are the load balancer manifests.
.spec._pools
allows defining the load balancer pool configurations that can be overridden in the hierarchy.
The .spec._pools
dictionary keys are used as the pool names while the values are the pool configurations.
.spec._pools
are merged into the upstream .spec.pools
configurations.
extra_env
type |
dict |
default |
|
example |
|
A list of environment variables to be injected into the containers.
Can be used to inject the required CLOUDSCALE_API_TOKEN
environment variable.
resources
type |
dict |
default |
|
Allows customizing the resource requests and limits for the component.
Example
extra_env:
cloudscale_loadbalancer_controller:
CLOUDSCALE_API_TOKEN:
secretKeyRef:
name: cloudscale-api-token
key: token
secrets:
cloudscale-api-token:
stringData:
token: notsosecret
loadbalancers:
api:
spec:
_pools:
https:
frontend:
port: 443
backend:
nodeSelector:
matchLabels:
node-role.kubernetes.io/infra: ""
port: 443
healthMonitor:
type: TCP