Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for matchLabels (0.18 sec)

  1. pkg/registry/core/pod/storage/eviction_test.go

    			pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "default"},
    				Spec:       policyv1.PodDisruptionBudgetSpec{Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"a": "true"}}},
    				Status:     policyv1.PodDisruptionBudgetStatus{DisruptionsAllowed: 0},
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/peer_authentication_simulation_test.go

    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
     name: default
    spec:
     selector:
       matchLabels:
         app: foo
     mtls:
       mode: STRICT
    ---`
    	paDisable := `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
     name: default
    spec:
     selector:
       matchLabels:
         app: foo
     mtls:
       mode: DISABLE
    ---`
    	paPermissive := `
    apiVersion: security.istio.io/v1beta1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate_test.go

    		// Check all selectors align
    		mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels)
    		mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels)
    		mustSelect(t, mustGetLabels(t, deployment, "spec.selector.matchLabels"), podLabels)
    		if hpaName := mustGetPath(t, hpa, "spec.scaleTargetRef.name"); cname != hpaName {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/accesslog_test.go

    		Meta: config.Meta{
    			Name:             "test",
    			Namespace:        "default",
    			GroupVersionKind: gvk.Telemetry,
    		},
    		Spec: &tpb.Telemetry{
    			Selector: &v1beta1.WorkloadSelector{
    				MatchLabels: map[string]string{
    					"app": "test",
    				},
    			},
    			AccessLogging: []*tpb.AccessLogging{
    				{
    					Providers: []*tpb.ProviderRef{
    						{
    							Name: "envoy-json",
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		}
    		if pol.Namespace != ns {
    			return false
    		}
    		sel := pol.Spec.Selector
    		if sel == nil {
    			return true // No selector matches everything
    		}
    		return labels.Instance(sel.MatchLabels).SubsetOf(matchLabels)
    	}))
    }
    
    func constructServicesFromWorkloadEntry(p *networkingv1alpha3.WorkloadEntry, services []model.ServiceInfo) map[string]*workloadapi.PortList {
    	res := map[string]*workloadapi.PortList{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. pkg/kube/kclient/client_test.go

    func TestFilterNamespace(t *testing.T) {
    	tracker := assert.NewTracker[string](t)
    	c := kube.NewFakeClient()
    	meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{DiscoverySelectors: []*meshconfig.LabelSelector{{
    		MatchLabels: map[string]string{"kubernetes.io/metadata.name": "selected"},
    	}}})
    	testns := clienttest.NewWriter[*corev1.Namespace](t, c)
    	discoveryNamespacesFilter := filter.NewDiscoveryNamespacesFilter(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. samples/addons/kiali.yaml

        version: "v1.85.0"
        app.kubernetes.io/version: "v1.85.0"
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/part-of: "kiali"
    spec:
      replicas: 1
      selector:
        matchLabels:
          app.kubernetes.io/name: kiali
          app.kubernetes.io/instance: kiali
      strategy:
        rollingUpdate:
          maxSurge: 1
          maxUnavailable: 1
        type: RollingUpdate
      template:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. samples/addons/prometheus.yaml

        helm.sh/chart: prometheus-25.21.0
        app.kubernetes.io/managed-by: Helm
        app.kubernetes.io/part-of: prometheus
      name: prometheus
      namespace: istio-system
    spec:
      selector:
        matchLabels:
          app.kubernetes.io/component: server
          app.kubernetes.io/name: prometheus
          app.kubernetes.io/instance: prometheus
      replicas: 1
      revisionHistoryLimit: 10
      strategy:
        type: Recreate
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. tests/integration/ambient/waypoint_test.go

    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			config := `
    apiVersion: networking.istio.io/v1beta1
    kind: ProxyConfig
    metadata:
      name: disable-hbone
    spec:
      selector:
        matchLabels:
          gateway.networking.k8s.io/gateway-name: simple-http-waypoint
      environmentVariables:
        ISTIO_META_DISABLE_HBONE_SEND: "true"
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: Gateway
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils.go

    		claim.Name = getPersistentVolumeClaimName(set, claim, ordinal)
    		claim.Namespace = set.Namespace
    		if claim.Labels != nil {
    			for key, value := range set.Spec.Selector.MatchLabels {
    				claim.Labels[key] = value
    			}
    		} else {
    			claim.Labels = set.Spec.Selector.MatchLabels
    		}
    		claims[templates[i].Name] = *claim
    	}
    	return claims
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top