e2e

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

README

E2E 测试

前提条件
  • 确保kubectl命令能正常使用
  • kubectl版本和集群版本一致,避免出现API参数不对应问题
部署存储驱动
$ cd ../kubernetes/deploy
$ ./deploy.sh
卸载存储驱动
$ cd ../kubernetes/deploy
$ ./deploy.sh uninstall
执行e2e测试
$ make test
kind集群测试
  • 创建kind集群
make kc
  • 删除kind集群
make kd
  • 特别注意:
    • kind创建的集群每个节点是一个docker服务,其/dev目录是共享的,lsblk视图也是共享的,所以在每个节点创建loop device是互相可见的, 这样会对测试效果产生一定影响
    • 由于kind创建的k8s集群运行在一台机器,在执行e2e测试时k8s集群性能对测试结果产生较大影响
    • 所以建议使用多主机节点集群执行测试,实际在使用vagrant创建的多个k8s集群中运行良好

Documentation

Index

Constants

View Source
const (
	NameSpace = "carina"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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