기능 추가
This commit is contained in:
32
yaml/deploy.yaml
Normal file
32
yaml/deploy.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ingress-migrator-web
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: ingress-migrator-web
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ingress-migrator-web
|
||||
spec:
|
||||
serviceAccountName: ingress-migrator
|
||||
containers:
|
||||
- name: web
|
||||
image: sa8001/ngtoha:v3
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: work
|
||||
mountPath: /work
|
||||
- name: mapping
|
||||
mountPath: /app/mapping.yaml
|
||||
subPath: mapping.yaml
|
||||
volumes:
|
||||
- name: work
|
||||
emptyDir: {}
|
||||
- name: mapping
|
||||
configMap:
|
||||
name: ingress-migrator-mapping
|
||||
Reference in New Issue
Block a user