Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //KubernetesMasterFlag indicates where Kubernetes control plane will be launched. KubernetesMasterFlag = conf.NewStringFlag("kubernetes_cluster_run_control_plane_on_host", "Address of a host where Kubernetes control plane will be run (when using -kubernetes and not connecting to existing cluster).", "127.0.0.1") )
Functions ¶
Types ¶
type Config ¶
type Config struct { // Comma separated list of nodes in the etcd cluster EtcdServers string EtcdPrefix string EtcdDataFormat string LogLevel int // 0 is info, 4 - debug (https://github.com/kubernetes/kubernetes/blob/master/docs/devel/logging.md). KubeAPIAddr string KubeAPIPort int KubeControllerPort int KubeSchedulerPort int KubeProxyPort int KubeletPort int AllowPrivileged bool // Address range to use for services. ServiceAddresses string // Optional configuration option for cleaning KubeletHost string // Custom args to apiserver and kubelet. KubeAPIArgs string KubeControllerArgs string KubeSchedulerArgs string KubeletArgs string KubeletCgroupDriver string KubeProxyArgs string // Launcher configuration RetryCount uint64 }
Config contains all data for running kubernetes master & kubelet.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig is a constructor for Config with default parameters.
func (*Config) GetKubeAPIAddress ¶
GetKubeAPIAddress returns kube api server in HTTP format.
Click to show internal directories.
Click to hide internal directories.