apiVersion: apps/v1
kind: Deployment
metadata:
  name: guestbook-ui
spec:
  replicas: 1
  revisionHistoryLimit: 3
  selector:
    matchLabels:
      app: guestbook-ui
  template:
    metadata:
      labels:
        app: guestbook-ui
    spec:
      containers:
      - image: busybox
        imagePullPolicy: IfNotPresent
        name: guestbook-ui
        command:
          - sh
        args:
           - -c
           - "echo \"Hi\" && tail -f /dev/null"
        ports:
        - containerPort: 80
