Browse Source

Add carts service

Signed-off-by: Finta Gabor <finta.gabor@alerant.hu>
pull/81/head
Finta Gabor 4 years ago
parent
commit
8384405056
  1. 14
      sock-shop/base/carts-svc.yaml
  2. 1
      sock-shop/kustomization.yaml

14
sock-shop/base/carts-svc.yaml

@ -0,0 +1,14 @@
---
apiVersion: v1
kind: Service
metadata:
name: carts
labels:
name: carts
spec:
ports:
# the port that this service should serve on
- port: 80
targetPort: 80
selector:
name: carts

1
sock-shop/kustomization.yaml

@ -2,6 +2,7 @@ resources:
- base/carts-db-dep.yaml
- base/carts-db-svc.yaml
- base/carts-dep.yaml
- base/carts-svc.yaml
- base/catalogue-db-dep.yaml
- base/catalogue-db-svc.yaml
- base/catalogue-dep.yaml

Loading…
Cancel
Save