Skip to content

Commit

Permalink
Add connect on-off
Browse files Browse the repository at this point in the history
  • Loading branch information
YunanJeong committed Aug 24, 2023
1 parent daee858 commit cdfc8c5
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 25 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Kubernetes용 대시보드, Kafka, Kafka-ui만 포함한다.
```shell
# 첫 설치
# helm install {ReleaseName} {chart archive} -f {custom config value}
helm install testbed chartrepo/skafka-1.0.0.tgz -f values/testbed.yaml
helm install testbed chartrepo/skafka-1.0.1.tgz -f values/testbed.yaml

# 업데이트
helm upgrade testbed chartrepo/skafka-1.0.0.tgz -f values/testbed.yaml
helm upgrade testbed chartrepo/skafka-1.0.1.tgz -f values/testbed.yaml
```

### 삭제 시
Expand Down Expand Up @@ -60,7 +60,7 @@ kubectl delete pvc data-testbed-kafka-0

```sh
# 차트의 default value 참고
helm show values chartrepo/skafka-1.0.0.tgz
helm show values chartrepo/skafka-1.0.1.tgz
```

## 차트 수정 시
Expand All @@ -81,7 +81,7 @@ helm package skafka/
├── README.md
├── chartrepo/ # 헬름 차트 아카이브 파일
│   ├── skafka-0.1.0.tgz # 구버전: kafka-connect 미포함
│   └── skafka-1.0.0.tgz # kafka-connect 포함
│   └── skafka-1.0.1.tgz # kafka-connect 포함
├── skafka/ # 헬름 차트 디렉토리
│   ├── Chart.lock # dependency 버전 확정 내용
│   ├── Chart.yaml # 차트 파일(차트버전,앱버전,dependency버전 관리)
Expand Down
Binary file removed chartrepo/skafka-1.0.0.tgz
Binary file not shown.
Binary file added chartrepo/skafka-1.0.1.tgz
Binary file not shown.
3 changes: 2 additions & 1 deletion skafka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -34,6 +34,7 @@ dependencies:
version: 0.2.1
repository: https://licenseware.github.io/charts/
alias: connect
condition: connect.enabled

- name: kubernetes-dashboard
version: 6.0.7
Expand Down
1 change: 1 addition & 0 deletions skafka/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ kafka:
enabled: false

connect:
enabled: true
kafka:
create: false
schema-registry:
Expand Down
41 changes: 21 additions & 20 deletions values/testbed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,8 @@ kafka:
jmx:
enabled: false


k8dashboard:
enabled: true
image: # 글로벌 적용 불가
registry: docker.io
protocolHttp: true
service:
externalPort: 8443
serviceAccount:
name: k8dash-admin
extraArgs:
- --token-ttl=86400
- --enable-skip-login
- --enable-insecure-login
tolerations:
- key: type
operator: "Equal"
value: "ctrl"
effect: "NoSchedule"

connect:
enabled: true
replicaCount: 1
image:
repository: confluentinc/cp-kafka-connect # registry 포함 표기 가능. 없으면 container runtime의 default
Expand Down Expand Up @@ -112,6 +93,26 @@ connect:
- name: plugin
mountPath: /usr/share/confluent-hub-components

k8dashboard:
enabled: true
image: # 글로벌 적용 불가
registry: docker.io
protocolHttp: true
service:
externalPort: 8443
serviceAccount:
name: k8dash-admin
extraArgs:
- --token-ttl=86400
- --enable-skip-login
- --enable-insecure-login
tolerations:
- key: type
operator: "Equal"
value: "ctrl"
effect: "NoSchedule"


ui4kafka:
enabled: true
image: # 글로벌 적용 불가
Expand Down

0 comments on commit cdfc8c5

Please sign in to comment.