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 ¶
func New ¶
New returns a new Kubernetes launcher instance consists of one master and one minion. In case of the same executor they will be on the same host (high risk of interferences). NOTE: Currently we support only single-kubelet (single-minion) kubernetes.
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.
Source Files
¶
- commands.go
- kubernetes.go
- mock_k8s_pod_api.go
- pods.go
Click to show internal directories.
Click to hide internal directories.