Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for PodAffinityTerm (0.18 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go

    	MismatchLabelKeys []string                            `json:"mismatchLabelKeys,omitempty"`
    }
    
    // PodAffinityTermApplyConfiguration constructs an declarative configuration of the PodAffinityTerm type for use with
    // apply.
    func PodAffinityTerm() *PodAffinityTermApplyConfiguration {
    	return &PodAffinityTermApplyConfiguration{}
    }
    
    // WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 11:28:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. plugin/pkg/admission/antiaffinity/admission_test.go

    		{
    			affinity: &api.Affinity{
    				PodAntiAffinity: &api.PodAntiAffinity{
    					PreferredDuringSchedulingIgnoredDuringExecution: []api.WeightedPodAffinityTerm{
    						{
    							Weight: 5,
    							PodAffinityTerm: api.PodAffinityTerm{
    								LabelSelector: &metav1.LabelSelector{
    									MatchExpressions: []metav1.LabelSelectorRequirement{
    										{
    											Key:      "security",
    											Operator: metav1.LabelSelectorOpIn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  3. manifests/charts/gateways/istio-ingress/templates/_affinity.tpl

          {{- end }}
          {{- end }}
        {{- end }}
    {{- end }}
    
    {{- define "podAntiAffinityPreferredDuringScheduling" }}
        {{- range $index, $item := .podAntiAffinityTermLabelSelector }}
        - podAffinityTerm:
            labelSelector:
              matchExpressions:
              - key: {{ $item.key }}
                operator: {{ $item.operator }}
                {{- if $item.values }}
                values:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 10 21:23:08 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  4. samples/sleep/notsleep.yaml

        metadata:
          labels:
            app: notsleep
        spec:
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: app
                      operator: In
                      values:
                      - productpage
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 27 20:55:14 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. manifests/charts/gateways/istio-egress/templates/_affinity.tpl

          {{- end }}
          {{- end }}
        {{- end }}
    {{- end }}
    
    {{- define "podAntiAffinityPreferredDuringScheduling" }}
        {{- range $index, $item := .podAntiAffinityTermLabelSelector }}
        - podAffinityTerm:
            labelSelector:
              matchExpressions:
              - key: {{ $item.key }}
                operator: {{ $item.operator }}
                {{- if $item.values }}
                values:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 10 21:23:08 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. plugin/pkg/admission/antiaffinity/admission.go

    		return apierrors.NewBadRequest("Resource was marked with kind Pod but was unable to be converted")
    	}
    	affinity := pod.Spec.Affinity
    	if affinity != nil && affinity.PodAntiAffinity != nil {
    		var podAntiAffinityTerms []api.PodAffinityTerm
    		if len(affinity.PodAntiAffinity.RequiredDuringSchedulingIgnoredDuringExecution) != 0 {
    			podAntiAffinityTerms = affinity.PodAntiAffinity.RequiredDuringSchedulingIgnoredDuringExecution
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  7. cluster/addons/dns/coredns/coredns.yaml.in

          serviceAccountName: coredns
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 23:50:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. cluster/addons/dns/coredns/coredns.yaml.base

          serviceAccountName: coredns
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 23:50:49 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. cluster/addons/dns/coredns/coredns.yaml.sed

          serviceAccountName: coredns
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
    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. cmd/kubeadm/app/phases/addons/dns/manifests.go

          serviceAccountName: coredns
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: k8s-app
                      operator: In
                      values: ["kube-dns"]
                  topologyKey: kubernetes.io/hostname
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 09:59:39 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top