forked from kimhyungsik/ax_hub_mcp_tool
feat: add OpenShift deployment manifests
All checks were successful
Deploy Tools / deploy (push) Successful in 2m9s
All checks were successful
Deploy Tools / deploy (push) Successful in 2m9s
This commit is contained in:
243
k8s/base/deployments.yaml
Normal file
243
k8s/base/deployments.yaml
Normal file
@@ -0,0 +1,243 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: was-sal
|
||||
labels:
|
||||
app.kubernetes.io/name: was-sal
|
||||
app.kubernetes.io/part-of: axhub-datmt
|
||||
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-datmt
|
||||
spec:
|
||||
containers:
|
||||
- name: was-sal
|
||||
image: was-sal:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8082
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: datmt-runtime-config
|
||||
- secretRef:
|
||||
name: datmt-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-datmt
|
||||
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-datmt
|
||||
spec:
|
||||
containers:
|
||||
- name: was-cus
|
||||
image: was-cus:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8084
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: datmt-runtime-config
|
||||
- secretRef:
|
||||
name: datmt-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-datmt
|
||||
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-datmt
|
||||
spec:
|
||||
containers:
|
||||
- name: was-pro
|
||||
image: was-pro:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8085
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: datmt-runtime-config
|
||||
- secretRef:
|
||||
name: datmt-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-datmt
|
||||
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-datmt
|
||||
spec:
|
||||
containers:
|
||||
- name: was-sys
|
||||
image: was-sys:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8086
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: datmt-runtime-config
|
||||
- secretRef:
|
||||
name: datmt-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
|
||||
Reference in New Issue
Block a user