Outcold Solutions LLC

Monitoring Kubernetes - Version 4

You are looking at documentation for an older release. See the current release documentation.

Monitoring Kubernetes - Upgrade from version 3 to 4

Important changes:

  1. Instead of deploying one DaemonSet our configurations deploy 2 DaemonSet and 1 Deployment. One DaemonSet with configurations specific for Masters, second DaemonSet with configurations specific for Nodes (non-Masters). And one Deployment, which collects data from the whole cluster.
  2. DaemonSet is deployed within host network, to be able to connect to system components and collect metrics from them.
  3. All workloads and configurations are moved under collectorforkubernetes Project.
  4. Process and container metrics have a different format, which makes it impossible to use collector v4 with Splunk application v3. After migrating all components to v4, you should be able to see all data, including data, collected before the upgrade.
  5. ClusterRole includes more endpoints, to be able to collect metrics exported with Prometheus format.
  6. ConfigMap consists of a group of configurations, which allows mapping parts of configuration to used workloads.
  7. Before we showed default values of the configuration under commentaries. Now all the default values need to be explicitly defined in the configurations.

Upgrade Splunk application

Download version 4.0 from SplunkBase.

Upgrade collector

Delete currently deployed version of collector for kubernetes.

kubectl delete daemonset collectorforkubernetes --namespace default
kubectl delete configmap collectorforkubernetes --namespace default
kubectl delete clusterroleBinding collectorforkubernetes --namespace default
kubectl delete clusterrole collectorforkubernetes
kubectl delete serviceaccount collectorforkubernetes --namespace default

Download latest Configuration Reference to be able to upgrade to version 4 of collectorforkubernetes.

Follow installation instructions Monitoring Kubernetes Installation

About Outcold Solutions

Outcold Solutions provides solutions for monitoring Kubernetes, OpenShift and Docker clusters in Splunk Enterprise and Splunk Cloud. We offer certified Splunk applications, which give you insights across all containers environments. We are helping businesses reduce complexity related to logging and monitoring by providing easy-to-use and deploy solutions for Linux and Windows containers. We deliver applications, which help developers monitor their applications and operators to keep their clusters healthy. With the power of Splunk Enterprise and Splunk Cloud, we offer one solution to help you keep all the metrics and logs in one place, allowing you to quickly address complex questions on container performance.