Documentation ¶
Overview ¶
Package kubeadmdind implements a kubetest deployer based on the scripts in the github.com/kubernetes-sigs/kubeadm-dind-cluster repo. This deployer can be used to create a multinode, containerized Kubernetes cluster that runs inside a Prow DinD container.
Index ¶
- type Deployer
- func (d *Deployer) Down() error
- func (d *Deployer) DumpClusterLogs(localPath, gcsPath string) error
- func (d *Deployer) GetClusterCreated(gcpProject string) (time.Time, error)
- func (d *Deployer) IsUp() error
- func (_ *Deployer) KubectlCommand() (*exec.Cmd, error)
- func (d *Deployer) TestSetup() error
- func (d *Deployer) Up() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
Deployer is used to implement a kubetest deployer interface
func NewDeployer ¶
NewDeployer returns a new Kubeadm-DinD Deployer
func (*Deployer) DumpClusterLogs ¶
DumpClusterLogs copies dumps docker state and service logs for: - Host Prow container - Kube master node container(s) - Kube worker node containers to a local artifacts directory.
func (*Deployer) GetClusterCreated ¶
GetClusterCreated is not yet implemented.
func (*Deployer) IsUp ¶
IsUp determines if a cluster is up based on whether one or more nodes is ready.