package init

import "k8s.io/kubernetes/federation/pkg/kubefed/init"

TODO(madhusdancs):

  1. Make printSuccess prepend protocol/scheme to the IPs/hostnames.
  2. Add a dry-run support.
  3. Make all the API object names customizable. Ex: federation-apiserver, federation-controller-manager, etc.
  4. Make image name and tag customizable.
  5. Separate etcd container from API server pod as a first step towards enabling HA.
  6. Generate credentials of the following types for the API server: i. "known_tokens.csv" ii. "basic_auth.csv"
  7. Add the ability to customize DNS domain suffix. It should probably be derived from cluster config.
  8. Make etcd PVC size configurable.
  9. Make API server and controller manager replicas customizable via the HA work.

Index

Constants

const (
	APIServerCN                 = "federation-apiserver"
	ControllerManagerCN         = "federation-controller-manager"
	AdminCN                     = "admin"
	HostClusterLocalDNSZoneName = "cluster.local."
)

Functions

func NewCmdInit

func NewCmdInit(cmdOut io.Writer, config util.AdminConfig) *cobra.Command

NewCmdInit defines the `init` command that bootstraps a federation control plane inside a set of host clusters.

Source Files

init.go

Version
v1.5.2-beta.0
Published
Dec 14, 2016
Platform
linux/amd64
Imports
20 packages
Last checked
7 minutes ago

Tools for package owners.