Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k8s: e2e: Enable podOverhead feature and modify skipped tests #2243

Merged
merged 3 commits into from
Jan 24, 2020

Commits on Jan 22, 2020

  1. k8s: Enable PodOverhead for kata

    We are using k8s 1.16, so we can enable PodOverhead alpha
    feature for our testing.
    
    Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
    chavafg committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    5f1885f View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. k8s: e2e: Modify skipped tests

    - Remove `Downward API` tests from the list of skipped tests.
      These tests pass when enabling the `PodOverhead` feature on
      kubernetes.
    - Add a `Daemon set` test which requires to have a cluster
      with at least two nodes.
    
    Fixes: kata-containers#2242.
    
    Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
    chavafg committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    f248769 View commit details
    Browse the repository at this point in the history
  2. k8s: Lower the number of CPUs on CPU test

    We need to lower the request of CPUs on the pod-number-cpu.yaml
    which is used to run our CPU test. This is required as we now
    have enabled PodOverhead and our CI VMs are small.
    
    In addition, increase the sleep time that is run inside one of the
    containers, so that we are sure that we can measure the number
    of CPUs that it is using.
    
    Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
    chavafg committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    840fcb0 View commit details
    Browse the repository at this point in the history