Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 916 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 916 Bytes

Gunicorn Operator

Description

A charm that allows you to deploy your gunicorn application in kubernetes.

Usage

By default, the charm will deploy a simple OCI image that contains a gunicorn app that displays a short message and its environment variables. The image is built using an OCI Recipe on Launchpad and published to dockerhub here.

juju deploy gunicorn-k8s my-awesome-app

Scale Out Usage

juju add-unit my-awesome-app

OCI image

Using your own image

You can, of course, supply our own OCI image. gunicorn is expected to listen on port 80. To do so, specify --resource gunicorn-image='image-location' at deploy time, or use juju attach-resource if you want to switch images after initial deployment.


For more details, see here.