apiVersion: apps/v1
kind: Deployment
metadata:
  name: deploy-blue
  labels:
    app: webapp
    release: stable
  annotations:
    kubernetes.io/change-cause: release blue 
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
  selector:
    matchLabels:
      app: webapp
      release: stable
  template:
    metadata:
      labels:
        app: webapp
        release: stable
    spec:
      containers:
      - name: deploy-blue
        image: takytaky/web:blue
        ports:
        - containerPort: 80
