-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjob.example.yaml
53 lines (53 loc) · 1.38 KB
/
job.example.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
apiVersion: batch/v1
kind: Job
metadata:
labels:
batch.kubernetes.io/job-name: example
job-name: example
name: example
spec:
backoffLimit: 2
completionMode: NonIndexed
completions: 1
manualSelector: false
parallelism: 1
podReplacementPolicy: TerminatingOrFailed
suspend: false
template:
metadata:
creationTimestamp: null
labels:
batch.kubernetes.io/job-name: example
job-name: example
spec:
containers:
- image: ghcr.io/kubero-dev/deployer:latest
imagePullPolicy: Always
name: example
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: APP
value: example
- name: PHASE
value: dev
- name: PIPELINE
value: pipelinename
- name: REPOSITORY
value: registry.kubero.linode.shoks.ch/kapck/example
- name: TAG
value: latest
- name: SERVICE_ACCOUNT
value: kpack-sa
- name: BUILDER
value: gcr.io/paketo-buildpacks/builder:base
- name: URL
value: https://github.com/kubero-dev/template-nodeapp.git
- name: REVISION
value: main
dnsPolicy: ClusterFirst
restartPolicy: Never
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30