Giorgos Damaskos
presentation in repo:
https://github.com/centrefordigitalhumanities/cdh-presentations/
Containers made it easy to seperate applications but managing hundreds of containers was cumbersome... Kubernetes to the rescue!
image: https://k21academy.com/docker-kubernetes/docker-and-kubernetes/
image: https://tudip.com/blog-post/managing-deployments-using-kubernetes-engine/
Pod: the smallest computational unit, plugs&plays container(s), ephemeral in nature
*
Deployment: manages the lifecycle of identical pods by scaling, updating, self-healing
*
ConfigMap/Secret: holds data as key-value pairs, passwords and apikeys kept secret
*
Service: provides a stable IP address and domain name for reaching a deployment
*
Namespace: groups and isolates kubernetes objects in seperate cluster spaces
# First stage
FROM python:3-alpine AS builder
RUN pip install --upgrade pip
RUN pip install mkdocs-material
COPY ./docs ./docs
COPY mkdocs-base.yml .
COPY mkdocs-gh.yml .
RUN mkdocs build -f mkdocs-gh.yml
# Second stage
FROM nginxinc/nginx-unprivileged:stable-alpine
COPY --from=builder /site /usr/share/nginx/html
COPY ./k8s-mirror/nginx_configuration/default.conf /etc/nginx/conf.d/default.conf
EXPOSE 8080
* Puts on glasses *
Thank you!
Every app needs a place to run \o/