-
Notifications
You must be signed in to change notification settings - Fork 4.4k
(aws-eks): Can't enable control plane logging for fargate cluster #19302
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServiceRelated to Amazon Elastic Kubernetes ServicebugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp1
Description
What is the problem?
This MR added the ability to enable control plane logging for eks clusters. This doesn't work for a fargate cluster because the ClusterProps interface is not included in FargateCluster.
Can I make an MR where I move ClusterLogging to ClusterOptions? Also open to other solutions of course.
I thought I would ask and wait for your input first.
Reproduction Steps
Try to add
const cluster = new eks.FargateCluster(this, 'Cluster', {
// ...
version: eks.KubernetesVersion.V1_21,
clusterLogging: [
eks.ClusterLoggingTypes.API,
eks.ClusterLoggingTypes.AUTHENTICATOR,
eks.ClusterLoggingTypes.SCHEDULER,
],
});and see if it works.
What did you expect to happen?
Enabling logging for fargate clusters would be possible as well
What actually happened?
Nothing.
CDK CLI Version
2.14
Framework Version
No response
Node.js Version
16.13.2
OS
MacOs
Language
Typescript
Language Version
4.6.2
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServiceRelated to Amazon Elastic Kubernetes ServicebugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortgood first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdp1