75 lines
1.6 KiB
Markdown
75 lines
1.6 KiB
Markdown
|
|
# StarRocks Operator 배포
|
|
|
|
## 1. 배포 방법
|
|
|
|
### 1) 배포시 주의 사항
|
|
|
|
- StarRocks Operator는 StarRocks 클러스터를 관리하는 Kubernetes Operator입니다
|
|
- 배포 전 적절한 RBAC 권한이 설정되어 있어야 합니다
|
|
- Kubernetes 1.18.0 이상 버전이 필요합니다
|
|
|
|
### 2) 배포 방법
|
|
|
|
``` sh
|
|
git clone https://github.com/paasup/dip-catalog.git
|
|
cd charts/starrocks-operator
|
|
helm upgrade starrocks-operator ./ -f custom-values.yaml --install -n starrocks-operator --create-namespace
|
|
```
|
|
|
|
## 2. custom-values.yaml 설명
|
|
|
|
- custom-values.yaml에 정의된 값에 대한 설명이다.
|
|
|
|
### 1) 기본 설정
|
|
|
|
| Name | 설명 | 기본값 |
|
|
| ---------------------- | ------------------------------------------------------------ | ------ |
|
|
| `timeZone` | 시간대 설정 | `"Asia/Shanghai"` |
|
|
| `image.repository` | 오프라인 설치 시에 설정. 내부 저장소 타겟으로 변경 | `"starrocks/operator"` |
|
|
| `image.tag` | 이미지 태그 설정 | `"v1.11.0"` |
|
|
| `image.pullPolicy` | 이미지 Pull 정책 | `"IfNotPresent"` |
|
|
|
|
### 2) Resource 설정
|
|
|
|
``` yaml
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 500m
|
|
memory: 400Mi
|
|
```
|
|
|
|
### 3) Node Selector 설정
|
|
|
|
``` yaml
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
```
|
|
|
|
### 4) Webhook 설정
|
|
|
|
``` yaml
|
|
webhook:
|
|
enabled: true
|
|
port: 9443
|
|
certManager:
|
|
enabled: false
|
|
```
|
|
|
|
### 5) Monitoring 설정
|
|
|
|
``` yaml
|
|
metrics:
|
|
enabled: true
|
|
port: 8080
|
|
serviceMonitor:
|
|
enabled: false
|
|
```
|