diff --git a/lib/single-new-eks-awsnative-fargate-observability-construct/index.ts b/lib/single-new-eks-awsnative-fargate-observability-construct/index.ts index 1634ee09..7276e7ac 100644 --- a/lib/single-new-eks-awsnative-fargate-observability-construct/index.ts +++ b/lib/single-new-eks-awsnative-fargate-observability-construct/index.ts @@ -39,7 +39,7 @@ export default class SingleNewEksAWSNativeFargateobservabilityConstruct { // Define fargate cluster provider and pass the profile options const fargateClusterProvider : blueprints.FargateClusterProvider = new blueprints.FargateClusterProvider({ fargateProfiles, - version: eks.KubernetesVersion.of("1.27") + version: eks.KubernetesVersion.of("1.28") }); const certManagerAddOnProps : blueprints.CertManagerAddOnProps = { @@ -50,7 +50,7 @@ export default class SingleNewEksAWSNativeFargateobservabilityConstruct { }; const coreDnsAddOnProps : blueprints.CoreDnsAddOnProps = { - version:"v1.10.1-eksbuild.1", + version:"v1.10.1-eksbuild.6", configurationValues:{ computeType: "Fargate" } diff --git a/lib/single-new-eks-fargate-opensource-observability-pattern/fluentbitconfig.yml b/lib/single-new-eks-fargate-opensource-observability-pattern/fluentbitconfig.yml new file mode 100644 index 00000000..5b767ce4 --- /dev/null +++ b/lib/single-new-eks-fargate-opensource-observability-pattern/fluentbitconfig.yml @@ -0,0 +1,42 @@ +kind: Namespace +apiVersion: v1 +metadata: + name: aws-observability + labels: + aws-observability: enabled +--- +kind: ConfigMap +apiVersion: v1 +metadata: + name: aws-logging + namespace: aws-observability +data: + flb_log_cw: "true" # Set to true to ship Fluent Bit process logs to CloudWatch. + filters.conf: | + [FILTER] + Name parser + Match * + Key_name log + Parser crio + [FILTER] + Name kubernetes + Match kube.* + Merge_Log On + Keep_Log Off + Buffer_Size 0 + Kube_Meta_Cache_TTL 300s + output.conf: | + [OUTPUT] + Name cloudwatch_logs + Match kube.* + region us-east-1 + log_group_name fargate-observability + log_stream_prefix from-fluent-bit- + auto_create_group true + parsers.conf: | + [PARSER] + Name crio + Format Regex + Regex ^(?