- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 390 for Informer (0.17 sec)
-
pkg/test/framework/components/echo/kube/workload.go
// TODO: this isn't structured very nicely. We have a port forwarder that can notify us when it fails (ErrChan) and we are competing with // the pod informer which is sequenced via mutex. This could probably be cleaned up to be more event driven, but would require larger refactoring. func watchPortForward(cfg workloadConfig, w *workload) { t := time.NewTicker(time.Millisecond * 500)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 25 19:46:28 UTC 2023 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config_test.go
"/livez/poststarthook/generic-apiserver-start-informers", "/livez/poststarthook/max-in-flight-filter", "/livez/poststarthook/storage-object-count-tracker-hook", "/livez/poststarthook/wrapping-post-start-hook", "/metrics", "/metrics/slis", "/readyz", "/readyz/delegate-health", "/readyz/informer-sync", "/readyz/log", "/readyz/ping",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 13.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go
// NewInformerSyncHealthz returns a new HealthChecker that will pass only if all informers in the given cacheSyncWaiter sync. func NewInformerSyncHealthz(cacheSyncWaiter cacheSyncWaiter) HealthChecker { return &informerSync{ cacheSyncWaiter: cacheSyncWaiter, } } func (i *informerSync) Name() string { return "informer-sync" } type shutdown struct { stopCh <-chan struct{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 10.5K bytes - Viewed (0) -
pkg/controlplane/apiserver/aggregator.go
aggregatorscheme "k8s.io/kube-aggregator/pkg/apiserver/scheme" apiregistrationclient "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/typed/apiregistration/v1" informers "k8s.io/kube-aggregator/pkg/client/informers/externalversions/apiregistration/v1" "k8s.io/kube-aggregator/pkg/controllers/autoregister" "k8s.io/kubernetes/pkg/controlplane/apiserver/options"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 18:08:20 UTC 2024 - 15.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go
return clusterEventWithHint } // isSchedulableAfterNodeChange is invoked for all node events reported by // an informer. It checks whether that change made a previously unschedulable // pod schedulable. func (pl *TaintToleration) isSchedulableAfterNodeChange(logger klog.Logger, pod *v1.Pod, oldObj, newObj interface{}) (framework.QueueingHint, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 9.2K bytes - Viewed (0) -
pilot/pkg/model/extensions.go
var ok bool // Make a deep copy since we are going to mutate the resource later for secret env variable. // We do not want to mutate the underlying resource at informer cache. plugin := originPlugin.DeepCopy() var wasmPlugin *extensions.WasmPlugin if wasmPlugin, ok = plugin.Spec.(*extensions.WasmPlugin); !ok { return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 11K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
secrets := kclient.NewFiltered[*v1.Secret](kc, kclient.Filter{ FieldSelector: fieldSelector, }) for _, h := range handlers { h := h // register handler before informer starts secrets.AddEventHandler(controllers.ObjectHandler(func(o controllers.Object) { h(o.GetName(), o.GetNamespace()) })) } return &CredentialsController{ secrets: secrets,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
pkg/controller/podautoscaler/replica_calculator_test.go
metricsClient := metricsclient.NewRESTMetricsClient(testMetricsClient.MetricsV1beta1(), testCMClient, testEMClient) informerFactory := informers.NewSharedInformerFactory(testClient, controller.NoResyncPeriodFunc()) informer := informerFactory.Core().V1().Pods() replicaCalc := NewReplicaCalculator(metricsClient, informer.Lister(), defaultTestingTolerance, defaultTestingCPUInitializationPeriod, defaultTestingDelayOfInitialReadinessStatus)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0) -
plugin/pkg/admission/limitranger/admission.go
expiry time.Time items []*corev1.LimitRange } // SetExternalKubeInformerFactory registers an informer factory into the LimitRanger func (l *LimitRanger) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) { limitRangeInformer := f.Core().V1().LimitRanges() l.SetReadyFunc(limitRangeInformer.Informer().HasSynced) l.lister = limitRangeInformer.Lister() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 24 13:04:39 UTC 2023 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
if err != nil { t.Errorf("Got %v, expected no error", err) } }) t.Run("test that check returns err when there is not started informer", func(t *testing.T) { healthChecker := NewInformerSyncHealthz(cacheSyncWaiterStub{ startedByInformerType: map[reflect.Type]bool{ reflect.TypeOf(corev1.Pod{}): true, reflect.TypeOf(corev1.Service{}): false, reflect.TypeOf(corev1.Node{}): true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 20:43:16 UTC 2023 - 11.4K bytes - Viewed (0)