arturscheiner / kuberverse Goto Github PK
View Code? Open in Web Editor NEWThis is the kuberverse repo
License: Apache License 2.0
This is the kuberverse repo
License: Apache License 2.0
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
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"
:
Further (host machine): sudo netstat -lnp | grep tcp.*LISTEN
Also (host machine): sudo ufw status
Further I think second hurdle might be the cert generated (.kube/config
) is restricted to the local vm IP 10.8.8.10
.
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.
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.