ci: close placement gaps and fit measured helper reservations
This commit is contained in:
parent
d6800b14da
commit
21a4f677f2
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -15,20 +15,9 @@ spec:
|
|||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: kubernetes.io/hostname
|
- {key: hardware, operator: In, values: [rpi5, rpi4]}
|
||||||
operator: NotIn
|
- {key: node-role.kubernetes.io/worker, operator: In, values: ["true"]}
|
||||||
values:
|
- {key: kubernetes.io/hostname, operator: NotIn, values: [titan-04, titan-05, titan-06, titan-08, titan-11, titan-12, titan-13, titan-14, titan-15, titan-17, titan-18, titan-19]}
|
||||||
- titan-04
|
|
||||||
- titan-05
|
|
||||||
- titan-06
|
|
||||||
- titan-11
|
|
||||||
- titan-12
|
|
||||||
- titan-13
|
|
||||||
- titan-14
|
|
||||||
- titan-15
|
|
||||||
- titan-17
|
|
||||||
- titan-18
|
|
||||||
- titan-19
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
preference:
|
preference:
|
||||||
|
|||||||
@ -14,20 +14,9 @@ spec:
|
|||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: kubernetes.io/hostname
|
- {key: hardware, operator: In, values: [rpi5, rpi4]}
|
||||||
operator: NotIn
|
- {key: node-role.kubernetes.io/worker, operator: In, values: ["true"]}
|
||||||
values:
|
- {key: kubernetes.io/hostname, operator: NotIn, values: [titan-04, titan-05, titan-06, titan-08, titan-11, titan-12, titan-13, titan-14, titan-15, titan-17, titan-18, titan-19]}
|
||||||
- titan-04
|
|
||||||
- titan-05
|
|
||||||
- titan-06
|
|
||||||
- titan-11
|
|
||||||
- titan-12
|
|
||||||
- titan-13
|
|
||||||
- titan-14
|
|
||||||
- titan-15
|
|
||||||
- titan-17
|
|
||||||
- titan-18
|
|
||||||
- titan-19
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
preference:
|
preference:
|
||||||
|
|||||||
@ -15,25 +15,9 @@ spec:
|
|||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: hardware
|
- {key: hardware, operator: In, values: [rpi5, rpi4]}
|
||||||
operator: In
|
- {key: node-role.kubernetes.io/worker, operator: In, values: ["true"]}
|
||||||
values:
|
- {key: kubernetes.io/hostname, operator: NotIn, values: [titan-04, titan-05, titan-06, titan-08, titan-11, titan-12, titan-13, titan-14, titan-15, titan-17, titan-18, titan-19]}
|
||||||
- rpi5
|
|
||||||
- rpi4
|
|
||||||
- key: kubernetes.io/hostname
|
|
||||||
operator: NotIn
|
|
||||||
values:
|
|
||||||
- titan-04
|
|
||||||
- titan-05
|
|
||||||
- titan-06
|
|
||||||
- titan-11
|
|
||||||
- titan-12
|
|
||||||
- titan-13
|
|
||||||
- titan-14
|
|
||||||
- titan-15
|
|
||||||
- titan-17
|
|
||||||
- titan-18
|
|
||||||
- titan-19
|
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 80
|
- weight: 80
|
||||||
preference:
|
preference:
|
||||||
@ -63,6 +47,10 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: git
|
- name: git
|
||||||
image: alpine/git:2.47.1
|
image: alpine/git:2.47.1
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "10m"
|
||||||
|
memory: "64Mi"
|
||||||
command:
|
command:
|
||||||
- cat
|
- cat
|
||||||
tty: true
|
tty: true
|
||||||
@ -73,6 +61,9 @@ spec:
|
|||||||
tty: true
|
tty: true
|
||||||
- name: semgrep
|
- name: semgrep
|
||||||
image: semgrep/semgrep:1.171.0
|
image: semgrep/semgrep:1.171.0
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "192Mi"
|
||||||
command:
|
command:
|
||||||
- cat
|
- cat
|
||||||
tty: true
|
tty: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user