apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: default
  name: default
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app: default
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: backend
    spec:
      containers:
#      - image: gitlab.labranet.jamk.fi:4567/conduitmiau/kubetest:backend
#        imagePullPolicy: Always
#        name: backend
#
#       ports:
#         - containerPort: 3000
    
#  template:
#    metadata:
#      labels:
#        app: front
#    spec:
#      containers:
      - image: gitlab.labranet.jamk.fi:4567/conduitmiau/kubetest:front
        imagePullPolicy: Always
        name: front
        
        ports:
          - containerPort: 4100
