tencent cloud

Tencent Kubernetes Engine

소식 및 공지 사항
릴리스 노트
제품 릴리스 기록
제품 소개
제품 장점
제품 아키텍처
시나리오
제품 기능
리전 및 가용존
빠른 시작
신규 사용자 가이드
표준 클러스터를 빠르게 생성
Demo
클라우드에서 컨테이너화된 애플리케이션 배포 Check List
TKE 표준 클러스터 가이드
Tencent Kubernetes Engine(TKE)
클러스터 관리
네트워크 관리
스토리지 관리
Worker 노드 소개
Kubernetes Object Management
워크로드
클라우드 네이티브 서비스 가이드
Tencent Managed Service for Prometheus
TKE Serverless 클러스터 가이드
TKE 클러스터 등록 가이드
실습 튜토리얼
Serverless 클러스터
네트워크
로그
모니터링
유지보수
DevOps
탄력적 스케일링
자주 묻는 질문
클러스터
TKE Serverless 클러스터
유지보수
서비스
이미지 레지스트리
원격 터미널
문서Tencent Kubernetes Engine

Deploying KEDA on TKE

포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-12-24 15:51:36

Adding helm repo

To deploy KEDA on TKE, it is required to add KEDA's Helm repository by using the following command:
helm repo add kedacore https://kedacore.github.io/charts
helm repo update

Preparing values.yaml

Next, you can check the default values.yaml file to understand the customizable configuration items by using the following command:
helm show values kedacore/keda
Since the default dependency images cannot be pulled in the Chinese mainland environment, you can replace them with mirror images from Docker Hub and configure them in the values.yaml file. For example:
image:
keda:
registry: docker.io
repository: imroc/keda
metricsApiServer:
registry: docker.io
repository: imroc/keda-metrics-apiserver
webhooks:
registry: docker.io
repository: imroc/keda-admission-webhooks
Note:
The above image will be automatically synchronized for a long time, so you can use and update it with confidence.

Installation

Use the following command to install KEDA:
helm upgrade --install keda kedacore/keda \\
--namespace keda --create-namespace \\
-f values.yaml

Versions and Upgrades

Each version of KEDA is compatible with specific Kubernetes versions. Before installing KEDA, you need to confirm whether the TKE cluster version is compatible with the KEDA version you want to install. You can check KEDA Kubernetes Compatibility to confirm which KEDA versions are compatible with your current cluster version.
For example, if the TKE cluster version is 1.26 and the latest compatible KEDA version is v2.12, the highest Chart version (CHART VERSION) compatible with KEDA v2.12 (APP VERSION) is 2.12.1:
$ helm search repo keda --versions
NAME CHART VERSION APP VERSION DESCRIPTION
kedacore/keda 2.13.2 2.13.1 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.13.1 2.13.0 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.13.0 2.13.0 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.12.1 2.12.1 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.12.0 2.12.0 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.11.2 2.11.2 Event-based autoscaler for workloads on Kubernetes
kedacore/keda 2.11.1 2.11.1 Event-based autoscaler for workloads on Kubernetes
Specify the version when installing KEDA:
helm upgrade --install keda kedacore/keda \\
--namespace keda --create-namespace \\
--version 2.12.1 \\
-f values.yaml
You can reuse the above installation command for future upgrade versions by simply modifying the version number.
Note:
Before upgrading the TKE cluster, use the above method to check if the upgraded cluster version is compatible with the current version of KEDA. If not, please upgrade KEDA to the latest version compatible with the current cluster version in advance.

Uninstallation

For specific steps, please refer to Official Uninstall Instructions.

References




도움말 및 지원

문제 해결에 도움이 되었나요?

피드백