Tag: Kubernetes
Application Performance Monitoring on Kubernetes
In this quick demo, we are going to setup Application Performance Monitoring on Kubernetes using Elastic APM server and Elasticsearch and Kibana. What is Application Performance Monitoring(APM)? APM focuses on tracking the performance of an application. APM collects errors, traces, requests rates, latency times from applications to identify the source of the performance issues/bottlenecks. How…
Prometheus Blackbox Exporter Setup on Kubernetes
In this quick start demo, we are going to do Prometheus Blackbox Exporter setup on Kubernetes cluster to probe HTTP or HTTPS endpoints. What is Blackbox Exporter? Blackbox exporter allows blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP, ICMP and gRPC. We can use Prometheus to scrap blackbox exporter metrics and create dashboards in…
Alertmanager Setup on Kubernetes for Prometheus Monitoring
In this quick start demo, we are going to do Alertmanager setup on Kubernetes cluster to handle Prometheus alerts. We will use slack as alert receiver. What is Alertmanager? The Alertmanager handles alerts sent by Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integrations such as email, PagerDuty,…
Fluentd: Kubernetes Log Collection with Fluentd, Elasticsearch
What is Fluentd? Fluentd is a cross platform data collector, which is very useful for log collection, transformation and shipping to backends like Elasticsearch. It decouples data sources from log storage systems by providing a unified logging layer in between. In this quick start demo, we’ll use Fluentd to collect, transform, and ship logs from…
Elasticsearch & Kibana Setup on Kubernetes Cluster
What is Elasticsearch? Elasticsearch is a distributed search engine based on Apache Lucene library. It is multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is the central component of the ELK/EFK(Elasticsearch, Logstash/Fluentd, Kibana) Stack. It is very useful for managing logs of IT systems and applications. What is Kibana?…
Grafana Setup for Prometheus Server on Kubernetes
What is Grafana? Grafana open source software enable users to query, visualize, alert on, and explore metrics, logs, and traces wherever they are stored. Grafana provides tools to turn time-series database (TSDB) data collected by tools like Prometheus, into insightful graphs and visualizations. In this quick start demo, we are going to deploy Grafana application…
Prometheus Node Exporter Setup on Kubernetes
What is Node Exporter? A Prometheus Exporter is a small application that can fetch monitoring metrics from a target system and expose those metrics through a web URL to allow a Prometheus server to scrape those metrics. Node exporter exports hardware and OS metrics for *NIX kernels. By default, Kubernetes does not expose node level…
How to Deploy a GKE Cluster with Spot Instance Node Pool
Google Kubernetes Engine (GKE) GKE service allows users to provision Kubernetes clusters to host containerized applications on Google Cloud infrastructure. GKE cluster consists of one or more Compute Engine Instances. With GKE, users can gain benefit of advanced cluster management features like load-balancing, node pools, automatic scaling, automatic upgrades, auto-repair, logging and monitoring. GKE clusters…
kubectl Cheat Sheet
Display List of Contexts Display the current-context Set the default context to cluster-1 Get all namespaces on the cluster Create a namespace(below command creates nginx namespace) Create resource(s) from yaml files(app.yaml file has resource definition) List Kubernetes pods on a cluster Get a pod’s YAML List Deployments on a cluster List Services on a cluster
Monitoring Kubernetes Cluster with Prometheus
What is Prometheus? Prometheus is an open-source system monitoring and alerting framework. Prometheus collects and stores monitoring metrics with the timestamp at which it was recorded. Prometheus Architecture Diagram Main Components Prometheus Server – scrapes and stores time series dataAlert Manager – handle alertsExporter – special-purpose exporters for services like MySQL, ngnix etc. Prerequisites: A…