8 replies
November 2022

jmmassou

during "flux bootstrap github " you may encounter such error :

SSH key scan for host github.com:443 failed, error: ssh: handshake failed: EOF

If you are behind a firewall whish block github 22 you can bypass with an argument like that :

flux bootstrap github --owner=MYNAME --repository=MYNAME/MYREPO --personal --path bootstrap --ssh-hostname ssh.github.com:443

2 replies
November 2022 ▶ jmmassou

funkypenguin Chef

Thanks for the tip @jmmassou! I’ll amend the recipe to include this :+1:

November 2022

funkypenguin Chef

TIL that github runs an SSH server on port 443 :slight_smile:

~ ❯ nc ssh.github.com 443                                                                                                                                                            09:59:42
SSH-2.0-babeld-d975cc25


May 2024

damjank12

followed this, deployed flux successfully - but - I have my own hosted gitlab that I use instead of github, so, so far so good. Thing is - flux does not deploy anything, no kustomizations are actually getting in kubernetes cluster. I try commands flux reconcile, list, etc. - no error that it would not do something, but also, nothing gets deployed that i added, not even podinfo sample. Any clue why is that?

1 reply
May 2024

Tripwyr

Should this install and bootstrap process be repeated on every master node, or only the first master node?

1 reply
May 2024 ▶ Tripwyr

funkypenguin Chef

It’s only necessary on the first master - the bootstrap gets the flux controllers into the cluster, so once it’s done, it’s done :slight_smile:

May 2024 ▶ damjank12

funkypenguin Chef

Try logging flux’s source-controller pod, it may tell you why it can’t connect to your gitlab…

1 reply
June 2024 ▶ funkypenguin

damjank12

strange as it is, now it is working… i recreated everything again. What is bothering me is that I have followed guide exactly as before and now it is working. Quick question - so everything that I want flux to deploy and maintain, it needs to be under the ./flux/ repo? Or can it check other repos and deploy from there?