diff --git a/userManagement/deployment.yaml b/userManagement/deployment.yaml deleted file mode 100644 index 0d11e16f..00000000 --- a/userManagement/deployment.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -kind: Service -apiVersion: v1 -metadata: - name: user-management-service -spec: - selector: - app: user-management - ports: - # - protocol: "TCP" - - name: http - # Port accessible inside cluster - port: 3003 - # Port to forward to inside the pod - # targetPort: 5009 - # # Port accessible outside cluster - # nodePort: 30003 - # type: LoadBalancer - - ---- -apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 -kind: Deployment -metadata: - name: user-management-deployment -spec: - selector: - matchLabels: - app: user-management - replicas: 1 # tells deployment to run 2 pods matching the template - template: - metadata: - labels: - app: user-management - spec: - containers: - - name: user-management - image: orenda15/user_management:369d9b8dc16c52bbacff7dbe495fef0a8932dd5e - ports: - - containerPort: 3003 -