mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
deploy: helm charts templates for single-node (#587)
This commit is contained in:
1 parent
e88220c424
commit
98a15069eb
14 files changed
+343
-1
No files matched your search
@@ -0,0 +1,33 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: mongo
|
||||
name: mongo-service
|
||||
namespace: hydro-namespace
|
||||
spec:
|
||||
ports:
|
||||
- port: {{.Values.Mongo.ClusterPort}}
|
||||
name: mongo-cluster-endpoint
|
||||
protocol: TCP
|
||||
targetPort: 27017
|
||||
selector:
|
||||
app: mongo
|
||||
type: ClusterIP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: mongo
|
||||
name: mongo-loadbalance-service
|
||||
namespace: hydro-namespace
|
||||
spec:
|
||||
ports:
|
||||
- port: {{.Values.Mongo.LoadBalancerPort}}
|
||||
name: mongo-endpoint
|
||||
protocol: TCP
|
||||
targetPort: 27017
|
||||
selector:
|
||||
app: mongo
|
||||
type: LoadBalancer
|
||||
Reference in new issue
Block a user