forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
limitrange.yaml
56 lines (56 loc) · 943 Bytes
/
limitrange.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
54
55
56
apiVersion: v1
kind: LimitRange
metadata:
name: limit-mem-cpu-per-container
spec:
limits:
- max:
cpu: "800m"
memory: "1Gi"
min:
cpu: "100m"
memory: "99Mi"
default:
cpu: "700m"
memory: "900Mi"
defaultRequest:
cpu: "110m"
memory: "111Mi"
type: Container
---
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: echo-hello-world
spec:
steps:
- name: echo
image: ubuntu
command:
- echo
args:
- "hello world"
---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: pipeline-hello
spec:
tasks:
- name: hello-world-1
taskRef:
name: echo-hello-world
- name: hello-world-2
taskRef:
name: echo-hello-world
runAfter:
- hello-world-1
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
generateName: pipeline-hello-run-
spec:
pipelineRef:
name: pipeline-hello
status: {}