From caa4025737ac0853d4176ef4f839e695c04bc969 Mon Sep 17 00:00:00 2001 From: Gerrit Edzards Date: Sat, 15 Jun 2024 09:00:30 +0200 Subject: [PATCH] Add burry (lnk shrtnr) --- manifests/burry/burry.yaml | 33 +++++++++++++++++++++++++++++++++ manifests/burry/cache.yaml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 manifests/burry/burry.yaml create mode 100644 manifests/burry/cache.yaml diff --git a/manifests/burry/burry.yaml b/manifests/burry/burry.yaml new file mode 100644 index 0000000..7a2a908 --- /dev/null +++ b/manifests/burry/burry.yaml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: burry +spec: + replicas: 1 + selector: + matchLabels: + app: burry + template: + metadata: + labels: + app: burry + spec: + containers: + - name: url-shortener + image: ghcr.io/gerrited/burry:latest + ports: + - containerPort: 8080 + +--- + +apiVersion: v1 +kind: Service +metadata: + name: burry +spec: + type: ClusterIP + ports: + - port: 80 + targetPort: 8080 + selector: + app: burry diff --git a/manifests/burry/cache.yaml b/manifests/burry/cache.yaml new file mode 100644 index 0000000..e01b614 --- /dev/null +++ b/manifests/burry/cache.yaml @@ -0,0 +1,31 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: burry-cache +spec: + replicas: 1 + selector: + matchLabels: + app: burry-cache + template: + metadata: + labels: + app: burry-cache + spec: + containers: + - name: burry-cache + image: redis:alpine + ports: + - containerPort: 6379 + +--- + +apiVersion: v1 +kind: Service +metadata: + name: burry-cache +spec: + ports: + - port: 6379 + selector: + app: burry-cache