Skip to content

Commit

Permalink
Merge pull request #1196 from thom8/cron_build_toleration
Browse files Browse the repository at this point in the history
Allow CronJobs to be scheduled on build nodes.
  • Loading branch information
Schnitzel committed Aug 28, 2019
2 parents f3116b8 + b0d9090 commit 46d2a1c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ objects:
key: appuio.ch/autoscaled
operator: Equal
value: 'true'
- effect: NoSchedule
key: lagoon/build
operator: Exists
volumes:
- name: ${PERSISTENT_STORAGE_NAME}
persistentVolumeClaim:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ objects:
key: appuio.ch/autoscaled
operator: Equal
value: 'true'
- effect: NoSchedule
key: lagoon/build
operator: Exists
volumes:
- name: lagoon-sshkey
secret:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ objects:
key: appuio.ch/autoscaled
operator: Equal
value: 'true'
- effect: NoSchedule
key: lagoon/build
operator: Exists
volumes:
- name: ${SERVICE_NAME}
persistentVolumeClaim:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ objects:
key: appuio.ch/autoscaled
operator: Equal
value: 'true'
- effect: NoSchedule
key: lagoon/build
operator: Exists
containers:
- image: ${SERVICE_IMAGE}
command:
Expand Down

0 comments on commit 46d2a1c

Please sign in to comment.