Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cluster/addons/dns/kube-dns/kube-dns.yaml.in

          priorityClassName: system-cluster-critical
          securityContext:
            seccompProfile:
              type: RuntimeDefault
            supplementalGroups: [ 65534 ]
            fsGroup: 65534
          affinity:
            podAntiAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - weight: 100
                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 03:19:02 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. samples/addons/loki.yaml

                  mountPath: /etc/loki/runtime-config
                - name: storage
                  mountPath: /var/loki
              resources:
                {}
          affinity:
            podAntiAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
              - labelSelector:
                  matchLabels:
                    app.kubernetes.io/component: single-binary
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. pkg/api/pod/warnings_test.go

    									},
    								},
    								{
    									PodAffinityTerm: api.PodAffinityTerm{
    										LabelSelector: nil,
    									},
    								},
    							},
    						},
    						PodAntiAffinity: &api.PodAntiAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{
    									LabelSelector: &metav1.LabelSelector{},
    								},
    								{
    									LabelSelector: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  4. manifests/charts/gateways/istio-ingress/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)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  10. 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)
Back to top