cluster-scheduler
The cluster-scheduler
helps you to reduce cloud cost for managed Kubernetes clusters (GKE and EKS), by stopping and restarting Kubernetes clusters on schedule.
Google Cloud
Required Google IAM Permissions
container.clusters.create
container.clusters.get
container.clusters.list
container.clusters.update
container.operations.get
container.operations.list
resourcemanager.projects.get
resourcemanager.projects.list
or predefined role Kubernetes Engine Cluster Admin
Build Project
Docker
The cluster-scheduler
uses Docker both as a CI tool and for releasing final cluster-scheduler
Docker image (scratch
with updated ca-credentials
package).
Makefile
The cluster-scheduler
Makefile
is used for task automation only: compile, lint, test and etc.
Continuous Integration
GitHub action Docker CI
is used for cluster-scheduler
CI.
Required GitHub secrets
Please specify the following GitHub secrets:
DOCKER_USERNAME
- Docker Registry username
DOCKER_PASSWORD
- Docker Registry password or token
DOCKER_REGISTRY
- optional; Docker Registry name, default to docker.io
DOCKER_REPOSITORY
- optional; Docker image repository name, default to $GITHUB_REPOSITORY
(i.e. user/repo
)