Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Suggestion: Kata deployment scripts should check that nested virtualization is enabled #89

Open

Description

@olberger

As exhibited in #87 crio install won't work whenever no nested virtualization has been allowed for KVM on the host.

I think it would be great to have some check when qemu/kvm will be used for kata-containers, to abort or warn prominently if no nested vrtualization is available, which will make qemu to fail, thus crio too.

Thanks in advance.

Activity

  1. krsna1729 commented on Apr 20, 2019

    @krsna1729
    Contributor

    @olberger since the script itself runs only on master, maybe updating https://github.com/kata-containers/packaging/tree/master/kata-deploy is a better idea?

    In this repo we could add all examples to make use of node-selector with kata-runtime true label. That way they wont land on nodes that do not support kata-runtime class. This is a workaround for the current limitation in runtimeclass.

    cc @egernst @mcastelino

  2. krsna1729 commented on Apr 20, 2019

    @krsna1729
    Contributor

    @olberger thanks for the suggestion!

  3. mcastelino commented on Apr 22, 2019

    @mcastelino
    Contributor

    @egernst does your kata-deploy script check for this today?

  4. egernst commented on Apr 22, 2019

    @egernst
    Contributor

    no

  5. mcastelino commented on Jun 19, 2019

    @mcastelino
    Contributor

    We should see if we can use NFD to detect support for VT-x and use that as part of kata-deploy when available.

    /cc @krsna1729

  6. krsna1729 commented on Jun 19, 2019

    @krsna1729
    Contributor

    @mcastelino that will only save a daemonset pod. It doesnt solve the problem of scheduling the actual workload itself

  7. mythi commented on Jun 20, 2019

    @mythi
    Contributor

    that will only save a daemonset pod. It doesnt solve the problem of scheduling the actual workload itself

    True but AFAICS the limitation comes from RuntimeClass that assumes homogeneous cluster.

  8. krsna1729 commented on Jun 20, 2019

    @krsna1729
    Contributor

    Yes see second comment

  9. added
    bug
    on Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions