-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Guide for Talos #133
Comments
good point! I will see if we could add one. right now I'm a little bit limited in time...
This will build the node-image more information could be found here Then you could create a cluster as usual but with the talos flavor. Of course you need to start the talos bootstrap and control-plane controller as well. So right now the easiest way would be to use the tilt setup. Adding a tilt-settings.json with the following content.
And then:
Maybe you need to install the prerequisites listet in the developer docs or alternatively In the tilt UI under http://localhost:10350/ Feel free to enhance the docs with a PR in the meantime ;) |
Thank you very much for the guideline @batistein |
Could you also write a comment on how to setup Talos on hetzner dedicated machines? I successfully provisioned my bare-metal server HetznerBareMetalHost with the HetznerBareMetalMachineTemplate (currently Ubuntu 20.04) + bootstrap cluster template KubeadmConfigTemplate, but i would like to use Talos instead of Ubuntu + kubeadm. I guess I need something like the cluster-template-hcloud-talos-packer.yaml but for dedicated servers (cluster-template-hetzner-baremetal-talos-control-planes.yaml or so). Thanks in advance. |
@madnight unfortunately that's not possible. The baremetal provider integration uses heavily ssh commands. So you could only use OS Images which supports SSH and you can only use the Kubeadm Bootstrap/Control Plane Provider for Baremetal. |
@batistein Thanks for your fast response. Talos also provides OS Images https://github.com/siderolabs/talos/releases/download/v1.2.3/metal-amd64.tar.gz wouldn't it be possible to download the OS Image in Hetzner Resuce Mode. Something like installImage:
image:
url: https://github.com/siderolabs/talos/releases/download/v1.2.3/metal-amd64.tar.gz
# path: >-
# /root/.oldroot/nfs/install/../images/Ubuntu-2004-focal-64-minimal-hwe.tar.gz
partitions:
- fileSystem: ext4
mount: /boot
size: 1024M
- fileSystem: ext4
mount: /
size: all According to the Hetzner Docs https://docs.hetzner.com/robot/dedicated-server/operating-systems/installimage/ allows custom OS images. After installation the dedicated server could just reboot and the bootstrapping of the server would be done. The rest (creating a k8s cluster) could either configured manually with talosctl or with a talosctl script that runs inside the bootstrap cluster. |
Would a merge request be accepted that uses the Talos API instead of SSH when using the Talos CAPI providers? |
For sure! We are happy to see a PR which adds this functionality ;) It's only relevant that it doesn't break the current cabpk implementation. |
@Preisschild do u have any plans to work on this? |
Not currently, I decided to go another route for now. |
Do u have in mind what is needed for this?
maybe you or someone else can guide me though?
…On Thu, Feb 23, 2023, 10:37 Florian Ströger ***@***.***> wrote:
Would a merge request be accepted that uses the Talos API instead of SSH
when using the Talos CAPI providers?
@Preisschild <https://github.com/Preisschild> do u have any plans to work
on this?
Not currently, I decided to go another route for now.
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHXV5VB3V5A6IT4H66EH5RLWY4OTDANCNFSM5RT3UXKA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@paulwollgast Did you get this working? |
/kind feature
Describe the solution you'd like
First and foremost thank you very much for this great work!
I'd like to ask for a Guideline / How to Guide to bootstrap the cluster with Talos as I'm sure many people would appreciate and favor it over standard linux distros like e.g. ubuntu.
The text was updated successfully, but these errors were encountered: