Skip to content

pangyuteng/k8s-celery-autoscale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

dear visitors please visit Miguel's article below for setting up celery in kube with horizontal autoscaling.

https://miguescri.com/post/2021-05-22-celery-hpa

** this repo is archived **

a hello-world style excercise to demo kubernetes' autoscaling capability for celery workers.

ref.

https://stackoverflow.com/a/48999680/868736 kubectl autoscale deployment celery --cpu-percent=50 --min=1 --max=10 kubectl get pods kubectl get svc flower-service kubectl port-forward svc/flower-service 5555:5555 kubectl delete pods,services flower-service kubectl exec worker-controller-5dfd669d5f-28vlk env | grep RABBITMQ kubectl get deployments

https://kubernetes.io/docs/concepts/workloads/controllers/

--

WIP. https://kubernetes.io/blog/2016/07/autoscaling-in-kubernetes/ kubernetes/minikube#604

https://plugaru.org/2018/01/03/rabbitmq-celery-kubernetes-ha/ https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published