-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4884 from RainbowMango/pr_bump_k8s_1294
Bump Kubernetes dependencies to v1.29.4
- Loading branch information
Showing
1,214 changed files
with
77,060 additions
and
31,417 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,6 +99,13 @@ func (o *Options) Config() (*metricsadapter.MetricsServer, error) { | |
metricsAdapter.OpenAPIConfig.Info.Title = "karmada-metrics-adapter" | ||
metricsAdapter.OpenAPIConfig.Info.Version = "1.0.0" | ||
|
||
// Explicitly specify the remote kubeconfig file here to solve the issue that metrics adapter requires to build | ||
// informer against karmada-apiserver started from [email protected]. | ||
// See https://github.com/karmada-io/karmada/pull/4884#issuecomment-2095109485 for more details. | ||
// | ||
// For karmada-metrics-adapter, the kubeconfig file of karmada-apiserver is "remote", not the in-cluster one. | ||
metricsAdapter.RemoteKubeConfigFile = o.KubeConfig | ||
|
||
server, err := metricsAdapter.Server() | ||
if err != nil { | ||
klog.Errorf("Unable to construct metrics adapter: %v", err) | ||
|
Oops, something went wrong.