Add dev/deployment.yaml
This commit is contained in:
22
dev/deployment.yaml
Normal file
22
dev/deployment.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: vite-frontend
|
||||||
|
namespace: dev
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: vite-frontend
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: vite-frontend
|
||||||
|
spec:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: registry-secret
|
||||||
|
containers:
|
||||||
|
- name: vite-frontend
|
||||||
|
image: run.postmet.ru/dev/vite-frontend:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
Reference in New Issue
Block a user