mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2025-12-06 08:06:24 +00:00
Jenkins 에이전트 Pod에 CICD 전용 노드 tolerations 추가
- tolerations: dedicated=cicd:NoSchedule 설정 추가 - CICD 전용 노드에서만 파이프라인 실행되도록 제한 - Kubernetes 네이티브 YAML 설정으로 노드 격리 구현 - CI/CD 워크로드 전용 리소스 보장
This commit is contained in:
parent
6540dc4d07
commit
cbdf0faa14
8
deployment/cicd/Jenkinsfile
vendored
8
deployment/cicd/Jenkinsfile
vendored
@ -12,6 +12,14 @@ podTemplate(
|
|||||||
slaveConnectTimeout: 300,
|
slaveConnectTimeout: 300,
|
||||||
idleMinutes: 30,
|
idleMinutes: 30,
|
||||||
activeDeadlineSeconds: 3600,
|
activeDeadlineSeconds: 3600,
|
||||||
|
yaml: '''
|
||||||
|
spec:
|
||||||
|
tolerations:
|
||||||
|
- effect: NoSchedule
|
||||||
|
key: dedicated
|
||||||
|
operator: Equal
|
||||||
|
value: cicd
|
||||||
|
''',
|
||||||
containers: [
|
containers: [
|
||||||
containerTemplate(
|
containerTemplate(
|
||||||
name: 'podman',
|
name: 'podman',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user