Giter VIP home page Giter VIP logo

celery-beat-kubernetes's Introduction

Celery Beat on Kubernetes

This repo is an example setup on how to use celery with beat on kubernetes.

Stack Details

  • Celery Workers
  • RabbitMQ as a Broker
  • MongoDB as a Backend
  • Celery Beat for scheduling tasks.

Steps to build

This repo assumes snap is installed in the system and uses microk8s as the kubernetes flavor. This stack can be used with any other k8s flavour, provided , helm, kubectl storage and dns is configured on the k8s.

Below are the commands to bring up the stack

  • Help

List of commands and there descriptions

make help
  • Prepare Infra

Installs microk8s stack and mongodb rabbitmq.

make prepare_infra
  • Build

Builds the containers

make build
  • Deploy

Deploys the containers on microk8s

make deploy
  • Delete

Deletes the containers from microk8s

make delete 
  • Create DNS

Creates DNS entires for the services deployed.

make create_dns
  • Clear DNS

Removes DNS entires created in etc hosts file

make clear_dns 
  • Credentials

Retrives credentials for the installed stack

make credentials 
  • Clean up

Cleans up microk8s installation

make clean_infra

celery-beat-kubernetes's People

Contributors

saikiran2603 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.