exoscale-sks-lifecycler

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

exoscale-sks-lifecycler

Lifecycle automation of Exoscale SKS cluster nodes.

Getting Started

Create the following environment variables:

export EXOSCALE_API_KEY=...
export EXOSCALE_API_SECRET=...
export EXOSCALE_API_ZONE=de-muc-1

export KUBECONFIG=/path/to/kubeconfig.yaml

export EXOSCALE_SKS_LIFECYCLER_DESIRED_K8S_VERSION=v1.28.7
export EXOSCALE_SKS_LIFECYCLER_SKS_CLUSTER_ID=905ff...
export EXOSCALE_SKS_LIFECYCLER_WAIT_FOR_PODS_LABEL_SELECTOR="app in (frontend,backend)"

Run:

go run main.go nodepool cycle

Development

The application is written in Go and uses spf13/cobra and spf13/viper libraries to provide CLI functionality and simple configuration.

Documentation

Overview

Copyright © 2024 Thomas Stadler thomas.stadler@whizus.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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