{"id":104893,"date":"2026-09-13T10:33:32","date_gmt":"2026-09-13T02:33:32","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/104893.html"},"modified":"2026-09-13T10:33:32","modified_gmt":"2026-09-13T02:33:32","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%bf%90%e7%bb%b4%ef%bc%9ak3s%e4%b8%8bjenkins-%e5%ae%89%e8%a3%85%e5%8f%8a%e9%85%8d%e7%bd%ae%e7%9a%84%e5%ae%8c%e6%95%b4%e6%93%8d%e4%bd%9c%e7%ac%94%e8%ae%b0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/104893.html","title":{"rendered":"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0"},"content":{"rendered":"<p>\u4ee5\u4e0b\u662f\u672c\u6b21 Jenkins \u5728 k3s \u4e2d\u90e8\u7f72\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0&#xff1a;<\/p>\n<h4>1. \u5b89\u88c5 Helm<\/h4>\n<table>\n<tr>\u6b65\u9aa4\u547d\u4ee4\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u4e0b\u8f7d Helm<\/td>\n<td>curl -fsSL https:\/\/mirrors.huaweicloud.com\/helm\/v3.18.4\/helm-v3.18.4-linux-amd64.tar.gz -o helm.tar.gz<\/td>\n<td>\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90&#xff0c;\u907f\u514d GitHub \u8d85\u65f6<\/td>\n<\/tr>\n<tr>\n<td>\u89e3\u538b\u5b89\u88c5<\/td>\n<td>tar -xzf helm.tar.gz &amp;&amp; mv linux-amd64\/helm \/usr\/local\/bin\/<\/td>\n<td>\u5b89\u88c5\u5230\u7cfb\u7edf PATH<\/td>\n<\/tr>\n<tr>\n<td>\u9a8c\u8bc1\u7248\u672c<\/td>\n<td>helm version<\/td>\n<td>\u786e\u8ba4 v3.18.4<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>2. \u6dfb\u52a0 Jenkins Chart \u4ed3\u5e93<\/h4>\n<p>helm repo add jenkins https:\/\/charts.jenkins.io<br \/>\nhelm repo update<\/p>\n<h4>3. \u7f16\u5199 values.yaml&#xff08;\u26a0\ufe0f \u5173\u952e&#xff09;<\/h4>\n<p>\u26a0\ufe0f\u00a0\u955c\u50cf\u914d\u7f6e\u6ce8\u610f&#xff1a;Jenkins Chart \u62fc\u63a5\u903b\u8f91\u4e3a\u00a0repository:tag&#xff0c;\u4e0d\u8981\u5355\u72ec\u8bbe\u7f6e\u00a0registry\u00a0\u5b57\u6bb5&#xff0c;\u955c\u50cf\u62c9\u53d6\u7531 k3s\u00a0registries.yaml\u00a0\u5168\u5c40\u4ee3\u7406\u3002<\/p>\n<p>controller:<br \/>\n  image:<br \/>\n    repository: jenkins\/jenkins<br \/>\n    tag: lts-jdk17          # \u2705 \u6b63\u786e tag&#xff1b;2.568.3-jdk17 \u4e0d\u5b58\u5728<br \/>\n  admin:<br \/>\n    username: admin<br \/>\n    password: admin123      # \u26a0\ufe0f \u90e8\u7f72\u540e\u8bf7\u5c3d\u5feb\u4fee\u6539\u9ed8\u8ba4\u5bc6\u7801<br \/>\n  ingress:<br \/>\n    enabled: true<br \/>\n    hostName: jenkins.local<br \/>\n    path: \/<br \/>\n    annotations: {}<br \/>\n  resources:<br \/>\n    requests:<br \/>\n      cpu: 500m<br \/>\n      memory: 512Mi<br \/>\n    limits:<br \/>\n      cpu: 1000m<br \/>\n      memory: 1Gi<\/p>\n<h4>4. \u90e8\u7f72 Jenkins<\/h4>\n<table>\n<tr>\u6b65\u9aa4\u547d\u4ee4\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u521b\u5efa\u547d\u540d\u7a7a\u95f4<\/td>\n<td>kubectl create namespace jenkins<\/td>\n<td>\u9694\u79bb\u90e8\u7f72<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u88c5 Release<\/td>\n<td>helm install jenkins jenkins\/jenkins -n jenkins -f values.yaml &#8211;version 5.9.56<\/td>\n<td>\u6307\u5b9a Chart \u7248\u672c\u907f\u514d\u517c\u5bb9\u95ee\u9898<\/td>\n<\/tr>\n<tr>\n<td>\u67e5\u770b Pod \u72b6\u6001<\/td>\n<td>kubectl get pods -n jenkins -w<\/td>\n<td>\u7b49\u5f85 2\/2 Running<\/td>\n<\/tr>\n<tr>\n<td>\u9a8c\u8bc1 Ingress<\/td>\n<td>kubectl get ingress -n jenkins<\/td>\n<td>\u786e\u8ba4 ADDRESS \u548c HOSTS \u6b63\u786e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>5. \u8bbf\u95ee\u9a8c\u8bc1<\/h4>\n<table>\n<tr>\u65b9\u5f0f\u547d\u4ee4 \/ \u64cd\u4f5c\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>\u672c\u5730 hosts<\/td>\n<td>\u6dfb\u52a0\u00a039.107.52.178 jenkins.local<\/td>\n<td>\u6d4f\u89c8\u5668\u76f4\u63a5\u8bbf\u95ee\u00a0http:\/\/jenkins.local<\/td>\n<\/tr>\n<tr>\n<td>curl \u4e34\u65f6\u9a8c\u8bc1<\/td>\n<td>curl -H &#034;Host: jenkins.local&#034; http:\/\/39.107.52.178\/<\/td>\n<td>\u65e0\u9700\u6539 hosts&#xff0c;\u8fd4\u56de 200\/302 \u5373\u6b63\u5e38<\/td>\n<\/tr>\n<tr>\n<td>\u767b\u5f55\u51ed\u8bc1<\/td>\n<td>admin \/ admin123<\/td>\n<td>\u26a0\ufe0f \u9996\u6b21\u767b\u5f55\u540e\u7acb\u5373\u4fee\u6539\u5bc6\u7801<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u26a0\ufe0f \u5e38\u89c1\u95ee\u9898\u901f\u67e5<\/h4>\n<table>\n<tr>\u95ee\u9898\u539f\u56e0\u89e3\u51b3\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td>Pod ImagePullBackOff<\/td>\n<td>\u955c\u50cf tag \u4e0d\u5b58\u5728<\/td>\n<td>\u6539\u7528\u00a0lts-jdk17&#xff0c;\u52ff\u7528\u7248\u672c\u53f7&#043;jdk\u540e\u7f00<\/td>\n<\/tr>\n<tr>\n<td>Pod ContainerCreating<\/td>\n<td>\u955c\u50cf\u6e90 DNS \u89e3\u6790\u5931\u8d25<\/td>\n<td>\u68c0\u67e5\u00a0\/etc\/rancher\/k3s\/registries.yaml\u00a0\u4e2d\u7684 endpoint \u662f\u5426\u53ef\u8fbe<\/td>\n<\/tr>\n<tr>\n<td>Helm install \u62a5\u9519<\/td>\n<td>values.yaml \u683c\u5f0f\u9519\u8bef<\/td>\n<td>Ingress paths \u4e0d\u8981\u5d4c\u5957\u989d\u5916\u5c42\u7ea7&#xff0c;\u4f7f\u7528\u6807\u51c6\u6241\u5e73\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td>\u5916\u7f51\u8bbf\u95ee 404<\/td>\n<td>\u5b89\u5168\u7ec4\u672a\u653e\u884c 80 \u7aef\u53e3<\/td>\n<td>\u6dfb\u52a0\u5165\u65b9\u5411 TCP\/80 \u89c4\u5219<\/td>\n<\/tr>\n<tr>\n<td>\u5916\u7f51\u8bbf\u95ee 404<\/td>\n<td>\u672a\u914d\u7f6e Host \u5934<\/td>\n<td>\u6dfb\u52a0\u672c\u5730 hosts \u6216 curl \u5e26\u00a0-H &#034;Host: jenkins.local&#034;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Jenkins 2.568.3 (LTS JDK17) \u5df2\u901a\u8fc7 Helm \u6210\u529f\u90e8\u7f72\u81f3 k3s&#xff0c;Pod 2\/2 Running&#xff0c;\u5916\u7f51\u53ef\u901a\u8fc7\u00a0http:\/\/jenkins.local\u00a0\u8bbf\u95ee\u3002\u5efa\u8bae\u5c3d\u5feb\u4fee\u6539\u9ed8\u8ba4\u5bc6\u7801&#xff0c;\u5e76\u7ee7\u7eed\u914d\u7f6e Kubernetes Cloud \u53ca GitLab \u5bf9\u63a5\u3002<\/p>\n<h4>\u2705 Jenkins \u90e8\u7f72\u5b8c\u6210<\/h4>\n<table>\n<tr>\u9879\u76ee\u72b6\u6001<\/tr>\n<tbody>\n<tr>\n<td>Helm Release<\/td>\n<td>deployed\u00a0(jenkins-5.9.56)<\/td>\n<\/tr>\n<tr>\n<td>Pod \u72b6\u6001<\/td>\n<td>2\/2 Running<\/td>\n<\/tr>\n<tr>\n<td>Jenkins \u7248\u672c<\/td>\n<td>2.568.3 (LTS JDK17)<\/td>\n<\/tr>\n<tr>\n<td>Ingress<\/td>\n<td>jenkins.local\u00a0\u2192 Traefik:80<\/td>\n<\/tr>\n<tr>\n<td>\u5916\u7f51\u8bbf\u95ee<\/td>\n<td>\u2705\u00a0http:\/\/39.107.52.178\/\u00a0(\u9700 Host header)<\/td>\n<\/tr>\n<tr>\n<td>\u767b\u5f55\u9875<\/td>\n<td>\u2705 &#034;Sign in &#8211; Jenkins&#034;<\/td>\n<\/tr>\n<tr>\n<td>\u6301\u4e45\u5316\u5b58\u50a8<\/td>\n<td>10Gi PVC (local-path)<\/td>\n<\/tr>\n<tr>\n<td>\u9884\u88c5\u63d2\u4ef6<\/td>\n<td>kubernetes, git, gitlab-plugin, blueocean \u7b49<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>&#x1f510; \u767b\u5f55\u4fe1\u606f<\/h4>\n<p>\u7528\u6237\u540d:\u00a0admin<\/p>\n<p>\u5bc6\u7801:\u00a0admin123<\/p>\n<h4>\u26a0\ufe0f \u4f7f\u7528\u8bf4\u660e<\/h4>\n<p>\u7531\u4e8e Ingress \u4f7f\u7528\u00a0jenkins.local\u00a0\u57df\u540d&#xff0c;\u8bbf\u95ee\u65f6\u9700\u6ee1\u8db3\u4ee5\u4e0b\u4efb\u4e00\u6761\u4ef6&#xff1a;<\/p>\n<li>\u672c\u5730 hosts \u7ed1\u5b9a&#xff1a;\u5728\u7535\u8111\u00a0\/etc\/hosts\u00a0\u6dfb\u52a0\u00a039.107.52.178 jenkins.local&#xff0c;\u7136\u540e\u6d4f\u89c8\u5668\u8bbf\u95ee\u00a0http:\/\/jenkins.local<\/li>\n<li>curl \u6d4b\u8bd5&#xff1a;curl -H &#034;Host: jenkins.local&#034; http:\/\/39.107.52.178\/<\/li>\n<li>\u4fee\u6539\u4e3a IP \u76f4\u63a5\u8bbf\u95ee&#xff1a;\u5982\u9700\u76f4\u63a5\u7528 IP \u8bbf\u95ee&#xff0c;\u53ef\u66f4\u65b0 Ingress hostName \u4e3a\u00a039.107.52.178<\/li>\n<h4>&#x1f4cb; \u540e\u7eed\u6b65\u9aa4<\/h4>\n<li>\u914d\u7f6e Jenkins \u2194 GitLab \u5bf9\u63a5&#xff08;Webhook &#043; \u51ed\u8bc1&#xff09;<\/li>\n<li>\u914d\u7f6e Kubernetes Cloud&#xff08;\u52a8\u6001 Agent&#xff09;<\/li>\n<li>\u642d\u5efa\u955c\u50cf\u4ed3\u5e93&#xff08;ACR\/Harbor&#xff09;<\/li>\n<li>\u7f16\u5199\u9996\u4e2a Pipeline<\/li>\n<p>\u662f\u5426\u9700\u8981\u6211\u534f\u52a9\u914d\u7f6e Jenkins \u4e0e\u5bbf\u4e3b\u673a GitLab \u7684\u5bf9\u63a5&#xff1f;<\/p>\n<p>Jenkins 2.568.3 (LTS) \u5df2\u901a\u8fc7 Helm \u6210\u529f\u90e8\u7f72\u81f3 k3s \u96c6\u7fa4&#xff0c;Pod \u8fd0\u884c\u6b63\u5e38&#xff0c;\u5916\u7f51\u53ef\u901a\u8fc7\u00a0http:\/\/39.107.52.178\/&#xff08;Host: jenkins.local&#xff09;\u8bbf\u95ee&#xff0c;\u767b\u5f55\u8d26\u53f7 admin\/admin123\u3002k3s v1.36.4 \u96c6\u7fa4\u8fd0\u884c\u7a33\u5b9a&#xff0c;Traefik \u63a5\u7ba1 80\/443 \u7aef\u53e3&#xff0c;GitLab 19.3.2 \u4fdd\u7559\u5728\u5bbf\u4e3b\u673a 8080 \u7aef\u53e3\u672a\u53d7\u5f71\u54cd\u3002\u540e\u7eed\u5efa\u8bae&#xff1a;1) \u914d\u7f6e\u672c\u5730 hosts \u6216\u4fee\u6539 Ingress \u4ee5\u65b9\u4fbf\u8bbf\u95ee&#xff1b;2) \u5c3d\u5feb\u4fee\u6539\u9ed8\u8ba4\u5bc6\u7801&#xff1b;3) \u914d\u7f6e Kubernetes Cloud \u5b9e\u73b0\u52a8\u6001\u6784\u5efa Agent&#xff1b;4) \u642d\u5efa\u955c\u50cf\u4ed3\u5e93\u5b8c\u6210 CI\/CD \u95ed\u73af\u3002<\/p>\n<h4>hosts \u89e3\u6790<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"919\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260913023329-6aa60b79ecf9b.png\" width=\"1743\" \/><\/p>\n<p>Windows&#xff1a;<\/p>\n<p># \u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u8fd0\u884c PowerShell \u6216\u8bb0\u4e8b\u672c<br \/>\nnotepad C:\\\\Windows\\\\System32\\\\drivers\\\\etc\\\\hosts<br \/>\n# \u5728\u6587\u4ef6\u672b\u5c3e\u6dfb\u52a0&#xff1a;<br \/>\n39.107.52.178 jenkins.local<\/p>\n<p>macOS \/ Linux&#xff1a;<\/p>\n<p>sudo sh -c &#039;echo &#034;39.107.52.178 jenkins.local&#034; &gt;&gt; \/etc\/hosts&#039;<\/p>\n<h4>\u9a8c\u8bc1\u914d\u7f6e<\/h4>\n<p>\u6dfb\u52a0\u540e\u5237\u65b0\u6d4f\u89c8\u5668\u8bbf\u95ee\u00a0http:\/\/jenkins.local&#xff0c;\u5e94\u8df3\u8f6c\u5230 Jenkins \u767b\u5f55\u9875\u3002<\/p>\n<p>\u26a0\ufe0f \u5982\u679c\u4e0d\u60f3\u4fee\u6539 hosts&#xff0c;\u4e5f\u53ef\u4e34\u65f6\u7528 curl \u9a8c\u8bc1&#xff1a;\u00a0curl -H &#034;Host: jenkins.local&#034; http:\/\/39.107.52.178\/<\/p>\n<p>\u5df2\u5728\u672c\u5730 hosts \u4e2d\u6dfb\u52a0\u00a039.107.52.178 jenkins.local\u00a0\u6620\u5c04&#xff0c;\u6d4f\u89c8\u5668\u8bbf\u95ee\u00a0http:\/\/jenkins.local\u00a0\u5373\u53ef\u6b63\u5e38\u8fdb\u5165 Jenkins\u3002\u82e5\u540e\u7eed\u66f4\u6362 IP \u6216\u57df\u540d&#xff0c;\u9700\u540c\u6b65\u66f4\u65b0 hosts \u6587\u4ef6\u3002<\/p>\n<p>\u8bbf\u95ee\u6210\u529f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"919\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260913023330-6aa60b7a8c637.png\" width=\"1743\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u662f\u672c\u6b21 Jenkins \u5728 k3s \u4e2d\u90e8\u7f72\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0&#xff1a;<br \/>\n1. \u5b89\u88c5 Helm<br \/>\n\u6b65\u9aa4\u547d\u4ee4\u8bf4\u660e\u4e0b\u8f7d Helmcurl -fsSL https:\/\/mirrors.huaweicloud.com\/helm\/v3.18.4\/helm-v3.18.4-linux-amd64.tar.gz -o helm.tar.gz\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90&#xff0c;\u907f\u514d GitHub \u8d85\u65f6\u89e3\u538b\u5b89\u88c5tar -xzf helm.tar.gz &amp;&amp; mv linux-amd64\/hel<\/p>\n","protected":false},"author":2,"featured_media":104891,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[392,43,44],"topic":[],"class_list":["post-104893","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-jenkins","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0 - \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\/104893.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4ee5\u4e0b\u662f\u672c\u6b21 Jenkins \u5728 k3s \u4e2d\u90e8\u7f72\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0&#xff1a; 1. \u5b89\u88c5 Helm \u6b65\u9aa4\u547d\u4ee4\u8bf4\u660e\u4e0b\u8f7d Helmcurl -fsSL https:\/\/mirrors.huaweicloud.com\/helm\/v3.18.4\/helm-v3.18.4-linux-amd64.tar.gz -o helm.tar.gz\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90&#xff0c;\u907f\u514d GitHub \u8d85\u65f6\u89e3\u538b\u5b89\u88c5tar -xzf helm.tar.gz &amp;&amp; mv linux-amd64\/hel\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/104893.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-13T02:33:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260913023329-6aa60b79ecf9b.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/104893.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/104893.html\",\"name\":\"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-13T02:33:32+00:00\",\"dateModified\":\"2026-09-13T02:33:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/104893.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/104893.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/104893.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0\"}]},{\"@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":"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0 - \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\/104893.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4ee5\u4e0b\u662f\u672c\u6b21 Jenkins \u5728 k3s \u4e2d\u90e8\u7f72\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0&#xff1a; 1. \u5b89\u88c5 Helm \u6b65\u9aa4\u547d\u4ee4\u8bf4\u660e\u4e0b\u8f7d Helmcurl -fsSL https:\/\/mirrors.huaweicloud.com\/helm\/v3.18.4\/helm-v3.18.4-linux-amd64.tar.gz -o helm.tar.gz\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90&#xff0c;\u907f\u514d GitHub \u8d85\u65f6\u89e3\u538b\u5b89\u88c5tar -xzf helm.tar.gz &amp;&amp; mv linux-amd64\/hel","og_url":"https:\/\/www.wsisp.com\/helps\/104893.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-13T02:33:32+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260913023329-6aa60b79ecf9b.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/104893.html","url":"https:\/\/www.wsisp.com\/helps\/104893.html","name":"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-13T02:33:32+00:00","dateModified":"2026-09-13T02:33:32+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/104893.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/104893.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/104893.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u8fd0\u7ef4\uff1aK3S\u4e0bJenkins \u5b89\u88c5\u53ca\u914d\u7f6e\u7684\u5b8c\u6574\u64cd\u4f5c\u7b14\u8bb0"}]},{"@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\/104893","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=104893"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/104893\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/104891"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=104893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=104893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=104893"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=104893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}