66408a87ee
* download file * download containers * fix push image to nodes * pull if none image on host * fix * improve docker image tag checks. do not pull already cached images * rebase fix merge conflict * add support download_run_once when upgrade and scale cluster add some test with download_run_once * set default values to temp flag for every download cycle * add save,load abilty for containerd and crio when download_run_once=true * return redefine image save/load command to set_docker_image_facts.yml * move set command to set_container_facts * ctr in containerd_bin_dir * fix order of ctr image export arguments * temporary disable download_run_once for containerd and crio due https://github.com/containerd/containerd/issues/4075 * remove unused files * fix strict yaml linter warning and errors * refactor logical conditions to pull and cache container images * remove comment due lint check * document role * remove image_load_on_localhost, because cached images are always loaded to docker on remote sites * remove XXX from debug output |
||
---|---|---|
.. | ||
cloud_playbooks | ||
files | ||
local_inventory | ||
scripts | ||
support | ||
templates | ||
testcases | ||
ansible.cfg | ||
Makefile | ||
README.md | ||
requirements.txt | ||
run-tests.sh | ||
shebang-unit |
Kubespray cloud deployment tests
Amazon Web Service
Calico | Flannel | Weave | |
---|---|---|---|
Debian Jessie | |||
Ubuntu Trusty | |||
RHEL 7.2 | |||
CentOS 7 |
Test environment variables
Common
Variable | Description | Required | Default |
---|---|---|---|
TEST_ID |
A unique execution ID for this test | Yes | |
KUBE_NETWORK_PLUGIN |
The network plugin (calico or flannel) | Yes | |
PRIVATE_KEY_FILE |
The path to the SSH private key file | No |
AWS Tests
Variable | Description | Required | Default |
---|---|---|---|
AWS_ACCESS_KEY |
The Amazon Access Key ID | Yes | |
AWS_SECRET_KEY |
The Amazon Secret Access Key | Yes | |
AWS_AMI_ID |
The AMI ID to deploy | Yes | |
AWS_KEY_PAIR_NAME |
The name of the EC2 key pair to use | Yes | |
AWS_SECURITY_GROUP |
The EC2 Security Group to use | No | default |
AWS_REGION |
The EC2 region | No | eu-central-1 |
Use private ssh key
Key
openssl pkcs12 -in gce-secure.p12 -passin pass:notasecret -nodes -nocerts | openssl rsa -out gce-secure.pem
cat gce-secure.pem |base64 -w0 > GCE_PEM_FILE`