Description
When Crossplane creates an ECS cluster without a Container Insights setting, the account setting for that Region can apply. Check the effective cluster setting separately from basic ECS metrics.
Potential impact
Without detailed resource metrics, it can be harder to isolate an affected service in a shared cluster.
Remediation
For a provider that supports spec.forProvider.settings, add name: containerInsights and value: enabled there. Check collection permissions and costs. For more container-level detail, check support for enhanced.
Examples
Before
yaml
apiVersion: ecs.aws.crossplane.io/v1alpha1
kind: Cluster
metadata:
name: example
spec:
forProvider:
region: us-east-1
After
yaml
apiVersion: ecs.aws.crossplane.io/v1alpha1
kind: Cluster
metadata:
name: example
spec:
forProvider:
region: us-east-1
settings:
- name: containerInsights
value: enabled
Once Crossplane has applied the change, check the cluster’s latest CloudWatch metrics, dashboard and alarms in us-east-1.