Skip to content

linusfr/bachelor-thesis-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bachelor-thesis-example

This repository contains all the source code for my bachelors thesis. The thesis itself is not publicly available.

directory structure

This directory consists of five directories:

  1. the react client (app)
  2. the fastify webserver (server)
  3. the kubernetes yamls (kubernetes)
  4. the swarm mode yamls (swarm)
  5. the sql script for the postgres (sql) used by both kubernetes and the swarm mode

The dockerfile uses the directories "app" and "server". The image created by building the dockerfile is used in the deployments in the directories "swarm" and "kubernetes".

setup kubectl

scp -q [email protected]:/etc/rancher/k3s/k3s.yaml ~/.kube/config && sed -i "s#server: https://127.0.0.1:6443#server: https://192.168.178.29:6443#g" ~/.kube/config

clean up

swarm

docker stack rm cats && \
docker volume rm cats_postgres-data

kubernetes

kubectl delete -f . && \
kubectl delete configmap cats-init-script && \
kubectl delete pvc postgres-volume-postgres-statefulset-0 && \
kubectl delete cronjob postgres-backup-cronjob && \
kubectl delete job postgres-restore-job && \
kubectl delete job backup-job

About

contains examples for my bachelor thesis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published