Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly 0f4d0660a7 kube-scheduler: finish conversion to structured logging
Thanks to support for multi-line string values we can now also convert
these remaining klog.Info calls without making the output unreadable
in text format.

The debug log messages intentionally don't get changed to ensure that
developers looking for it still find it.

The output now looks like this:

I0322 11:44:46.715093  458409 configfile.go:96] "Using component config" config=<
	apiVersion: kubescheduler.config.k8s.io/v1beta2
	clientConnection:
	  acceptContentTypes: ""
	  burst: 100
	  contentType: application/vnd.kubernetes.protobuf
	  kubeconfig: /var/run/kubernetes/scheduler.kubeconfig
	  qps: 50
	enableContentionProfiling: true
 ...
	  schedulerName: default-scheduler
 >

I0322 11:45:08.695649  458409 comparer.go:42] "Cache comparer started"
I0322 11:45:08.695718  458409 comparer.go:67] "Cache comparer finished"
I0322 11:45:08.695820  458409 dumper.go:52] "Dump of cached NodeInfo" nodes=<
	Node name: 127.0.0.1
	Deleted: false
	Requested Resources: &{MilliCPU:0 Memory:0 EphemeralStorage:0 AllowedPodNumber:0 ScalarResources:map[]}
	Allocatable Resources:&{MilliCPU:36000 Memory:67019448320 EphemeralStorage:181555660500 AllowedPodNumber:110 ScalarResources:map[hugepages-1Gi:0 hugepages-2Mi:0]}
	Scheduled Pods(number: 0):
 >
I0322 11:45:08.695873  458409 dumper.go:62] "Dump of scheduling queue" pods=<
	name: coredns-6874cd75d4-fv6hv, namespace: kube-system, uid: f1df106f-7fd9-460d-8403-333df61b2751, phase: Pending, nominated node:
 >
2022-03-24 11:13:50 +01:00
.github Fix typo in bug report template 2022-02-28 12:34:43 +03:00
api Merge pull request #107859 from ravisantoshgudimetla/promote-PodOS-beta 2022-03-24 00:14:41 -07:00
build golang: Update to 1.18 from 1.18rc1 2022-03-22 09:47:35 -04:00
CHANGELOG CHANGELOG: Update directory for v1.24.0-alpha.4 release 2022-03-22 11:27:03 +00:00
cluster kube-up: use registry.k8s.io for containerd-related jobs 2022-03-23 11:30:49 -04:00
cmd kube-scheduler: finish conversion to structured logging 2022-03-24 11:13:50 +01:00
docs OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
hack Merge pull request #108902 from kolyshkin/bump-golangci-lint 2022-03-24 02:59:06 -07:00
LICENSES googleapis/gnostic -> google/gnostic 2022-03-15 20:44:03 -07:00
logo
pkg kube-scheduler: finish conversion to structured logging 2022-03-24 11:13:50 +01:00
plugin Merge pull request #103062 from ikeeip/component_helper_storage 2022-03-23 13:21:20 -07:00
staging Merge pull request #108936 from stevekuznetsov/skuznets/more-correct-diff 2022-03-24 02:59:26 -07:00
test Merge pull request #108902 from kolyshkin/bump-golangci-lint 2022-03-24 02:59:06 -07:00
third_party OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
vendor klog v2.60.1 2022-03-21 16:23:48 +01:00
.generated_files
.gitattributes
.gitignore Add the last zz_generated.openapi.go file 2022-02-28 10:17:54 -08:00
.golangci.yaml fix golangci-lint config file using exclude-rules 2021-11-17 13:58:53 +01:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod klog v2.60.1 2022-03-21 16:23:48 +01:00
go.sum klog v2.60.1 2022-03-21 16:23:48 +01: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 Remove johnbelamaric as sig-network reviewer and approver 2022-03-23 13:41:49 -07:00
README.md update the repository to incorporate project health best practices from clomonitor.io 2022-02-18 18:11:35 +00:00
SECURITY_CONTACTS
SUPPORT.md

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.