提交 35c65785 作者: 余乾开

feat(config):生产环境配置

上级 eafc0f14
...@@ -7,3 +7,4 @@ target ...@@ -7,3 +7,4 @@ target
.idea .idea
*.iml *.iml
*/application.yml */application.yml
.github/
...@@ -2,7 +2,7 @@ apiVersion: v1 ...@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: ims-svc name: ims-svc
namespace: default namespace: dev
spec: spec:
selector: selector:
app: ims app: ims
...@@ -10,4 +10,4 @@ spec: ...@@ -10,4 +10,4 @@ spec:
ports: ports:
- protocol: TCP - protocol: TCP
port: 10001 port: 10001
nodePort: 30001 nodePort: 30002
\ No newline at end of file \ No newline at end of file
...@@ -9,4 +9,5 @@ commonLabels: ...@@ -9,4 +9,5 @@ commonLabels:
commonAnnotations: commonAnnotations:
note: This is prod! note: This is prod!
patches: patches:
- configMap.yaml - path: configMap.yaml
\ No newline at end of file - path: service.yaml
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: ims-svc
namespace: prod
spec:
selector:
app: ims
type: NodePort
ports:
- protocol: TCP
port: 10001
nodePort: 30001
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论