apiVersion: v1
kind: ReplicationController
metadata:
  name: docker-registry
  labels:
    app: docker-registry
    heritage: helm
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: docker-registry
    spec:
      containers:
      - name: docker-registry
        image: registry:2.1.1
        ports:
        - containerPort: 5000
