forked from keptn/lifecycle-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: keptn Scheduler architecture documentation (keptn#1777)
Signed-off-by: Yash Pimple <[email protected]>
- Loading branch information
1 parent
cadb170
commit ce96200
Showing
2 changed files
with
64 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,9 @@ | ||
# scheduler | ||
# Scheduler | ||
|
||
// TODO(user): Add simple overview of use/purpose | ||
The **scheduler** is a pivotal component within the | ||
[Keptn Lifecycle Toolkit](https://main.lifecycle.keptn.sh/) that plays a crucial role in orchestrating the deployment process. | ||
By ensuring that Pods are scheduled onto nodes only after successful pre-deployment checks, | ||
the scheduler minimizes errors and downtimes. | ||
|
||
## Description | ||
|
||
// TODO(user): An in-depth paragraph about your project and overview of use | ||
|
||
## Getting Started | ||
|
||
You’ll need a Kubernetes cluster v0.24.0 or higher to run against. | ||
You can use [KIND](https://sigs.k8s.io/kind) to get a | ||
local cluster for testing, or run against a remote cluster. | ||
|
||
> **Note** | ||
Your controller will automatically use the current context in your kubeconfig file (i.e. whatever | ||
cluster `kubectl cluster-info` shows). | ||
|
||
### Running on the cluster | ||
|
||
1. Build and push your image to the location specified by `RELEASE_REGISTRY`: | ||
|
||
```sh | ||
make build-and-push-local RELEASE_REGISTRY=<some-registry> | ||
``` | ||
|
||
> **Note** | ||
Run `make --help` for more information on all potential `make` targets | ||
|
||
1. Generate your release manifest | ||
|
||
```sh | ||
make release-manifests RELEASE_REGISTRY=<some-registry> | ||
``` | ||
|
||
1. Deploy the scheduler using kubectl: | ||
|
||
```sh | ||
kubectl apply -f ./config/rendered/release.yaml # install the scheduler | ||
``` | ||
|
||
### Uninstall | ||
|
||
To delete the scheduler: | ||
|
||
```sh | ||
kubectl delete -f ./config/rendered/release.yaml # uninstall the scheduler | ||
``` | ||
|
||
## Contributing | ||
|
||
// TODO(user): Add detailed information on how you would like others to contribute to this project | ||
|
||
### How it works | ||
|
||
This project uses the | ||
Kubernetes [Scheduler Framework](https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/) | ||
and is based on the [Scheduler Plugins Repository](https://github.com/kubernetes-sigs/scheduler-plugins/tree/master). | ||
For detailed information about scheduler's functionality and how it works, please refer to | ||
the [Keptn Lifecycle Toolkit Scheduler Documentation](https://main.lifecycle.keptn.sh/docs/concepts/architecture/components/scheduler/). |