Production-Grade Container Scheduling and Management
Go to file
Tim Hockin 7afaf23b01
Copy make's codegen logic to update-codegen.sh
The `make` rules which auto-generate some of our API stuff are
incredibly baroque, and hard to maintain.  They were originally added on
the assumption that we would stop checking generated files into git.
Since then we have moved away from that goal, and the worst problems
with generated files have been resolved.

Reasons to kill this:
* It is slow on every build, as opposed to just being slow when running
  the generators.  It is even slow to calculate that there's nothing to
  update.
* Most development work doesn't involve changing APIs.
* It only covers about half (or less) of the generated code, and making
  it cover more would be even slower.
* Approximately 1 person knows how this all works.
* We have CI to make sure changes do not get merged without updating
  this code.
* We have corner cases where this does the WRONG thing and tracking
  those down is ugly and hard in perpetuity.

So this commit puts all the same logic that WAS in the
Makefile.generated_files into update-codegen.sh.

I do not love this script, especially WRT sub-packages, but I am trying
not to boil the ocean.  I hope to follow up with some more cleanups over
time.

I have tested this manually and with the scripts and it still seems to
catch errors properly.

This includes a change to kube::util::read-array to make it not unset
variables and not over-write non-array variables.
2022-10-04 08:48:39 -07:00
.github
api Merge pull request #112306 from tkashem/v1beta3 2022-10-03 10:06:14 -07:00
build Codegens: Do not auto-set boilerplate path 2022-10-04 08:45:57 -07:00
CHANGELOG Merge pull request #112655 from xmudrii/missing-notes 2022-09-21 15:55:25 -07:00
cluster Merge pull request #112781 from humblec/gce-new 2022-09-29 22:18:28 -07:00
cmd Merge pull request #112306 from tkashem/v1beta3 2022-10-03 10:06:14 -07:00
docs
hack Copy make's codegen logic to update-codegen.sh 2022-10-04 08:48:39 -07:00
LICENSES Merge pull request #112731 from pacoxu/blackfriday-v2 2022-09-29 08:44:53 -07:00
logo
pkg Merge pull request #111314 from BinacsLee/binacs/cleanup-use-clone-to-avoid-interim-slice 2022-10-04 07:34:22 -07:00
plugin enable health check SLI metrics for apiserver 2022-09-27 09:58:54 -07:00
staging Format calls to codegens 2022-10-04 08:45:57 -07:00
test Merge pull request #112823 from ii/create-service-account-replace-test 2022-10-03 19:00:14 -07:00
third_party
vendor Codegens: Do not auto-set boilerplate path 2022-10-04 08:45:57 -07:00
.generated_files
.gitattributes
.gitignore gitignore __* - for local use only 2022-07-13 20:15:02 -07:00
.golangci.yaml delete hardcode go version in golangci-lint config 2022-08-07 11:43:07 +08:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Merge pull request #112731 from pacoxu/blackfriday-v2 2022-09-29 08:44:53 -07:00
go.sum Merge pull request #112731 from pacoxu/blackfriday-v2 2022-09-29 08:44:53 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Add marseel and mborsz to sig-scalability-approvers and move mm4tt to emeritus. 2022-08-22 12:29:13 +00:00
README.md
SECURITY_CONTACTS
SUPPORT.md Update SUPPORT.md 2022-06-27 16:58:44 +02:00

Kubernetes (K8s)

GoPkg Widget CII Best Practices


Kubernetes, also known as K8s, 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 K8s

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 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 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.