To complete the setup of Container Insights, you can follow the quick start instructions in this section.
From your Cloud9 Terminal you will just need to run the following command.
curl -s https://raw.githubusercontent.com/aws-samples/amazon-cloudwatch-container-insights/latest/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart/cwagent-fluentd-quickstart.yaml | sed "s/{{cluster_name}}/eksworkshop-eksctl/;s/{{region_name}}/${AWS_REGION}/" | kubectl apply -f -
The command above will:
Namespace
amazon-cloudwatch.SecurityAccount
.ClusterRole
.ClusterRoleBinding
.DaemonSet
.DaemonSet
.ConfigMap
configurations for both DaemonSets.You can find the full information and manual install steps here.
You can verify all the DaemonSets
have been deployed by running the following command.
kubectl -n amazon-cloudwatch get daemonsets
Output
That’s it. It’s that simple to install the agent and get it up and running. You can follow the manual steps in the full documentation, but with the Quickstart the deployment of the Daemon is easy and quick!