- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 186 for kubeclient (0.19 sec)
-
cni/pkg/nodeagent/server.go
// Set some defaults s := &Server{ ctx: ctx, kubeClient: client, isReady: ready, dataplane: &meshDataplane{ kubeClient: client.Kube(), netServer: netServer, }, } s.NotReady() s.handlers = setupHandlers(s.ctx, s.kubeClient, s.dataplane, args.SystemNamespace) cniServer := startCniPluginServer(ctx, pluginSocket, s.handlers, s.dataplane)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/kube/rpc_creds.go
expirationSeconds int64 kubeClient Client // sunsetPeriod is how long before expiration that we start trying to renew (a minute) sunsetPeriod time.Duration } var _ credentials.PerRPCCredentials = &tokenSupplier{} // NewRPCCredentials creates a PerRPCCredentials capable of getting tokens from Istio and tracking their expiration func NewRPCCredentials(kubeClient Client, tokenNamespace, tokenSA string,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4K bytes - Viewed (0) -
pkg/proxy/proxyinfo.go
} // GetProxyInfo retrieves infos of proxies that connect to the Istio control plane of specific revision. func GetProxyInfo(kubeClient kube.CLIClient, istioNamespace string) (*[]istioVersion.ProxyInfo, error) { // Ask Pilot for the Envoy sidecar sync status, which includes the sidecar version info allSyncz, err := kubeClient.AllDiscoveryDo(context.TODO(), istioNamespace, "debug/syncz") if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 06 22:41:32 UTC 2023 - 2.1K bytes - Viewed (0) -
pilot/pkg/bootstrap/sidecarinjector.go
valuesFile := filepath.Join(injectPath, "values") watcher, err = inject.NewFileWatcher(configFile, valuesFile) if err != nil { return nil, err } } else if s.kubeClient != nil { configMapName := getInjectorConfigMapName(args.Revision) cms := s.kubeClient.Kube().CoreV1().ConfigMaps(args.Namespace) if _, err := cms.Get(context.TODO(), configMapName, metav1.GetOptions{}); err != nil { if errors.IsNotFound(err) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 20:39:38 UTC 2024 - 4K bytes - Viewed (0) -
pkg/controller/util/node/controller_utils.go
var updatedPod *v1.Pod var err error if updatedPod, err = kubeClient.CoreV1().Pods(pod.Namespace).UpdateStatus(ctx, pod, metav1.UpdateOptions{}); err != nil { return nil, err } return updatedPod, nil } // MarkPodsNotReady updates ready status of given pods running on // given node from master return true if success
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 10.6K bytes - Viewed (0) -
pilot/pkg/bootstrap/istio_ca_test.go
"istio.io/istio/security/pkg/pki/ca" ) const testNamespace = "istio-system" func TestRemoteCerts(t *testing.T) { g := NewWithT(t) dir := t.TempDir() s := Server{ kubeClient: kube.NewFakeClient(), } s.kubeClient.RunAndWait(test.NewStop(t)) caOpts := &caOptions{ Namespace: testNamespace, } // Should do nothing because cacerts doesn't exist. err := s.loadCACerts(caOpts, dir)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go
}, } resourceQuotas := []*corev1.ResourceQuota{resourceQuota} kubeClient := &fake.Clientset{} informerFactory := informers.NewSharedInformerFactory(kubeClient, 0) accessor, _ := newQuotaAccessor() accessor.client = kubeClient accessor.lister = informerFactory.Core().V1().ResourceQuotas().Lister() kubeClient.AddReactor("list", "resourcequotas", func(action core.Action) (bool, runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 13:54:56 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/kubemark/controller.go
} func newReplicationControllerInformer(kubeClient kubeclient.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { rcListWatch := cache.NewListWatchFromClient(kubeClient.CoreV1().RESTClient(), "replicationcontrollers", namespaceKubemark, fields.Everything()) return cache.NewSharedIndexInformer(rcListWatch, &apiv1.ReplicationController{}, resyncPeriod, nil) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 17 23:02:17 UTC 2020 - 14.1K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/node_expander.go
kevents "k8s.io/kubernetes/pkg/kubelet/events" "k8s.io/kubernetes/pkg/volume/util" volumetypes "k8s.io/kubernetes/pkg/volume/util/types" ) type NodeExpander struct { nodeResizeOperationOpts kubeClient clientset.Interface recorder record.EventRecorder // computed via precheck pvcStatusCap resource.Quantity pvCap resource.Quantity resizeStatus v1.ClaimResourceStatus
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 17 19:30:35 UTC 2023 - 5.9K bytes - Viewed (0) -
pilot/pkg/bootstrap/mesh.go
s.environment.Watcher, err = mesh.NewFileWatcher(fileWatcher, args.MeshConfigFile, multiWatch) if err == nil { if multiWatch && s.kubeClient != nil { kubemesh.AddUserMeshConfig( s.kubeClient, s.environment.Watcher, args.Namespace, configMapKey, features.SharedMeshConfig, s.internalStop) } else { // Normal install no longer uses this mode - testing and special installs still use this.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.5K bytes - Viewed (0)