Many DevOps requirements need to be implemented with Jenkins. This document describes how to deploy Jenkins in TKE.
You have created a TKE cluster.
Jenkins
and enter the Jenkins application page. values.yaml
in Parameters as needed.By default, you can't access the Jenkins UI outside the cluster. To access it, you can use an Ingress. TKE provides CLB type Ingress and Nginx type Ingress for your choice.
On the Jenkins UI, enter the initial username and password to log in to the Jenkins backend. The username is admin
, and the password can be obtained by running the following command.
kubectl -n devops get secret jenkins -o jsonpath='{.data.jenkins-admin-password}' | base64 -d
Note:When running the above command, replace the text with the actual namespace.
We recommend you manage Jenkins as a general user. Before creating a general user, you need to configure an authentication and authorization policy.
Log in to the Jenkins backend and click Dashboard > Manage Jenkins > System Configuration > Manage Plugins to enter the plugin management page.
You can install the following commonly used plugins:
Was this page helpful?