# Módulos generados

<span style="font-weight: 400;">La ejecución de este plugin generará los siguientes agentes y módulos:</span>

- **Un agente llamado “Kubernetes”**<span style="font-weight: 400;">: Tendrá los datos de monitorización que no sean referente a contenedores y nodos. Contendrá los módulos:</span>
- **API status**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz ping**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz log**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz etcd**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz poststarthook crd informer synced**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz poststarthook generic apiserver start informers**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz poststarthook start apiextensions controllers**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Healthz poststarthook start apiextensions informers**<span style="font-weight: 400;">: Indica si el API es accesible por el plugin.</span>
- **Namespaces**<span style="font-weight: 400;">: Cantidad de “</span>*<span style="font-weight: 400;">namespaces</span>*<span style="font-weight: 400;">” en el entorno.</span>
- **Services**<span style="font-weight: 400;">: Cantidad de “</span>*<span style="font-weight: 400;">services</span>*<span style="font-weight: 400;">” en el entorno.</span>
- **Deployments**<span style="font-weight: 400;">: Cantidad de “</span>*<span style="font-weight: 400;">deployments</span>*<span style="font-weight: 400;">” en el entorno.</span>
- **Components**<span style="font-weight: 400;">: Cantidad de “</span>*<span style="font-weight: 400;">components</span>*<span style="font-weight: 400;">” en el entorno.</span>
- **Component &lt;component&gt;**<span style="font-weight: 400;">: Generará un módulo por cada “</span>*<span style="font-weight: 400;">component</span>*<span style="font-weight: 400;">” indicado su estado (healthy).</span>
- **&lt;metric module name&gt;**<span style="font-weight: 400;">: Generará un módulo por cada métrica indicada en el fichero de configuración (con los nombres indicados).</span>


- **Un agente para cada nodo**<span style="font-weight: 400;">: Su agente padre será el de “</span>*<span style="font-weight: 400;">Kubernetes</span>*<span style="font-weight: 400;">”. Contendrán los módulos:</span>
- **Pods**<span style="font-weight: 400;">: Cantidad de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” en el nodo.</span>
- **Pods (%)**<span style="font-weight: 400;">: Porcentaje de ocupación de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” en el nodo.</span>
- **CPU (cores)**<span style="font-weight: 400;">: Uso de CPU del nodo.</span>
- **CPU (%)**<span style="font-weight: 400;">: Porcentaje de uso de CPU del nodo.</span>
- **Memory (bytes)**<span style="font-weight: 400;">: Uso de memoria del nodo.</span>
- **Memory (%)**<span style="font-weight: 400;">: Porcentaje de uso de memoria del nodo.</span>
- **&lt;condition&gt;**<span style="font-weight: 400;">: Generará un módulo por cada “</span>*<span style="font-weight: 400;">condition</span>*<span style="font-weight: 400;">” en el nodo indicando su estado.</span>


- **Un agente para cada “pod”**<span style="font-weight: 400;">: Su agente padre será el del nodo en el que se encuentre. Contendrán los módulos:</span>
- **Pod status**<span style="font-weight: 400;">: Indica el estado del “</span>*<span style="font-weight: 400;">pod</span>*<span style="font-weight: 400;">”. Estados posibles:</span>
- <span style="font-weight: 400;">0 → Failed</span>
- <span style="font-weight: 400;">1 → Running</span>
- <span style="font-weight: 400;">2 → Succeeded</span>
- <span style="font-weight: 400;">3 → Pending</span>
- <span style="font-weight: 400;">4 → Unknown</span>

- **Containers**<span style="font-weight: 400;">: Cantidad de contenedores en el “</span>*<span style="font-weight: 400;">pod</span>*<span style="font-weight: 400;">”.</span>
- **Container &lt;container&gt; CPU (cores):** <span style="font-weight: 400;">Generará un módulo por cada “</span>*<span style="font-weight: 400;">container</span>*<span style="font-weight: 400;">” en el “</span>*<span style="font-weight: 400;">pod</span>*<span style="font-weight: 400;">” indicando el uso de CPU en el nodo.</span>
- **Container &lt;container&gt; CPU (%):** <span style="font-weight: 400;">Generará un módulo por cada “</span>*<span style="font-weight: 400;">container</span>*<span style="font-weight: 400;">” en el “</span>*<span style="font-weight: 400;">pod</span>*<span style="font-weight: 400;">” indicando el porcentaje de uso de CPU en el nodo.</span>
- **Container &lt;container&gt; memory (bytes):** <span style="font-weight: 400;">Generará un módulo por cada “</span>*<span style="font-weight: 400;">container</span>*<span style="font-weight: 400;">” en el “</span>*<span style="font-weight: 400;">pod</span>*<span style="font-weight: 400;">” indicando el uso de memoria en el nodo.</span>
- **Container &lt;container&gt; memory (%):** <span style="font-weight: 400;">Generará un módulo por cada “</span>*<span style="font-weight: 400;">container</span>*<span style="font-weight: 400;">” en el “</span>*<span style="font-weight: 400;">pod</span>*<span style="font-weight: 400;">” indicando el porcentaje de uso de CPU en el nodo.</span>
- **&lt;condition&gt;**<span style="font-weight: 400;">: Generará un módulo por cada “</span>*<span style="font-weight: 400;">condition</span>*<span style="font-weight: 400;">” en el “</span>*<span style="font-weight: 400;">pod</span>*<span style="font-weight: 400;">” indicando su estado.</span>


- **Un agente para cada despliegue**<span style="font-weight: 400;">: Su agente padre será el de “</span>*<span style="font-weight: 400;">Kubernetes</span>*<span style="font-weight: 400;">”. Contendrán los módulos:</span>
- **Replicas**<span style="font-weight: 400;">: Número total de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” objetivo del despliegue no terminados (Sus etiquetas coinciden con el selector).</span>
- **Updated replicas**<span style="font-weight: 400;">: Número total de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” objetivo del despliegue no terminados que tienen la plantilla de especificaciones deseada.</span>
- **Ready replicas**<span style="font-weight: 400;">: Número total de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” objetivo del despliegue preparados.</span>
- **Available replicas**<span style="font-weight: 400;">: Número total de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” objetivo del despliegue disponibles (preparados desde el al menos "</span>*<span style="font-weight: 400;">minReadySeconds</span>*<span style="font-weight: 400;">").</span>
- **Unavailable replicas**<span style="font-weight: 400;">: Número total de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” objetivo del despliegue no disponibles. Es el número total de “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” que todavía son necesarios para que el despliegue tenga disponible una capacidad del 100%. Pueden ser “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” que están iniciados pero aún no están disponibles o “</span>*<span style="font-weight: 400;">pods</span>*<span style="font-weight: 400;">” que aún no han sido creados.</span>
- **Available**<span style="font-weight: 400;">: Indica si el despliegue está disponible.</span>
- **Progressing**<span style="font-weight: 400;">: Indica si el despliegue está lanzando un nuevo “</span>*<span style="font-weight: 400;">replica set</span>*<span style="font-weight: 400;">”.</span>