Coder Social home page Coder Social logo

Comments (7)

rmohr avatar rmohr commented on July 20, 2024

kubectl --kubeconfig=/etc/kubernetes/admin.conf apply -f https://raw.githubusercontent.com/coreos/flannel/v0.9.1/Documentation/kube-flannel.yml

@kunalkushwaha that's an issue in the base scripts. They should never download on teprovision state anything. They should work offline by never pulling on restart of VMIs.

from kubevirtci.

kunalkushwaha avatar kunalkushwaha commented on July 20, 2024

#71 fixes issue partially for using make cluster-up script without change behind proxy. To create VMI's docker daemon should be able to pull images, which requires proxy settings for docker daemon.

This issue may be fixed with special flag for --proxy-settings instead of passing all scripts once more, but I feel #70 gives ability to customize environment, if anything specific required for setup without any changes in scripts in upstream code.

from kubevirtci.

rmohr avatar rmohr commented on July 20, 2024

#71 fixes issue partially for using make cluster-up script without change behind proxy. To create VMI's docker daemon should be able to pull images, which requires proxy settings for docker daemon.

Just keep in mind that we extra have a registry included if you do "make cluster-up". You can also push all images which should be available for tests to that registry. It makes tests more reliable because the images are then very fast downloaded.

This issue may be fixed with special flag for --proxy-settings instead of passing all scripts once more, but I feel #70 gives ability to customize environment, if anything specific required for setup without any changes in scripts in upstream code.

I am not against the hook but it kind of goes against the purpose of kubevirtci. The purpose is that you have a completely pre-canned and prepared cluster. Setting correct proxy settings or something like this for sure make sense but the purpose is exactly to not customize the clusters, since it is there to provide a base for reproducible testruns. Locally and on CI.

from kubevirtci.

rmohr avatar rmohr commented on July 20, 2024

Also we have some tests in kubevirt/kubevirt which reach out to the internet (e.g. run yum). That are buggy tests. They should never have to reach the internet (except the one test which ensures that VMIs can reach the internet in general, which can be skipped easily).

from kubevirtci.

kunalkushwaha avatar kunalkushwaha commented on July 20, 2024

The purpose is that you have a completely pre-canned and prepared cluster. Setting correct proxy settings or something like this for sure make sense but the purpose is exactly to not customize the clusters, since it is there to provide a base for reproducible testruns. Locally and on CI.

I agree with you and understand customizing setup goes against kubevertci original goal.
My test VMI images resides in local network registry, but requires proxy settings for accessing that too.

Will be it okay, If I modify PR #70 just to set docker daemon proxy settings?. It will solve issue working behind proxy.

from kubevirtci.

rmohr avatar rmohr commented on July 20, 2024

Will be it okay, If I modify PR #70 just to set docker daemon proxy settings?. It will solve issue working behind proxy.

Works for me.

My test VMI images resides in local network registry, but requires proxy settings for accessing that too.

Let me just say again that you can also push them to the included registry, which will result in more reliable test runs.

from kubevirtci.

kunalkushwaha avatar kunalkushwaha commented on July 20, 2024

My test VMI images resides in local network registry, but requires proxy settings for accessing that too.

Let me just say again that you can also push them to the included registry, which will result in more reliable test runs.

The VMI images are pushed by others too. Though it should be doable, but proxy will be helpful. Right now I am not using it for CI tests, so its more of a dev environment setup for finding issues for specific VMIs

Will be it okay, If I modify PR #70 just to set docker daemon proxy settings?. It will solve issue working behind proxy.

Works for me.

Thanks, I will update the PR for just proxy settings.

from kubevirtci.

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.