|
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: ci4s-auth-deployment
- namespace: argo
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: ci4s-auth
- template:
- metadata:
- labels:
- app: ci4s-auth
- spec:
- containers:
- - name: ci4s-auth
- image: ${k8s-5auth-image}
- ports:
- - containerPort: 9200
- 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-auth-service
- namespace: argo
- spec:
- type: NodePort
- ports:
- - name: http
- port: 9200
- nodePort: 31206
- protocol: TCP
- - name: debug
- nodePort: 31221
- port: 5005
- protocol: TCP
- targetPort: 5005
- selector:
- app: ci4s-auth
|