Add 'z2/mongo-express-service.yaml'
This commit is contained in:
parent
fc9e1753da
commit
e5514b0203
14
z2/mongo-express-service.yaml
Normal file
14
z2/mongo-express-service.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: mongo-express-service
|
||||||
|
namespace: z2
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: mongo-express
|
||||||
|
type: LoadBalancer
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
port: 8081
|
||||||
|
targetPort: 8081
|
||||||
|
nodePort: 30001
|
Loading…
Reference in New Issue
Block a user