Giter Club home page Giter Club logo

Comments (11)

mcastelino avatar mcastelino commented on July 24, 2024

@pohly we do not support virtualbox as it does not support all the features needed. Can you use libvirt?

Note: The documentation needs to be updated to reflect that virtualbox does not work today.

from cloud-native-setup.

krsna1729 avatar krsna1729 commented on July 24, 2024

Do we know if the issue is virtualbox or clearlinux version?

from cloud-native-setup.

krsna1729 avatar krsna1729 commented on July 24, 2024

Since the only hypervisor specific stuff is this

c.vm.provider :libvirt do |lv|
lv.cpu_mode = "host-passthrough"
lv.nested = true
lv.loader = $loader
lv.cpus = $cpus
lv.memory = $memory
(1..$disks).each do |d|
lv.storage :file, :device => "hd#{$driveletters[d]}", :path => "disk-#{$disk_prefix}-#{vm_name}-#{d}.disk", :size => $disk_size, :type => "raw"
end

cluster init should ideally work unless i am missing something.

Kata for sure wont work since VBox doesnt support nested

from cloud-native-setup.

krsna1729 avatar krsna1729 commented on July 24, 2024

We could move the cpu and memory out to be agnostic i think

from cloud-native-setup.

mcastelino avatar mcastelino commented on July 24, 2024

Looks like we have an issue in Clearlinux itself

kubectl run -i --tty busybox --image=busybox --restart=Never -- sh
Error attaching, falling back to logs: error dialing backend: EOF
Error from server: Get https://192.52.100.12:10250/containerLogs/default/busybox/busybox: net/http: TLS

from cloud-native-setup.

pohly avatar pohly commented on July 24, 2024

we do not support virtualbox as it does not support all the features needed.

Fair enough. However, there might be users (like me) who just want to try out Kubernetes on Clear Linux without necessarily needing Kata Containers, so it would be nice to support also providers without nested virtualization.

Can you use libvirt?

I'll have to install Vagrant differently then (binaries from https://www.vagrantup.com/downloads.html don't have it), but I can try. It's lower priority, though, because it looks like the issue that I was running into (clearlinux/distribution#904) can be reproduced by the maintainer.

from cloud-native-setup.

ahsan518 avatar ahsan518 commented on July 24, 2024

I think this issue is invalid, since we currently do not support virtualbox. Also verified, we are working on the vagrant setup to make sure its functional with Centos/Ubuntu/Clear. Shall i close this ?

from cloud-native-setup.

mcastelino avatar mcastelino commented on July 24, 2024

One option is to make kata optional and with that we may be able to support virtualbox.

from cloud-native-setup.

ganeshmaharaj avatar ganeshmaharaj commented on July 24, 2024

Adding virtualbox option is fairly trivial. Like @krsna1729 mentioned, there are just a few things that are unique to libvirt. Let me try and push a patch enablign support for virtualbox.

from cloud-native-setup.

ahsan518 avatar ahsan518 commented on July 24, 2024

@pohly Did you tried using this change for the issue, let me know if you have so we can close it

from cloud-native-setup.

pohly avatar pohly commented on July 24, 2024

kubelet seems to come up fine now.

from cloud-native-setup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.