Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for TopologyKey (0.12 sec)

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

    }
    
    // WithTopologyKey sets the TopologyKey field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the TopologyKey field is set to the value of the last call.
    func (b *PodAffinityTermApplyConfiguration) WithTopologyKey(value string) *PodAffinityTermApplyConfiguration {
    	b.TopologyKey = &value
    	return b
    }
    
    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. pkg/scheduler/framework/plugins/podtopologyspread/common.go

    				}
    				if len(matchLabels) > 0 {
    					selector = mergeLabelSetWithSelector(matchLabels, selector)
    				}
    			}
    
    			tsc := topologySpreadConstraint{
    				MaxSkew:            c.MaxSkew,
    				TopologyKey:        c.TopologyKey,
    				Selector:           selector,
    				MinDomains:         ptr.Deref(c.MinDomains, 1),   // If MinDomains is nil, we treat MinDomains as 1.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    			pod:          st.MakePod().Name("p").PodAffinityIn("service", "zone", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "add a new node with matched pod anti-affinity topologyKey",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1beta1.EndpointSlice.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml

        apiVersion: apiVersionValue
        fieldPath: fieldPathValue
        kind: kindValue
        name: nameValue
        namespace: namespaceValue
        resourceVersion: resourceVersionValue
        uid: uidValue
      topology:
        topologyKey: topologyValue
    kind: EndpointSlice
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/discovery.k8s.io.v1beta1.EndpointSlice.yaml

        apiVersion: apiVersionValue
        fieldPath: fieldPathValue
        kind: kindValue
        name: nameValue
        namespace: namespaceValue
        resourceVersion: resourceVersionValue
        uid: uidValue
      topology:
        topologyKey: topologyValue
    kind: EndpointSlice
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. cluster/addons/dns/coredns/coredns.yaml.base

                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
                  topologyKey: kubernetes.io/hostname
          tolerations:
            - key: "CriticalAddonsOnly"
              operator: "Exists"
          nodeSelector:
            kubernetes.io/os: linux
          containers:
          - name: coredns
    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.in

                podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                      - key: k8s-app
                        operator: In
                        values: ["kube-dns"]
                  topologyKey: kubernetes.io/hostname
          tolerations:
            - key: "CriticalAddonsOnly"
              operator: "Exists"
          nodeSelector:
            kubernetes.io/os: linux
          containers:
          - name: coredns
    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/test/framework/components/echo/kube/templates/deployment.yaml

    {{- end }}
    {{- if $.ProxylessGRPC }}
            proxy.istio.io/config: '{"holdApplicationUntilProxyStarts": true}'
    {{- end }}
        spec:
    {{- if $.Ambient }}
          topologySpreadConstraints:
          - topologyKey: "kubernetes.io/hostname"
            whenUnsatisfiable: "ScheduleAnyway"
            maxSkew: 1
            labelSelector:
              matchLabels:
                app: {{ $.Service }}
    {{- end }}
    {{- if $.ServiceAccount }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top