Comments (15)
@michaelschem Thanks for raising this issue. I will test the process with Ubuntu 20.04 and K8s version 1.24.6 and let you know if I see the same problem. Cheers.
from kubernetes.
Which OS is this on?
from kubernetes.
ubuntu 20.04
from kubernetes.
I'll leave it to Venkat to sort out as Vagrant and I are not acquaintances. I was looking to rule out the OS as the culprit.
I've built several clusters on Ubuntu 20.04, the latest being 1.23.9, and haven't had issues though I build my clusters using home made bash scripts. I'll make them publicly available once I find time to remove all the hard coded bits.
from kubernetes.
I'd be happy to pull out the hard coded bits if it meant getting a script faster!
from kubernetes.
If I remove the --upload-certs
option it comes up but coredns never becomes stable
from kubernetes.
I'm running this on proxmox. Not sure if that makes any difference.
from kubernetes.
Ok. I have tested this on Ubuntu 20.04 with K8s 1.24.6 and is working fine. No issues.
Just followed the documentation (except changing 1.22.0-00 to 1.24.6-00 in three places in one line).
Host machine is a Linux machine. All kubernetes and haproxy nodes brought up using vagrant with libvirt provider.
Same as in this video.
https://www.youtube.com/watch?v=SueeqeioyKY
from kubernetes.
Ok, well I just realized I'm actually running 22.04. Is that not supported?
from kubernetes.
Pretty sure it will work on 22.04. I will test and report.
from kubernetes.
Hmm. I get all sorts of error with Ubuntu 22.04. On first attempt at kubeadm init command I get this.
[kubelet-finalize] Updating "/etc/kubernetes/kubelet.conf" to point to a rotatable kubelet client certificate and key
error execution phase addon/coredns: couldn't retrieve DNS addon deployments: Get "https://172.16.16.100:6443/apis/apps/v1/namespaces/kube-system/deployments?labelSelector
=k8s-app%3Dkube-dns": context deadline exceeded
I will have to work on this. But as mentioned in the documentation (and in the YouTube video), it works and meant for Ubuntu 20.04. Never been tested on 22.04 until today. I will get this working on 22.04 and add documentation and video for it (if I get it working). Cheers.
from kubernetes.
@justmeandopensource I've got it working on 22.04 now. I'll create a PR shortly.
from kubernetes.
@justmeandopensource PR created #119 I don't have vagrant setup so I haven't tested it yet, but that's more or less what I did to get it to work.
from kubernetes.
The documentation you originally referred to in this issue is this.
https://github.com/justmeandopensource/kubernetes/tree/master/kubeadm-ha-keepalived-haproxy/external-keepalived-haproxy
Your PR is for this one
https://github.com/justmeandopensource/kubernetes/blob/master/kubeadm-ha-multi-master/README.md
The documentation you have created PR definitely needs to be updated to use containerd instead of docker. But in the first link, I used containerd and not docker. But I didn't do systemdcgroup thing. As this documentation originally covers Ubuntu 20.04, I need to test this cgroup thing with 20.04 before pushing changes.
In my vagrant setup though, I have already got that in place.
https://github.com/justmeandopensource/kubernetes/blob/master/vagrant-provisioning/bootstrap.sh
Anyways I am glad that you sorted your issue. Well done.
Leave these documentation update with me. I will do my best. All these documentations are referred in my YouTube videos. SO I can't just change Ubuntu 20.04 to 22.04. I need to update videos etc. :)
Thanks for your help.
from kubernetes.
Ah, my bad on the PR.
Yea, I understand the need for consistency with your youtube videos. Glad I could help with the upgrade.
The systemdcgroup is definitely needed otherwise kubeadm crash loops.
Thanks for the vids and tutorials!
from kubernetes.
Related Issues (20)
- Doubt regarding the CronJob HOT 3
- Feed-back, would you be kind enough to use nginx external load balancer? HOT 1
- unable to install istiod HOT 2
- Since i don't find where i can contact you personally HOT 6
- Internet connection HOT 1
- Containers unstable HOT 1
- not able to run vagrant up on ubuntu 22.04 using the vagrant file HOT 1
- LXD provisioning for kubernetes isnt working HOT 2
- ingress-nginx define the localhost ip as ingress address instead of IP from metallb addresspool HOT 7
- Internet issue when running cluster in corporate network HOT 2
- ingress-nginx get 400 HOT 2
- bootstrap_kmaster task 1 is not able to pull HOT 4
- kmaster: [TASK 4] Generate and save cluster join command to /joincluster.sh step return a non-zero exit status HOT 4
- LXC/LXD - Kubernetes Cluster created but not working HOT 3
- ClusterAPI HOT 2
- Create Kubernetes cluster using Vagrant. HOT 2
- LXD Provisioning HOT 1
- lxc.mount.auto=proc:rw sys:rw freezes archlinux HOT 5
- vagrant provisioning HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.