apiVersion: apps/v1
kind: Deployment
metadata:
  name: gb-frontend-deployment
  labels:
    app: guestbook-app
spec:
  replicas: 3
  selector:
    matchLabels:
      name: gb-frontend-pod
      app: guestbook-app
  template:
    metadata:
      name: gb-frontend-pod
      labels:
        name: gb-frontend-pod
        app: guestbook-app

    spec:
      containers:
      - name: gb-frontend
        image: gcr.io/google-samples/gb-frontend:v4
        ports:
        - containerPort: 80
