We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce01f02 commit e097cb4Copy full SHA for e097cb4
vertical-pod-autoscaler/pkg/utils/vpa/api.go
@@ -21,6 +21,7 @@ import (
21
"encoding/json"
22
"errors"
23
"fmt"
24
+ "os"
25
"strings"
26
"time"
27
@@ -91,6 +92,7 @@ func NewVpasLister(vpaClient *vpa_clientset.Clientset, stopChannel <-chan struct
91
92
go controller.Run(stopChannel)
93
if !cache.WaitForCacheSync(make(chan struct{}), controller.HasSynced) {
94
klog.ErrorS(nil, "Failed to sync VPA cache during initialization")
95
+ os.Exit(255)
96
} else {
97
klog.InfoS("Initial VPA synced successfully")
98
}
0 commit comments