apiVersion: apps/v1
kind: Deployment
metadata:
  name: user-service-deployment
spec:
  selector:
    matchLabels:
      app: user-service
  replicas: 3
  template:
    metadata:
      labels:
        app: user-service
    spec:
      containers:
      - name: user-service
        image: wyspar123/userservice:#{Build.BuildId}#
        ports:
        - containerPort: 80
# kind: Service
# apiVersion: v1
# metadata:
#   name: user-service
# spec:
#   selector:
#     app: user-service
#   ports:
#   - protocol: TCP
#     port: 80
#     targetPort: 80
#   type: LoadBalancer
