Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Yotascale’s Kubernetes Integration requires the installation of an agent, which is essentially a Kubernetes POD, in each of your clusters that you want onboarded onto Yotascale. This document describes how to install the agent onto your cluster along with . The document also lists some pre-requisites that are required for it to function as required by Yotascale.

Follow the steps below for installing the agent onto each of your Kubernetes clusters.

...

Step 1: Download the Deployment Descriptor

  • Click Login to Yotascale and click on Manage Cloud Services from the Settings menu

...

Code Block
languagebash
kubectl logs -l app=yotascale-kubernetes-agent -n yotascale

Metric Ingestion from Prometheus

The Yotascale Kubernetes Agent assumes the existence of a Prometheus installation for your cluster. Furthermore, it assumes that Prometheus is scraping kube-state-metrics and cAdvisor, two common tools for capturing cluster and container level metrics.

...

The Yotascale agent uses the following metrics:

kube-state-metrics Metrics

The following metrics enable Yotascale to build a layout of your Kubernetes cluster, determine relationship between various Kubernetes objects and understand resource requirements.

Metric Name

Description

kube_node_info

Provides information on the nodes running in the cluster. This includes the "provider id" which contains the resource id of the AWS EC2 instance which corresponds to the kubernetes node.

kube_node_labels

Provides information about the node such as the instance type e.g c4.xlarge, the region, the availability zone, the os and the role (master/node)

kube_pod_info

Provides information on the pods running on the clusters including the name of the nodes the pods are running on

kube_pod_container_info

Provides information on the containers running under each pod.

kube_pod_container_resource_requests_memory_bytes

Requested memory for the container

kube_pod_container_resource_requests_cpu_cores

Requested CPU cores for the container

kube_pod_container_resource_limits_memory_bytes

Upper limit usage for memory usage for the container

kube_pod_container_resource_limits_cpu_cores

Upper limit usage for CPU cores for the container

kube_deployment_labels

The list of deployments and their basic metadata such as namespace

kube_replicaset_owner

Name of the deployment that creates each replica set.

kube_pod_owner

Name of the replica set or daemon set that creates each pods

kube_hpa_labels

Identify the HPA. Map to namespace.

kube_hpa_spec_max_replicas

Max Replicas configured in the HPA

kube_hpa_spec_min_replicas

Min Replicas configured in the HPA

cAdvisor Metrics

The following metrics enable Yotascale determine actual resource usage for each of your containers.

Metric Name

Description

container_memory_usage_bytes

Actual memory usage by a container

container_cpu_usage_seconds_total

Actual CPU core usage by a container