- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for podsName (0.15 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 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
testServer.Close() return cniAddServerCalled } } func buildCmdArgs(stdinData, podName, podNamespace string) *skel.CmdArgs { return &skel.CmdArgs{ ContainerID: "testContainerID", Netns: testSandboxDirectory, IfName: "eth0", Args: fmt.Sprintf("K8S_POD_NAMESPACE=%s;K8S_POD_NAME=%s", podNamespace, podName), Path: "/tmp", StdinData: []byte(stdinData), } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0)