apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: swtdisp-ap1-gr10
  name: swtdisp-grp10-backend
  labels:
    app: swtdisp-grp10-backend
spec:
  replicas: 1
  selector:
    matchLabels:
      app: api-pod
  
  template:
    metadata:
      name: api-pod
      labels:
        app: api-pod
    spec:
      containers:
        - name: swtdisp-grp10-backend-container
          image: elgaard1/api
          ports:
            - containerPort: 80 