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

canonical/gunicorn-k8s-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
Sep 14, 2022
Sep 14, 2022
Sep 23, 2022
Sep 23, 2022
Sep 23, 2022
Aug 19, 2020
Sep 9, 2022
Aug 28, 2020
Aug 29, 2022
Aug 29, 2022
Aug 29, 2022
Aug 29, 2022
Aug 29, 2022
Aug 29, 2022
Sep 23, 2022
Aug 29, 2022
Aug 29, 2022
Sep 9, 2022

Repository files navigation

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.