infrapuzzle/k8s/web/moritzgrafde.yaml

68 lines
1.3 KiB
YAML

#### Migrate at last
# ---
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: moritzgrafde
# labels:
# app: moritzgrafde
# namespace: web
# spec:
# selector:
# matchLabels:
# app: moritzgrafde
# replicas: 1
# template:
# metadata:
# labels:
# app: moritzgrafde
# spec:
# imagePullSecrets:
# - name: "hub-moritzgraf-de"
# containers:
# - image: hub.moritzgraf.de:5000/moritzgrafde:latest
# imagePullPolicy: Always
# name: moritzgrafde
# ports:
# - containerPort: 80
# ---
# apiVersion: v1
# kind: Service
# metadata:
# name: moritzgrafde
# namespace: web
# spec:
# ports:
# - port: 80
# targetPort: 80
# protocol: TCP
# selector:
# app: moritzgrafde
# ---
# apiVersion: extensions/v1beta1
# kind: Ingress
# metadata:
# name: moritzgrafde
# namespace: web
# annotations:
# kubernetes.io/ingress.class: "nginx"
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
# spec:
# tls:
# - hosts:
# - "moritzgraf.de"
# secretName: corona-moritzgraf-de
# rules:
# - host: moritzgraf.de
# http:
# paths:
# - path: /
# backend:
# serviceName: moritzgrafde
# servicePort: 80