Skip to content

Commit

Permalink
Jenkins Slave 动态 Pod 添加 ServiceAccount 提示
Browse files Browse the repository at this point in the history
  • Loading branch information
cnych committed May 5, 2019
1 parent 4ad5f26 commit 95c3791
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/36.Jenkins Slave.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,9 @@ Jenkins 安装完成了,接下来我们不用急着就去使用,我们要了
![kubernetes plugin config4](./images/jenkins-k8s-config4.png)


另外一些同学在配置了后运行 Slave Pod 的时候出现了权限问题,因为 Jenkins Slave Pod 中没有配置权限,所以需要配置上 ServiceAccount,在 Slave Pod 配置的地方点击下面的高级,添加上对应的 ServiceAccount 即可:
![kubernetes plugin config5](https://ws1.sinaimg.cn/large/006tNc79gy1g2qkhzyw0zj30kn0ebq4g.jpg)

到这里我们的 Kubernetes Plugin 插件就算配置完成了。


Expand Down

0 comments on commit 95c3791

Please sign in to comment.