Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for matchLabels (0.16 sec)

  1. pkg/printers/internalversion/printers_test.go

    							Image: "fake-image1",
    						},
    						{
    							Name:  "fake-container2",
    							Image: "fake-image2",
    						},
    					},
    				},
    			},
    			Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"foo": "bar"}},
    		},
    		Status: apps.DeploymentStatus{
    			Replicas:            10,
    			UpdatedReplicas:     2,
    			AvailableReplicas:   1,
    			UnavailableReplicas: 4,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			UID:       uuid.NewUUID(),
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: batch.JobSpec{
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"foo": "bar"},
    			},
    			Template: v1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"foo": "bar",
    					},
    				},
    				Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    	}
    	return
    }
    
    func validateWorkloadSelector(selector *type_beta.WorkloadSelector) Validation {
    	validation := Validation{}
    	if selector != nil {
    		for k, v := range selector.MatchLabels {
    			if k == "" {
    				err := fmt.Errorf("empty key is not supported in selector: %q", fmt.Sprintf("%s=%s", k, v))
    				validation = AppendValidation(validation, err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    					},
    				},
    			},
    		},
    	}
    
    	// This workload-level beta policy doesn't affect CDS (yet).
    	peerAuthn := &authn_beta.PeerAuthentication{
    		Selector: &selectorpb.WorkloadSelector{
    			MatchLabels: map[string]string{
    				"version": "v1",
    			},
    		},
    		Mtls: &authn_beta.PeerAuthentication_MutualTLS{
    			Mode: authn_beta.PeerAuthentication_MutualTLS_STRICT,
    		},
    	}
    
    	mesh := testMesh()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. samples/addons/grafana.yaml

        app.kubernetes.io/instance: grafana
        app.kubernetes.io/version: "11.0.0"
        app.kubernetes.io/managed-by: Helm
    spec:
      replicas: 1
      revisionHistoryLimit: 10
      selector:
        matchLabels:
          app.kubernetes.io/name: grafana
          app.kubernetes.io/instance: grafana
      strategy:
        type: RollingUpdate
      template:
        metadata:
          labels:
            app.kubernetes.io/name: grafana
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
Back to top