tencent cloud

Tencent Kubernetes Engine

Release Notes and Announcements
Release Notes
Announcements
Release Notes
Product Introduction
Overview
Strengths
Architecture
Scenarios
Features
Concepts
Native Kubernetes Terms
Common High-Risk Operations
Regions and Availability Zones
Service Regions and Service Providers
Open Source Components
Purchase Guide
Purchase Instructions
Purchase a TKE General Cluster
Purchasing Native Nodes
Purchasing a Super Node
Getting Started
Beginner’s Guide
Quickly Creating a Standard Cluster
Examples
Container Application Deployment Check List
Cluster Configuration
General Cluster Overview
Cluster Management
Network Management
Storage Management
Node Management
GPU Resource Management
Remote Terminals
Application Configuration
Workload Management
Service and Configuration Management
Component and Application Management
Auto Scaling
Container Login Methods
Observability Configuration
Ops Observability
Cost Insights and Optimization
Scheduler Configuration
Scheduling Component Overview
Resource Utilization Optimization Scheduling
Business Priority Assurance Scheduling
QoS Awareness Scheduling
Security and Stability
TKE Security Group Settings
Identity Authentication and Authorization
Application Security
Multi-cluster Management
Planned Upgrade
Backup Center
Cloud Native Service Guide
Cloud Service for etcd
TMP
TKE Serverless Cluster Guide
TKE Registered Cluster Guide
Use Cases
Cluster
Serverless Cluster
Scheduling
Security
Service Deployment
Network
Release
Logs
Monitoring
OPS
Terraform
DevOps
Auto Scaling
Containerization
Microservice
Cost Management
Hybrid Cloud
AI
Troubleshooting
Disk Full
High Workload
Memory Fragmentation
Cluster DNS Troubleshooting
Cluster kube-proxy Troubleshooting
Cluster API Server Inaccessibility Troubleshooting
Service and Ingress Inaccessibility Troubleshooting
Common Service & Ingress Errors and Solutions
Engel Ingres appears in Connechtin Reverside
CLB Ingress Creation Error
Troubleshooting for Pod Network Inaccessibility
Pod Status Exception and Handling
Authorizing Tencent Cloud OPS Team for Troubleshooting
CLB Loopback
API Documentation
History
Introduction
API Category
Making API Requests
Elastic Cluster APIs
Resource Reserved Coupon APIs
Cluster APIs
Third-party Node APIs
Relevant APIs for Addon
Network APIs
Node APIs
Node Pool APIs
TKE Edge Cluster APIs
Cloud Native Monitoring APIs
Scaling group APIs
Super Node APIs
Other APIs
Data Types
Error Codes
TKE API 2022-05-01
FAQs
TKE General Cluster
TKE Serverless Cluster
About OPS
Hidden Danger Handling
About Services
Image Repositories
About Remote Terminals
Event FAQs
Resource Management
Service Agreement
TKE Service Level Agreement
TKE Serverless Service Level Agreement
Contact Us
Glossary

Deploying Jenkins on TKE

PDF
Focus Mode
Font Size
Last updated: 2023-05-06 17:36:46

Overview

Many DevOps requirements need to be implemented with Jenkins. This document describes how to deploy Jenkins in TKE.

Prerequisites

You have created a TKE cluster.

Directions

Installing Jenkins

1. Log in to the TKE console and click Marketplace in the left sidebar.
2. On the Marketplace page, search for Jenkins and go to the Jenkins application page.
3. Click Create application and configure values.yaml in Parameter as needed.

4. Click Create.

Exposing Jenkins UI

By default, you cannot access the Jenkins UI outside the cluster. To access the Jenkins UI, you can use an Ingress. TKE provides CLB-type Ingress and Nginx-type Ingress for your choice.
Note
Jenkins v2.263 is used in the following sample. The UI of Jenkins varies with the product version. You can select a version based on your business needs.

Logging in to Jenkins

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, specify your actual namespace.

Creating a user

We recommend you manage Jenkins as a general user. Before creating a general user, you need to configure an authentication and authorization policy.
1. Log in to the Jenkins backend and choose Dashboard > Manage Jenkins > Security > Configure Global Security to go to the authentication and authorization policy page as shown below:

Security Realm: Select Jenkins' own user database.
Authorization: Select Logged-in users can do anything.
2. Choose Dashboard > Manage Jenkins > Security > Manage Users > Create User and create a user as prompted as shown below:

Username: Enter the username.
Password: Enter the password.
Confirm password: Confirm the password.
Full name: Enter the full username.
3. Click Create User.

Installing the plugin

Log in to the Jenkins backend and choose Dashboard > Manage Jenkins > System Configuration > Manage Plugins to go to the plugin management page. You can install the following commonly used plugins:
Kubernetes
Pipeline
Git
GitLab
GitHub

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback