From ec0db7eb56bd18193a389ad6c6e4a6592fb7bf83 Mon Sep 17 00:00:00 2001 From: simple321vip Date: Wed, 24 Aug 2022 23:01:14 +0800 Subject: [PATCH] add violin-home-dev.yaml --- violin-home-dev.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 violin-home-dev.yaml diff --git a/violin-home-dev.yaml b/violin-home-dev.yaml new file mode 100644 index 0000000..7e381e4 --- /dev/null +++ b/violin-home-dev.yaml @@ -0,0 +1,32 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: violin-home-deployment + namespace: dev + labels: + app: nginx +spec: + replicas: 2 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: violin-home + image: ccr.ccs.tencentyun.com/violin/violin-home:latest + imagePullPolicy: Always + ports: + - containerPort: 8080 + volumeMounts: + - name: localtime + mountPath: /etc/localtime + imagePullSecrets: + - name: dev-key + volumes: + - name: localtime + hostPath: + path: /etc/localtime