{"id":96937,"date":"2026-08-28T19:48:33","date_gmt":"2026-08-28T11:48:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/96937.html"},"modified":"2026-08-28T19:48:33","modified_gmt":"2026-08-28T11:48:33","slug":"k8s%e9%9b%86%e7%be%a4%e9%83%a8%e7%bd%b2jenkins-master%e9%ab%98%e5%8f%af%e7%94%a8%e9%83%a8%e7%bd%b2%e5%ae%9e%e6%93%8d","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/96937.html","title":{"rendered":"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd"},"content":{"rendered":"<h2>K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd<\/h2>\n<p>\u6280\u672f\u6808&#xff1a;Jenkins 2.440.x &#043; Kubernetes v1.32.13 &#043; Rocky Linux 8.6 &#043; Kubernetes Plugin &#043; Kaniko &#043; Helm 3.14.x<\/p>\n<p>\u64cd\u4f5c\u73af\u5883 \/ \u5bf9\u63a5\u539f\u7406 \/ \u8be6\u7ec6\u6b65\u9aa4 \/ \u5b8c\u6574\u547d\u4ee4 \/ \u914d\u7f6e\u6587\u4ef6 \/ \u9a8c\u8bc1\u6d41\u7a0b \/ \u6392\u9519\u65b9\u6848<\/p>\n<h2>K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd<\/h2>\n<h3>\u64cd\u4f5c\u73af\u5883<\/h3>\n<ul>\n<li>\n<p>Jenkins \u7248\u672c 2.440.3&#xff0c;\u90e8\u7f72\u4e8e K8s \u96c6\u7fa4 ci \u547d\u540d\u7a7a\u95f4&#xff0c;\u5df2\u5b89\u88c5 Kubernetes\u3001Kubernetes CLI\u3001Docker Pipeline\u3001Credentials Binding \u63d2\u4ef6<\/p>\n<\/li>\n<li>\n<p>K8s \u96c6\u7fa4\u7248\u672c v1.32.13&#xff0c;\u76ee\u6807\u90e8\u7f72\u547d\u540d\u7a7a\u95f4 default&#xff0c;\u5df2\u914d\u7f6e ServiceAccount jenkins-deployer \u53ca RBAC \u6743\u9650<\/p>\n<\/li>\n<li>\n<p>\u955c\u50cf\u4ed3\u5e93 Harbor v2.10.x&#xff0c;\u5730\u5740 harbor.example.com&#xff0c;\u9879\u76ee library&#xff0c;\u5df2\u914d\u7f6e\u673a\u5668\u4eba\u8d26\u53f7\u51ed\u636e<\/p>\n<\/li>\n<li>\n<p>\u4ee3\u7801\u4ed3\u5e93 GitLab\/GitHub&#xff0c;\u5df2\u914d\u7f6e Webhook \u89e6\u53d1 Jenkins \u6784\u5efa<\/p>\n<\/li>\n<li>\n<p>\u5bb9\u5668\u8fd0\u884c\u65f6 Containerd 1.7.x&#xff0c;Jenkins Agent \u4f7f\u7528 Kaniko \u955c\u50cf\u6784\u5efa&#xff08;\u65e0\u9700 Docker daemon&#xff09;<\/p>\n<\/li>\n<li>\n<p>Helm 3.14.x&#xff0c;\u5e94\u7528 Chart \u5b58\u653e\u4e8e\u4ee3\u7801\u4ed3\u5e93 helm\/ \u76ee\u5f55&#xff0c;Values \u6587\u4ef6\u6309\u73af\u5883\u533a\u5206<\/p>\n<\/li>\n<\/ul>\n<h3>\u5bf9\u63a5\u539f\u7406<\/h3>\n<p>Jenkins Pipeline \u4ee5 Groovy DSL \u58f0\u660e\u5f0f\u63cf\u8ff0 CI\/CD \u5168\u6d41\u7a0b&#xff0c;\u901a\u8fc7 Kubernetes Plugin \u5728 K8s \u96c6\u7fa4\u4e2d\u52a8\u6001\u521b\u5efa Pod \u4f5c\u4e3a\u6784\u5efa Agent&#xff0c;\u4efb\u52a1\u5b8c\u6210\u540e\u81ea\u52a8\u9500\u6bc1&#xff0c;\u5b9e\u73b0\u8d44\u6e90\u5f39\u6027\u4f38\u7f29\u3002Pipeline \u6d41\u7a0b\u5305\u542b\u4ee3\u7801\u68c0\u51fa\u3001\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5\u3001\u5355\u5143\u6d4b\u8bd5\u3001\u955c\u50cf\u6784\u5efa&#xff08;Kaniko&#xff09;\u3001\u955c\u50cf\u63a8\u9001&#xff08;Harbor&#xff09;\u3001\u90e8\u7f72\u5230 K8s&#xff08;kubectl\/helm&#xff09;\u3001\u5065\u5eb7\u9a8c\u8bc1\u3001\u901a\u77e5\u3002Jenkins \u901a\u8fc7 Kubernetes CLI Plugin \u8c03\u7528 kubeconfig \u6216 ServiceAccount Token \u4e0e K8s APIServer \u901a\u4fe1\u3002\u51ed\u636e\u7edf\u4e00\u5b58\u50a8\u4e8e Jenkins Credentials&#xff0c;\u901a\u8fc7 withCredentials \u7ed1\u5b9a\u5230\u6784\u5efa\u73af\u5883\u3002K8s \u4fa7\u901a\u8fc7 RBAC \u4e3a jenkins-deployer ServiceAccount \u6388\u4e88\u6700\u5c0f\u6743\u9650\u3002<\/p>\n<h3>\u8be6\u7ec6\u6b65\u9aa4<\/h3>\n<p>1. K8s \u90e8\u7f72 Jenkins Master<\/p>\n<p># \u521b\u5efa\u547d\u540d\u7a7a\u95f4\u548c\u6301\u4e45\u5377<br \/>\nkubectl create namespace ci<br \/>\n# Helm \u90e8\u7f72 Jenkins<br \/>\nhelm repo add jenkins https:\/\/charts.jenkins.io<br \/>\nhelm repo update<br \/>\ncat &gt; jenkins-values.yaml &lt;&lt; &#039;EOF&#039;<br \/>\ncontroller:<br \/>\n  serviceType: ClusterIP<br \/>\n  ingress:<br \/>\n \u00a0  enabled: true<br \/>\n \u00a0  hostName: jenkins.example.com<br \/>\n  resources:<br \/>\n \u00a0  requests:<br \/>\n \u00a0 \u00a0  cpu: 500m<br \/>\n \u00a0 \u00a0  memory: 1Gi<br \/>\n \u00a0  limits:<br \/>\n \u00a0 \u00a0  cpu: 2<br \/>\n \u00a0 \u00a0  memory: 4Gi<br \/>\n  installPlugins:<br \/>\n \u00a0 \u00a0&#8211; kubernetes:3937.vd7b_82db_e347<br \/>\n \u00a0 \u00a0&#8211; kubernetes-cli:4383.v2a_f9d2148296<br \/>\n \u00a0 \u00a0&#8211; docker-workflow:572.v950f58993843<br \/>\n \u00a0 \u00a0&#8211; credentials-binding:642.v8395a_b_b_c89e<br \/>\n \u00a0 \u00a0&#8211; git:5.2.1<br \/>\n \u00a0 \u00a0&#8211; workflow-aggregator:596.v8c21c963d92d<br \/>\n \u00a0 \u00a0&#8211; sonar:2.17.2<br \/>\n \u00a0 \u00a0&#8211; slack:684.v8330f8598869<br \/>\n  serviceAccount:<br \/>\n \u00a0  create: true<br \/>\n \u00a0  name: jenkins<br \/>\nagent:<br \/>\n  enabled: true<br \/>\n  image: jenkins\/inbound-agent:latest<br \/>\npersistence:<br \/>\n  enabled: true<br \/>\n  storageClass: rook-ceph-block<br \/>\n  size: 50Gi<br \/>\nEOF<br \/>\nhelm install jenkins jenkins\/jenkins -n ci -f jenkins-values.yaml<br \/>\n# \u7b49\u5f85\u542f\u52a8<br \/>\nkubectl wait &#8211;for&#061;condition&#061;ready pod -l app.kubernetes.io\/component&#061;jenkins-controller -n ci &#8211;timeout&#061;300s<br \/>\n# \u83b7\u53d6\u521d\u59cb\u5bc6\u7801<br \/>\nkubectl exec -n ci deployment\/jenkins &#8212; cat \/var\/jenkins_home\/secrets\/initialAdminPassword<\/p>\n<p>2. \u914d\u7f6e K8s \u4e91\u4e0e\u52a8\u6001 Agent<\/p>\n<p># Manage Jenkins -&gt; Manage Nodes and Clouds -&gt; Configure Clouds<br \/>\n# \u6dfb\u52a0 Kubernetes \u4e91&#xff1a;<br \/>\n# Name: k8s<br \/>\n# Kubernetes URL: https:\/\/kubernetes.default.svc.cluster.local<br \/>\n# Kubernetes namespace: ci<br \/>\n# Service account: jenkins<br \/>\n# Jenkins URL: http:\/\/jenkins.ci.svc.cluster.local:8080<br \/>\n# Jenkins tunnel: jenkins-agent.ci.svc.cluster.local:50000<br \/>\n# Pod \u6a21\u677f\u914d\u7f6e&#xff1a;<br \/>\n# Name: kaniko-builder<br \/>\n# Labels: kaniko-builder<br \/>\n# Containers:<br \/>\n# &#8211; name: kaniko, image: gcr.io\/kaniko-project\/executor:v1.19.2-debug, command: sleep, args: 999999<br \/>\n# &#8211; name: kubectl, image: bitnami\/kubectl:1.32, command: sleep, args: 999999<br \/>\n# &#8211; name: helm, image: alpine\/helm:3.14.0, command: sleep, args: 999999<br \/>\n# \u9a8c\u8bc1\u52a8\u6001 Agent&#xff1a;<br \/>\nkubectl get pods -n ci -w<br \/>\n# \u89e6\u53d1\u6784\u5efa\u540e\u81ea\u52a8\u521b\u5efa jenkins-agent-xxx Pod<\/p>\n<h3>\u9a8c\u8bc1\u6d41\u7a0b<\/h3>\n<p># 1. \u9a8c\u8bc1 Jenkins \u8fd0\u884c<br \/>\nkubectl get pods -n ci -l app.kubernetes.io\/component&#061;jenkins-controller<br \/>\n# Pod STATUS Running, READY 1\/1<br \/>\n\u200b<br \/>\n# 2. \u9a8c\u8bc1\u52a8\u6001 Agent<br \/>\n# \u89e6\u53d1\u6784\u5efa\u540e\u67e5\u770b ci \u547d\u540d\u7a7a\u95f4 Pod<br \/>\nkubectl get pods -n ci | grep jenkins-agent<br \/>\n# \u663e\u793a jenkins-agent-xxx Pod \u8fd0\u884c<br \/>\n\u200b<br \/>\n# 3. \u9a8c\u8bc1\u955c\u50cf\u6784\u5efa\u63a8\u9001<br \/>\n# Harbor UI \u67e5\u770b library\/myapp \u9879\u76ee&#xff0c;\u6216 API:<br \/>\ncurl -u &#034;robot\\\\$library&#043;ci-bot:${HARBOR_TOKEN}&#034; \\\\<br \/>\n  https:\/\/harbor.example.com\/api\/v2.0\/projects\/library\/repositories\/myapp\/artifacts<br \/>\n# \u663e\u793a\u65b0\u955c\u50cf\u6807\u7b7e<br \/>\n\u200b<br \/>\n# 4. \u9a8c\u8bc1 K8s \u90e8\u7f72<br \/>\nkubectl get deployment myapp -n default<br \/>\n# \u955c\u50cf\u5df2\u66f4\u65b0\u4e3a\u65b0\u6807\u7b7e<br \/>\nkubectl rollout status deployment\/myapp -n default<br \/>\n# deployment successfully rolled out<br \/>\n\u200b<br \/>\n# 5. \u9a8c\u8bc1 RBAC \u6743\u9650<br \/>\nkubectl auth can-i create deployments &#8211;as&#061;system:serviceaccount:ci:jenkins-deployer -n default<br \/>\n# \u8fd4\u56de yes<br \/>\nkubectl auth can-i delete namespaces &#8211;as&#061;system:serviceaccount:ci:jenkins-deployer<br \/>\n# \u8fd4\u56de no<br \/>\n\u200b<br \/>\n# 6. \u9a8c\u8bc1 Webhook \u89e6\u53d1<br \/>\n# \u63a8\u9001\u4ee3\u7801\u540e Jenkins \u81ea\u52a8\u6784\u5efa<br \/>\ncurl http:\/\/jenkins.example.com\/job\/myapp\/lastBuild\/api\/json | jq &#039;.building&#039;<\/p>\n<h3>\u6392\u9519\u65b9\u6848<\/h3>\n<ul>\n<li>\n<p>Jenkins Agent Pod \u4e00\u76f4 Pending&#xff1a;\u68c0\u67e5 ci \u547d\u540d\u7a7a\u95f4\u8d44\u6e90\u662f\u5426\u5145\u8db3&#xff0c;ServiceAccount \u662f\u5426\u5b58\u5728&#xff0c;\u955c\u50cf\u662f\u5426\u53ef\u62c9\u53d6&#xff0c;kubectl describe pod \u67e5\u770b\u4e8b\u4ef6<\/p>\n<\/li>\n<li>\n<p>\u955c\u50cf\u6784\u5efa\u5931\u8d25&#xff08;Kaniko&#xff09;&#xff1a;\u68c0\u67e5 Dockerfile \u8bed\u6cd5&#xff0c;\u57fa\u7840\u955c\u50cf\u662f\u5426\u53ef\u62c9\u53d6&#xff0c;Harbor \u51ed\u636e\u662f\u5426\u6b63\u786e&#xff0c;\/kaniko\/.docker\/config.json \u662f\u5426\u751f\u6210<\/p>\n<\/li>\n<li>\n<p>\u955c\u50cf\u63a8\u9001\u5931\u8d25 401&#xff1a;\u68c0\u67e5 Harbor \u673a\u5668\u4eba\u8d26\u53f7\u6743\u9650&#xff0c;Token \u662f\u5426\u8fc7\u671f&#xff0c;\u51ed\u636e ID \u662f\u5426\u6b63\u786e&#xff0c;withCredentials \u53d8\u91cf\u7ed1\u5b9a\u662f\u5426\u6b63\u786e<\/p>\n<\/li>\n<li>\n<p>kubectl \u90e8\u7f72\u5931\u8d25 Forbidden&#xff1a;\u68c0\u67e5 ServiceAccount RBAC \u6743\u9650&#xff0c;RoleBinding \u662f\u5426\u7ed1\u5b9a\u6b63\u786e\u547d\u540d\u7a7a\u95f4&#xff0c;kubeconfig Token \u662f\u5426\u6709\u6548<\/p>\n<\/li>\n<li>\n<p>kubectl \u90e8\u7f72\u8d85\u65f6&#xff1a;\u68c0\u67e5 Deployment \u955c\u50cf\u662f\u5426\u53ef\u62c9\u53d6&#xff0c;Pod \u662f\u5426\u542f\u52a8\u6210\u529f&#xff0c;\u5065\u5eb7\u68c0\u67e5\u662f\u5426\u901a\u8fc7&#xff0c;kubectl describe pod \u548c kubectl logs \u6392\u67e5<\/p>\n<\/li>\n<li>\n<p>Webhook \u4e0d\u89e6\u53d1&#xff1a;\u68c0\u67e5 GitLab Webhook URL&#xff0c;Jenkins \u6784\u5efa\u89e6\u53d1\u5668\u662f\u5426\u542f\u7528&#xff0c;Secret Token \u662f\u5426\u5339\u914d&#xff0c;\u7f51\u7edc\u662f\u5426\u53ef\u8fbe&#xff0c;\u67e5\u770b GitLab Webhook \u6700\u8fd1\u4ea4\u4ed8\u8bb0\u5f55<\/p>\n<\/li>\n<li>\n<p>\u51ed\u636e\u6cc4\u9732\u98ce\u9669&#xff1a;\u786e\u4fdd\u4e0d\u5728 Jenkinsfile \u786c\u7f16\u7801\u5bc6\u7801&#xff0c;\u4f7f\u7528 withCredentials \u7ed1\u5b9a&#xff0c;\u5f00\u542f Credentials \u63a9\u7801\u529f\u80fd&#xff0c;\u5b9a\u671f\u8f6e\u6362\u51ed\u636e<\/p>\n<\/li>\n<li>\n<p>\u6784\u5efa\u901f\u5ea6\u6162&#xff1a;\u4f18\u5316 Dockerfile \u591a\u9636\u6bb5\u6784\u5efa\u548c\u7f13\u5b58\u5c42&#xff0c;\u542f\u7528 Kaniko \u7f13\u5b58&#xff0c;\u4f7f\u7528\u672c\u5730 Maven\/Gradle \u7f13\u5b58 PVC&#xff0c;\u5e76\u884c\u6267\u884c\u72ec\u7acb\u9636\u6bb5&#xff0c;\u589e\u5927 Agent \u8d44\u6e90<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd\u6280\u672f\u6808&#xff1a;Jenkins 2.440.x  Kubernetes v1.32.13  Rocky Linux 8.6  Kubernetes Plugin  Kaniko  Helm 3.14.x\u64cd\u4f5c\u73af\u5883 \/ \u5bf9\u63a5\u539f\u7406 \/ \u8be6\u7ec6\u6b65\u9aa4 \/ \u5b8c\u6574\u547d\u4ee4 \/ \u914d\u7f6e\u6587\u4ef6 \/ \u9a8c\u8bc1\u6d41\u7a0b \/ \u6392\u9519\u65b9\u6848K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd\u64cd\u4f5c\u73af\u5883Jenkins \u7248\u672c 2.440.3&#xff0c;\u90e8\u7f72\u4e8e <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,120,58,43],"topic":[],"class_list":["post-96937","post","type-post","status-publish","format-standard","hentry","category-server","tag-docker","tag-kubernetes","tag-linux","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/96937.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd\u6280\u672f\u6808&#xff1a;Jenkins 2.440.x Kubernetes v1.32.13 Rocky Linux 8.6 Kubernetes Plugin Kaniko Helm 3.14.x\u64cd\u4f5c\u73af\u5883 \/ \u5bf9\u63a5\u539f\u7406 \/ \u8be6\u7ec6\u6b65\u9aa4 \/ \u5b8c\u6574\u547d\u4ee4 \/ \u914d\u7f6e\u6587\u4ef6 \/ \u9a8c\u8bc1\u6d41\u7a0b \/ \u6392\u9519\u65b9\u6848K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd\u64cd\u4f5c\u73af\u5883Jenkins \u7248\u672c 2.440.3&#xff0c;\u90e8\u7f72\u4e8e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/96937.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-28T11:48:33+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96937.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/96937.html\",\"name\":\"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-28T11:48:33+00:00\",\"dateModified\":\"2026-08-28T11:48:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/96937.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/96937.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/96937.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/96937.html","og_locale":"zh_CN","og_type":"article","og_title":"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd\u6280\u672f\u6808&#xff1a;Jenkins 2.440.x Kubernetes v1.32.13 Rocky Linux 8.6 Kubernetes Plugin Kaniko Helm 3.14.x\u64cd\u4f5c\u73af\u5883 \/ \u5bf9\u63a5\u539f\u7406 \/ \u8be6\u7ec6\u6b65\u9aa4 \/ \u5b8c\u6574\u547d\u4ee4 \/ \u914d\u7f6e\u6587\u4ef6 \/ \u9a8c\u8bc1\u6d41\u7a0b \/ \u6392\u9519\u65b9\u6848K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd\u64cd\u4f5c\u73af\u5883Jenkins \u7248\u672c 2.440.3&#xff0c;\u90e8\u7f72\u4e8e","og_url":"https:\/\/www.wsisp.com\/helps\/96937.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-28T11:48:33+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/96937.html","url":"https:\/\/www.wsisp.com\/helps\/96937.html","name":"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-28T11:48:33+00:00","dateModified":"2026-08-28T11:48:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/96937.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/96937.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/96937.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"K8s\u96c6\u7fa4\u90e8\u7f72Jenkins Master\u9ad8\u53ef\u7528\u90e8\u7f72\u5b9e\u64cd"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=96937"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/96937\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=96937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=96937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=96937"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=96937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}