ClusterLoggingTypes Enum
EKS cluster logging types.
Example
ts
import { KubectlV36Layer } from '@aws-cdk/lambda-layer-kubectl-v36';
const cluster = new eks.Cluster(this, 'Cluster', {
// ...
version: eks.KubernetesVersion.V1_36,
clusterLogging: [
eks.ClusterLoggingTypes.API,
eks.ClusterLoggingTypes.AUTHENTICATOR,
eks.ClusterLoggingTypes.SCHEDULER,
],
kubectlLayer: new KubectlV36Layer(this, 'kubectl'),
});
Members
| Member | Description |
|---|---|
API | Logs pertaining to API requests to the cluster. |
AUDIT | Logs pertaining to cluster access via the Kubernetes API. |
AUTHENTICATOR | Logs pertaining to authentication requests into the cluster. |
CONTROLLER_MANAGER | Logs pertaining to state of cluster controllers. |
SCHEDULER | Logs pertaining to scheduling decisions. |
Referenced by
ClusterOptions.clusterLoggingcluster_loggingclusterLoggingClusterLoggingClusterLogging