deployment definition
This commit is contained in:
parent
a7bb00c71e
commit
00e8188f47
1 changed files with 8 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: premerge-debian
|
name: premerge-debian
|
||||||
|
@ -24,6 +24,11 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: agent-premerge-debian
|
app: agent-premerge-debian
|
||||||
spec:
|
spec:
|
||||||
|
strategy:
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 25%
|
||||||
|
maxUnavailable: 25%
|
||||||
|
type: RollingUpdate
|
||||||
containers:
|
containers:
|
||||||
- name: buildkite-premerge-debian
|
- name: buildkite-premerge-debian
|
||||||
image: gcr.io/llvm-premerge-checks/buildkite-premerge-debian
|
image: gcr.io/llvm-premerge-checks/buildkite-premerge-debian
|
||||||
|
@ -39,6 +44,8 @@ spec:
|
||||||
mountPath: /mnt/disks/ssd0
|
mountPath: /mnt/disks/ssd0
|
||||||
- name: github-ssh
|
- name: github-ssh
|
||||||
mountPath: /mnt/ssh
|
mountPath: /mnt/ssh
|
||||||
|
terminationMessagePath: /dev/termination-log
|
||||||
|
terminationMessagePolicy: File
|
||||||
env:
|
env:
|
||||||
- name: BUILDKITE_AGENT_TOKEN
|
- name: BUILDKITE_AGENT_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
Loading…
Add table
Reference in a new issue