소개
KOTS는 Kubernetes Off-The-Shelf(KOTS) 소프트웨어라고도 하는 타사 Kubernetes 애플리케이션의 배포와 관리를 지원하는 프레임워크, 도구 및 연동 기능을 제공합니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalKubernetes Off-The-Shelf (KOTS) Software
Replicated KOTS is the collective set of tools that enable the distribution and management of Kubernetes Off-The-Shelf (KOTS) software. The Kots CLI (a Kubectl plugin) is a general purpose, client-side binary for configuring and building dynamic Kubernetes manifests. The Kots CLI also serves as the bootstrapper for the in-cluster Kubernetes application Admin Console kotsadm which can be used to automate the core Kots CLI tasks for managing applications (license verification, configuration, updates, image renaming, version controlling changes, and deployment) as well as additional KOTS tasks (running preflight checks and performing support bundle analysis).
Getting Started
For installation, usage, and distribution instructions, see the KOTS documentation.
Supportability
Supports OSX (including Apple Silicon arm64) and Linux platforms.
Community
For questions about using KOTS, please open an issue in the GitHub repo.
Notifications
By default, KOTS will leverage MinIO as a standalone object store instance to store application archives and support bundles. All communication between KOTS and the MinIO object store is limited to a REST API released under the Apache 2.0 license. KOTS has not modified the MinIO source code. Use of MinIO is currently governed by the GNU AGPLv3 license that can be found in their LICENSE file. To remove MinIO usage for this use case in an existing cluster, an optional install flag --with-minio=false is available for new KOTS installs or upgrades from existing versions. To remove MinIO usage for this use case in a kURL cluster, the disableS3 option is available in the KOTS add-on and can be used for new installs or upgrades. Embedded Cluster v2 does not deploy MinIO; the Admin Console stores this data in rqlite instead.
Software Bill of Materials
Signed SBOMs for KOTS Go dependencies and are included in each release. Use Cosign to validate the signature by running the following command.
cosign verify-blob --key sbom/key.pub --bundle sbom/kots-sbom.tgz.bundle sbom/kots-sbom.tgz
Development
Requirements
- MacOS
- OrbStack with Kubernetes enabled
- Homebrew
Running the Development Environment
Clone the KOTS repo:
git clone https://github.com/replicatedhq/kots.git cd kotsFrom the root directory, run:
make devOnce the development environment is running, you can access the admin console:
- Directly at http://localhost:30808
- Via kURL proxy at http://localhost:30880
Snapshot storage backends
By default, make dev deploys a local Minio instance (kotsadm-minio) that is used both as an object store for application archives and support bundles and as the snapshot storage backend.
To test the Local Volume Provider (LVP) path for snapshots, set WITH_MINIO=false when running the dev environment:
WITH_MINIO=false make dev
This creates the kotsadm-confg ConfigMap with minio-enabled-snapshots: "false", so KOTS will use the LVP path for HostPath/NFS snapshot destinations. The Minio StatefulSet is still deployed because the dev environment also uses it as an object store for application archives and support bundles.
Note: This does not fully replicate a kots install --with-minio=false installation. In production, --with-minio=false deploys KOTS as a StatefulSet with a kotsadmdata PersistentVolume and uses BlobStore (local filesystem) instead of Minio for application archives and support bundles. The dev environment remains a Deployment with S3 env vars; the WITH_MINIO toggle only affects the snapshot storage path.
Developing kotsadm web
Changes to the kotsadm web component are reflected in real-time; no manual steps are required.
However, to add, remove, or upgrade a dependency / package:
Exec into the kotsadm-web container:
make kotsadm-web-upRun the desired
yarncommands. For example:yarn add <package>When finished, exit the container:
exit
Developing kotsadm API
To apply your current changes, run the following commands:
make kotsadm-upmake build runTo apply additional changes, stop the current process with Ctrl+C, then run the following command:
make build runWhen finished developing, run the following command to revert back to the original state:
exitmake kotsadm-down
Developing kurl-proxy web / API
To apply your current changes, run the following commands:
make kurl-proxy-upmake build runTo apply additional changes, stop the current process with Ctrl+C, then run the following command:
make build runWhen finished developing, run the following command to revert back to the original state:
exitmake kurl-proxy-down
관련 프로젝트 살펴보기
불러오는 중…