apiVersion: v1
kind: ReplicationController
metadata:
  name: test-replicationcontroller
spec:
  replicas: 1
  selector:
    app: test-replicationcontroller
  template:
    metadata:
      labels:
        app: test-replicationcontroller
    spec:
      containers:
      - name: nginx
        image: gcr.io/google-containers/nginx:latest
        ports:
        - containerPort: 80
