apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: micro-blog-deployment
spec:
  selector:
    matchLabels:
      app: micro-blog
  template:
    metadata:
      labels:
        app: micro-blog
    spec:
      containers:
      - name: micro-blog
        image: <Username>/micro-blog:latest
        ports:
        - containerPort: 5000