apiVersion: apps/v1
kind: Deployment
metadata:
  name: vweb
  labels: 
    kubernetes.courselabs.co: rollouts
spec:
  replicas: 3
  selector:
    matchLabels:
      app: vweb
  template:
    metadata:
      labels:
        app: vweb
    spec:
      initContainers:
        - name: wait
          image: kiamol/ch03-sleep
          command: ['sh', '-c', 'sleep 3s']
      containers:
        - name: web
          image: kiamol/ch09-vweb:v1
          ports:
            - name: http
              containerPort: 80

