{"id":19417,"date":"2019-06-12T10:01:15","date_gmt":"2019-06-12T08:01:15","guid":{"rendered":"https:\/\/www.centreon.com\/superviser-kubernetes-et-docker-avec-centreon\/"},"modified":"2023-12-22T10:48:47","modified_gmt":"2023-12-22T09:48:47","slug":"superviser-kubernetes-et-docker-avec-centreon","status":"publish","type":"post","link":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/","title":{"rendered":"Superviser Kubernetes et Docker avec Centreon"},"content":{"rendered":"<p><strong>Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes.<\/strong><\/p>\n<p><span style=\"font-weight: 400;\">Kubernetes est la solution d&rsquo;orchestration de conteneurs en production la plus r\u00e9pandue pour le d\u00e9ploiement d&rsquo;applications et de microservices conteneuris\u00e9s. Et Prometheus s\u2019av\u00e8re pratique en tant qu\u2019unique point de collecte et d\u2019agr\u00e9gation de mesures pour les trois niveaux de votre environnement microservice : les n\u0153uds Kubernetes individuels, le cluster Kubernetes et les applications.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Dans cet article de blog, nous montrerons comment les plugins et Plugin Packs Centreon permettent de faciliter la supervision d\u2019un cluster Kubernetes via un serveur Prometheus. Nous commencerons par introduire Kubernetes et Prometheus. Puis, nous installerons et testerons le plugin Kubernetes. Enfin, nous montrerons comment utiliser le Plugin Pack pour superviser un cluster Kubernetes avant de pr\u00e9ciser les diff\u00e9rentes m\u00e9triques disponibles sur la plateforme Centreon.<\/span><\/p>\n<p><i>** La suite de cet article et le tutoriel sont r\u00e9dig\u00e9s en anglais **<\/i><\/p>\n<figure id=\"attachment_30205\" aria-describedby=\"caption-attachment-30205\" style=\"width: 890px\" class=\"wp-caption aligncenter\"><img fetchpriority=\"low\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-30204 size-full\" src=\"https:\/\/www.centreon.com\/wp-content\/uploads\/2019\/03\/Kubernetes-Architecture-Diagram.png\" alt=\"\" width=\"890\" height=\"630\" \/><figcaption id=\"caption-attachment-30205\" class=\"wp-caption-text\"><span style=\"color: #999999; font-size: 10pt;\">Kubernetes Architecture Diagram &#8211; By <a style=\"color: #999999;\" href=\"https:\/\/commons.wikimedia.org\/w\/index.php?curid=53571935\" target=\"_blank\" rel=\"noopener noreferrer\">Khtan66<\/a> &#8211; Own work, CC BY-SA 4.0<\/span><\/figcaption><\/figure>\n<h2><span style=\"color: #0072ce; font-size: 14pt;\">1. A quick introduction about Kubernetes and Prometheus<\/span><\/h2>\n<p><strong>Kubernetes<\/strong> is an open-source orchestration system for automating application deployment, scaling, and, management running in a containerized environment. Its development and design are heavily influenced by Google&rsquo;s Borg system, referring to the character Seven of Star Trek TV show, which also explains the seven spokes on the wheel of the Kubernetes logo. It is now maintained by the Cloud Native Computing Foundation.<\/p>\n<p>It consists of multiple complementary primitives that allow Kubernetes to automatically administer the lifecyle of containerized applications across a cluster of nodes.<\/p>\n<p>The key objects are:<\/p>\n<table style=\"width: 837px; border-color: #aaaaaa; border-style: solid;\">\n<tbody>\n<tr>\n<td style=\"width: 96.8px; border-style: solid; border-color: #aaaaaa;\"><strong>Nodes, Clusters and Namespaces<\/strong><\/td>\n<td style=\"width: 725.6px; border-style: solid; border-color: #aaaaaa;\">Nodes are physical or virtual machines running multiple Docker containers. A Cluster is made of a master node which orchestrate applications and multiple worker nodes who execute them. Namespaces are virtual clusters backed by a physical cluster.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 96.8px; border-style: solid; border-color: #aaaaaa;\"><strong>Pods &amp; Containers<\/strong><\/td>\n<td style=\"width: 725.6px; border-style: solid; border-color: #aaaaaa;\">The basic scheduling unit in Kubernetes is a\u00a0pod. It adds a higher level of abstraction by grouping containerized components. A pod consists of one or more containers that are guaranteed to be co-located on the host machine and can share resources.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 96.8px; border-style: solid; border-color: #aaaaaa;\"><strong>Deployments, Replica Sets, Daemonsets\u00a0<\/strong><\/td>\n<td style=\"width: 725.6px; border-style: solid; border-color: #aaaaaa;\">Deployments specify how to execute and operate an application. Deployments scale up and down pods and Replica Sets to reach a <em>desired state<\/em> for the application. Replica Sets orchestrate pod creation, updates and deletion. Daemonsets are used for background tasks or daemons that must run on all nodes: when adding a node to a cluster, the pods in a Daemonset are automatically started on that node.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><strong>Prometheus<\/strong> is an open-source Time-Series Database (TSDB) and\u00a0a graduated project of the Cloud Native Computing Foundation, along with Kubernetes. Several assets makes it convenient to monitor microservices in a Kubernetes environment:<\/p>\n<ul>\n<li>It excels at organizing data using labels, a good fit to Kubernetes own infrastructure metadata organization.<\/li>\n<li>It includes its own mechanism to <em>scrape<\/em> data\u00a0(to pull data, in Prometheus parlance) from all key components in a microservice architecture<\/li>\n<li>It provides several methods to automatically discover targets to be scraped, a key asset in very dynamic environments<\/li>\n<\/ul>\n<p>Prometheus scrapes raw data typically every 15 seconds, from exporters residing on Kubernetes nodes or from the services themselves. Centreon pulls consolidated metrics, typically every 5 minutes, using Prometheus flexible PromQL query language.<\/p>\n<p><img fetchpriority=\"low\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-30237 aligncenter\" src=\"https:\/\/www.centreon.com\/wp-content\/uploads\/2019\/03\/Monitoring-Kubernetes-from-Prometheus-300x143.png\" alt=\"\" width=\"600\" height=\"285\" \/><\/p>\n<p>In this tutorial, we&rsquo;ll assume your Kubernetes cluster is up and running and you have already installed and configured a Prometheus server that scrapes kube-state-metrics. The <a href=\"https:\/\/prometheus.io\/docs\/prometheus\/latest\/configuration\/configuration\/\" target=\"_blank\" rel=\"noopener noreferrer\">Prometheus documentation<\/a> is a good place to start if you need more info on this topic.<\/p>\n<p><strong>What will we monitor about our Kubernetes Cluster ?<\/strong><\/p>\n<ul>\n<li><strong>Namespaces<\/strong>: are my virtual clusters all available?<\/li>\n<li><strong>Nodes<\/strong>: are all the nodes in the cluster ready to schedule pods?<\/li>\n<li><strong>Deployments<\/strong>: are my deployments running according to their <em>desired state<\/em>?<\/li>\n<li><strong>Daemonsets<\/strong>: are my daemonsets up and running on all nodes?<\/li>\n<li><strong>Pods<\/strong>: how is the number of pods in each state (ready, running, terminated, waiting) evolving along the time, what are the reasons for terminated or waiting states, how is the number of restarts evolving?<\/li>\n<\/ul>\n<p>Let&rsquo;s start by installing and testing the Centreon Plugin before monitoring with the Plugin Pack.<\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #0072ce; font-size: 14pt;\">2. Installing and Testing the Prometheus-Kubernetes Centreon Plugin<\/span><\/h2>\n<p>Kubernetes is monitored by the\u00a0<span style=\"font-family: 'courier new', courier, monospace;\">centreon-plugin-Cloud-Prometheus-Kubernetes-Api<\/span> Plugin, which belongs to the open source Centreon Plugin library and is thus available from the Centreon standard repository.<\/p>\n<p>Use the CentOS7\/RedHat 7 <span style=\"font-family: 'courier new', courier, monospace;\">yum<\/span> command to install the plugin package from Centreon repository. This should be done on any Poller that queries the Prometheus server:<\/p>\n<pre style=\"background-color: #000000; color: #ffffff; font-size: 9pt; overflow-x: auto; padding: 1em 0.5em 1em;\">yum install centreon-plugin-Cloud-Prometheus-Kubernetes-Api.noarch<\/pre>\n<p>This will automatically install the required Perl dependencies:<\/p>\n<pre style=\"background-color: #000000; color: #ffffff; font-size: 9pt; overflow-x: auto; padding: 1em 0.5em 1em;\">DateTime\r\nJSON::XS\r\nURI::Encode<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">It\u2019s always a good practice to first test the plugin from the Command Line Interface, at the minimum to verify the connection to the Prometheus server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So l<\/span>et&rsquo;s make sure we can connect to the Prometheus&rsquo; API by running a command line to list all nodes of the cluster, using the\u00a0<span style=\"font-family: 'courier new', courier, monospace;\">list-nodes<\/span> mode:<\/p>\n<pre style=\"background-color: #000000; color: #ffffff; font-size: 9pt; overflow-x: auto; padding: 1em 0.5em 1em;\">\/usr\/lib\/centreon\/plugins\/centreon_prometheus_kubernetes_api.pl --plugin=cloud::prometheus::direct::kubernetes::plugin --mode=list-nodes --hostname=amzprometheus.int.centreon.com --url-path='\/api\/v1' --port='9090' --proto='http'\r\nList nodes:\r\n[node = amzkubemaster.int.centreon.com][os_image = CentOS Linux 7 (Core)][kubelet_version = v1.13.3][kubeproxy_version = v1.13.3][kernel_version = 3.10.0-957.5.1.el7.x86_64][container_runtime_version = docker:\/\/18.9.2]\r\n[node = amzkubenode1.int.centreon.com][os_image = CentOS Linux 7 (Core)][kubelet_version = v1.13.3][kubeproxy_version = v1.13.3][kernel_version = 3.10.0-957.5.1.el7.x86_64][container_runtime_version = docker:\/\/18.9.2]\r\n[node = amzkubenode2.int.centreon.com][os_image = CentOS Linux 7 (Core)][kubelet_version = v1.13.3][kubeproxy_version = v1.13.3][kernel_version = 3.10.0-957.5.1.el7.x86_64][container_runtime_version = docker:\/\/18.9.2]<\/pre>\n<ul>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">&#8211;hostname<\/span> is the name of your Prometheus server, default <span style=\"font-family: 'courier new', courier, monospace;\">&#8211;port<\/span> is 9090<\/li>\n<\/ul>\n<p><strong>Good<\/strong>! We got\u00a0the list of our three Kubernetes nodes and their software versions.<\/p>\n<p>Let&rsquo;s do a last test and use the plugin to actually check the cluster&rsquo;s nodes. This is done with the <span style=\"font-family: 'courier new', courier, monospace;\">node-status<\/span> mode:<\/p>\n<pre style=\"background-color: #000000; color: #ffffff; font-size: 9pt; overflow-x: auto; padding: 1em 0.5em 1em;\">\/usr\/lib\/centreon\/plugins\/centreon_prometheus_kubernetes_api.pl --plugin=cloud::prometheus::direct::kubernetes::plugin --mode=node-status --hostname=amzprometheus.int.centreon.com --url-path='\/api\/v1' --port='9090' --proto='http' --node='node=~\".*\"' --warning-status='' --critical-status='%{status} !~ \/Ready\/ || %{schedulable} =~ \/false\/' --warning-allocated-pods='' --critical-allocated-pods='' --units='' --verbose\r\nOK: All nodes status are ok | 'allocated_pods_k8s-kube-master'=25;;;0;110 'allocated_pods_k8s-kube-node1'=55;;;0;110 'allocated_pods_k8s-kube-node2'=66;;;0;110\r\nNode 'k8s-kube-master' Status is 'Ready', New Pods Schedulable : true - Pods Allocation Capacity : 110, Allocated : 25 (36.00%)\r\nNode 'k8s-kube-node1' Status is 'Ready', New Pods Schedulable : true - Pods Allocation Capacity : 110, Allocated : 55 (50.00%)\r\nNode 'k8s-kube-node2' Status is 'Ready', New Pods Schedulable : true - Pods Allocation Capacity : 110, Allocated : 66 (60.00%)<\/pre>\n<p><strong>Great<\/strong>! Our 3 nodes are OK and we precisely know their pods allocation details.<\/p>\n<p>The plugin is installed and connects properly to Prometheus: it is now time to use the Plugin Pack to start monitoring our Kubernetes Cluster.<\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #0072ce; font-size: 14pt;\">3. Using the Plugin Pack to start monitoring Kubernetes Clusters<\/span><\/h2>\n<p>Plugin Pack Manager is the name of the Centreon user interface to list, download and update 300+ Plugin Packs.<\/p>\n<ul>\n<li>Read the <a href=\"https:\/\/documentation.centreon.com\/docs\/plugins-packs\/en\/latest\/installation.html#installation\" target=\"_blank\" rel=\"noopener noreferrer\">Centreon Plugin Packs documentation<\/a> to install the latest Plugin Packs if your platform is <em>offline<\/em><\/li>\n<\/ul>\n<p>From the <strong>Configuration &gt; Plugin Packs &gt; Manager<\/strong> user interface, search for <em>kubernetes<\/em>:<\/p>\n<figure id=\"attachment_30211\" aria-describedby=\"caption-attachment-30211\" style=\"width: 1024px\" class=\"wp-caption alignnone\"><img fetchpriority=\"low\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-30210 size-large\" src=\"https:\/\/www.centreon.com\/wp-content\/uploads\/2019\/03\/Centreon-Kubernetes-Plugin-Pack-1024x470.png\" alt=\"\" width=\"1024\" height=\"470\" \/><figcaption id=\"caption-attachment-30211\" class=\"wp-caption-text\">Centreon Plugin Pack Manager user interface<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Install the\u00a0 <em>Kubernetes<\/em>\u00a0pack by clicking on the &lsquo;+&rsquo; button<\/span><\/li>\n<li><span style=\"font-weight: 400;\">As usual, the \u2018?\u2019 button will automatically redirects to the relevant Monitoring Procedure, including how to install the relevant Plugin<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">If the installation has been completed properly, you should find the host template <strong><em>Cloud-Prometheus-Kubernetes-Api-custom<\/em><\/strong>\u00a0in the <strong>Configuration &gt; Hosts &gt; Templates<\/strong> menu.<\/span><\/p>\n<p>To monitor your Kubernetes cluster, you need to create a new host with this template, with the following MACRO parameters:<\/p>\n<ul>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">PROMETHEUSAPIURL<\/span>: API and version you want to use (default \/api\/v1)<\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">PROMETHEUSAPIPORT<\/span>: Listening API port (default 9090)<\/li>\n<li><span style=\"font-family: 'courier new', courier, monospace;\">PROMETHEUSAPIPROTO<\/span>: Protocol used (http or https)<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Make sure you check the option to <strong><em>Create Services linked to the Template too<\/em><\/strong>:\u00a0this will automatically create and configure the Services<\/span><span style=\"font-weight: 400;\">\u00a0defined by the 5 Service Templates included in the Plugin Pack:<\/span><\/p>\n<ul>\n<li><strong><em>Cloud-Prometheus-Kubernetes-Namespace-Status-Api-custom<\/em><\/strong> for Namespaces monitoring<\/li>\n<li><strong><em>Cloud-Prometheus-Kubernetes-Node-Status-Api-custom<\/em><\/strong> to monitor the cluster nodes<\/li>\n<li><em><strong>Cloud-Prometheus-Kubernetes-Deployment-Status-Api-custom<\/strong><\/em> to monitor the Deployments<\/li>\n<li><em><strong>Cloud-Prometheus-Kubernetes-Daemonset-Status-Api-custom<\/strong><\/em> for Daemonsets monitoring<\/li>\n<li><em><strong>Cloud-Prometheus-Kubernetes-Container-Status-Api-custom<\/strong><\/em> for Pods and Containers monitoring<\/li>\n<\/ul>\n<p>You are now ready to\u00a0generate the configuration, export it and send it to the Poller:<\/p>\n<ul>\n<li>Follow the two steps of the\u00a0<a href=\"https:\/\/documentation.centreon.com\/docs\/centreon\/en\/latest\/configuration_guide\/deploy.html#deployconfiguration\" target=\"_blank\" rel=\"noopener noreferrer\">Deploying Configuration procedure<\/a>\u00a0in the Centreon documentation.<\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">You may verify Centreon is collecting metrics for your cluster in the\u00a0<strong>Monitoring &gt; Status Details &gt; Hosts<\/strong> user interface:<\/span><\/p>\n<p><img fetchpriority=\"low\" loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-30216 size-large\" src=\"https:\/\/www.centreon.com\/wp-content\/uploads\/2019\/03\/Kubernetes-Cluster-Event-Management-Centreon-1024x98.png\" alt=\"\" width=\"1024\" height=\"98\" \/><\/p>\n<p><strong>Done<\/strong>! You are now monitoring your Kubernetes cluster through Prometheus.<\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #0072ce; font-size: 14pt;\">4. Detailing the metrics Centreon is monitoring<\/span><\/h2>\n<p>Metrics were chosen to check the main components of Kubernetes. All metrics collected are described in detail in the kube-state-metrics <a href=\"https:\/\/github.com\/kubernetes\/kube-state-metrics\/tree\/master\/docs#exposed-metrics\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub documentation<\/a>. By default,\u00a0all metrics are collected. It&rsquo;s possible to configure filters in PromQL format to collect particular monitoring dimensions.<\/p>\n<h5><strong>Namespace-Status Service\u00a0<\/strong><\/h5>\n<p>Kubernetes Namespaces are useful to divide a physical cluster into multiple virtual clusters. This is typically used in development environments.<\/p>\n<p>The Namespace-Status service monitors each Namespace and alerts if one or more namespaces is not in the <em>Active<\/em> status.<\/p>\n<table style=\"border-style: solid; border-color: #aaaaaa; width: 499px;\">\n<tbody>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 170.568px;\"><strong>Centreon metrics name<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 219.659px;\"><strong>legacy kube-state-metrics<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 86.9318px;\"><strong>Type\u00a0<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 170.568px;\">&#8211; status<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 219.659px;\">kube_namespace_status_phase<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 86.9318px;\">status string<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h6><\/h6>\n<h5><strong>Node-Status Service<\/strong><\/h5>\n<p>A Kubernetes cluster is made of nodes. The goal of Kubernetes is to schedule pods across nodes to share the load while achieving the deployments&rsquo; desired state.<\/p>\n<ul>\n<li>The Node-Status Service monitors the <em>condition<\/em> of each node: a node is in <em>ready condition<\/em> if it has enough resources to schedule pods. Otherwise, its <em>condition<\/em> indicates why it can&rsquo;t schedule pods: no enough disk or memory, unavailable network, etc.<\/li>\n<li>A node may also be marked as <em>unschedulable<\/em>: this prevents\u00a0new pods from being scheduled to that node, but does not affect any existing pods on the node.<\/li>\n<li>This service also monitors the number of pods (<em>capacity<\/em>) deployed on each node\u00a0and compares this to the <em>allocatable<\/em> capacity of the node.<\/li>\n<\/ul>\n<p>By default, alerts are triggered when the following conditions are met:<\/p>\n<ul>\n<li>At least one node in the cluster is not in <em>ready condition<\/em><\/li>\n<li>At least one node is marked as <em>unschedulable<\/em><\/li>\n<li>The percentage of allocatable pods being scheduled (<em>capacity percent)<\/em>\u00a0reaches a threshold<\/li>\n<\/ul>\n<table style=\"border-style: solid; border-color: #aaaaaa; width: 562px;\">\n<tbody>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 223.295px;\"><strong>Centreon metrics name<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 187.841px;\"><strong>legacy\u00a0kube-state-metrics<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 129.659px;\"><strong>Type\u00a0<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 223.295px;\">&#8211; status<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 187.841px;\">kube_node_status_condition<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 129.659px;\">status string<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 223.295px;\">&#8211; schedulable<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 187.841px;\">kube_node_spec_unschedulable<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 129.659px;\">status string<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 223.295px;\">&#8211; capacity<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 187.841px;\">kube_node_status_capacity_pods<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 129.659px;\">absolute<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 223.295px;\">&#8211; allocatable<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 187.841px;\">kube_node_status_allocatable_pods<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 129.659px;\">absolute<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 223.295px;\">&#8211; pods.allocated.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 187.841px;\">kubelet_running_pod_count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 129.659px;\">absolute<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 223.295px;\">&#8211; prct_allocated<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 187.841px;\">N\/A<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 129.659px;\">percent<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5><\/h5>\n<h5><strong>Deployment-Status Service\u00a0<\/strong><\/h5>\n<p>Deployments are Kubernetes way of scaling containerized stateless applications.\u00a0A deployment runs multiple replicas of the application pods across the cluster and automatically replaces any instances that fail or become unresponsive.\u00a0The deployment ensures that the desired number of pods are running and available at all times.<\/p>\n<p>The Deployment-Status Service monitors the status of all deployments on the cluster. It monitors that the current number of replica for a deployment matches its specified desired number. An alert is triggered when the current number is lower than the desired number.<\/p>\n<table style=\"border-style: solid; border-color: #aaaaaa; width: 687px; height: 134px;\">\n<tbody>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 278px; height: 23px;\"><strong>Nom m\u00e9trique Centreon<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 321px; height: 23px;\"><strong>legacy kube-state-metrics<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 66px; height: 23px;\"><strong>Type\u00a0<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 278px; height: 23px;\">&#8211; deployment.replicas.desired.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 321px; height: 23px;\">kube_deployment_spec_replicas<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 66px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 278px; height: 23px;\">&#8211; deployment.replicas.current.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 321px; height: 23px;\">kube_deployment_status_replicas<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 66px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 19px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 278px; height: 19px;\">&#8211; deployment.replicas.available.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 321px; height: 19px;\">kube_deployment_status_replicas_available<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 66px; height: 19px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 278px; height: 23px;\">&#8211; deployment.replicas.unavailable.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 321px; height: 23px;\">kube_deployment_status_replicas_unavailable<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 66px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 278px; height: 23px;\">&#8211; deployment.replicas.uptodate.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 321px; height: 23px;\">kube_deployment_status_replicas_updated<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 66px; height: 23px;\">absolute<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h5><strong>Daemonset-Status Service<\/strong><\/h5>\n<p>Deamonsets ensure that all (or some) nodes run a copy of some specific pods. This is useful to make sure each time a node is added to the cluster, some mandatory daemons are immediately spawn: a Prometheus Node Exporter monitoring daemon for example, or some log collection daemons such as fluentd or logstash.<\/p>\n<p>The Daemonset-Status Service monitors the status of all daemonsets deployed on the cluster. It triggers an alert when the following conditions apply:<\/p>\n<ul>\n<li>Some daemonsets are unavailable (ie some nodes don&rsquo;t run their pods)<\/li>\n<li>Some daemonsets are misscheduled (ie some nodes run pods they shouldn&rsquo;t run)<\/li>\n<\/ul>\n<table style=\"border-style: solid; border-color: #aaaaaa; width: 725px; height: 158px;\">\n<tbody>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 23px;\"><strong>Centreon metrics name<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 23px;\"><strong>legacy kube-state-metrics<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 23px;\"><strong>Type\u00a0<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 23px;\">&#8211; daemonset.nodes.desired.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 23px;\">kube_daemonset_status_desired_number_scheduled<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 23px;\">&#8211; daemonset.nodes.current.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 23px;\">kube_daemonset_status_current_number_scheduled<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 23px;\">&#8211; daemonset.nodes.available.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 23px;\">kube_daemonset_status_number_available<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 23px;\">&#8211; daemonset.nodes.unavailable.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 23px;\">kube_daemonset_status_number_unavailable<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 10px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 10px;\">&#8211; daemonset.nodes.uptodate.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 10px;\">kube_daemonset_updated_number_scheduled<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 10px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 23px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 23px;\">&#8211; daemonset.nodes.ready.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 23px;\">kube_daemonset_status_number_ready<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 23px;\">absolute<\/td>\n<\/tr>\n<tr style=\"height: 10px;\">\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 275px; height: 10px;\">&#8211; daemonset.nodes.misscheduled.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 361px; height: 10px;\">kube_daemonset_status_number_misscheduled<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 67px; height: 10px;\">absolute<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h5><strong>Container-Status Service<\/strong><\/h5>\n<p>Containers are grouped into pods. While Kubernetes orchestrate the scheduling of pods accross all the nodes in the cluster, the containers in each of the pods have a status: ready, running, terminated, waiting, restarted.<\/p>\n<p>The Container-Status Service monitors over time the number of pods in each status,<\/p>\n<p>These metrics related to pods and containers status. It&rsquo;s possible to alert on:<\/p>\n<ul>\n<li>States and status of pod&rsquo;s containers (running, stopped, ready, etc.) and the reason for this status when it&rsquo;s necessary.<\/li>\n<li>The number of restart for each container.<\/li>\n<\/ul>\n<table style=\"border-style: solid; border-color: #aaaaaa; width: 650px;\">\n<tbody>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 192px;\"><strong>Centreon metrics name<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 338px;\"><strong>legacy kube-state-metrics<\/strong><\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 98px;\"><strong>Type\u00a0<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 192px;\">&#8211; status<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 338px;\">kube_pod_container_status_running, kube_pod_container_status_waiting, kube_pod_container_status_terminated<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 98px;\">status string<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 192px;\">&#8211; reason<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 338px;\">kube_pod_container_status_terminated_reason, kube_pod_container_status_waiting_reason<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 98px;\">status string<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 192px;\">&#8211; state<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 338px;\">kube_pod_container_status_ready<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 98px;\">status string<\/td>\n<\/tr>\n<tr>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 192px;\">&#8211; containers.restarts.count<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 338px;\">kube_pod_container_status_restarts_total<\/td>\n<td style=\"border-style: solid; border-color: #aaaaaa; width: 98px;\">absolute<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #0072ce; font-size: 14pt;\">5. What&rsquo;s next?<\/span><\/h2>\n<h5><strong>Viewing the availability and performance of your Kubernetes infrastructure<\/strong><\/h5>\n<p><span style=\"font-weight: 400;\">From there on, you can build views to see and share the performance and availability of your Kubernetes cluster using Centreon dedicated tools: Custom View for tactical dashboards, MAP for graphical dashboards and MBI for weekly and monthly analytics reports.<\/span><\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_30215\" aria-describedby=\"caption-attachment-30215\" style=\"width: 845px\" class=\"wp-caption alignnone\"><img fetchpriority=\"low\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-30214 size-full\" src=\"https:\/\/www.centreon.com\/wp-content\/uploads\/2019\/03\/Real-time-Kubernetes-cluster-monitoring.png\" alt=\"\" width=\"845\" height=\"486\" \/><figcaption id=\"caption-attachment-30215\" class=\"wp-caption-text\">Centreon MAP real-time view of a Kubernetes Cluster &#8211; Example<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<h5><strong>Extending the monitoring to individual nodes or to applications<\/strong><\/h5>\n<p>In this tutorial we focused on monitoring the overall cluster and its orchestration function. Other Centreon Plugins and Plugin Packs let you extend the monitoring beyond the cluster itself:<\/p>\n<ul>\n<li><strong><em>Node Exporter<\/em><\/strong> Plugin Pack \/ <em><strong>Cloud-Prometheus-Node-Exporter-Api<\/strong><\/em> Plugin: to monitor the system metrics of each node individually (CPU, Load, Memory, Storage)<\/li>\n<li><strong><em>cAdvisor<\/em><\/strong> Plugin Pack \/ <em><strong>Cloud-Prometheus-cAdvisor-Api<\/strong><\/em> Plugin: to deep dive into the resource consumption of your applications containers (CPU, Load, Memory, Storage)<\/li>\n<li><strong><em>Prometheus<\/em><\/strong> Plugin Plack \/ <em><strong>Cloud-Prometheus-Api<\/strong><\/em> Plugin: to monitor the health of your Prometheus server, or to access any custom metrics using your own PromQL query<\/li>\n<\/ul>\n<p>Playing around with Docker without a full Kubernetes + Prometheus infrastructure? We also provide a Plugin Pack that directly connects to the Docker API:<\/p>\n<ul>\n<li><em><strong>Docker<\/strong><\/em> Plugin Pack \/ <em><strong>App-Docker-Restapi<\/strong><\/em> Plugin: to check Docker Nodes connecting to the Doker Rest API<\/li>\n<\/ul>\n<h5><strong>Your turn to play with Centreon<\/strong><\/h5>\n<ul>\n<li><a href=\"https:\/\/download.centreon.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Download<\/a> Centreon.<\/li>\n<li><a href=\"https:\/\/www.centreon.com\/resource-type\/tutorials-resources\/\" target=\"_blank\" rel=\"noopener noreferrer\">Check our tutorials catalog<\/a> including: Monitoring AWS, Monitoring Microsoft Azure&#8230;<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes. Kubernetes est la solution d&rsquo;orchestration de conteneurs en production la plus r\u00e9pandue pour le d\u00e9ploiement d&rsquo;applications et&nbsp;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":23331,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"post-type":[100],"theme":[1012,1015,1016,1020],"class_list":["post-19417","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","post-type-tutoriels","theme-centreon-business-edition-fr","theme-plugin-packs-fr","theme-centreon-epp-fr","theme-centreon-fr"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Superviser Kubernetes et Docker avec Centreon<\/title>\n<meta name=\"description\" content=\"Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Superviser Kubernetes et Docker avec Centreon\" \/>\n<meta property=\"og:description\" content=\"Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/\" \/>\n<meta property=\"og:site_name\" content=\"Centreon\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CentreonMonitoring\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-12T08:01:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-22T09:48:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.centreon.com\/wp-content\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1097\" \/>\n\t<meta property=\"og:image:height\" content=\"717\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Thomas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CentreonFR\" \/>\n<meta name=\"twitter:site\" content=\"@CentreonFR\" \/>\n<meta name=\"twitter:label1\" content=\"\u00c9crit par\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thomas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/\"},\"author\":{\"name\":\"Thomas\",\"@id\":\"https:\/\/www.centreon.com\/fr\/#\/schema\/person\/c5bd0f4e75adbd1ee75f5d1f8a7ff419\"},\"headline\":\"Superviser Kubernetes et Docker avec Centreon\",\"datePublished\":\"2019-06-12T08:01:15+00:00\",\"dateModified\":\"2023-12-22T09:48:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/\"},\"wordCount\":2234,\"publisher\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg\",\"inLanguage\":\"fr-FR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/\",\"url\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/\",\"name\":\"Superviser Kubernetes et Docker avec Centreon\",\"isPartOf\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg\",\"datePublished\":\"2019-06-12T08:01:15+00:00\",\"dateModified\":\"2023-12-22T09:48:47+00:00\",\"description\":\"Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage\",\"url\":\"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg\",\"contentUrl\":\"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg\",\"width\":1097,\"height\":717},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.centreon.com\/fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Superviser Kubernetes et Docker avec Centreon\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.centreon.com\/fr\/#website\",\"url\":\"https:\/\/www.centreon.com\/fr\/\",\"name\":\"Centreon\",\"description\":\"Just another WordPress site\",\"publisher\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.centreon.com\/fr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.centreon.com\/fr\/#organization\",\"name\":\"Centreon\",\"url\":\"https:\/\/www.centreon.com\/fr\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.centreon.com\/fr\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.centreon.com\/wp-content\/uploads\/2023\/07\/Logo_Centreon_Email_Signature_light_02.png\",\"contentUrl\":\"https:\/\/www.centreon.com\/wp-content\/uploads\/2023\/07\/Logo_Centreon_Email_Signature_light_02.png\",\"width\":180,\"height\":42,\"caption\":\"Centreon\"},\"image\":{\"@id\":\"https:\/\/www.centreon.com\/fr\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/CentreonMonitoring\/\",\"https:\/\/x.com\/CentreonFR\",\"https:\/\/www.linkedin.com\/company\/centreonsoftware\/\",\"https:\/\/www.youtube.com\/channel\/UCIKJKvZ8acLmEg2fCdDzsvA\",\"https:\/\/fr.wikipedia.org\/wiki\/Centreon\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.centreon.com\/fr\/#\/schema\/person\/c5bd0f4e75adbd1ee75f5d1f8a7ff419\",\"name\":\"Thomas\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/www.centreon.com\/fr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1d4c181e1a496d3d6d25441adb6830a23883e0f93ed97a30e4616fea3c950268?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1d4c181e1a496d3d6d25441adb6830a23883e0f93ed97a30e4616fea3c950268?s=96&d=mm&r=g\",\"caption\":\"Thomas\"},\"sameAs\":[\"http:\/\/centreon.stagewink.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Superviser Kubernetes et Docker avec Centreon","description":"Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/","og_locale":"fr_FR","og_type":"article","og_title":"Superviser Kubernetes et Docker avec Centreon","og_description":"Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes.","og_url":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/","og_site_name":"Centreon","article_publisher":"https:\/\/www.facebook.com\/CentreonMonitoring\/","article_published_time":"2019-06-12T08:01:15+00:00","article_modified_time":"2023-12-22T09:48:47+00:00","og_image":[{"width":1097,"height":717,"url":"https:\/\/www.centreon.com\/wp-content\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg","type":"image\/jpeg"}],"author":"Thomas","twitter_card":"summary_large_image","twitter_creator":"@CentreonFR","twitter_site":"@CentreonFR","twitter_misc":{"\u00c9crit par":"Thomas","Dur\u00e9e de lecture estim\u00e9e":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#article","isPartOf":{"@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/"},"author":{"name":"Thomas","@id":"https:\/\/www.centreon.com\/fr\/#\/schema\/person\/c5bd0f4e75adbd1ee75f5d1f8a7ff419"},"headline":"Superviser Kubernetes et Docker avec Centreon","datePublished":"2019-06-12T08:01:15+00:00","dateModified":"2023-12-22T09:48:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/"},"wordCount":2234,"publisher":{"@id":"https:\/\/www.centreon.com\/fr\/#organization"},"image":{"@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage"},"thumbnailUrl":"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg","inLanguage":"fr-FR"},{"@type":"WebPage","@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/","url":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/","name":"Superviser Kubernetes et Docker avec Centreon","isPartOf":{"@id":"https:\/\/www.centreon.com\/fr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage"},"image":{"@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage"},"thumbnailUrl":"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg","datePublished":"2019-06-12T08:01:15+00:00","dateModified":"2023-12-22T09:48:47+00:00","description":"Dans ce tutoriel, nous d\u00e9crirons comment Centreon peut superviser des conteneurs Docker orchestr\u00e9s au sein d\u2019un cluster Kubernetes.","breadcrumb":{"@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/"]}]},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#primaryimage","url":"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg","contentUrl":"https:\/\/www.centreon.com\/uploads\/2022\/10\/Centreon-monitoring-tutorial-kubernetes-docker.jpg","width":1097,"height":717},{"@type":"BreadcrumbList","@id":"https:\/\/www.centreon.com\/fr\/superviser-kubernetes-et-docker-avec-centreon\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.centreon.com\/fr\/"},{"@type":"ListItem","position":2,"name":"Superviser Kubernetes et Docker avec Centreon"}]},{"@type":"WebSite","@id":"https:\/\/www.centreon.com\/fr\/#website","url":"https:\/\/www.centreon.com\/fr\/","name":"Centreon","description":"Just another WordPress site","publisher":{"@id":"https:\/\/www.centreon.com\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.centreon.com\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/www.centreon.com\/fr\/#organization","name":"Centreon","url":"https:\/\/www.centreon.com\/fr\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.centreon.com\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.centreon.com\/wp-content\/uploads\/2023\/07\/Logo_Centreon_Email_Signature_light_02.png","contentUrl":"https:\/\/www.centreon.com\/wp-content\/uploads\/2023\/07\/Logo_Centreon_Email_Signature_light_02.png","width":180,"height":42,"caption":"Centreon"},"image":{"@id":"https:\/\/www.centreon.com\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CentreonMonitoring\/","https:\/\/x.com\/CentreonFR","https:\/\/www.linkedin.com\/company\/centreonsoftware\/","https:\/\/www.youtube.com\/channel\/UCIKJKvZ8acLmEg2fCdDzsvA","https:\/\/fr.wikipedia.org\/wiki\/Centreon"]},{"@type":"Person","@id":"https:\/\/www.centreon.com\/fr\/#\/schema\/person\/c5bd0f4e75adbd1ee75f5d1f8a7ff419","name":"Thomas","image":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/www.centreon.com\/fr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1d4c181e1a496d3d6d25441adb6830a23883e0f93ed97a30e4616fea3c950268?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1d4c181e1a496d3d6d25441adb6830a23883e0f93ed97a30e4616fea3c950268?s=96&d=mm&r=g","caption":"Thomas"},"sameAs":["http:\/\/centreon.stagewink.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/posts\/19417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/comments?post=19417"}],"version-history":[{"count":3,"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/posts\/19417\/revisions"}],"predecessor-version":[{"id":34345,"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/posts\/19417\/revisions\/34345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/media\/23331"}],"wp:attachment":[{"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/media?parent=19417"}],"wp:term":[{"taxonomy":"post-type","embeddable":true,"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/post-type?post=19417"},{"taxonomy":"theme","embeddable":true,"href":"https:\/\/www.centreon.com\/fr\/wp-json\/wp\/v2\/theme?post=19417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}