Kubernetes .yml files for the tagger cluster
This repository contains all files required to boot the tagger cluster (except for Kafka, which can be deployed using these .yml files).
Here is a description of the Kubernetes Object that are defined in this repository (in the order they get created):
- a
tagger
namespace, where everything will live tagger-secrets
, a secrets object used by the backend containing authentification to azure blob storage and a secret used for JWT signingtestsites-info-secrets
, which contains thefullchain.pem
andprivkey.pem
for gruppe7.testsites.info.postgres-deploy
, which deploys postgresql into the clusterpostgres-service
, which makes the postgres deployment addressable by the clustertagger-backend-deploy
, which deploys the tagger backend into the cluster.tagger-backend-service
, which makes the service addressable by the clustertagger-worker-deploy
, which deploys the worker into the clusterfrontend-deploy
, which deploys the tagger-frontend into the clusterfrontend-expose
, which installs a load balancer in front of the frontend deployment and serves as an entry point to the outside world.
Additionally, the following helper objects are defined:
get-certs
, a deployment of a letsencrypt docker image that can be used to generate certificates.kafka-manager-deploy
, which is used to deploy an instance of kafka-manager into the cluster.
In order to deploy the tagger into your own kubernetes cluster, do the following:
- Deploy Kafka into your cluster
git clone https://github.com/SwaggerTagger/tagger-kubernetes && cd tagger-kubernetes
kubectl create -f .