Files
dap-was-dapmt/k8s/base/deployments.yaml
jade 6a6592f2d5
All checks were successful
Deploy Tools / deploy (push) Successful in 1m24s
소스 업데이트
2026-08-31 09:57:03 +09:00

244 lines
6.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: was-sal
labels:
app.kubernetes.io/name: was-sal
app.kubernetes.io/part-of: axhub-dasmt
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: was-sal
template:
metadata:
labels:
app.kubernetes.io/name: was-sal
app.kubernetes.io/part-of: axhub-dasmt
spec:
containers:
- name: was-sal
image: was-sal:latest
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8082
envFrom:
- configMapRef:
name: dasmt-runtime-config
- secretRef:
name: dasmt-runtime-secrets
env:
- name: AXHUB_TOOL_URL
value: http://was-sal:8082
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: "1"
memory: 1Gi
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 6
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 60
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 3
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: was-cus
labels:
app.kubernetes.io/name: was-cus
app.kubernetes.io/part-of: axhub-dasmt
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: was-cus
template:
metadata:
labels:
app.kubernetes.io/name: was-cus
app.kubernetes.io/part-of: axhub-dasmt
spec:
containers:
- name: was-cus
image: was-cus:latest
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8084
envFrom:
- configMapRef:
name: dasmt-runtime-config
- secretRef:
name: dasmt-runtime-secrets
env:
- name: AXHUB_TOOL_URL
value: http://was-cus:8084
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: "1"
memory: 1Gi
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 6
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 60
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 3
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: was-pro
labels:
app.kubernetes.io/name: was-pro
app.kubernetes.io/part-of: axhub-dasmt
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: was-pro
template:
metadata:
labels:
app.kubernetes.io/name: was-pro
app.kubernetes.io/part-of: axhub-dasmt
spec:
containers:
- name: was-pro
image: was-pro:latest
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8085
envFrom:
- configMapRef:
name: dasmt-runtime-config
- secretRef:
name: dasmt-runtime-secrets
env:
- name: AXHUB_TOOL_URL
value: http://was-pro:8085
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: "1"
memory: 1Gi
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 6
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 60
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 3
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: was-sys
labels:
app.kubernetes.io/name: was-sys
app.kubernetes.io/part-of: axhub-dasmt
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: was-sys
template:
metadata:
labels:
app.kubernetes.io/name: was-sys
app.kubernetes.io/part-of: axhub-dasmt
spec:
containers:
- name: was-sys
image: was-sys:latest
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 8086
envFrom:
- configMapRef:
name: dasmt-runtime-config
- secretRef:
name: dasmt-runtime-secrets
env:
- name: AXHUB_TOOL_URL
value: http://was-sys:8086
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
cpu: "1"
memory: 1Gi
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 6
livenessProbe:
tcpSocket:
port: http
initialDelaySeconds: 60
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 3
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
seccompProfile:
type: RuntimeDefault