GithubHelp home page GithubHelp logo

kuberverse's People

Contributors

arturscheiner avatar zestysoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kuberverse's Issues

Failing Cluster Registration Command

The command $(cat /vagrant/kubeadm-init.out | grep "kubeadm join") is failing because the kubeadm join command in /vagrant/kubeadm-init.out is now multiline like this:

kubeadm join 10.8.8.10:6443 --token 9xdtf5.gar0dim3mbdksw0c \
    --discovery-token-ca-cert-hash sha256:a129fbb0d37d0de15c8428f9f5356e1df9a1a050dd9625d128b5708ce5aa917b 

Running kubectl from different host (dev machine) on same local network

Hi Artur, many thanks for providing and open sourcing your vagrant kubernetes home lab cluster. โœจ

Following your 2 medium posts I'm now with a fully functional cluster on my old/spare notebook.

https://medium.com/kuberverse/how-to-build-a-full-kubernetes-cluster-in-your-home-lab-using-an-automated-easy-and-fancy-way-e5853ae4e08
https://medium.com/kuberverse/running-kubectl-from-outside-your-kubernetes-home-lab-cluster-f2685a3657d4

I can also access kubectl from the host directly - but I'm struggling to setup access from my developer machine (on same home network).
-> From my dev machine I can't telnet against the cluster host on port 6443.


First hurdle seems the vm NAT / port forwarding - which might be configured to be accessible from the host only, but not from external?

See output of (host machine) vboxmanage showvminfo kv-cluster-s_kv-master-0_1585266504407_24845 |grep "NIC":
Screenshot 2020-03-27 at 17 02 35

Further (host machine): sudo netstat -lnp | grep tcp.*LISTEN
Screenshot 2020-03-27 at 17 01 04

Also (host machine): sudo ufw status
Screenshot 2020-03-27 at 17 01 25


Further I think second hurdle might be the cert generated (.kube/config) is restricted to the local vm IP 10.8.8.10.

Updating

Is there some particular technical reason you're building this with 4 year old Xenial instead of Focal? Or is that just your personal preference?

With just a few simple changes, it seems to build with Focal and I'm about to test it shortly.

No such file or directory

    kv-master-0: [config/images] Pulled k8s.gcr.io/coredns:1.6.7
    kv-master-0: cat:
    kv-master-0: /vagrant/hosts.out
    kv-master-0: : No such file or directory
    kv-master-0: W0403 09:41:26.538609   16806 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
    kv-master-0: [init] Using Kubernetes version: v1.18.0

IP Address for host-only network not in allowed ranges

Hello,

I've just done a git clone on this repo and with no changes, done a vagrant up. I then get the below error

The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.

  Address: 10.8.8.50
  Ranges: 192.168.56.0/21

Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:

  https://www.virtualbox.org/manual/ch06.html#network_hostonly

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.