Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a second slave
  • Loading branch information
hatstand committed Dec 10, 2017
1 parent 3683bfc commit e39415f
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions deployment.yaml
Expand Up @@ -114,3 +114,46 @@ spec:
- name: git-volume
gitRepo:
repository: "https://github.com/clementine-player/Buildbot"
---
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: slave-ubuntu-trusty-64
spec:
selector:
matchLabels:
app: slave-ubuntu-trusty-64
replicas: 1
template:
metadata:
labels:
app: slave-ubuntu-trusty-64
spec:
containers:
- name: slave-ubuntu-trusty-64
image: gcr.io/clementine-data/slave-ubuntu-trusty-64
env:
- name: "MASTER_PORT_9989_TCP_ADDR"
value: "master-service"
- name: "MASTER_PORT_9989_TCP_PORT"
value: "9989"
volumeMounts:
- name: git-volume
mountPath: /config
subPath: Buildbot/config
- name: persistent-data
mountPath: /persistent-data
- name: secrets
mountPath: /config/passwords.json
subPath: passwords.json
volumes:
- name: secrets
secret:
secretName: slave-passwords
items:
- key: passwords.json
path: passwords.json
- name: persistent-data
- name: git-volume
gitRepo:
repository: "https://github.com/clementine-player/Buildbot"

0 comments on commit e39415f

Please sign in to comment.