Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly ea3f25f49b logs: add alpha+beta feature gates
It is useful to have the ability to control whether alpha or beta features are
enabled. We can group features under LoggingAlphaOptions and LoggingBetaOptions
because the configuration is designed so that each feature individually must be
enabled via its own option.

Currently, the JSON format itself is beta (graduated in 1.23) but additional
options for it were only added in 1.23 and thus are still alpha:

  $ go run ./staging/src/k8s.io/component-base/logs/example/cmd/logger.go --logging-format=json --log-json-split-stream --log-json-info-buffer-size 1M --feature-gates LoggingBetaOptions=false
  [format: Forbidden: Log format json is BETA and disabled, see LoggingBetaOptions feature, options.json.splitStream: Forbidden: Feature LoggingAlphaOptions is disabled, options.json.infoBufferSize: Forbidden: Feature LoggingAlphaOptions is disabled]

  $ go run ./staging/src/k8s.io/component-base/logs/example/cmd/logger.go --logging-format=json --log-json-split-stream --log-json-info-buffer-size 1M
  [options.json.splitStream: Forbidden: Feature LoggingAlphaOptions is disabled, options.json.infoBufferSize: Forbidden: Feature LoggingAlphaOptions is disabled]

This is the same approach that was taken for CPUManagerPolicyAlphaOptions and
CPUManagerPolicyBetaOptions.

In order to test this without modifying the global feature gate in a test file,
ValidateKubeletConfiguration must take a feature gate as argument.
2022-06-17 20:22:13 +02:00
.github Fix typo in bug report template 2022-02-28 12:34:43 +03:00
api RBAC: Modify the Description for the apiGroup. 2022-06-14 13:31:09 +05:30
build Merge pull request #110379 from marosset/windows-pause-image-base 2022-06-15 14:41:10 -07:00
CHANGELOG CHANGELOG: Update directory for v1.24.2 release 2022-06-17 03:43:36 +00:00
cluster remove deprecated label and update snapshot controller version 2022-06-16 16:42:45 +05:30
cmd logs: add alpha+beta feature gates 2022-06-17 20:22:13 +02:00
docs
hack hack/tools: use logcheck v0.1.0 from sigs.k8s.io/logtools/logcheck 2022-06-14 17:27:16 +02:00
LICENSES Merge pull request #110510 from dims/switch-to-github.com/MakeNowJust/heredoc-v1.0.0-and-avoid-SHA 2022-06-10 16:23:44 -07:00
logo
pkg logs: add alpha+beta feature gates 2022-06-17 20:22:13 +02:00
plugin PodSecurity: promote config and feature gate to GA 2022-06-15 09:29:47 +08:00
staging logs: add alpha+beta feature gates 2022-06-17 20:22:13 +02:00
test logs: make LoggingConfiguration an unversioned API 2022-06-17 20:22:13 +02:00
third_party Merge pull request #109244 from alexzielenski/clean-third-party-forks 2022-05-03 19:29:35 -07:00
vendor logs: make LoggingConfiguration an unversioned API 2022-06-17 20:22:13 +02:00
.generated_files
.gitattributes
.gitignore Add the last zz_generated.openapi.go file 2022-02-28 10:17:54 -08:00
.golangci.yaml hack: integrate logcheck into golangci-lint 2022-03-24 11:21:03 +01:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Merge pull request #110378 from lucacome/bump-grpc 2022-06-14 10:59:33 -07:00
go.sum Merge pull request #110378 from lucacome/bump-grpc 2022-06-14 10:59:33 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS for ./OWNERS, ensure approvers are in reviewers and emeritus approvers are not in reviewers 2022-02-03 22:43:04 -08:00
OWNERS_ALIASES Add sanposhiho to SIG Scheduling reviewers 2022-05-08 12:39:47 +09:00
README.md update k8s url 2022-05-02 20:55:55 +08:00
SECURITY_CONTACTS
SUPPORT.md update k8s url 2022-05-02 20:55:55 +08: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.