Skip to content

warehouse-13/spinner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spinner

a tiny thing to smash the cpu.

Getting Started

locally:

make up

or

minikube start --nodes 2 --addons metrics-server // Create a cluster with 2 nodes & a metrics-server
kubectl apply -f deployment.yaml // Apply the Deployment & Service manifest:
kubectl autoscale deployment spinner --cpu-percent=2 --min=1 --max=10

EKS:

Create a cluster with OIDC enabled:

eksctl create cluster --with-oidc

Enable the metrics server and the autoscaler:

make eks-up

or

kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
kubectl get deployment metrics-server -n kube-system
kubectl autoscale deployment spinner --cpu-percent=2 --min=1 --max=10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published