about summary refs log tree commit diff
path: root/fun/quinistry/k8s/child.yaml
blob: aa2e318262cd54f22827363f6b85a7fd14125363 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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