To Activate Cluster Monitoring Using a Declarative Approach in AKP
To enable monitoring for a specific cluster in the Akuity Platform, use the declarative approach by setting the multiClusterK8sDashboardEnabled
field under the spec.data
section of the Cluster
resource definition.
This option enables cluster-level monitoring features such as metrics and dashboards for the specified cluster.
apiVersion: argocd.akuity.io/v1alpha1
kind: Cluster
metadata:
name: my-cluster
namespace: akuity
spec:
data:
appReplication: false
autoUpgradeDisabled: false
datadogAnnotationsEnabled: false
eksAddonEnabled: false
kustomization:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patches:
- patch: |
apiVersion: apps/v1
...
multiClusterK8sDashboardEnabled: true # Enables monitoring
redisTunneling: false
size: small
targetVersion: 0.5.58
Once this manifest is applied, monitoring is activated for the specified cluster via the multi-cluster Kubernetes dashboard integration.
For further kustomization, consider reviewing the cluster specification documentation on the Akuity Docs site.