-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
Initial support of robot machine #1405
base: master
Are you sure you want to change the base?
Conversation
use helm to deploy hcloud-cloud-controller-manager
@@ -1,10 +1,3 @@ | |||
data "github_release" "hetzner_ccm" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this being removed, this is important as it always grabs the latest and greatest.
@olexiyb This is the cleanest proposal I have seen to date. If you choose to only support cilium tunnel and nothing else and it works well, I would be happy. Just one thing, try to not change the core functionality too much, like with the ccm. If you can built a system that switches over to the needed custom implementation when a key variable is true like the robot related ones, it would be great. That way it's even easier for maintenance. And the less boilerplate code the better. Also please continue clarifying the docs which is already on track. Overall, looking very promising 🙏 |
@mysticaltech I have started the discussion about the move of hccm to helm approach |
At this moment I was able to create 2 clusters (manage them using rancher)
And now all bare metal machines properly join the load balancer! |
Good to hear @olexiyb |
+1 for @olexiyb always |
This is work in progress pull, but at least I was able to add bare metal machine.
This somehow related to #433 and discussion #1311
Tested scenarios
Tasks to implement:
vSwitch
in subnetsIt requires understanding some important points
Steps to run:
K12345677
from your account this will behetzner_robot_user
and use your actual robot password as `kube.tf
Once you start the cluster you will notice no routes, due to current limitations
follow and create vSwitch and attach the bare metal machine to it
And cloud configuration you should see vswitch connected
But do not blindly follow, be very careful with the changes you make, one mistake and it won't work
In my case I have had next info in my bare machine
So I have adapted to the next script
Or you can also modify if you use ubuntu 20.04 or above
vi /etc/netplan/01-netcfg.yaml
and add to the endAnd run
As result you should see
Verify in robot configuration
Now verify that you see the cloud machine from your robot machine
BE VERY PATIENT HERE! IT CAN BE SLOW TO PROPAGATE vSwitch connection
The next important thing to put the node name = machine name in robot screen = hostname
See
If everything is fine you should get the agent joined to the cluster and even more I see it's added to load balancer
At this moment I did not find how to solve access problem to robot machine as it does not have private IP
And I see in logs of
hcloud-cloud-controller-manager