- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 125 for pdName (0.11 sec)
-
istioctl/pkg/checkinject/checkinject.go
if err != nil { return err } var podName, podNs string var podLabels, nsLabels map[string]string if len(args) == 1 { podName, podNs, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace()) if err != nil { return err } pod, err := kubeClient.Kube().CoreV1().Pods(podNs).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
plugin/pkg/admission/priority/admission.go
var preemptionPolicy *apiv1.PreemptionPolicy if len(pod.Spec.PriorityClassName) == 0 { var err error var pcName string pcName, priority, preemptionPolicy, err = p.getDefaultPriority() if err != nil { return fmt.Errorf("failed to get default priority class: %v", err) } pod.Spec.PriorityClassName = pcName } else { // Try resolving the priority class name. pc, err := p.lister.Get(pod.Spec.PriorityClassName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 9K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers_test.go
gotPodName, gotNamespace := InferPodInfo(tt.proxyName, tt.namespace) if gotPodName != tt.wantPodName || gotNamespace != tt.wantNamespace { t.Errorf("unexpected podName and namespace: wanted %v %v got %v %v", tt.wantPodName, tt.wantNamespace, gotPodName, gotNamespace) } }) } } func TestInferPodInfoFromTypedResource(t *testing.T) { tests := []struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 09 18:17:49 UTC 2023 - 6.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels_test.go
}, } var tests = []struct { description string expected *labeledContainerInfo }{ { "Regular containers", &labeledContainerInfo{ PodName: pod.Name, PodNamespace: pod.Namespace, PodUID: pod.UID, ContainerName: container.Name, }, }, } // Test whether we can get right information from label
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 22:43:36 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/pos.go
// // If p and q are in different files, p is before q if the filename // of p sorts lexicographically before the filename of q. func (p Pos) Cmp(q Pos) int { pname := p.RelFilename() qname := q.RelFilename() switch { case pname < qname: return -1 case pname > qname: return +1 } pline := p.Line() qline := q.Line() switch { case pline < qline: return -1 case pline > qline: return +1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 20:44:57 UTC 2024 - 5.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy
then: result.assertTaskSkipped(":a") when: executer.withArgument("-Dname=b") run("a") then: result.assertTaskNotSkipped(":a") file("out.txt").text == "b" when: executer.withArgument("-Dname=b") run("a") then: result.assertTaskSkipped(":a") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 05:39:53 UTC 2024 - 6.2K bytes - Viewed (0) -
security/pkg/server/ca/node_auth.go
} // Finally, we validate the requested identity is running on the same node the caller is on callerPod := na.pods.Get(caller.PodName, caller.PodNamespace) if callerPod == nil { return fmt.Errorf("pod %v/%v not found", caller.PodNamespace, caller.PodName) } // Make sure UID is still valid for our current state if callerPod.UID != types.UID(caller.PodUID) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 6.4K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go
RBDImage: "dswp-test-fake-device", }, }, }, }, }, Status: v1.PodStatus{ Phase: v1.PodPhase("Running"), }, } fakePodInformer.Informer().GetStore().Add(pod) podName := util.GetUniquePodName(pod) generatedVolumeName := "fake-plugin/" + pod.Spec.Volumes[0].RBD.RBDImage pvcLister := fakeInformerFactory.Core().V1().PersistentVolumeClaims().Lister()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 7.3K bytes - Viewed (0) -
cni/pkg/nodeagent/options.go
) var ( PodNamespace = env.RegisterStringVar("POD_NAMESPACE", "", "pod's namespace").Get() SystemNamespace = env.RegisterStringVar("SYSTEM_NAMESPACE", constants.IstioSystemNamespace, "istio system namespace").Get() PodName = env.RegisterStringVar("POD_NAME", "", "").Get() NodeName = env.RegisterStringVar("NODE_NAME", "", "").Get() Revision = env.RegisterStringVar("REVISION", "", "").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 2.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/dryrun/dryrun.go
return nil } // WaitForPodToDisappear just returns a dummy nil, to indicate that the program should just proceed func (w *Waiter) WaitForPodToDisappear(podName string) error { fmt.Printf("[dryrun] Would wait for the %q Pod in the %s namespace to be deleted\n", podName, metav1.NamespaceSystem) return nil } // WaitForKubelet blocks until the kubelet /healthz endpoint returns 'ok'
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 6.5K bytes - Viewed (0)