-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Difficult to filter netpol errors #7538
Milestone
Comments
This was referenced May 12, 2023
##Environment Details Infrastructure
Node(s) CPU architecture, OS, and version:
Cluster Configuration: 1 server Config.yaml:
Existing journalctl log data
Results: $ sudo journalctl -u k3s output on existing release v1.27.1+k3s1
Confirmed more informative logging outputValidation Steps
Results: on latest commit_id cdcd4a9
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environmental Info:
K3s Version:
Any
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
Describe the bug:
When the network policy controller fails to start, the error is thrown on the logs but it is impossible to know if the error is coming from the network policy controller
Steps To Reproduce:
When deploying k3s in dualStack mode using an interface different from the default one, you get the error. For example, we can do that with tailscale:
1 - Install tailscale in the node:
curl -fsSL https://tailscale.com/install.sh | sh
. That will create atailscale0
interface2 - execute
tailscale up
and login. That should givetailscale0
two IP addresses, one IPv4 and one IPv63 - Deploy k3s with the following config:
Replace
$tailscale0_IPV4
and$tailscale0_IPV6
by the ip addresses of thetailscale0
interface4 - After ~20 seconds, k3s installation will fail. You will see in the journalctl logs:
level=fatal msg="IPv6 was enabled but no IPv6 address was found on node"
Expected behavior:
Errors wrapped with some sort of string referring to network policy controller
Actual behavior:
raw errors without any context
Additional context / logs:
The text was updated successfully, but these errors were encountered: