Skip to main content

Kubernetes 360 Prerequisites

Kubernetes 360 application provides an overview of your Kubernetes data, providing a quick overview of your current deployments, pods, and more useful information regarding your environment.

Main dashboard

Manually shipping Kubernetes data

If you already have Kubernetes 360 data in your Logz.io account or prefer connecting Kubernetes manually, you'll need an active Infrastructure Monitoring account, and ensure that your Kubernetes data is connected to Logz.io.

Send Kubernetes logs

To have the relevant logs populated in your Kubernetes 360 dashboard, you'll need to ensure the following fields are properly propagated:

ObjectField
Podkubernetes.pod_name / k8s_pod_name
Namespacekubernetes.namespace_name / k8s_namespace_name
Nodekubernetes.host / k8s_node_name
Clusterenv_id

Send Kubernetes metrics

Ship your cluster metrics from the following sources:

  • Node exporter (should be installed on every node).
  • CAdvisor.
  • Kube-state-metrics version 2.1 or higher.

To ensure your Kubernetes 360 dashboard is up and running, you'll need to send the following metrics:

Metric nameLabels
*p8s_logzio_name // Equivalent to a Cluster's name
kube_pod_status_phasep8s_logzio_name, namespace, pod, phase, uid
kube_pod_infop8s_logzio_name, namespace, host_ip, node, pod
container_cpu_usage_seconds_totalp8s_logzio_name, namespace, pod, region, topology_kubernetes_io_region, container
kube_pod_container_resource_limitsp8s_logzio_name, namespace, pod, resource
container_memory_working_set_bytesp8s_logzio_name, namespace, pod, container
kube_pod_container_infop8s_logzio_name, namespace, pod
container_network_transmit_bytes_totalp8s_logzio_name, namespace, pod
container_network_receive_bytes_totalp8s_logzio_name, namespace, pod
kube_pod_createdp8s_logzio_name, namespace, pod
kube_pod_ownerp8s_logzio_name, namespace, pod, owner_kind, owner_name
kube_pod_container_status_restarts_totalp8s_logzio_name, namespace, pod
kube_pod_status_reasonp8s_logzio_name, namespace, pod, reason
kube_pod_container_status_waiting_reasonp8s_logzio_name, namespace, pod, reason
node_cpu_seconds_totalp8s_logzio_name, instance, kubernetes_node
kube_node_status_allocatablep8s_logzio_name, node, resource
node_memory_MemAvailable_bytesp8s_logzio_name, instance, kubernetes_node
node_memory_MemTotal_bytesp8s_logzio_name, instance, kubernetes_node
kube_node_rolep8s_logzio_name, status, role, node
kube_node_status_conditionp8s_logzio_name, status, role, node
kube_node_createdp8s_logzio_name, node
node_filesystem_avail_bytesp8s_logzio_name, instance, kubernetes_node
node_filesystem_size_bytesp8s_logzio_name, instance, kubernetes_node
kube_replicaset_ownerp8s_logzio_name, namespace, owner_kind, owner_name, replicaset
kube_deployment_createdp8s_logzio_name, namespace, deployment
kube_deployment_status_conditionp8s_logzio_name, namespace, deployment, status

Additional Kubernetes metrics

To enrich your services and infrastructure data even further, we recommend sending the following metrics as well:

