apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: task-4
    version: "1"
  name: task-4-v1
spec:
  replicas: 1
  selector:
    matchLabels:
      app: task-4
      version: "1"
  strategy:
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: task-4
        version: "1"
    spec:
      containers:
      - image: marcmer/demo-app:v1
        name: demo-app
        ports:
        - containerPort: 8000
          name: http
