Kubernetes management
-
Update:
I think I reproduce the issue:E: Failed to fetch http://deb.debian.org/debian/pool/main/g/glib2.0/libglib2.0-bin_2.58.3-2+deb10u1_amd64.deb 404 Not Found [IP: 2a04:4e42:62::644 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 2021-11-04 13:31:54,514 - util.py[WARNING]: Failed to install packages: ['apt-transport-https', 'ca-certificates', 'curl', 'gnupg2', 'software-properties-common'] 2021-11-04 13:31:54,515 - cc_package_update_upgrade_install.py[WARNING]: 2 failed with exceptions, re-raising the last one
It seems the recipe can't install curl which is necessary to then install the kubernetes package, i'll look into it.
-
This is probably because Debian 10 changed the repo, so we should probably recreate a new template and modify the recipe.
In the meantime, you can manually install what's missing.
-
@olivierlambert Thank you both for looking into it. Can you please tell how I can figure out what package is missing?
-
@fred974 you can look at https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/
This is what's followed by the recipe.
-
@benjireis Thank you
-
For managing your kubernetes, I'd look closely at installing Rancher
-
@ravenet said in Kubernetes management:
For managing your kubernetes, I'd look closely at installing Rancher
Thank you. I'll take a look
-
@ravenet sorry for the delayed reply. I took a look at Ranger. Can you please tell me where does it need to be install? The xcp-ng recipie create 2x nodes and 1x master. Do I install Ranger on the master or a completly different VM?
Thank you
-
@fred974
The decision on where you install Racher is up to you. You can first try a separate VM with docker, or even test using the beta xcp docker runx piece, then do a basic rancher in docker for testing, but this obviously has some redundancy/resiliency HA limits. if it breaks you end up with no access or failover and loss of data or even ability to manage your kube cluster depending on how you setup docker volumes etc. Is good to test and get familiar. You should technically be installing rancher in kubernetes, but in a dedicated management cluster.Honestly for home lab, docker is fine, as is tossing it in your kubernetes cluster if already setup, just mind your backups and figure out volumes so you can recover if goes kaboom.
Here's a rancher best practices for you, though obviously meant for large corporate and cloud rollouts.
-
We'd love to have a Rancher node driver for XO API Just sayin'
https://rancher.com/docs/rancher/v2.5/en/admin-settings/drivers/node-drivers/
-
@ravenet Thank you very much. That link you sent is very usefull
-
@olivierlambert said in Kubernetes management:
We'd love to have a Rancher node driver for XO API Just sayin'
https://rancher.com/docs/rancher/v2.5/en/admin-settings/drivers/node-drivers/
I whish I could help.. Maybe one day once I understand the basic of it all
-