You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.4 KiB

  1. # Node Layouts
  2. There are four node layout types: `default`, `separate`, `ha`, and `scale`.
  3. `default` is a non-HA two nodes setup with one separate `kube-node`
  4. and the `etcd` group merged with the `kube-master`.
  5. `separate` layout is when there is only node of each type, which includes
  6. a kube-master, kube-node, and etcd cluster member.
  7. `ha` layout consists of two etcd nodes, two masters and a single worker node,
  8. with role intersection.
  9. `scale` layout can be combined with above layouts (`ha-scale`, `separate-scale`). It includes 200 fake hosts
  10. in the Ansible inventory. This helps test TLS certificate generation at scale
  11. to prevent regressions and profile certain long-running tasks. These nodes are
  12. never actually deployed, but certificates are generated for them.
  13. Note, the canal network plugin deploys flannel as well plus calico policy controller.
  14. ## Test cases
  15. The [CI Matrix](/docs/ci.md) displays OS, Network Plugin and Container Manager tested.
  16. All tests are breakdown into 3 "stages" ("Stage" means a build step of the build pipeline) as follows:
  17. - _unit_tests_: Linting, markdown, vagrant & terraform validation etc...
  18. - _part1_: Molecule and AIO tests
  19. - _part2_: Standard tests with different layouts and OS/Runtime/Network
  20. - _part3_: Upgrade jobs, terraform jobs and recover control plane tests
  21. - _special_: Other jobs (manuals)
  22. The steps are ordered as `unit_tests->part1->part2->part3->special`.