package
0.0.0-20221107231338-b44688ae358d
Repository: https://github.com/intelsdi-x/swan.git
Documentation: pkg.go.dev

# README

Kubernetes Cluster Launcher

This launcher starts the Kubernetes cluster. It returns a cluster represented as a Task Handle instance. You can specify two executors:

  • One executor specify how to execute master services (and on what host as well) like apiserver, controller-manager and scheduler.
  • Second are for minion services like kubelet and proxy

Prerequisites

Assumption is that you follow the installation instructions to properly configure this package.

Note:

It is recommended to use 2 machines. It is important for the accuracy of the Swan experiment to have Kubernetes minion running separated from the master services to avoid interference.

# Functions

DefaultConfig is a constructor for Config with default parameters.
New returns a new Kubernetes launcher instance consists of one master and one minion.

# Variables

KubernetesMasterFlag indicates where Kubernetes control plane will be launched.

# Structs

Config contains all data for running kubernetes master & kubelet.