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
Is your feature request related to a problem? Please describe.
A user reported in slack that the sidecar is producing the following log warning after installing via yaml:
{
"insertId": "mts1lavb2s2in2rp",
"jsonPayload": {
"message": "Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.",
"pid": "1"
},
"resource": { ... }
},
"timestamp": "2024-01-09T14:41:58.416275082Z",
"severity": "WARNING",
"labels": { ... },
"logName": "...",
"sourceLocation": {
"file": "client_config.go",
"line": "618"
},
"receiveTimestamp": "2024-01-09T14:42:01.110633355Z"
}
Describe the solution you'd like
We shouldn't be producing concerning log messages. Since this log is coming from vendored client libraries, it makes me think that we are using the library incorrectly. We should refactor our code so that in the default installation we do not produce this error.
Describe alternatives you've considered
Leave it as-is; maybe add something to the FAQ.
Which meant you can expand on local game server hosting within an Agones cluster.
It feels to me like we should do something more along the lines of:
Try InClusterConfig() first, if that fails.
Then move to try BuildConfigFromFlags instead.
That way, if it's already in the cluster (which is 99% of use cases), it goes to the optimal path, but if not, it can still connect to the external cluster for that workflow (this will require manual testing).
Is your feature request related to a problem? Please describe.
A user reported in slack that the sidecar is producing the following log warning after installing via yaml:
Describe the solution you'd like
We shouldn't be producing concerning log messages. Since this log is coming from vendored client libraries, it makes me think that we are using the library incorrectly. We should refactor our code so that in the default installation we do not produce this error.
Describe alternatives you've considered
Leave it as-is; maybe add something to the FAQ.
Additional context
BuildConfigFromFlags
The text was updated successfully, but these errors were encountered: