Commit e0be0066 by 蒋勇

d

parent 92576ab4
...@@ -9,7 +9,7 @@ spec: ...@@ -9,7 +9,7 @@ spec:
- name: kong-dbservice - name: kong-dbservice
port: 5432 port: 5432
targetPort: 5432 targetPort: 5432
nodePort: 5432 nodePort: 12346
protocol: TCP protocol: TCP
selector: selector:
app: kong-db app: kong-db
......
...@@ -193,4 +193,5 @@ spec: ...@@ -193,4 +193,5 @@ spec:
name: kong-server-blocks name: kong-server-blocks
# docker run --rm -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=kong-dbservice" -e "KONG_PG_PORT=5432" -e "KONG_PG_DATABASE=kong" -e "KONG_PG_USER=kong" -e "KONG_PG_PASSWORD=kong" kong:2.0 kong migrations up #docker run --rm -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=10.254.220.170" -e "KONG_PG_PORT=5432" -e "KONG_PG_DATABASE=kong" -e "KONG_PG_USER=kong" -e "KONG_PG_PASSWORD=kong" kong:2.0 kong migrations bootstrap
# docker run --rm -e "KONG_DATABASE=postgres" -e "KONG_PG_HOST=10.254.220.170" -e "KONG_PG_PORT=5432" -e "KONG_PG_DATABASE=kong" -e "KONG_PG_USER=kong" -e "KONG_PG_PASSWORD=kong" kong:2.0 kong migrations up
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