You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
found in ports.go. More specifically, yamlized, err := yaml.Marshal(cluster.ServerLoadBalancer.Config) would be nil due to the fact the LB was NOT added.
The text was updated successfully, but these errors were encountered:
Yes, I'm running into this same error using k3d v5 -- reran the same command in v4.4.8 and it ran fine. If run with the --no-lb option, should we skip calls to TransformPorts entirely?
EDIT: Just realized, this problem seems particular to --verbose and --trace -- when TransformPorts is invoked, if the logging is set to debug, it tries to marshal the Config. Which means that this problem is masking the error I'm actually trying to track down. Would the solution here be to skip that debug line if --no-lb is true?
What did you do
Running the following command:
causes the following error:
What did you expect to happen
I expected a cluster without a load balancer to be created.
Which OS & Architecture
Which version of
k3d
main-v5 - latest
Which version of docker
Issue, I believe, is due to the following code:
found in
ports.go
. More specifically,yamlized, err := yaml.Marshal(cluster.ServerLoadBalancer.Config)
would be nil due to the fact the LB was NOT added.The text was updated successfully, but these errors were encountered: