---
  apiVersion: v1
  kind: ReplicationController
  metadata:
    name: guestbook-frontend
    labels:
      name: guestbook-frontend
  spec:
    replicas: 2
    selector:
      name: guestbook-frontend
    template:
      metadata:
        labels:
          name: guestbook-frontend
      spec:
        containers:
        - name: php-redis
          image: kubernetes/example-guestbook-php-redis:v2
          ports:
          - containerPort: 80
