14 lines
237 B
YAML
14 lines
237 B
YAML
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 |