---
kind: ReplicaSet
apiVersion: apps/v1
metadata:
  name: guestbook
  labels:
    app: guestbook
spec:
  replicas: 2
  selector:
    matchLabels:
      app: guestbook
  template:
    metadata:
      labels:
        app: guestbook
    spec:
      containers:
      - name: guestbook-nginx
        image: docker.io/laimison/guestbook-nginx:v18
        ports:
        - name: http-server
          containerPort: 80
      - name: guestbook
        image: docker.io/laimison/guestbook:v15
        ports:
        - name: http-server
          containerPort: 3000
