db nodeport
This commit is contained in:
1 parent
895fd72bf4
commit
d2c3f92690
1 file changed
+18
@@ -0,0 +1,18 @@
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: nodeport
|
||||
namespace: chart-database
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/component: primary
|
||||
app.kubernetes.io/instance: database
|
||||
app.kubernetes.io/name: postgresql
|
||||
type: NodePort
|
||||
ports:
|
||||
- name: tcp-postgresql
|
||||
port: 5432
|
||||
protocol: TCP
|
||||
targetPort: tcp-postgresql
|
||||
nodePort: 35432
|
||||
Reference in new issue
Block a user