Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for ServiceAffinity (0.23 sec)

  1. pkg/proxy/serviceport.go

    	ClusterIP() net.IP
    	// Port returns service port if present. If return 0 means not present.
    	Port() int
    	// SessionAffinityType returns service session affinity type
    	SessionAffinityType() v1.ServiceAffinity
    	// StickyMaxAgeSeconds returns service max connection age
    	StickyMaxAgeSeconds() int
    	// ExternalIPs returns service ExternalIPs
    	ExternalIPs() []net.IP
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 08:17:56 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pkg/apis/core/fuzzer/fuzzer.go

    			protocols := []core.Protocol{core.ProtocolTCP, core.ProtocolUDP, core.ProtocolSCTP}
    			*p = protocols[c.Rand.Intn(len(protocols))]
    		},
    		func(p *core.ServiceAffinity, c fuzz.Continue) {
    			types := []core.ServiceAffinity{core.ServiceAffinityClientIP, core.ServiceAffinityNone}
    			*p = types[c.Rand.Intn(len(types))]
    		},
    		func(p *core.ServiceType, c fuzz.Continue) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. tests/integration/pilot/testdata/mcs-serviceimport-crd.yaml

                            description: timeoutSeconds specifies the seconds of ClientIP
                              type session sticky time. The value must be >0 && <=86400(for
                              1 day) if ServiceAffinity == "ClientIP". Default value is
                              10800(for 3 hours).
                            type: integer
                            format: int32
                  type:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 00:51:29 UTC 2021
    - 7K bytes
    - Viewed (0)
  4. pkg/api/service/testing/make.go

    	return func(svc *api.Service) {
    		svc.Spec.HealthCheckNodePort = value
    	}
    }
    
    // SetSessionAffinity sets the SessionAffinity field.
    func SetSessionAffinity(affinity api.ServiceAffinity) Tweak {
    	return func(svc *api.Service) {
    		svc.Spec.SessionAffinity = affinity
    		switch affinity {
    		case api.ServiceAffinityNone:
    			svc.Spec.SessionAffinityConfig = nil
    		case api.ServiceAffinityClientIP:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. pkg/apis/core/types.go

    	// +optional
    	metav1.ListMeta
    
    	Items []Service
    }
    
    // ServiceAffinity Type string
    type ServiceAffinity string
    
    const (
    	// ServiceAffinityClientIP is the Client IP based.
    	ServiceAffinityClientIP ServiceAffinity = "ClientIP"
    
    	// ServiceAffinityNone - no session affinity.
    	ServiceAffinityNone ServiceAffinity = "None"
    )
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/types.go

    }
    
    // Session Affinity Type string
    // +enum
    type ServiceAffinity string
    
    const (
    	// ServiceAffinityClientIP is the Client IP based.
    	ServiceAffinityClientIP ServiceAffinity = "ClientIP"
    
    	// ServiceAffinityNone - no session affinity.
    	ServiceAffinityNone ServiceAffinity = "None"
    )
    
    const DefaultClientIPServiceAffinitySeconds int32 = 10800
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  7. pkg/apis/core/v1/zz_generated.conversion.go

    	out.ClusterIPs = *(*[]string)(unsafe.Pointer(&in.ClusterIPs))
    	out.Type = core.ServiceType(in.Type)
    	out.ExternalIPs = *(*[]string)(unsafe.Pointer(&in.ExternalIPs))
    	out.SessionAffinity = core.ServiceAffinity(in.SessionAffinity)
    	out.LoadBalancerIP = in.LoadBalancerIP
    	out.LoadBalancerSourceRanges = *(*[]string)(unsafe.Pointer(&in.LoadBalancerSourceRanges))
    	out.ExternalName = in.ExternalName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.22.md

    - The `kube-scheduler` component config `v1beta2` API available
      Three scheduler plugins deprecated (`NodeLabel`, `ServiceAffinity`, `NodePreferAvoidPods`). ([#99597](https://github.com/kubernetes/kubernetes/pull/99597), [@adtac](https://github.com/adtac))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

          "properties": {
            "timeoutSeconds": {
              "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).",
              "format": "int32",
              "type": "integer"
            }
          },
          "type": "object"
        },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

    message ClientIPConfig {
      // timeoutSeconds specifies the seconds of ClientIP type session sticky time.
      // The value must be >0 && <=86400(for 1 day) if ServiceAffinity == "ClientIP".
      // Default value is 10800(for 3 hours).
      // +optional
      optional int32 timeoutSeconds = 1;
    }
    
    // Information about the condition of a component.
    message ComponentCondition {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
Back to top