From 6e7262763ca7d0d94324477907161bd3907c9c1e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 16 Mar 2017 19:16:15 +0100 Subject: feat k8s: Add demo deployments inside k8s --- k8s/child.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 k8s/child.yaml (limited to 'k8s/child.yaml') diff --git a/k8s/child.yaml b/k8s/child.yaml new file mode 100644 index 000000000000..aa2e318262cd --- /dev/null +++ b/k8s/child.yaml @@ -0,0 +1,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 -- cgit 1.4.1