Files
violin-home/violin-home-dev.yaml
T
2022-08-24 23:18:12 +08:00

33 lines
669 B
YAML

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:v1.00
imagePullPolicy: Always
ports:
- containerPort: 8080
volumeMounts:
- name: localtime
mountPath: /etc/localtime
imagePullSecrets:
- name: dev-key
volumes:
- name: localtime
hostPath:
path: /etc/localtime