apiVersion: apps/v1
kind: Deployment
metadata:
  name: testruterdevops
spec:
  replicas: 1
  selector:
    matchLabels:
      app: testruterdevops
  template:
    metadata:
      labels:
        app: testruterdevops
    spec:
      tolerations:
        - key: group
          operator: Equal
          value: core
          effect: NoSchedule         
      nodeSelector:
        group: core
      containers:
        - name: cnt
          image: 822152007605.dkr.ecr.eu-west-1.amazonaws.com/testruterdevops:TAG
          imagePullPolicy: Always
          ports:
            - name: http
              containerPort: 80
              protocol: TCP
          env:
            - name: PORT
              value: "80"

