Skip to content

andreibe24/monitoring-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring Automation

Deploy kind cluster (Method 1)

[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.22.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind

kind create cluster      # one-node k8s cluster

Deploy microk8s cluster (Method 2)

Setup for metrics-server (required for nginx HPA) - Method 1:

Deploy k8s objects to k8s cluster:

  • Namespace first
  • Nginx manifest files second

Use metrics from prometheus to autoscale (required for nginx HPA) - Method 2 - TODO:

Expose prometheus ClusterIP service on localhost

kubectl port-forward -n prometheus-app service/prometheus-service 9090:9090

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages