소스 업데이트

This commit is contained in:
jade
2026-09-17 17:31:37 +09:00
parent f3099b76ea
commit a8555f05af
402 changed files with 80 additions and 20011 deletions

View File

@@ -1,9 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: datmt-runtime-config
name: datsy-runtime-config
labels:
app.kubernetes.io/part-of: axhub-datmt
app.kubernetes.io/part-of: axhub-sys
data:
SPRING_PROFILES_ACTIVE: dev
TZ: Asia/Seoul

View File

@@ -1,205 +1,10 @@
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: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: AXHUB_TOOL_URL
value: http://was-sal.$(POD_NAMESPACE).svc.cluster.local: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: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: AXHUB_TOOL_URL
value: http://was-cus.$(POD_NAMESPACE).svc.cluster.local: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: POD_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: AXHUB_TOOL_URL
value: http://was-pro.$(POD_NAMESPACE).svc.cluster.local: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
app.kubernetes.io/part-of: axhub-sys
spec:
replicas: 1
selector:
@@ -209,7 +14,7 @@ spec:
metadata:
labels:
app.kubernetes.io/name: was-sys
app.kubernetes.io/part-of: axhub-datmt
app.kubernetes.io/part-of: axhub-sys
spec:
containers:
- name: was-sys
@@ -220,9 +25,9 @@ spec:
containerPort: 8086
envFrom:
- configMapRef:
name: datmt-runtime-config
name: datsy-runtime-config
- secretRef:
name: datmt-runtime-secrets
name: datsy-runtime-secrets
env:
- name: POD_NAMESPACE
valueFrom:

View File

@@ -1,58 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: was-sal
labels:
app.kubernetes.io/name: was-sal
app.kubernetes.io/part-of: axhub-datmt
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: was-sal
ports:
- name: http
port: 8082
targetPort: http
---
apiVersion: v1
kind: Service
metadata:
name: was-cus
labels:
app.kubernetes.io/name: was-cus
app.kubernetes.io/part-of: axhub-datmt
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: was-cus
ports:
- name: http
port: 8084
targetPort: http
---
apiVersion: v1
kind: Service
metadata:
name: was-pro
labels:
app.kubernetes.io/name: was-pro
app.kubernetes.io/part-of: axhub-datmt
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: was-pro
ports:
- name: http
port: 8085
targetPort: http
---
apiVersion: v1
kind: Service
metadata:
name: was-sys
labels:
app.kubernetes.io/name: was-sys
app.kubernetes.io/part-of: axhub-datmt
app.kubernetes.io/part-of: axhub-sys
spec:
type: ClusterIP
selector:

View File

@@ -1,7 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: axhub-datmt-dev
namespace: axhub-sys-dev
resources:
- ../../base
@@ -12,15 +12,6 @@ labels:
includeSelectors: true
images:
- name: was-sal
newName: image-registry.openshift-image-registry.svc:5000/axhub-datmt-dev/was-sal
newTag: latest
- name: was-cus
newName: image-registry.openshift-image-registry.svc:5000/axhub-datmt-dev/was-cus
newTag: latest
- name: was-pro
newName: image-registry.openshift-image-registry.svc:5000/axhub-datmt-dev/was-pro
newTag: latest
- name: was-sys
newName: image-registry.openshift-image-registry.svc:5000/axhub-datmt-dev/was-sys
newName: image-registry.openshift-image-registry.svc:5000/axhub-sys-dev/was-sys
newTag: latest