- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for pdName (0.1 sec)
-
cni/pkg/plugin/plugin.go
return err } // Check if the workload is running under Kubernetes. podNamespace := string(k8sArgs.K8S_POD_NAMESPACE) podName := string(k8sArgs.K8S_POD_NAME) log := log.WithLabels("pod", podNamespace+"/"+podName) if podNamespace == "" || podName == "" { log.Debugf("Not a kubernetes pod") return nil } for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/registry/core/pod/storage/eviction_test.go
defer server.Terminate(t) defer storage.Store.DestroyFunc() client := fake.NewSimpleClientset(tc.pdb) for _, podName := range []string{"foo-1", "foo-2"} { pod := validNewPod() pod.Labels = map[string]string{"a": "true"} pod.ObjectMeta.Name = podName pod.Spec.NodeName = "foo" newPod, err := storage.Create(testContext, pod, nil, &metav1.CreateOptions{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 09:26:37 UTC 2024 - 40K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go
ObjectMeta: metav1.ObjectMeta{ Name: nodeName, }, Spec: v1.NodeSpec{ Taints: taints, }, } } func podWithTolerations(podName string, tolerations []v1.Toleration) *v1.Pod { return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: podName, }, Spec: v1.PodSpec{ Tolerations: tolerations, }, } } func TestTaintTolerationScore(t *testing.T) { tests := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 17.5K bytes - Viewed (0) -
pkg/security/security.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 19.1K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
GetAttach(ctx context.Context, id ContainerID, stdin, stdout, stderr, tty bool) (*url.URL, error) GetPortForward(ctx context.Context, podName, podNamespace string, podUID types.UID, ports []int32) (*url.URL, error) } // ImageService interfaces allows to work with image service. type ImageService interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
} func (s *Server) initNodeUntaintController(args *PilotArgs) { s.addStartFunc("nodeUntainter controller", func(stop <-chan struct{}) error { go leaderelection. NewLeaderElection(args.Namespace, args.PodName, leaderelection.NodeUntaintController, args.Revision, s.kubeClient). AddRunFunction(func(leaderStop <-chan struct{}) { nodeUntainter := untaint.NewNodeUntainter(leaderStop, s.kubeClient, args.CniNamespace, args.Namespace)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0)