fix(blog): schedule 10Gi builds on the high-memory arm64 node
This commit is contained in:
1 parent
be032170db
commit
8c947b6482
2 files changed
+5
-1
No files matched your search
+2
-1
@@ -24,7 +24,8 @@ signed Gitea push
|
|||||||
자격 증명, `tasks.yaml`과 `pipeline.yaml`은 실행 단계, `trigger.yaml`과 `ingress.yaml`은
|
자격 증명, `tasks.yaml`과 `pipeline.yaml`은 실행 단계, `trigger.yaml`과 `ingress.yaml`은
|
||||||
서명된 webhook 수신을 담당합니다. 클러스터 범위 권한과 공통 리소스 정책은 platform에 둡니다.
|
서명된 webhook 수신을 담당합니다. 클러스터 범위 권한과 공통 리소스 정책은 platform에 둡니다.
|
||||||
|
|
||||||
PipelineRun은 공유 `tekton-ci`의 ARM64 노드, 10 GiB `local-path` PVC를 사용합니다.
|
PipelineRun은 공유 `tekton-ci`의 ARM64 `heize` 노드와 10 GiB `local-path` PVC를 사용합니다.
|
||||||
|
소스 PVC가 quality 배치도 고정하므로 clone부터 메모리 여유가 있는 노드를 선택합니다.
|
||||||
최대 시간은 90분(Tasks 85분)입니다. quality의 메모리 요청은 6Gi, 이미지 빌드는 2Gi이며
|
최대 시간은 90분(Tasks 85분)입니다. quality의 메모리 요청은 6Gi, 이미지 빌드는 2Gi이며
|
||||||
두 빌드의 메모리 제한은 10Gi입니다. 의존성은 Cargo jobs=4, 실제 앱 컴파일은 jobs=1이며
|
두 빌드의 메모리 제한은 10Gi입니다. 의존성은 Cargo jobs=4, 실제 앱 컴파일은 jobs=1이며
|
||||||
incremental은 끕니다. 도구는 버전·SHA256을 고정한 공식 ARM64/AMD64 바이너리로 설치합니다.
|
incremental은 끕니다. 도구는 버전·SHA256을 고정한 공식 ARM64/AMD64 바이너리로 설치합니다.
|
||||||
|
|||||||
@@ -36,6 +36,9 @@ spec:
|
|||||||
podTemplate:
|
podTemplate:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: arm64
|
kubernetes.io/arch: arm64
|
||||||
|
# The local-path source PVC fixes the node for quality as well.
|
||||||
|
# Reserve the node with enough headroom for the 10Gi Rust build.
|
||||||
|
kubernetes.io/hostname: heize
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
fsGroupChangePolicy: OnRootMismatch
|
||||||
|
|||||||
Reference in new issue
Block a user