kubesphere-devops-jenkins
하는 일
이 스킬은 AI 에이전트가 KubeSphere DevOps가 사용하는 빌드 엔진 Jenkins를 설정하고 문제를 해결하도록 돕습니다. KubeSphere에서 CI 빌드를 운영하는 플랫폼 운영자를 위한 스킬입니다.
사용하는 경우
- ✓LDAP나 OIDC로 사용자 로그인 방식을 바꿔야 할 때.
- ✓Jenkins 빌드 에이전트 이미지를 맞춤 설정하거나 GitLab 서버를 연결하고 싶은 경우.
- ✓Jenkins 빌드가 시작되지 않거나, 로그와 산출물을 찾을 수 없을 때.
스킬 링크
https://github.com/kubesphere/kubesphere/blob/master/skills/kubesphere-devops-jenkins/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“KubeSphere DevOps의 Jenkins를 회사 LDAP에 연결해서 사람들이 로그인할 수 있게 해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 클러스터에 있는 Jenkins 설정을 읽고, 현재 구성을 확인한 뒤 변경안을 제안합니다. 또한 Jenkins 콘솔의 관리자 접근 정보와 접속 포트를 찾아볼 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
KubeSphere DevOps Jenkins Configuration
Overview
KubeSphere DevOps embeds Jenkins as the CI engine. Jenkins is configured via Configuration as Code (CasC) and provides the underlying pipeline execution environment. Understanding Jenkins configuration is essential for customizing agents, authentication, and resource management.
When to Use
- Accessing Jenkins console directly
- Configuring LDAP or OIDC authentication
- Customizing Jenkins agent images
- Configuring GitLab or other SCM servers
- Troubleshooting Jenkins startup issues
- Updating Jenkins after DevOps upgrade
- Triggering builds via API
- Downloading build artifacts
- Viewing build logs and status
Accessing Jenkins Console
Get Admin Credentials
# Get Jenkins admin user and password
kubectl -n kubesphere-devops-system get secret devops-jenkins -o yaml
# Decode values
echo "<jenkins-admin-password-base64>" | base64 -d
echo "<jenkins-admin-user-base64>" | base64 -d
Get Jenkins NodePort
kubectl -n kubesphere-devops-system get svc devops-jenkins
# Default NodePort: 30180
Access via: http://<master-node-ip>:30180
Configuration As Code (CasC)
Jenkins configuration is managed through the jenkins-casc-config ConfigMap:
# View current CasC
kubectl -n kubesphere-devops-system get cm jenkins-casc-config -o yaml
Key Configuration Sections
agent:
jenkins:
Master:
NodeSelector: {}
Tolerations: []
Agent:
Image: "jenkins/inbound-agent"
Tag: "3309.v27b_9314fd1a_4-1-jdk21"
Privileged: false
NodeSelector: {}
Authentication Configuration
LDAP Integration
agent:
jenkins:
exactSecurityRealm:
ldap:
configurations:
- displayNameAttributeName: "uid"
mailAddressAttributeName: "mail"
inhibitInferRootDN: false
managerDN: "cn=admin,dc=kubesphere,dc=io"
managerPasswordSecret: "admin"
rootDN: "dc=kubesphere,dc=io"
userSearchBase: "ou=Users"
userSearch: "(&(objectClass=inetOrgPerson)(|(uid={0})(mail={0})))"
groupSearchBase: "ou=Groups"
groupSearchFilter: "(&(objectClass=posixGroup)(cn={0}))"
server: "ldap://openldap.kubesphere-system.svc:389"
disableMailAddressResolver: false
disableRolePrefixing: true
OpenID Connect (OIDC) Integration
agent:
jenkins:
exactSecurityRealm:
oic:
clientId: "jenkins"
clientSecret: "jenkins"
tokenServerUrl: "http://192.168.1.20:30880/oauth/token"
authorizationServerUrl: "http://192.168.1.20:30880/oauth/authorize"
userInfoServerUrl: "http://192.168.1.20:30880/oauth/userinfo"
endSessionEndpoint: "http://192.168.1.20:30880/oauth/logout"
logoutFromOpenidProvider: true
scopes: openid profile email
fullNameFieldName: url
userNameField: preferred_username
redirectURIs:
- http://192.168.1.20:30180/securityRealm/finishLogin
GitLab Integration
Configure GitLab servers for pipeline integration:
agent:
jenkins:
unclassified:
gitLabServers:
- name: "gitlab-a"
serverUrl: "https://gitlab.a.com"
- name: "gitlab-b"
serverUrl: "https://gitlab.b.com"
After updating ConfigMap, create credentials in Jenkins Console:
- Manage Jenkins > System
- Find GitLab section
- Add credentials (GitLab Personal Access Token)
- Test connection
- Save
Agent Customization
Update JNLP Image (v1.2.x)
# Get current config
kubectl -n kubesphere-devops-system get cm jenkins-casc-config -o yaml > /tmp/casc-old.yaml
# Update image version
sed 's/inbound-agent:4.10-2/inbound-agent:3309.v27b_9314fd1a_4-1-jdk21/g' /tmp/casc-old.yaml > /tmp/casc.yaml
# Apply new config
kubectl apply -f /tmp/casc.yaml
# Restart Jenkins
kubectl -n kubesphere-devops-system rollout restart deployment devops-jenkins
Enable Podman for Non-Docker Environments
For hosts running containerd instead of Docker:
agent:
jenkins:
Agent:
Privileged: true # Required for podman
Use agent images with -podman suffix. These alias docker command to podman.
Custom Agent PodTemplate
agent:
jenkins:
Agent:
PodTemplate:
Name: "default"
Label: "jenkins-agent"
Containers:
- Name: "jnlp"
Image: "jenkins/inbound-agent:3309.v27b_9314fd1a_4
자주 묻는 질문
Jenkins 설정은 어디에 저장되나요?
스킬에 따르면 DevOps 시스템 네임스페이스의 구성 맵에 저장되며, 에이전트가 kubectl로 읽습니다.
에이전트가 Jenkins 콘솔을 열어 줄 수 있나요?
접속 포트와 클러스터에 저장된 관리자 정보를 이용해 콘솔에 접근하는 방법을 알려 줄 수 있습니다.
빌드를 시작할 수 있나요?
네. API로 빌드를 시작하고, 빌드 로그와 상태를 읽는 방법을 다룹니다.
상세 정보
작성자의 원본 설명
Use when configuring Jenkins in KubeSphere DevOps, including agent customization, LDAP/OIDC integration, build artifact retrieval, or troubleshooting Jenkins issues
repo: kubesphere/kubesphere
인기도
- GitHub 스타
- 17k
- 순위
- #10769
- 라이선스
- —
- 업데이트
- 2026. 7. 14.
댓글
- …
이 저장소의 다른 스킬
frontend-forge-fe-operations
17k에이전트가 KubeSphere에서 FrontendExtension 리소스를 관리하도록 돕습니다. 빌드, 게시, 문제 해결까지 포함됩니다.
frontend-forge-fi-operations
17k에이전트가 KubeSphere의 FrontendIntegration 리소스와 frontend-forge 확장 기능을 만들고 관리하도록 돕습니다.
frontend-integration-yaml
17k에이전트가 메뉴 하나와 하나 이상의 페이지로 구성된, 바로 제출할 수 있는 FrontendIntegration YAML을 만들도록 돕습니다.
kubeeye
17k에이전트가 KubeEye를 설치하고, 클러스터 점검 규칙과 계획을 설정한 뒤 점검 보고서를 읽도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.