add violin-home-dev.yaml

This commit is contained in:
simple321vip
2022-08-24 23:01:14 +08:00
parent fd4d6a0f34
commit ec0db7eb56
+32
View File
@@ -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