Files
infrastructure/clusters/cl01tl/manifests/excalidraw/Deployment-excalidraw.yaml

103 lines
2.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: excalidraw
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: excalidraw
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: excalidraw
helm.sh/chart: excalidraw-4.6.2
namespace: excalidraw
spec:
revisionHistoryLimit: 3
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/controller: main
app.kubernetes.io/name: excalidraw
app.kubernetes.io/instance: excalidraw
template:
metadata:
labels:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: excalidraw
app.kubernetes.io/name: excalidraw
spec:
enableServiceLinks: false
serviceAccountName: default
automountServiceAccountToken: true
hostIPC: false
hostNetwork: false
hostPID: false
dnsPolicy: ClusterFirst
containers:
- env:
- name: NODE_ENV
value: production
- name: TZ
value: America/Chicago
image: excalidraw/excalidraw:latest@sha256:3c2513e830bb6e195147c05b34ecf8393d0ba2b1cc86e93b407a5777d6135c6c
imagePullPolicy: IfNotPresent
name: main
resources:
requests:
cpu: 10m
memory: 128Mi
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: HTTPRoute
metadata:
name: excalidraw
labels:
app.kubernetes.io/instance: excalidraw
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: excalidraw
helm.sh/chart: excalidraw-4.6.2
namespace: excalidraw
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- "excalidraw.alexlebens.net"
rules:
- backendRefs:
- group: ""
kind: Service
name: excalidraw
namespace: excalidraw
port: 80
weight: 100
matches:
- path:
type: PathPrefix
value: /
---
apiVersion: v1
kind: Service
metadata:
name: excalidraw
labels:
app.kubernetes.io/instance: excalidraw
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: excalidraw
app.kubernetes.io/service: excalidraw
helm.sh/chart: excalidraw-4.6.2
namespace: excalidraw
spec:
type: ClusterIP
ports:
- port: 80
targetPort: 80
protocol: TCP
name: http
selector:
app.kubernetes.io/controller: main
app.kubernetes.io/instance: excalidraw
app.kubernetes.io/name: excalidraw