|
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: ci4s-system-deployment
- namespace: argo
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: ci4s-system
- template:
- metadata:
- labels:
- app: ci4s-system
- spec:
- containers:
- - name: ci4s-system
- image: ${k8s-6system-image}
- ports:
- - containerPort: 9201
- env:
- - name: TZ
- value: Asia/Shanghai
- - name: JAVA_TOOL_OPTIONS
- value: "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=*:5005"
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: ci4s-system-service
- namespace: argo
- spec:
- type: NodePort
- ports:
- - name: http
- port: 9201
- nodePort: 31207
- protocol: TCP
- - name: debug
- nodePort: 31220
- port: 5005
- protocol: TCP
- targetPort: 5005
- selector:
- app: ci4s-system
|