Skip to content
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

Cannot connect to cluster after creation because of missing firewall rule #12

Open
exocode opened this issue Dec 22, 2021 · 2 comments
Open
Labels
bug Something isn't working

Comments

@exocode
Copy link

exocode commented Dec 22, 2021

How can we reproduce it?

Simply use your examples folder cluster.yaml

What environment did it happen in?

  • Civo
❯ k version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.3", GitCommit:"c92036820499fedefec0f847e2054d824aea6cd1", GitTreeState:"clean", BuildDate:"2021-10-27T18:34:20Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2+k3s1", GitCommit:"1d4adb0301b9a63ceec8cabb11b309e061f43d5f", GitTreeState:"clean", BuildDate:"2021-01-14T23:52:37Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.22) and server (1.20) exceeds the supported minor version skew of +/-1

I only get it working when I manually create a firewall rule which opens all ports:

Bildschirmfoto 2021-12-22 um 22 38 05

Without this rule above I cannot connect to the cluster.

So one of the following features should be available to follow GitOps:

a.) able to assign existing firewall rulesets to the cluster manifest via ids

(like: firewall: ["k3s-cluster-production-crossp-6b99-37a574"])

b.) a declarative way for firewall rules/rule-sets in form of manifests which then could be connected to the cluster manifest like in a.)

Hope its not described to complicate. :-)

BTW: the firewall is not cleaned up after cluster deletion.

@exocode exocode added the bug Something isn't working label Dec 22, 2021
@exocode
Copy link
Author

exocode commented Jan 6, 2022

Hi again, weired issue. I cannot connect to newly created clusters, even with the firewall rules applied:
Bildschirmfoto 2022-01-06 um 23 44 00
Bildschirmfoto 2022-01-06 um 23 44 17

@exocode
Copy link
Author

exocode commented Jan 6, 2022

ok, I've to delete this empty first entry, which is automatically created when cluster is created. But the second entry must exist, and it must be created MANUALLY., which breaks GitOps practice

Bildschirmfoto 2022-01-06 um 23 44 00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant