apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: personal-blog
  name: personal-blog
  namespace: personal-blog
spec:
  replicas: 1
  selector:
    matchLabels:
      app: personal-blog
  template:
    metadata:
      labels:
        app: personal-blog
    spec:
      containers:
        - image: medmouine/personal-blog:latest
          name: personal-blog
          ports:
            - containerPort: 80
              name: personal-blog
