apiVersion: apps/v1
kind: Deployment
metadata:
  name: openshift-blog
spec:
  replicas: 1
  revisionHistoryLimit: 3
  selector:
    matchLabels:
      app: openshift-blog
  template:
    metadata:
      labels:
        app: openshift-blog
    spec:
      containers:
      - image: openshiftkatacoda/blog-django-py
        name: blog-from-image-pod-container
        ports:
        - containerPort: 8080
