From 014e49afe7b41f4e294dd8402c8be68cc72be5e9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 31 Jul 2022 15:53:10 +0200 Subject: move stream-site deployment to new cdn repo --- .../stream-site-placeholdder-deploy.yml | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 contrib/k8s-emc/_graveyard_/stream-site-placeholdder-deploy.yml (limited to 'contrib/k8s-emc/_graveyard_/stream-site-placeholdder-deploy.yml') diff --git a/contrib/k8s-emc/_graveyard_/stream-site-placeholdder-deploy.yml b/contrib/k8s-emc/_graveyard_/stream-site-placeholdder-deploy.yml new file mode 100644 index 0000000..c2ad77c --- /dev/null +++ b/contrib/k8s-emc/_graveyard_/stream-site-placeholdder-deploy.yml @@ -0,0 +1,66 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + namespace: emc + name: stream-site-public + labels: + app: nginx + type: stream-site + tier: placeholder + stream: public +spec: + replicas: 1 + selector: + matchLabels: + app: nginx + type: stream-site + tier: placeholder + stream: public + strategy: + type: Recreate + revisionHistoryLimit: 5 + template: + metadata: + labels: + app: nginx + type: stream-site + tier: placeholder + stream: public + spec: + nodeName: emc-00 + securityContext: + runAsUser: 990 + fsGroup: 990 + containers: + - name: nginx + image: registry.gitlab.com/spreadspace/docker/nginx:2021-02-24.20 + imagePullPolicy: Always + args: + - nginx + - -c + - /srv/config/nginx.conf + - -g + - "daemon off;" + volumeMounts: + - name: home + mountPath: /srv + - name: nginx-lib + mountPath: /var/lib/nginx + - name: nginx-config + mountPath: /srv/config + - name: www + mountPath: /srv/www + volumes: + - name: home + emptyDir: + medium: Memory + - name: nginx-lib + emptyDir: + medium: Memory + - name: nginx-config + configMap: + name: stream-site-public + - name: www + hostPath: + type: Directory + path: /srv/www/emc -- cgit v1.2.3