Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 181 for PodAntiAffinity (0.28 sec)

  1. manifests/charts/gateways/istio-egress/templates/deployment.yaml

              optional: true
          {{- end }}
          affinity:
    {{ include "nodeaffinity" (dict "global" .Values.global "nodeSelector" $gateway.nodeSelector) | trim | indent 8 }}
          {{- include "podAntiAffinity" $gateway | indent 6 }}
    {{- if $gateway.tolerations }}
          tolerations:
    {{ toYaml $gateway.tolerations | indent 6 }}
    {{- else if .Values.global.defaultTolerations }}
          tolerations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "add a new node with matched pod anti-affinity topologyKey",
    			pod:          st.MakePod().Name("p").PodAntiAffinity("zone", &metav1.LabelSelector{MatchLabels: map[string]string{"another": "label"}}, st.PodAntiAffinityWithRequiredReq).Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. plugin/pkg/admission/security/podsecurity/testdata/pod_restricted.yaml

        kind: ReplicaSet
        name: kube-dns-76dbc85bd5
        uid: 901a2f14-52d5-468b-af25-6587b60f2887
      resourceVersion: "1391"
      uid: e98f0f22-0937-4495-8211-d5633e50fb8d
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: k8s-app
                  operator: In
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.3K bytes
    - Viewed (0)
  4. plugin/pkg/admission/security/podsecurity/testdata/pod_baseline.yaml

        kind: ReplicaSet
        name: kube-dns-76dbc85bd5
        uid: 901a2f14-52d5-468b-af25-6587b60f2887
      resourceVersion: "1391"
      uid: e98f0f22-0937-4495-8211-d5633e50fb8d
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: k8s-app
                  operator: In
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 04 16:26:30 UTC 2021
    - 18.1K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/cache/snapshot_test.go

    	podWithPort := st.MakePod().Name("foo").Namespace("foo").Node("node-0").ContainerPort([]v1.ContainerPort{{HostPort: 8080}}).Obj()
    	podWithAntiAffitiny := st.MakePod().Name("baz").Namespace("ns").PodAntiAffinity("another", &metav1.LabelSelector{MatchLabels: map[string]string{"another": "label"}}, st.PodAntiAffinityWithRequiredReq).Node("node-0").Obj()
    	podsWithAffitiny := []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/strategy_test.go

    											},
    										},
    										MatchLabelKeys:    []string{"country"},
    										MismatchLabelKeys: []string{"city"},
    									},
    								},
    							},
    						},
    						PodAntiAffinity: &api.PodAntiAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{
    									LabelSelector: &metav1.LabelSelector{
    										MatchLabels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    		if !t.Matches(pod, nil) {
    			return false
    		}
    	}
    	return true
    }
    
    // calculates the following for each existing pod on each node:
    //  1. Whether it has PodAntiAffinity
    //  2. Whether any AntiAffinityTerm matches the incoming pod
    func (pl *InterPodAffinity) getExistingAntiAffinityCounts(ctx context.Context, pod *v1.Pod, nsLabels labels.Set, nodes []*framework.NodeInfo) topologyToMatchedTermCount {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. pkg/apis/core/validation/validation_test.go

    			expectedError: "spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm.labelSelector.matchExpressions[0].values",
    			spec: core.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "123",
    					Namespace: "ns",
    				},
    				Spec: validPodSpec(&core.Affinity{
    					PodAntiAffinity: &core.PodAntiAffinity{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/addons/dns/dns_test.go

      template:
        metadata:
          labels:
            k8s-app: kube-dns
        spec:
          priorityClassName: system-cluster-critical
          serviceAccountName: coredns
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: k8s-app
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.PodAntiAffinity)(nil), (*core.PodAntiAffinity)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_PodAntiAffinity_To_core_PodAntiAffinity(a.(*v1.PodAntiAffinity), b.(*core.PodAntiAffinity), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
Back to top