Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly c62d7407c8 scheduler_perf: dump test data when writing it failed
Occasionally, writing as JSON failed because a NaN float couldn't be
encoded. The extended log message helps understand where that comes from, for
example:

F0120 20:24:45.515745  511835 scheduler_perf_test.go:540] BenchmarkPerfScheduling: unable to write measured data {Version:v1 DataItems:[{Data:map[Average:35.714285714285715 Perc50:2 Perc90:36 Perc95:412 Perc99:412] Unit:pods/s Labels:map[Metric:SchedulingThroughput Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:27.863967530999993 Perc50:13.925925925925926 Perc90:30.06711409395973 Perc95:31.85682326621924 Perc99:704] Unit:ms Labels:map[Metric:scheduler_e2e_scheduling_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:11915.651577744 Perc50:15168.796680497926 Perc90:19417.759336099585 Perc95:19948.87966804979 Perc99:20373.77593360996] Unit:ms Labels:map[Metric:scheduler_pod_scheduling_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2]} {Data:map[Average:1.1865832049999983 Perc50:0.7636363636363637 Perc90:2.891903719912473 Perc95:3.066958424507659 Perc99:5.333333333333334] Unit:ms Labels:map[Metric:scheduler_framework_extension_point_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2 extension_point:Filter]} {Data:map[Average:NaN Perc50:NaN Perc90:NaN Perc95:NaN Perc99:NaN] Unit:ms Labels:map[Metric:scheduler_framework_extension_point_duration_seconds Name:BenchmarkPerfScheduling/PreemptionPVs/500Nodes/namespace-2 extension_point:Score]}]}: json: unsupported value: NaN
2022-02-07 08:59:19 +01:00
.github expand the alias from contribex to the full name 2022-01-19 09:54:55 -05:00
api remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
build feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
CHANGELOG CHANGELOG: Update directory for v1.23.3 release 2022-01-26 00:04:56 +00:00
cluster Merge pull request #107663 from hakman/remove_container-runtime_test_scripts 2022-01-25 22:30:25 -08:00
cmd remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
docs OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
hack test: fix info message for etcd startup 2022-02-07 08:59:19 +01:00
LICENSES feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
logo
pkg kube-scheduler: downgrade namespace log message from "error" to "info" 2022-02-07 08:59:19 +01:00
plugin Fix bug with node restriction blocking pvc.status.resizestatus change 2022-01-21 10:03:26 -05:00
staging Merge pull request #106932 from SergeyKanzhelev/removeDynamicKubeletConfig 2022-01-25 19:20:25 -08:00
test scheduler_perf: dump test data when writing it failed 2022-02-07 08:59:19 +01:00
third_party OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
vendor feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
.generated_files
.gitattributes
.gitignore
.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 feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
go.sum feat: add missing SOCKS5 features 2022-01-21 11:49:41 +01:00
LICENSE
Makefile
Makefile.generated_files
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
OWNERS_ALIASES Add enj to sig-auth-encryption-at-rest-approvers 2022-01-19 14:40:02 -05:00
README.md
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.