addon-operator
A system to manage additional components for Kubernetes cluster in a simple, consistent and automated way.
파일 탐색기
최종 버전 다운로드 (.zip)- bug.md
- config.yml
- feature.md
- build.yaml
- checks.yaml
- docs.yaml
- lint.yaml
- publish-dev.yaml
- publish-release.yaml
- tests.yaml
- dependabot.yaml
- PULL_REQUEST_TEMPLATE.md
- release.yml
- main.go
- main.go
- global_values_flow.png
- logo-addon-operator-small.png
- module_values_flow.png
- readme-1.gif
- readme-2.gif
- readme-3.gif
- readme-4.gif
- readme-5.gif
- readme-6.gif
- METRICS_FROM_HOOKS.md
- ROOT.md
- SELF_METRICS.md
- HOOKS.md
- LIFECYCLE-STEPS.md
- LIFECYCLE.md
- MODULES.md
- OVERVIEW.md
- README.md
- RUNNING.md
- SUMMARY.md
- VALUES.md
- book.toml
- hook.sh
- README.md
- addon-operator-cm.yaml
- addon-operator-pod.yaml
- addon-operator-rbac.yaml
- Dockerfile
- README.md
- hook.sh
- README.md
- addon-operator-cm.yaml
- addon-operator-deployment.yaml
- addon-operator-rbac.yaml
- Dockerfile
- README.md
- module-hooks.sh
- daemon-set.yaml
- Chart.yaml
- README.md
- values.yaml
- addon-operator-cm.yaml
- addon-operator-pod.yaml
- addon-operator-rbac.yaml
- Dockerfile
- README.md
- module-hooks.sh
- daemon-set.yaml
- Chart.yaml
- README.md
- values.yaml
- addon-operator-cm.yaml
- addon-operator-deploy.yaml
- addon-operator-rbac.yaml
- Dockerfile
- README.md
- cm.yaml
- deployment.yaml
- rbac.yaml
- .gitkeep
- startup
- backend.yaml
- Chart.yaml
- values.yaml
- 002-frontend
- startup
- frontend.yaml
- Chart.yaml
- values.yaml
- Dockerfile
- README.md
- global-go-hook.go
- go_hooks.go
- README.md
- register_go_hooks.go.tpl
- converge.go
- diff.go
- hook01_startup_20_kube.sh
- hook02_startup_1_schedule.sh
- hook03_startup_10_kube_schedule.sh
- hook01_startup_20_kube.sh
- hook02_startup_1_schedule.sh
- Chart.yaml
- hook01_startup_20_kube.sh
- hook02_after_delete_helm.sh
- Chart.yaml
- config_map.yaml
- hook01_startup_20_kube.sh
- hook01_startup_20_kube.sh
- Chart.yaml
- config_map.yaml
- hook01_startup_20_kube.sh
- hook02_startup_1_schedule.sh
- hook03_startup_10_kube_schedule.sh
- admission_http_server.go
- bootstrap.go
- config_test.go
- debug_server.go
- ensure_crds.go
- handler_manager_events.go
- handler_module_manager.go
- http_server.go
- kube_client.go
- operator.go
- operator_test.go
- queue.go
- queue_test.go
- app.go
- app_test.go
- config.go
- debug-cmd.go
- debug_flag.go
- log.go
- client.go
- 001-resources.yaml
- Chart.yaml
- helm3lib.go
- helm3lib_test.go
- logger.go
- nelm.go
- nelm_test.go
- post_renderer.go
- post_renderer_test.go
- mock.go
- fallback_client.go
- fallback_client_test.go
- helm.go
- helm_test.go
- version_detect.go
- version_detect_test.go
- mock.go
- types.go
- helm_resources_manager.go
- resources_monitor.go
- bindings.go
- configmap.go
- configmap_test.go
- backend.go
- config.go
- event.go
- context.go
- checksums.go
- checksums_test.go
- kube_config_manager.go
- kube_config_manager_test.go
- metrics.go
- metrics_test.go
- evironment_manager.go
- evironment_manager_test.go
- mount.go
- mount_linux.go
- collector.go
- filter_result.go
- filter_result_test.go
- go_hook.go
- logger.go
- 001-module-one
- 002-module-two
- values.yaml
- 012-mod-two
- 100-mod-one
- values.yaml
- values.yaml
- .gitkeep
- .gitkeep
- .gitkeep
- fs.go
- fs_test.go
- loader.go
- batch_hook.go
- batch_hook_test.go
- check.go
- config.go
- gohook.go
- gohook_test.go
- kind.go
- shellhook.go
- shellhook_test.go
- dependency.go
- global_hook.go
- global_hook_config.go
- global_hook_test.go
- module_hook.go
- module_hook_config.go
- events.go
- config-values.yaml
- values.yaml
- basic.go
- basic_test.go
- global.go
- global_test.go
- helm.go
- hook_storage.go
- hook_storage_test.go
- module_options.go
- synchronization_state.go
- values_defaulting_transformers.go
- values_layered.go
- values_layered_test.go
- values_storage.go
- values_storage_test.go
- moduleset.go
- moduleset_test.go
- dynamic.go
- dynamic_test.go
- permanent.go
- kube_config.go
- extenders_mock.go
- enabled
- enabled
- enabled
- enabled
- enabled
- script.go
- script_test.go
- static.go
- static_test.go
- extenders.go
- node_mock.go
- node.go
- node_test.go
- enabled
- enabled
- enabled
- enabled
- enabled
- enabled
- enabled
- enabled
- enabled
- scheduler.go
- scheduler_test.go
- hook
- hook
- .gitkeep
- a
- b
- c
- .gitkeep
- .gitkeep
- all-bindings
- nested-before-helm
- a
- b
- c
- values.yaml
- config_map.yaml
- hook
- config-values.yaml
- hook
- config-values.yaml
- values.yaml
- values.yaml
- .gitkeep
- .gitkeep
- values.yaml
- config_map.yaml
- .gitkeep
- .gitkeep
- values.yaml
- config-values.yaml
- values.yaml
- config-values.yaml
- values.yaml
- values.yaml
- config_map.yaml
- values.yaml
- values.yaml
- values.yaml
- .gitkeep
- .gitkeep
- values.yaml
- config_map.yaml
- .gitkeep
- values.yaml
- .gitkeep
- .gitkeep
- values.yaml
- values.yaml
- .gitkeep
- .gitkeep
- .gitkeep
- .gitkeep
- .gitkeep
- .gitkeep
- values.yaml
- enabled
- enabled
- enabled
- enabled
- enabled
- enabled
- enabled
- values.yaml
- hook-1
- hook-2
- _helpers.tpl
- deployment.yaml
- ingress.yaml
- NOTES.txt
- service.yaml
- .helmignore
- Chart.yaml
- values.yaml
- merge_and_patch_values
- merge_and_patch_values
- .gitkeep
- hook-1
- hook-2
- hook-3
- hook-4
- _helpers.tpl
- deployment.yaml
- ingress.yaml
- NOTES.txt
- service.yaml
- .helmignore
- Chart.yaml
- values.yaml
- merge_and_patch_values
- merge_and_patch_values
- module_manager.go
- module_manager_hooks.go
- module_manager_sync_retry_test.go
- module_manager_test.go
- service.go
- scheduler.go
- scheduler_test.go
- helpers.go
- parallel.go
- queue.go
- utils.go
- converge.go
- logs.go
- metric.go
- service.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task.go
- task_metadata_test.go
- hook_metadata.go
- task.go
- adapter.go
- adapter_test.go
- chroot.go
- fschecksum.go
- fswalk.go
- helpers.go
- jsonpatch.go
- loader.go
- merge_labels.go
- mergemap.go
- mergemap_test.go
- module_config.go
- module_config_test.go
- module_list.go
- values.go
- values_patch.go
- values_patch_test.go
- values_test.go
- cel.go
- cel_test.go
- additional-properties.go
- copy.go
- extend.go
- required-for-helm.go
- transform.go
- test-schema-bad.yaml
- test-schema-ok-project-2.yaml
- test-schema-ok-project.yaml
- test-schema-ok.yaml
- defaulting.go
- defaulting_test.go
- extend_test.go
- required_test.go
- schemas.go
- schemas_test.go
- validator_test.go
- labels.go
- go-hook.go
- module-one-hook.go
- sub-sub-hook.go
- sdk_test.go
- registry.go
- registry_test.go
- sdk.go
- .gitignore
- .gitmodules
- .golangci.yaml
- Dockerfile
- go.mod
- go.sum
- LICENSE
- Makefile
- README.md
- shell-operator
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/flant/addon-operator
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd addon-operator
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t addon-operator .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 addon-operator
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Go
보통go build ./...
Go 프로그램을 컴파일해 실행 파일을 만듭니다.
go run .
따로 빌드하지 않고 바로 Go 프로그램을 실행합니다.
빌드가 에러 없이 끝나면 성공입니다. go run . 을 썼다면 터미널 출력을 확인하세요.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
