- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 256 for GetOptions (0.35 sec)
-
pkg/volume/util/util.go
secret := make(map[string]string) if kubeClient == nil { return secret, fmt.Errorf("cannot get kube client") } secrets, err := kubeClient.CoreV1().Secrets(pod.Namespace).Get(context.TODO(), secretName, metav1.GetOptions{}) if err != nil { return secret, err } for name, data := range secrets.Data { secret[name] = string(data) } return secret, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/health.go
// Wait for the Job to complete err = wait.PollUntilContextTimeout(ctx, time.Second*1, timeout, true, func(_ context.Context) (bool, error) { job, err := client.BatchV1().Jobs(ns).Get(context.Background(), jobName, metav1.GetOptions{}) if err != nil { lastError = err klog.V(2).Infof("could not get Job %q in the namespace %q, retrying: %v", jobName, ns, err) return false, nil } for _, cond := range job.Status.Conditions {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 09:18:02 UTC 2024 - 8.8K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/provider-task-properties.txt
Method <org.gradle.api.tasks.compile.GroovyCompile.getOptions()> does not have raw return type assignable to org.gradle.api.provider.Provider in (GroovyCompile.java:0) Method <org.gradle.api.tasks.compile.JavaCompile.getModularity()> does not have raw return type assignable to org.gradle.api.provider.Provider in (JavaCompile.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:33:20 UTC 2024 - 51.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/multicluster.go
cancel() case <-ctx.Done(): } }() defer cancel() _ = b.RetryWithContext(ctx, func() error { namespace, err := client.Kube().CoreV1().Namespaces().Get(context.TODO(), systemNamespace, metav1.GetOptions{}) if err != nil { if errors.IsNotFound(err) { return nil } return err } // found same system namespace on the remote cluster so check if we are a selected istiod to lead
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/kubelet.go
klog.V(1).Infof("[kubelet-start] Checking for an existing Node in the cluster with name %q and status %q", nodeName, v1.NodeReady) node, err := bootstrapClient.CoreV1().Nodes().Get(context.TODO(), nodeName, metav1.GetOptions{}) if err != nil && !apierrors.IsNotFound(err) { return errors.Wrapf(err, "cannot get Node %q", nodeName) } for _, cond := range node.Status.Conditions {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/config/analysis/local/istiod_analyze.go
if err := sa.addRunningKubeIstioConfigMapSource(c); err != nil { _, err := c.Kube().CoreV1().Namespaces().Get(context.TODO(), sa.istioNamespace.String(), metav1.GetOptions{}) if kerrors.IsNotFound(err) { // An AnalysisMessage already show up to warn the absence of istio-system namespace, so making it debug level.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 21:06:13 UTC 2024 - 21.6K bytes - Viewed (0) -
pkg/registry/core/node/strategy.go
func (nodeStatusStrategy) Canonicalize(obj runtime.Object) { } // ResourceGetter is an interface for retrieving resources by ResourceLocation. type ResourceGetter interface { Get(context.Context, string, *metav1.GetOptions) (runtime.Object, error) } // NodeToSelectableFields returns a field set that represents the object. func NodeToSelectableFields(node *api.Node) fields.Set {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:06:39 UTC 2024 - 9K bytes - Viewed (0) -
plugin/pkg/admission/runtimeclass/admission.go
if apierrors.IsNotFound(err) { // if not found, our informer cache could be lagging, do a live lookup runtimeClass, err = r.runtimeClassClient.Get(ctx, *pod.Spec.RuntimeClassName, metav1.GetOptions{}) if apierrors.IsNotFound(err) { return pod, nil, admission.NewForbidden(attributes, fmt.Errorf("pod rejected: RuntimeClass %q not found", *pod.Spec.RuntimeClassName)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 05:53:38 UTC 2024 - 8.9K bytes - Viewed (0) -
tests/integration/telemetry/api/dashboard_test.go
continue } t.Logf("Verifying %s for cluster %s", d.name, cl.Name()) cm, err := cl.Kube().CoreV1().ConfigMaps(ist.Settings().TelemetryNamespace).Get( context.TODO(), d.configmap, metav1.GetOptions{}) if err != nil { t.Fatalf("Failed to find dashboard %v: %v", d.configmap, err) } config, f := cm.Data[d.name] if !f {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 10:22:16 UTC 2024 - 10.7K bytes - Viewed (0)