Tag: GKE
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…