Commit 32dc722c by 蒋勇

d

parent 9a167ff9
......@@ -6,14 +6,13 @@ metadata:
spec:
type: ClusterIP
ports:
- name: kong-dbservice
port: 5432
targetPort: 5432
protocol: TCP
- name: kong-dbservice
port: 5432
targetPort: 5432
protocol: TCP
selector:
app: kong-db
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
......@@ -27,9 +26,11 @@ spec:
app: kong-db
spec:
containers:
- name: kong-db
image: registry.cn-beijing.aliyuncs.com/hantang2/staticngnix:kongdb
ports:
- name: tcp
containerPort: 5432
protocol: TCP
- name: kong-db
image: registry.cn-beijing.aliyuncs.com/hantang2/staticngnix:kongdb
securityContext:
runAsUser: 1000
ports:
- name: tcp
containerPort: 5432
protocol: TCP
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment