package init
import "k8s.io/kubernetes/federation/pkg/kubefed/init"
TODO(madhusdancs): 1. Make printSuccess prepend protocol/scheme to the IPs/hostnames. 2. Separate etcd container from API server pod as a first step towards enabling HA. 3. Make API server and controller manager replicas customizable via the HA work.
Index ¶
- Constants
- func NewCmdInit(cmdOut io.Writer, config util.AdminConfig, defaultServerImage, defaultEtcdImage string) *cobra.Command
Constants ¶
const ( APIServerCN = "federation-apiserver" ControllerManagerCN = "federation-controller-manager" AdminCN = "admin" HostClusterLocalDNSZoneName = "cluster.local." APIServerNameSuffix = "apiserver" CMNameSuffix = "controller-manager" CredentialSuffix = "credentials" KubeconfigNameSuffix = "kubeconfig" // User name used by federation controller manager to make // calls to federation API server. ControllerManagerUser = "federation-controller-manager" // Name of the ServiceAccount used by the federation controller manager // to access the secrets in the host cluster. ControllerManagerSA = "federation-controller-manager" )
Functions ¶
func NewCmdInit ¶
func NewCmdInit(cmdOut io.Writer, config util.AdminConfig, defaultServerImage, defaultEtcdImage string) *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.8.13-beta.0
- Published
- Apr 23, 2018
- Platform
- linux/amd64
- Imports
- 33 packages
- Last checked
- 9 minutes ago –
Tools for package owners.