-
Notifications
You must be signed in to change notification settings - Fork 291
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
Doc: OKD4 on Proxmox #27
Comments
Looks interesting! Could you convert this into a pull request, which adds I'm not quite following the static IP part - since its being set in DHCP server its in fact "dynamic IP" as the host follows DHCP server rules. "Static IP" would be patching Ignition for each particular master to set IP when deploying infra. See vSphere UPI example. |
@vrutkovs |
Installer doesn't set these, yeah, it has to be done separately - either via DHCP or via running hostnamectl / writing |
Please convert it into a PR |
maybe create ansible playbook for this ? |
Closing - this needs to be a PR for |
I have a working playbook for deploy vm + bootstrap. |
@jwklijnsma do you mind sharing it? |
Not yet i need to change to more vars and cloud-init is broken with coreos and proxmox ve. |
If it helps you can embed the ignition config in the VM (AFAICT cloud-init is a no-go in coreos for good) using the "args" argument to
|
I use the .ign file for bootstrap of okd 4.4 so i need to have a look at it. |
Hi i have working playbook put some parts needs do with the hand. Okd is still in beta. Maybe working with soms people on the project ? |
Feel free to submit a PR with description of your steps to Another idea worth exploring - proxmox has a libvirt socket, so we could use libvirt IPI instructions to create machines automatically. OKD installer doesn't have it enabled out of the box, but a separate build is available at |
There is a Terraform provider for Proxmox: https://github.com/Telmate/terraform-provider-proxmox I'll try out if the "--args" parameter is already implemented. With that it would be possible to support ignition files for FCOS images :-) |
Hi,
although it is no full documentation I like to lose a few words about how OKD4 can be installed on Proxmox (without storage).
Assumptions:
Create SSH pubkey
Create install-config.yaml
Create ignition files:
IMPORTANT: Save your install-config.yaml because the openshift installer will delete it :-)
Install Proxmox and PFSense (I use its DNS resolvers, DHCP)
If your cloud provider requires a MTU size of 1400 you maybe must patch your Proxmox to be able to set that on your VMs. I followed the instructions on https://forum.proxmox.com/threads/set-mtu-on-guest.45078/page-2 for that. Setting up networking on Hetzner with only one NIC per VM in a VLAN was a nightmare (routing, ...). But now it works.
Put your DNS entries in the DNS forwarder of PFSense. The etcd SVC entries should be entered in Services->DNS Resolver->General Settings->Custom Options like this:
I had to add the last two entries for apps.okd because during the installation some OKD services are communicating with apps.okd.... adresses and I had network hairpinning problems I didn't get resolved.
Download FCOS image for QEMU: https://builds.coreos.fedoraproject.org/prod/streams/testing/builds/31.20191217.2.0/x86_64/fedora-coreos-31.20191217.2.0-qemu.x86_64.qcow2.xz or similar. Rename FCOS image to fedora-coreos.qcow2
Scripts for bootstrap and master machines. Run them on the Proxmox host:
create-cluster.sh
create-bootstrap.sh
create-masters.sh
create-master.sh
I hope that's enough for the start. The installation and configuration of PFSense is worth an article on its own :-)
Have fun.
Greetings,
Josef
The text was updated successfully, but these errors were encountered: