# **Kubernetes 平台整合** ## **1. 建立 Kubernetes 平台憑證** ```bash= kubectl create serviceaccount k8s-admin -n kube-system kubectl create clusterrolebinding dashboard-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system: k8s-admin kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep k8s-admin | awk '{print $1}') ``` 取紅框內的數值  ## **2. 建立 Kubernetes on Jenkins 憑證** :::success Manage Jenkins -> Manage Credentials -> Add credentials -> Secret text  ::: ## **3. Configure Clouds** :::success Manage Jenkins -> Manage Nodes and Clouds -> Configure Clouds   ::: ###### tags: `自動化佈署` `Jenkins` `CICD` `Micro-service` `kubernetes`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up