Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
21 results

test_cases.md

Blame
    • Cristian Calin's avatar
      360aff4a
      Rename ansible groups to use _ instead of - (#7552) · 360aff4a
      Cristian Calin authored
      * rename ansible groups to use _ instead of -
      
      k8s-cluster -> k8s_cluster
      k8s-node -> k8s_node
      calico-rr -> calico_rr
      no-floating -> no_floating
      
      Note: kube-node,k8s-cluster groups in upgrade CI
            need clean-up after v2.16 is tagged
      
      * ensure old groups are mapped to the new ones
      Rename ansible groups to use _ instead of - (#7552)
      Cristian Calin authored
      * rename ansible groups to use _ instead of -
      
      k8s-cluster -> k8s_cluster
      k8s-node -> k8s_node
      calico-rr -> calico_rr
      no-floating -> no_floating
      
      Note: kube-node,k8s-cluster groups in upgrade CI
            need clean-up after v2.16 is tagged
      
      * ensure old groups are mapped to the new ones
    test_cases.md 1.41 KiB

    Node Layouts

    There are four node layout types: default, separate, ha, and scale.

    default is a non-HA two nodes setup with one separate kube_node and the etcd group merged with the kube_control_plane.

    separate layout is when there is only node of each type, which includes a kube_control_plane, kube_node, and etcd cluster member.

    ha layout consists of two etcd nodes, two masters and a single worker node, with role intersection.

    scale layout can be combined with above layouts (ha-scale, separate-scale). It includes 200 fake hosts in the Ansible inventory. This helps test TLS certificate generation at scale to prevent regressions and profile certain long-running tasks. These nodes are never actually deployed, but certificates are generated for them.

    Note, the canal network plugin deploys flannel as well plus calico policy controller.

    Test cases

    The CI Matrix displays OS, Network Plugin and Container Manager tested.

    All tests are breakdown into 3 "stages" ("Stage" means a build step of the build pipeline) as follows:

    • unit_tests: Linting, markdown, vagrant & terraform validation etc...
    • part1: Molecule and AIO tests
    • part2: Standard tests with different layouts and OS/Runtime/Network
    • part3: Upgrade jobs, terraform jobs and recover control plane tests
    • special: Other jobs (manuals)

    The steps are ordered as unit_tests->part1->part2->part3->special.