Metric nameLabels
*p8s_logzio_name // Equivalent to a Cluster's name
kube_pod_container_resource_requestsp8s_logzio_name, namespace, pod, container, resource
container_memory_usage_bytesp8s_logzio_name, namespace, pod, container, instance, node
kube_pod_container_status_waitingp8s_logzio_name, pod, container
kube_pod_container_status_terminatedp8s_logzio_name, pod, container
kube_pod_container_status_runningp8s_logzio_name, pod
kube_node_status_capacityp8s_logzio_name, node, resource
node_disk_reads_completed_totalp8s_logzio_name, kubernetes_node
node_disk_read_bytes_totalp8s_logzio_name, kubernetes_node
node_disk_read_time_seconds_totalp8s_logzio_name, kubernetes_node
node_disk_writes_completed_totalp8s_logzio_name, kubernetes_node
node_disk_written_bytes_totalp8s_logzio_name, kubernetes_node
node_disk_write_time_seconds_totalp8s_logzio_name, kubernetes_node
node_network_transmit_bytes_totalp8s_logzio_name, kubernetes_node
node_receive_transmit_bytes_totalp8s_logzio_name, kubernetes_node
node_memory_MemFree_bytesp8s_logzio_name, kubernetes_node
kube_node_infop8s_logzio_name, node
kube_deployment_status_replicasp8s_logzio_name, namespace, deployment
kube_deployment_status_replicas_updatedp8s_logzio_name, namespace, deployment
kube_deployment_spec_replicasp8s_logzio_name, namespace, deployment
kube_daemonset_status_number_availablep8s_logzio_name, daemonset
kube_daemonset_status_number_unavailablep8s_logzio_name, daemonset
kube_daemonset_status_current_number_scheduledp8s_logzio_name, daemonset
kube_daemonset_status_number_misscheduledp8s_logzio_name, daemonset
kube_daemonset_status_desired_number_scheduledp8s_logzio_name, daemonset
kube_statefulset_status_replicasp8s_logzio_name, namespace, app_kubernetes_io_instance, statefulset
kube_statefulset_replicasp8s_logzio_name, namespace, app_kubernetes_io_instance, statefulset
container_network_transmit_packets_totalp8s_logzio_name, namespace, pod
container_network_receive_packets_totalp8s_logzio_name, namespace, pod
container_network_transmit_packets_dropped_totalp8s_logzio_name, namespace, pod
container_network_receive_packets_dropped_totalp8s_logzio_name, namespace, pod, container
node_memory_Cached_bytesp8s_logzio_name, kubernetes_node
node_memory_Buffers_bytesp8s_logzio_name, kubernetes_node
kube_statefulset_status_replicas_updatedp8s_logzio_name, namespace, statefulset, app_kubernetes_io_instance
kube_deployment_labelsp8s_logzio_name, namespace, deployment
kube_replicaset_status_replicasp8s_logzio_name, status, namespace, deployment, owner_kind, owner_name, replicaset
kube_replicaset_status_ready_replicasp8s_logzio_name, status, namespace, deployment, owner_kind, owner_name, replicaset
kube_pod_container_status_terminated_reasonp8s_logzio_name, pod, container, reason
kube_node_spec_unschedulablep8s_logzio_name, node, resource, status, reason
kube_node_labelsp8s_logzio_name, node, resource
kube_pod_status_readyp8s_logzio_name, namespace, pod, phase, uid
kube_pod_container_status_readyp8s_logzio_name, namespace, pod, container
kube_replicaset_labelsp8s_logzio_name, namespace, deployment, owner_kind, owner_name, replicaset
kube_replicaset_spec_replicasp8s_logzio_name, namespace, deployment, owner_kind, owner_name, replicaset
kube_deployment_status_replicas_availablep8s_logzio_name, namespace, deployment
kube_deployment_status_replicas_unavailablep8s_logzio_name, namespace, deployment
kube_statefulset_status_replicas_availablep8s_logzio_name, namespace, app_kubernetes_io_instance, statefulset
node_disk_io_time_seconds_totalp8s_logzio_name, kubernetes_node
node_network_receive_bytes_totalp8s_logzio_name, kubernetes_node
node_network_transmit_packets_totalp8s_logzio_name, kubernetes_node
node_network_receive_packets_totalp8s_logzio_name, kubernetes_node
node_network_transmit_drop_totalp8s_logzio_name, kubernetes_node
node_network_receive_drop_totalp8s_logzio_name, kubernetes_node
node_filesystem_free_bytesp8s_logzio_name, instance
kube_daemonset_status_number_readyp8s_logzio_name, daemonset
kube_daemonset_labelsall labels
kube_statefulset_labelsall labels
kube_job_labelsall labels
kube_pod_labelsall labels
kube_job_status_succeededall labels
kube_job_completeall labels
kube_job_status_failedall labels
kube_job_status_completion_timeall labels
machine_cpu_coresall labels
node_boot_time_secondsall labels
node_time_secondsall labels
kube_namespace_status_phaseall labels
kubelet_volume_stats_inodesall labels
kubelet_volume_stats_inodes_usedall labels
kubelet_volume_stats_used_bytesall labels
kube_persistentvolumeclaim_infoall labels
kube_persistentvolumeclaim_resource_requests_storage_bytesall labels
kube_job_ownerall labels

Manually configuring Security Risks

To add a Security risks view to your existing Kubernetes data, you need to:

After setting up the Trivy operator, ensure your account receives type:trivy logs.

If you encounter an issue while setting up your metrics or logs, contact Logz.io's support team for additional help.