Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 6,082 for namEspace (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker_test.go

    			name:     "mypod deletion in foo namespace",
    			request:  httpRequest("DELETE", "/api/v1/namespaces/foo/pods/mypod", ""),
    			expected: 3,
    		},
    		{
    			name:     "otherpod update in foo namespace",
    			request:  httpRequest("PUT", "/api/v1/namespaces/foo/pods/otherpod", ""),
    			expected: 2,
    		},
    		{
    			name:     "mypod get in foo namespace",
    			request:  httpRequest("GET", "/api/v1/namespaces/foo/pods/mypod", ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 14:02:51 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  2. plugin/pkg/admission/namespace/exists/admission_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:            ns,
    					ResourceVersion: fmt.Sprintf("%d", i),
    				},
    			})
    		}
    		return true, namespaceList, nil
    	})
    	return mockClient
    }
    
    // newPod returns a new pod for the specified namespace
    func newPod(namespace string) api.Pod {
    	return api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/controller.go

    // filterNamespace allows filtering out configs to only a specific namespace. This allows implementing the
    // List call which can specify a specific namespace.
    func filterNamespace(cfgs []config.Config, namespace string) []config.Config {
    	if namespace == metav1.NamespaceAll {
    		return cfgs
    	}
    	return slices.Filter(cfgs, func(c config.Config) bool {
    		return c.Namespace == namespace
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/lib/output.json

                   },
                   "expr": "sum by (cluster, namespace, job) (\n    rate(\n        process_cpu_seconds_total{\n            cluster=~\"$cluster\",\n            namespace=~\"$namespace\",\n            job=~\"$job\"\n        }\n    [$__rate_interval])\n)\n",
                   "intervalFactor": 2,
                   "legendFormat": "{{cluster}} - {{namespace}}\n"
                }
             ],
             "title": "CPU Usage",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. tools/bug-report/pkg/content/content.go

    	out := *p
    	out.Verbose = verbose
    	return &out
    }
    
    func (p *Params) SetNamespace(namespace string) *Params {
    	out := *p
    	out.Namespace = namespace
    	return &out
    }
    
    func (p *Params) SetIstioNamespace(namespace string) *Params {
    	out := *p
    	out.IstioNamespace = namespace
    	return &out
    }
    
    func (p *Params) SetPod(pod string) *Params {
    	out := *p
    	out.Pod = pod
    	return &out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. pkg/api/v1/persistentvolume/util_test.go

    			PersistentVolumeSource: corev1.PersistentVolumeSource{
    				ISCSI: &corev1.ISCSIPersistentVolumeSource{
    					SecretRef: &corev1.SecretReference{
    						Name:      "Spec.PersistentVolumeSource.ISCSI.SecretRef",
    						Namespace: "iscsi"}}}}},
    		{Spec: corev1.PersistentVolumeSpec{
    			ClaimRef: &corev1.ObjectReference{Namespace: "claimrefns", Name: "claimrefname"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  7. pkg/client/tests/fake_client_test.go

    	}
    	for _, sa := range saList2.Items {
    		if sa.Namespace != "nsB" {
    			t.Fatalf("Expected namespace %q; got %q", "nsA", sa.Namespace)
    		}
    	}
    
    	pod1, err := tc.CoreV1().Pods("nsA").Get(context.TODO(), "pod-1", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("Pods.Get: %s", err)
    	}
    	if pod1 == nil {
    		t.Fatalf("Expected to find pod nsA/pod-1 but it wasn't found")
    	}
    	if pod1.Namespace != "nsA" || pod1.Name != "pod-1" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/types/namespacedname.go

    limitations under the License.
    */
    
    package types
    
    // NamespacedName comprises a resource name, with a mandatory namespace,
    // rendered as "<namespace>/<name>".  Being a type captures intent and
    // helps make sure that UIDs, namespaced names and non-namespaced names
    // do not get conflated in code.  For most use cases, namespace and name
    // will already have been format validated at the API entry point, so we
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 10:47:59 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. operator/pkg/helmreconciler/wait.go

    	statefulsets := []*appsv1.StatefulSet{}
    	namespaces := []corev1.Namespace{}
    
    	for _, o := range objects {
    		kind := o.GroupVersionKind().Kind
    		switch kind {
    		case name.NamespaceStr:
    			namespace, err := cs.CoreV1().Namespaces().Get(context.TODO(), o.Name, metav1.GetOptions{})
    			if err != nil {
    				return false, nil, nil, err
    			}
    			namespaces = append(namespaces, *namespace)
    		case name.DeploymentStr:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. istioctl/pkg/util/handlers/handlers_test.go

    			namespace:     "",
    			wantPodName:   "istio-security-post-install-1.2.2-bm9w2",
    			wantNamespace: "istio-system",
    		},
    		{
    			proxyName:     "service/istiod",
    			namespace:     "",
    			wantPodName:   "service/istiod",
    			wantNamespace: "",
    		},
    		{
    			proxyName:     "service/istiod",
    			namespace:     "namespace",
    			wantPodName:   "service/istiod",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top