# k8s_examples_dns-backend-rc.yaml
apiVersion: v1
kind: ReplicationController
metadata:
  name: dns-backend
  labels:
    name: dns-backend
spec:
  replicas: 1
  selector:
    name: dns-backend
  template:
    metadata:
      labels:
        name: dns-backend
    spec:
      containers:
        - name: dns-backend
          image: registry.k8s.io/example-dns-backend:v2
          ports:
            - name: backend-port
              containerPort: 8000