- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 269 for mypods (0.16 sec)
-
plugin/pkg/auth/authorizer/rbac/rbac_test.go
newClusterRole("admin", newRule("*", "*", "pods", "*")), }, roleBindings: []*rbacv1.RoleBinding{ newRoleBinding("ns1", "admin", bindToClusterRole, "User:admin", "Group:admins"), }, shouldPass: []authorizer.Attributes{ &defaultAttributes{"admin", "", "get", "pods", "", "ns1", ""}, }, shouldFail: []authorizer.Attributes{ &defaultAttributes{"admin", "", "get", "pods", "status", "ns1", ""}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 21.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/testing/testvolumespec.go
obj := &storagev1.CSINodeList{} nodeNamePrefix := "mynode" for i := 0; i < 5; i++ { var nodeName string if i != 0 { nodeName = fmt.Sprintf("%s-%d", nodeNamePrefix, i) } else { // We want also the "mynode" node since all the testing pods live there nodeName = nodeNamePrefix } csiNode := storagev1.CSINode{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 17 08:48:30 UTC 2023 - 16.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker_test.go
request: httpRequest("POST", "/api/v1/namespaces/foo/pods", ""), expected: 2, }, { name: "mypod update in foo namespace", request: httpRequest("PUT", "/api/v1/namespaces/foo/pods/mypod", ""), expected: 3, }, { name: "mypod patch in foo namespace", request: httpRequest("PATCH", "/api/v1/namespaces/foo/pods/mypod", ""), expected: 3, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 03 14:02:51 UTC 2021 - 10.4K bytes - Viewed (0) -
pkg/serviceaccount/claims_test.go
ObjectMeta: metav1.ObjectMeta{ Namespace: "myns", Name: "mypod", UID: "mypod-uid", }, } sec := &core.Secret{ ObjectMeta: metav1.ObjectMeta{ Namespace: "myns", Name: "mysecret", UID: "mysecret-uid", }, } node := &core.Node{ ObjectMeta: metav1.ObjectMeta{ Name: "mynode", UID: "mynode-uid", }, } cs := []struct { // input
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.9K bytes - Viewed (0) -
pkg/controller/job/pod_failure_policy_test.go
"k8s.io/kubernetes/pkg/features" "k8s.io/utils/ptr" ) func TestMatchPodFailurePolicy(t *testing.T) { validPodObjectMeta := metav1.ObjectMeta{ Namespace: "default", Name: "mypod", } ignore := batch.PodFailurePolicyActionIgnore failJob := batch.PodFailurePolicyActionFailJob failIndex := batch.PodFailurePolicyActionFailIndex count := batch.PodFailurePolicyActionCount
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods.go
// where "pods" tracks all pods that have not reached a terminal state, // count/pods tracks all pods independent of state. result := corev1.ResourceList{ podObjectCountName: *(resource.NewQuantity(1, resource.DecimalSI)), } // by convention, we do not quota compute resources that have reached end-of life
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 05 00:02:47 UTC 2023 - 17.4K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
attachDetachRecoveryTestCase(t, []*v1.Pod{newPod1}, []*v1.Pod{}) newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1") attachDetachRecoveryTestCase(t, []*v1.Pod{}, []*v1.Pod{newPod1}) newPod1 = controllervolumetesting.NewPodWithVolume("newpod-1", "volumeName2", "mynode-1")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
cmd/kubemark/app/hollow_node.go
fs.IntVar(&c.MaxPods, "max-pods", maxPods, "Number of pods that can run on this Kubelet.") bindableExtendedResources := cliflag.ConfigurationMap(c.ExtendedResources)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 11K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_test.go
runningPods []*kubecontainer.Pod pods []*v1.Pod listPods []types.UID /* pods to list */ podSetBeforeCleanup []types.UID /* pods to record before cleanup */ podSetAfterCleanup []types.UID /* pods set expected after cleanup */ podUnsetAfterCleanup []types.UID /* pods set expected after cleanup */ }{ { name: "no stale pods", listPods: []types.UID{"pod-1", "pod-2"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 14.6K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
}) } } func fakeClient(pods ...*corev1.Pod) kube.Client { var csPods []runtime.Object for _, pod := range pods { csPods = append(csPods, pod.DeepCopy()) } return kube.NewFakeClient(csPods...) } func makePodLabelMap(pods []*corev1.Pod) (podmap map[string]string) { podmap = map[string]string{} for _, pod := range pods { podmap[pod.Name] = ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0)