about summary refs log blame commit diff
path: root/k8s/child.yaml
blob: aa2e318262cd54f22827363f6b85a7fd14125363 (plain) (tree)


























                                                                        
# This is a child quinistry, running via an image served off the parent.
---
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: quinistry-gen2
  labels:
    k8s-app: quinistry
    quinistry/role: child
    quinistry/generation: '2'
spec:
  template:
    metadata:
      labels:
        k8s-app: quinistry
        quinistry/role: child
        quinistry/generation: '2'
    spec:
      containers:
        - name: quinistry
          # Bootstrap via Docker Hub (or any other registry)
          image: localhost:5000/quinistry
          ports:
            - name: registry
              containerPort: 8080
              # Incremented hostPort, 
              hostPort: 5001