Git Product home page Git Product logo

Comments (3)

aojea avatar aojea commented on May 29, 2024

you may use port forward or any solution that allows to circumvent this problems https://goteleport.com/docs/kubernetes-access/introduction/ , but you need to expose the apiserver endpoint on the VM and allow acccess to it https://kind.sigs.k8s.io/docs/user/configuration/#networking

from kind.

Sagarbud avatar Sagarbud commented on May 29, 2024

Hello @aojea

Thank you for your response.

I think previously i am unable to explain my Kind cluster scenario. Let me clarify again.

I have configured KinD cluster in Linux VM. Linux VM is hosted in Hyper-V. Then, we have deploy nginx in KinD cluster and able to access it in Linux VM with KinD's node IP address. Ex (172.18.0.4) but not able to access it using Linux VM IP address (10.0.1.36)from my workstation.

Worker node IP range: 172.18.0.0/16
POD IP range: 10.244.0.0/16
Service IP range: 10.96.0.0/16

The above IP addresses range are virtual IP which is created by KinD cluster.

Linux VM IP: 10.0.1.36
Hyper-v IP: 10.0.1.23

How we can access the application using Linux VM IP address(10.0.1.36)?

For better understanding, I have attached screen shot with the response.
MicrosoftTeams-image

Thank you in advance.

from kind.

stmcginnis avatar stmcginnis commented on May 29, 2024

Your drawing is missing, or skipping over, Docker and the Docker networking in that picture. You will need to using some sort of ingress: https://kind.sigs.k8s.io/docs/user/ingress/

But for your scenario, maybe kind isn't the right tool for the use case. You might be better off just using kubeadm to deploy a cluster in your vm.

from kind.

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.