added required k8s and docker file
This commit is contained in:
12
k8s/base/mongodb-service.yaml
Normal file
12
k8s/base/mongodb-service.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mongodb
|
||||
namespace: ecommerce
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: mongodb
|
||||
ports:
|
||||
- port: 27017
|
||||
targetPort: 27017
|
||||
Reference in New Issue
Block a user