Production-Grade Container Scheduling and Management
Go to file
Khaled Henidak (Kal) 6675eba3ef
dual stack services (#91824)
* 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>
2020-10-26 13:15:59 -07:00
.github Update triage/support label references to kind/support 2020-10-01 20:09:37 -04:00
api dual stack services (#91824) 2020-10-26 13:15:59 -07:00
build Merge pull request #77398 from claudiubelu/test-images/windows-support-part-2 2020-10-26 06:19:02 -07:00
CHANGELOG CHANGELOG: Update directory for v1.20.0-alpha.3 release 2020-10-20 09:21:27 +00:00
cluster Merge pull request #95843 from varunmar/update-ip-masq-agent 2020-10-26 11:23:16 -07:00
cmd dual stack services (#91824) 2020-10-26 13:15:59 -07:00
docs Add sigs for root folders 2020-08-13 10:24:06 -04:00
hack Support cross compilation only on amd64. 2020-10-21 00:13:01 +00:00
LICENSES Bump github.com/Azure/go-autorest/autorest/adal to 0.9.5 2020-10-19 09:59:45 +02:00
logo Merge pull request #93975 from avr1254/master 2020-09-03 06:16:09 -07:00
pkg dual stack services (#91824) 2020-10-26 13:15:59 -07:00
plugin Move client_builder to k8s.io/controller-manager 2020-10-19 14:48:22 -07:00
staging dual stack services (#91824) 2020-10-26 13:15:59 -07:00
test dual stack services (#91824) 2020-10-26 13:15:59 -07:00
third_party test images: Fixes echoserver s390x image 2020-09-17 09:34:40 +00:00
translations Merge pull request #93975 from avr1254/master 2020-09-03 06:16:09 -07:00
vendor Merge pull request #95428 from roycaihw/cleanup/generalize-lease-controller 2020-10-23 13:43:02 -07:00
.bazelrc move build related files out of the root directory 2017-05-15 15:53:54 -07:00
.bazelversion Add .bazelversion file 2019-09-19 08:57:12 +02:00
.generated_files Purge almost all memories of godep 2020-05-07 21:49:00 -07:00
.gitattributes review staging go.mod files 2019-05-10 15:40:43 -04:00
.gitignore Add openapi generation for the kube-aggregator 2020-06-05 11:10:08 +08:00
.kazelcfg.json Switch from gazel to kazel, and move kazelcfg into build/root 2017-07-18 12:48:51 -07:00
BUILD.bazel move build related files out of the root directory 2017-05-15 15:53:54 -07:00
CHANGELOG.md CHANGELOG: Move changelog, soft-link to top-level, refresh listing 2020-02-06 01:04:44 -05:00
code-of-conduct.md Update code-of-conduct.md 2017-12-20 13:33:36 -05:00
CONTRIBUTING.md fix Contributor License Agreement broken link 2020-06-28 11:55:22 +06:00
go.mod Fix dependency linting 2020-10-19 11:33:30 +02:00
go.sum Fix dependency linting 2020-10-19 11:33:30 +02:00
LICENSE
Makefile move build related files out of the root directory 2017-05-15 15:53:54 -07:00
Makefile.generated_files move build related files out of the root directory 2017-05-15 15:53:54 -07:00
OWNERS Move brendandburns to to emeritus status. 2020-08-27 10:20:56 -04:00
OWNERS_ALIASES Replace Branch Manager/Patch Release Team with Release Manager 2020-10-11 12:27:14 +02:00
README.md Removed broken link to Analytics 2020-08-13 16:03:37 -04:00
SECURITY_CONTACTS Update SECURITY_CONTACTS with current PSC 2019-05-29 15:22:35 +05:30
SUPPORT.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
WORKSPACE move build related files out of the root directory 2017-05-15 15:53:54 -07:00

Kubernetes

GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts. It provides basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If your company wants to help shape the evolution of technologies that are container-packaged, dynamically scheduled, and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make
You have a working Docker environment.
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make quick-release

For the full story, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide, and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.