- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for IPFamilyPolicyRequireDualStack (0.36 sec)
-
pkg/registry/core/service/storage/storage_test.go
svctest.SetIPFamilies(api.IPv6Protocol)), expectPolicy: api.IPFamilyPolicyRequireDualStack, expectFamilies: []api.IPFamily{api.IPv6Protocol, api.IPv4Protocol}, }, { name: "ClusterIPs:unset_Policy:RequireDualStack_Families:v4v6", line: line(), svc: svctest.MakeService("foo", svctest.SetIPFamilyPolicy(api.IPFamilyPolicyRequireDualStack),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 440.2K bytes - Viewed (0) -
pkg/registry/core/service/storage/alloc.go
} else if service.Spec.ClusterIP == api.ClusterIPNone && len(service.Spec.Selector) == 0 { // Special-case: headless + selectorless defaults to dual. requireDualStack := api.IPFamilyPolicyRequireDualStack service.Spec.IPFamilyPolicy = &requireDualStack } else { // create or update from an object without policy (e.g. // ExternalName) to one that needs policy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0) -
pkg/registry/core/service/storage/storage.go
// assume IPFamilyPolicy can't be set either. if len(service.Spec.IPFamilies) > 0 { return } singleStack := api.IPFamilyPolicySingleStack requireDualStack := api.IPFamilyPolicyRequireDualStack if service.Spec.ClusterIP == api.ClusterIPNone { // Headless. if len(service.Spec.Selector) == 0 { // Headless + selectorless is a special-case. //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:33 UTC 2024 - 22.3K bytes - Viewed (1) -
pkg/apis/core/types.go
// configured on the cluster IPFamilyPolicyPreferDualStack IPFamilyPolicy = "PreferDualStack" // IPFamilyPolicyRequireDualStack indicates that this service requires dual-stack. Using // IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The // IPFamilies (and their order) assigned to this service is based on service.spec.ipFamilies. If
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 268.9K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/types.go
// configured on the cluster IPFamilyPolicyPreferDualStack IPFamilyPolicy = "PreferDualStack" // IPFamilyPolicyRequireDualStack indicates that this service requires dual-stack. Using // IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The // IPFamilies (and their order) assigned to this service is based on service.spec.ipFamilies. If
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 390.8K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
} } } } func TestValidateServiceCreate(t *testing.T) { requireDualStack := core.IPFamilyPolicyRequireDualStack singleStack := core.IPFamilyPolicySingleStack preferDualStack := core.IPFamilyPolicyPreferDualStack testCases := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
var supportedServiceIPFamily = sets.New(core.IPv4Protocol, core.IPv6Protocol) var supportedServiceIPFamilyPolicy = sets.New( core.IPFamilyPolicySingleStack, core.IPFamilyPolicyPreferDualStack, core.IPFamilyPolicyRequireDualStack) // ValidateService tests if required fields/annotations of a Service are valid. func ValidateService(service *core.Service) field.ErrorList { metaPath := field.NewPath("metadata")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (1) -
pkg/generated/openapi/zz_generated.openapi.go
a single IPFamily. If the IPFamily is not set in service.spec.ipFamilies then the service will be assigned the default IPFamily configured on the cluster\n - `\"RequireDualStack\"` indicates that this service requires dual-stack. Using IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The IPFamilies (and their order) assigned to this service is based on service.spec.ipFamilies. If service.spec.ipFamilies was not provided then it will be assigned according to...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3M bytes - Viewed (0)