KubeControllerManagerConfigProperty Struct
The configuration for the Kubernetes controller manager on an Amazon EKS cluster.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const kubeControllerManagerConfigProperty: eks.CfnCluster.KubeControllerManagerConfigProperty = {
horizontalPodAutoscalerControllerConfig: {
horizontalPodAutoscalerSyncPeriod: 'horizontalPodAutoscalerSyncPeriod',
},
podGcControllerConfig: {
terminatedPodGcThreshold: 123,
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_eks as eks
kube_controller_manager_config_property = eks.CfnCluster.KubeControllerManagerConfigProperty(
horizontal_pod_autoscaler_controller_config=eks.CfnCluster.HorizontalPodAutoscalerControllerConfigProperty(
horizontal_pod_autoscaler_sync_period="horizontalPodAutoscalerSyncPeriod"
),
pod_gc_controller_config=eks.CfnCluster.PodGcControllerConfigProperty(
terminated_pod_gc_threshold=123
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;
KubeControllerManagerConfigProperty kubeControllerManagerConfigProperty = KubeControllerManagerConfigProperty.builder()
.horizontalPodAutoscalerControllerConfig(HorizontalPodAutoscalerControllerConfigProperty.builder()
.horizontalPodAutoscalerSyncPeriod("horizontalPodAutoscalerSyncPeriod")
.build())
.podGcControllerConfig(PodGcControllerConfigProperty.builder()
.terminatedPodGcThreshold(123)
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EKS;
var kubeControllerManagerConfigProperty = new KubeControllerManagerConfigProperty {
HorizontalPodAutoscalerControllerConfig = new HorizontalPodAutoscalerControllerConfigProperty {
HorizontalPodAutoscalerSyncPeriod = "horizontalPodAutoscalerSyncPeriod"
},
PodGcControllerConfig = new PodGcControllerConfigProperty {
TerminatedPodGcThreshold = 123
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
kubeControllerManagerConfigProperty := &KubeControllerManagerConfigProperty{
HorizontalPodAutoscalerControllerConfig: &HorizontalPodAutoscalerControllerConfigProperty{
HorizontalPodAutoscalerSyncPeriod: jsii.String("horizontalPodAutoscalerSyncPeriod"),
},
PodGcControllerConfig: &PodGcControllerConfigProperty{
TerminatedPodGcThreshold: jsii.Number(123),
},
}
Properties
horizontalPodAutoscalerControllerConfigoptionalIResolvable | CfnCluster.horizontal_pod_autoscaler_controller_configoptionaltyping.Union[IResolvable, HorizontalPodAutoscalerControllerConfigProperty]horizontalPodAutoscalerControllerConfigoptionalIResolvableHorizontalPodAutoscalerControllerConfigoptionalIResolvableHorizontalPodAutoscalerControllerConfigoptionalinterface{} #The horizontal pod autoscaler controller configuration.
podGcControllerConfigoptionalIResolvable | CfnCluster.pod_gc_controller_configoptionaltyping.Union[IResolvable, PodGcControllerConfigProperty]podGcControllerConfigoptionalIResolvablePodGcControllerConfigoptionalIResolvablePodGcControllerConfigoptionalinterface{} #The pod garbage collector controller configuration.