apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: website-microservice
  name: website-microservice
  namespace: dwetter
spec:
  replicas: 1
  selector:
    matchLabels:
      app: website-microservice
  template:
    metadata:
      labels:
        app: website-microservice
    spec:
      containers:
        - image: ese6dwetter/website-microservice
          imagePullPolicy: IfNotPresent
          name: website-microservice
          ports: 
            - containerPort: 80
          resources:
            limits:
              cpu: 100m
              memory: 128Mi
            requests:
              cpu: 50m
              memory: 64Mi