 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
+groupName=kubeadm.k8s.io
Index ¶
Constants ¶
      View Source
      
  const GroupName = "kubeadm.k8s.io"
    GroupName is the group name use in this package
      View Source
      
  
const ( // NodeLabelKubeadmAlphaRole is a label that kubeadm applies to a Node as a hint that it has a particular purpose. // Use of NodeLabelRole is preferred. NodeLabelKubeadmAlphaRole = "kubeadm.alpha.kubernetes.io/role" )
Variables ¶
      View Source
      
  
    var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
      View Source
      
  
    var GlobalEnvParams = SetEnvParams()
    
      View Source
      
  var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
    SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type EnvParams ¶
type EnvParams struct {
	KubernetesDir    string
	HyperkubeImage   string
	RepositoryPrefix string
	EtcdImage        string
}
    func SetEnvParams ¶
func SetEnvParams() *EnvParams
TODO(phase1+) Move these paramaters to the API group we need some params for testing etc, let's keep these hidden for now
type MasterConfiguration ¶
type MasterConfiguration struct {
	metav1.TypeMeta
	API                API
	Etcd               Etcd
	Networking         Networking
	KubernetesVersion  string
	CloudProvider      string
	NodeName           string
	AuthorizationModes []string
	Token    string
	TokenTTL time.Duration
	// SelfHosted enables an alpha deployment type where the apiserver, scheduler, and
	// controller manager are managed by Kubernetes itself. This option is likely to
	// become the default in the future.
	SelfHosted bool
	APIServerExtraArgs         map[string]string
	ControllerManagerExtraArgs map[string]string
	SchedulerExtraArgs         map[string]string
	// APIServerCertSANs sets extra Subject Alternative Names for the API Server signing cert
	APIServerCertSANs []string
	// CertificatesDir specifies where to store or look for all required certificates
	CertificatesDir string
}
    type Networking ¶
type NodeConfiguration ¶
type TokenDiscovery ¶ added in v1.6.0
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| +k8s:defaulter-gen=TypeMeta +groupName=kubeadm.k8s.io | +k8s:defaulter-gen=TypeMeta +groupName=kubeadm.k8s.io | 
 Click to show internal directories. 
   Click to hide internal directories.