cluster-scheduler

command module
v0.0.0-...-34ff000 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

README

Docker Pulls

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:

  1. DOCKER_USERNAME - Docker Registry username
  2. DOCKER_PASSWORD - Docker Registry password or token
  3. DOCKER_REGISTRY - optional; Docker Registry name, default to docker.io
  4. DOCKER_REPOSITORY - optional; Docker image repository name, default to $GITHUB_REPOSITORY (i.e. user/repo)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL