mtest

package
v1.18.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 27 Imported by: 0

README

How to manually run CKE using placemat

  1. Run make setup

  2. Run make placemat

  3. Login to host1 by:

    $ chmod 600 mtest_key
    $ ./mssh host1 
    
  4. Run /data/setup-cke.sh on host1.

  5. Run cke on host1.

  6. Copy /data/cluster.yml to $HOME, edit the copy, and load it by:

    $ /data/ckecli constraints set control-plane-count 3
    $ /data/ckecli cluster set $HOME/cluster.yml
    
  7. To stop placemat, run sudo pkill placemat.

If you want to use kubectl, run the following commands on host-vm.

```console
$ ./mssh host1 /opt/bin/ckecli kubernetes issue > ~/.kube/config
$ ./output/kubectl get nodes
```

Documentation

Index

Constants

View Source
const (

	// DefaultRunTimeout is the timeout value for Agent.Run().
	DefaultRunTimeout = 10 * time.Minute
)

Variables

This section is empty.

Functions

func FunctionsSuite

func FunctionsSuite()

FunctionsSuite is a test suite that tests small test cases

func OperatorsSuite

func OperatorsSuite()

OperatorsSuite is a test suite that tests CKE operators

func RobustnessSuite added in v1.15.4

func RobustnessSuite()

RobustnessSuite is a test suite that tests CKE operators with SSH-not-connected nodes

func RunBeforeSuite

func RunBeforeSuite(img string)

RunBeforeSuite is for Ginkgo BeforeSuite

func TestCKECLI

func TestCKECLI()

TestCKECLI tests ckecli command

func TestKubernetes

func TestKubernetes()

TestKubernetes tests kubernetes workloads on CKE

func TestOperators

func TestOperators(isDegraded bool)

TestOperators tests all CKE operators

func TestStopCP added in v1.15.4

func TestStopCP()

TestStopCP stops 1 control plane for succeeding tests

func TestUpgrade added in v1.15.7

func TestUpgrade()

TestUpgrade tests CKE upgrade operators

func UpgradeSuite added in v1.15.7

func UpgradeSuite()

UpgradeSuite is a test suite that reboots all nodes and upgrade CKE.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL