Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 181 for PodAntiAffinity (0.28 sec)

  1. hack/testdata/rollingupdate-daemonset.yaml

      updateStrategy:
        type: RollingUpdate
        rollingUpdate:
          maxUnavailable: 10%
      template:
        metadata:
          labels:
            service: bind
        spec:
          affinity:
            podAntiAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                - labelSelector:
                    matchExpressions:
                    - key: "service"
                      operator: "In"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 735 bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go

    								Operator: metav1.LabelSelectorOpDoesNotExist,
    							},
    						},
    					},
    					TopologyKey: "region",
    				},
    			},
    		},
    	}
    	awayFromS1InAz := &v1.Affinity{
    		PodAntiAffinity: &v1.PodAntiAffinity{
    			PreferredDuringSchedulingIgnoredDuringExecution: []v1.WeightedPodAffinityTerm{
    				{
    					Weight: 5,
    					PodAffinityTerm: v1.PodAffinityTerm{
    						LabelSelector: &metav1.LabelSelector{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 44.8K bytes
    - Viewed (0)
  3. samples/sleep/notsleep.yaml

    metadata:
      name: notsleep
    spec:
      replicas: 1
      selector:
        matchLabels:
          app: notsleep
      template:
        metadata:
          labels:
            app: notsleep
        spec:
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: app
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 27 20:55:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/types.go

    	if affinity != nil && affinity.PodAntiAffinity != nil {
    		if len(affinity.PodAntiAffinity.RequiredDuringSchedulingIgnoredDuringExecution) != 0 {
    			terms = affinity.PodAntiAffinity.RequiredDuringSchedulingIgnoredDuringExecution
    		}
    		// TODO: Uncomment this block when implement RequiredDuringSchedulingRequiredDuringExecution.
    		// if len(affinity.PodAntiAffinity.RequiredDuringSchedulingRequiredDuringExecution) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  5. cluster/addons/dns/coredns/coredns.yaml.in

        spec:
          securityContext:
            seccompProfile:
              type: RuntimeDefault
          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: Wed Oct 18 23:50:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. cluster/addons/dns/coredns/coredns.yaml.base

        spec:
          securityContext:
            seccompProfile:
              type: RuntimeDefault
          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: Wed Oct 18 23:50:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. manifests/charts/gateways/istio-egress/templates/injected-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
    - 5K bytes
    - Viewed (0)
  8. manifests/charts/gateways/istio-ingress/templates/injected-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
    - 5K bytes
    - Viewed (0)
  9. cluster/addons/dns/coredns/coredns.yaml.sed

        spec:
          securityContext:
            seccompProfile:
              type: RuntimeDefault
          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: Wed Oct 18 23:50:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. pkg/api/pod/warnings.go

    		}
    		if affinity := podSpec.Affinity.PodAntiAffinity; affinity != nil {
    			warnings = append(warnings, warningsForPodAffinityTerms(affinity.RequiredDuringSchedulingIgnoredDuringExecution, fieldPath.Child("spec", "affinity", "podAntiAffinity", "requiredDuringSchedulingIgnoredDuringExecution"))...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top