Agent Settings
The configmap cpln-byok-default
in the kube-system
namespace shows all available configuration options and their default values.
You can read the values in the configmap by running this kubectl command against the cluster:
kubectl get configmap -n kube-system cpln-byok-default -o yaml
Usage
To modify the configuration, update the configmap cpln-byok-current
in the kube-system
namespace.
Its recommended to store settings in a git repo or CI system so that they can be applied automatically for each new cluster.
Example cpln-byok-default configmap
General Configurations
Common configuration settings that may be available for each component, check the cpln-byok-default
configmap for availability.
Property | Type | Description |
---|---|---|
minCpu | string | Minimum CPU allocation |
maxCpu | string | Maximum CPU allocation |
minMemory | string | Minimum memory allocation |
maxMemory | string | Maximum memory allocation |
logLevel | string | Logging level for the actuator |
env | key: string[] | Optional environment variables for the component |
targetPercent | number | Target percentage for Horizontal CPU autoscaling |
pdb.minAvailable | number | Minimum number of available pods for the pod disruption budget |
replicas | number | Number of replicas |
Additional Options
Actuator
Actuator is responsible for syncing the configuration between the Control Plane API and the cluster. It has several environment variables that will control its behavior.
Log Splitter
Configuration for component that forwards logs for workloads to Control Plane.
Property | Type | Description |
---|---|---|
memBufferSize | string | Memory buffer size |
perPodRate | number | Max log records per second before rate limit; per pod |
Redis
Configuration for a Redis instance that is used by Control Plane.
Property | Type | Description |
---|---|---|
storage | string | Storage allocation for Redis in kubernetes storage capacity format. examples: 1Gi , 500Mi |