kubernetesk8s.io/kubernetes/cmd/kubeadm/app/node Index | Files

package node

import "k8s.io/kubernetes/cmd/kubeadm/app/node"

Index

Functions

func EstablishMasterConnection

func EstablishMasterConnection(c *kubeadmapi.TokenDiscovery, clusterInfo *kubeadmapi.ClusterInfo) (*clientcmdapi.Config, error)

EstablishMasterConnection establishes a connection with exactly one of the provided API endpoints. The function builds a client for every endpoint and concurrently keeps trying to connect to any one of the provided endpoints. Blocks until at least one connection is established, then it stops the connection attempts for other endpoints and returns the valid client configuration, if any.

func PerformTLSBootstrap

func PerformTLSBootstrap(cfg *clientcmdapi.Config) error

PerformTLSBootstrap executes a node certificate signing request.

func RetrieveTrustedClusterInfo

func RetrieveTrustedClusterInfo(d *kubeadmapi.TokenDiscovery) (*kubeadmapi.ClusterInfo, error)

Source Files

bootstrap.go csr.go discovery.go

Version
v1.6.0-beta.1
Published
Mar 2, 2017
Platform
js/wasm
Imports
20 packages
Last checked
14 minutes ago

Tools for package owners.