mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-02 14:23:54 +00:00
* api: structure change * api: defaulting, conversion, and validation * [FIX] validation: auto remove second ip/family when service changes to SingleStack * [FIX] api: defaulting, conversion, and validation * api-server: clusterIPs alloc, printers, storage and strategy * [FIX] clusterIPs default on read * alloc: auto remove second ip/family when service changes to SingleStack * api-server: repair loop handling for clusterIPs * api-server: force kubernetes default service into single stack * api-server: tie dualstack feature flag with endpoint feature flag * controller-manager: feature flag, endpoint, and endpointSlice controllers handling multi family service * [FIX] controller-manager: feature flag, endpoint, and endpointSlicecontrollers handling multi family service * kube-proxy: feature-flag, utils, proxier, and meta proxier * [FIX] kubeproxy: call both proxier at the same time * kubenet: remove forced pod IP sorting * kubectl: modify describe to include ClusterIPs, IPFamilies, and IPFamilyPolicy * e2e: fix tests that depends on IPFamily field AND add dual stack tests * e2e: fix expected error message for ClusterIP immutability * add integration tests for dualstack the third phase of dual stack is a very complex change in the API, basically it introduces Dual Stack services. Main changes are: - It pluralizes the Service IPFamily field to IPFamilies, and removes the singular field. - It introduces a new field IPFamilyPolicyType that can take 3 values to express the "dual-stack(mad)ness" of the cluster: SingleStack, PreferDualStack and RequireDualStack - It pluralizes ClusterIP to ClusterIPs. The goal is to add coverage to the services API operations, taking into account the 6 different modes a cluster can have: - single stack: IP4 or IPv6 (as of today) - dual stack: IPv4 only, IPv6 only, IPv4 - IPv6, IPv6 - IPv4 * [FIX] add integration tests for dualstack * generated data * generated files Co-authored-by: Antonio Ojea <aojea@redhat.com>
90 lines
3.5 KiB
Python
90 lines
3.5 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"utils.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/test/integration",
|
|
deps = [
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/storagebackend:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
"//vendor/go.etcd.io/etcd/clientv3:go_default_library",
|
|
"//vendor/go.etcd.io/etcd/pkg/transport:go_default_library",
|
|
"//vendor/google.golang.org/grpc:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//test/integration/apimachinery:all-srcs",
|
|
"//test/integration/apiserver:all-srcs",
|
|
"//test/integration/auth:all-srcs",
|
|
"//test/integration/benchmark/extractlog:all-srcs",
|
|
"//test/integration/benchmark/jsonify:all-srcs",
|
|
"//test/integration/certificates:all-srcs",
|
|
"//test/integration/client:all-srcs",
|
|
"//test/integration/configmap:all-srcs",
|
|
"//test/integration/cronjob:all-srcs",
|
|
"//test/integration/daemonset:all-srcs",
|
|
"//test/integration/defaulttolerationseconds:all-srcs",
|
|
"//test/integration/deployment:all-srcs",
|
|
"//test/integration/disruption:all-srcs",
|
|
"//test/integration/dryrun:all-srcs",
|
|
"//test/integration/dualstack:all-srcs",
|
|
"//test/integration/endpoints:all-srcs",
|
|
"//test/integration/endpointslice:all-srcs",
|
|
"//test/integration/etcd:all-srcs",
|
|
"//test/integration/events:all-srcs",
|
|
"//test/integration/evictions:all-srcs",
|
|
"//test/integration/examples:all-srcs",
|
|
"//test/integration/framework:all-srcs",
|
|
"//test/integration/garbagecollector:all-srcs",
|
|
"//test/integration/ipamperf:all-srcs",
|
|
"//test/integration/kubelet:all-srcs",
|
|
"//test/integration/master:all-srcs",
|
|
"//test/integration/metrics:all-srcs",
|
|
"//test/integration/namespace:all-srcs",
|
|
"//test/integration/node:all-srcs",
|
|
"//test/integration/objectmeta:all-srcs",
|
|
"//test/integration/openshift:all-srcs",
|
|
"//test/integration/pods:all-srcs",
|
|
"//test/integration/quota:all-srcs",
|
|
"//test/integration/replicaset:all-srcs",
|
|
"//test/integration/replicationcontroller:all-srcs",
|
|
"//test/integration/scale:all-srcs",
|
|
"//test/integration/scheduler:all-srcs",
|
|
"//test/integration/scheduler_perf:all-srcs",
|
|
"//test/integration/secrets:all-srcs",
|
|
"//test/integration/serviceaccount:all-srcs",
|
|
"//test/integration/serving:all-srcs",
|
|
"//test/integration/statefulset:all-srcs",
|
|
"//test/integration/storageclasses:all-srcs",
|
|
"//test/integration/tls:all-srcs",
|
|
"//test/integration/ttlcontroller:all-srcs",
|
|
"//test/integration/util:all-srcs",
|
|
"//test/integration/volume:all-srcs",
|
|
"//test/integration/volumescheduling:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|