Production-Grade Container Scheduling and Management
Go to file
Dan Winship cdf934d5bc Remove redundant iptables/nftables conntrack cleanup tests
The iptables and nftables proxy backends had 2 unit tests
(TestDeleteEndpointConnections and TestProxierDeleteNodePortStaleUDP)
that were effectively testing that:

  - If the proxy saw various Service/EndpointSlice events this would
    result in specific changes to the service/endpoints trackers, AND

  - If the service/endpoints trackers changed in those specific ways
    this would result in specific UpdateServiceMapResult and
    UpdateEndpointsMapResult values being generated, AND

  - If you passed those specific UpdateServiceMapResult and
    UpdateEndpointsMapResult values to conntrack.CleanStaleEntries it
    would make specific calls to the lower-level conntrack methods,
    AND

  - If you called the lower-level conntrack methods with those
    specific arguments, it would result in specific executions of the
    conntrack binary, mixed with a specific number of klog
    invocations.

This... is not a good unit test. We already test the change tracker
behavior in other unit tests, and we already tested the
Update{Service,Endpoints}MapResult behavior in the pkg/proxy unit
tests, and we already tested the conntrack exec behavior in
pkg/proxy/conntrack/conntrack_test.go, and we now test the
CleanStaleEntries behavior in pkg/proxy/conntrack/cleanup_test.go. So
there is no need to try to test the top-to-bottom behavior as a "unit
test".
2024-01-15 13:08:52 -05:00
.github Add new contribex leads to sig-contribex-approvers 2023-04-10 12:34:03 +05:30
api Merge pull request #121601 from carlory/fix-pvc-condition 2023-12-14 22:07:46 +01:00
build [go] Bump images, dependencies and versions to go 1.21.6 and distroless iptables to 0.4.4 2024-01-11 11:54:35 +01:00
CHANGELOG CHANGELOG: Update directory for v1.26.12 release 2023-12-20 13:26:54 +00:00
cluster Merge pull request #122290 from andrewsykim/ccm-version-bump 2024-01-04 18:00:24 +01:00
cmd Merge pull request #122642 from my-git9/componentconfigs-ut-q 2024-01-10 02:47:06 +01:00
docs
hack Revert "Save a list of images used by e2e.test" 2024-01-12 13:15:01 -08:00
LICENSES dependencies: zapr v1.3.0, zap v1.26.0 2023-11-07 20:24:28 +01:00
logo logo: better alignment of layers 2022-10-19 12:17:25 -07:00
pkg Remove redundant iptables/nftables conntrack cleanup tests 2024-01-15 13:08:52 -05:00
plugin Add comment in noderestriction on Node-bound-tokens 2023-11-06 18:04:16 +00:00
staging Merge pull request #122647 from benluddy/featuregate-default-runtime-override 2024-01-12 17:54:40 +01:00
test Merge pull request #122663 from aroradaman/drop-ct-state-invalid-rule 2024-01-13 19:01:16 +01:00
third_party verify: nicer failure message rendering in Prow 2023-06-02 15:39:27 +02:00
vendor bump klog to v2.120.0 2024-01-11 17:35:07 +08:00
.generated_files
.gitattributes gitattributes: json and yaml files LF line endings 2022-12-22 11:36:07 +00:00
.gitignore add rundir folder to gitignore 2023-10-12 21:54:59 +01:00
.go-version [go] Bump images, dependencies and versions to go 1.21.6 and distroless iptables to 0.4.4 2024-01-11 11:54:35 +01:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod bump klog to v2.120.0 2024-01-11 17:35:07 +08:00
go.sum bump klog to v2.120.0 2024-01-11 17:35:07 +08:00
LICENSE
Makefile
OWNERS Add sig-architecture-approvers and dep-approvers to root dir 2022-10-10 13:43:04 -04:00
OWNERS_ALIASES Merge pull request #122307 from carlory/sig-storage 2024-01-02 18:04:25 +01:00
README.md use the latest semver version for the badge 2023-10-24 15:30:17 -04:00
SECURITY_CONTACTS Update SECURITY_CONTACTS 2023-10-10 14:45:43 +00:00
SUPPORT.md

Kubernetes (K8s)

CII Best Practices Go Report Card GitHub release (latest SemVer)


Kubernetes, also known as K8s, is an open source system for managing containerized applications across multiple hosts. It provides basic mechanisms for the 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 K8s

See our documentation on kubernetes.io.

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 K8s

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.

Community Meetings

The Calendar has the list of all the meetings in the Kubernetes community in a single location.

Adopters

The User Case Studies website has real-world use cases of organizations across industries that are deploying/migrating to Kubernetes.

Governance

Kubernetes project is governed by a framework of principles, values, policies and processes to help our community and constituents towards our shared goals.

The Kubernetes Community is the launching point for learning about how we organize ourselves.

The Kubernetes Steering community repo is used by the Kubernetes Steering Committee, which oversees governance of the Kubernetes project.

Roadmap

The Kubernetes Enhancements repo provides information about Kubernetes releases, as well as feature tracking and backlogs.