Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly 2f762e4788 logs: remove deprecated klog flags
This completes the deprecation of klog flags which are no longer supported.
klog itself continues to support them, but Kubernetes components don't. This
makes the command line interfaces simpler and reduces the attack surface
because less functionality is exposed.

For example, kube-controller-manager now has:

    Logs flags:

      --log-flush-frequency duration
                Maximum number of seconds between log flushes (default 5s)
      --log-json-info-buffer-size quantity
                [Alpha] In JSON format with split output streams, the info messages can be buffered for a while to increase performance. The default value of zero
                bytes disables buffering. The size can be specified as number of bytes (512), multiples of 1000 (1K), multiples of 1024 (2Ki), or powers of those (3M,
                4G, 5Mi, 6Gi). Enable the LoggingAlphaOptions feature gate to use this.
      --log-json-split-stream
                [Alpha] In JSON format, write error messages to stderr and info messages to stdout. The default is to write a single stream to stdout. Enable the
                LoggingAlphaOptions feature gate to use this.
      --logging-format string
                Sets the log format. Permitted formats: "json" (gated by LoggingBetaOptions), "text". (default "text")
  -v, --v Level
                number for the log level verbosity
      --vmodule pattern=N,...
                comma-separated list of pattern=N settings for file-filtered logging (only works for text log format)

    Misc flags:

      --kubeconfig string
                Path to kubeconfig file with authorization and master location information.
      --master string
                The address of the Kubernetes API server (overrides any value in kubeconfig).

    Global flags:

  -h, --help
                help for kube-controller-manager
      --version version[=true]
                Print version information and quit

For details see
https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components
2022-09-04 21:04:05 +02:00
.github Fix typo in bug report template 2022-02-28 12:34:43 +03:00
api Update generated openapi 2022-08-24 13:33:12 -04:00
build [golang] Fix things commented out in 1.19rc2 2022-08-04 10:27:09 -04:00
CHANGELOG Update CHANGELOG/CHANGELOG-1.25.md 2022-08-25 22:16:07 -04:00
cluster Merge pull request #111495 from ndixita/node-e2e-gcp-cred-provider 2022-08-23 21:20:00 -07:00
cmd Merge pull request #111904 from pandaamanda/controller_codeclean 2022-08-29 14:12:49 -07:00
docs OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
hack stop using deprecated klog flags 2022-09-04 21:02:43 +02:00
LICENSES Bump prometheus/client_golang to v1.13.0 2022-08-26 05:40:17 +02:00
logo
pkg Merge pull request #111932 from azylinski/rm-lastContainerStartedTime-lru 2022-08-29 09:54:37 -07:00
plugin style: remove redundant judgment 2022-08-25 12:07:36 +08:00
staging logs: remove deprecated klog flags 2022-09-04 21:04:05 +02:00
test stop using deprecated klog flags 2022-09-04 21:02:43 +02:00
third_party Merge pull request #109244 from alexzielenski/clean-third-party-forks 2022-05-03 19:29:35 -07:00
vendor logs: remove deprecated klog flags 2022-09-04 21:04:05 +02: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 #111964 from DangerOnTheRanger/cel-estimate-fix-update 2022-08-29 08:00:38 -07:00
go.sum Merge pull request #111964 from DangerOnTheRanger/cel-estimate-fix-update 2022-08-29 08:00:38 -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 Merge pull request #107881 from dims/add-dims-to-conformance-behavior-approvers 2022-07-28 16:23:10 -07:00
README.md update k8s url 2022-05-02 20:55:55 +08:00
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.