Production-Grade Container Scheduling and Management
Go to file
mattjmcnaughton 7e3bce7b3e GetObjectMetricReplicas ignores unready pods
Previously, when `GetObjectMetricReplicas` calculated the desired
replica count, it multiplied the usage ratio by the current number of replicas.
This method caused over-scaling when there were pods that were not ready
for a long period of time. For example, if there were pods A, B, and C,
and only pod A was ready, and the usage ratio was 500%, we would
previously specify 15 pods as the desired replicas (even though really
only one pod was handling the load).

After this change, we now multiple the usage
ratio by the number of ready pods for `GetObjectMetricReplicas`.
In the example above, we'd only desire 5 replica pods.

This change gives `GetObjectMetricReplicas` the same behavior as the
other replica calculator methods. Only `GetExternalMetricReplicas` and
`GetExternalPerPodMetricRepliacs` still allow unready pods to impact the
number of desired replicas. I will fix this issue in the following
commit.
2018-03-07 08:13:01 -05:00
.github
api Merge pull request #59840 from jennybuckley/webhooks-on-webhooks 2018-03-05 19:09:33 -08:00
build Merge pull request #60669 from ixdy/bazel-test-visibility 2018-03-02 15:13:21 -08:00
cluster Merge pull request #60503 from serathius/fix-passing-location 2018-03-06 04:54:28 -08:00
cmd Merge pull request #60728 from stealthybox/59766-kubeadm_selfhosted_etcd_tls 2018-03-05 10:12:28 -08:00
docs Merge pull request #59840 from jennybuckley/webhooks-on-webhooks 2018-03-05 19:09:33 -08:00
examples Merge pull request #59149 from verult/flex-examples 2018-02-28 04:54:29 -08:00
Godeps Merge pull request #58828 from rajansandeep/configtranslate 2018-03-05 06:56:48 -08:00
hack Update gazelle to latest to fix vendoring issue 2018-03-02 11:58:31 -08:00
logo
pkg GetObjectMetricReplicas ignores unready pods 2018-03-07 08:13:01 -05:00
plugin Merge pull request #55019 from mikedanese/svcacct 2018-02-27 10:50:46 -08:00
staging Merge pull request #60454 from erictune/update-sample-apiserver-readme 2018-03-06 00:09:59 -08:00
test Merge pull request #60747 from dims/fix-daemonset-conformance-test-failure-and-remove-unused-code 2018-03-06 05:41:06 -08:00
third_party Merge pull request #60506 from php-coder/fix_suppress_gdate_cmd 2018-02-28 07:20:25 -08:00
translations Merge pull request #51925 from zhanghuidinah/fix-broken-link 2018-02-27 21:40:21 -08:00
vendor Merge pull request #58828 from rajansandeep/configtranslate 2018-03-05 06:56:48 -08:00
.bazelrc
.generated_files
.gitattributes
.gitignore fix all the typos across the project 2018-02-11 11:04:14 +08:00
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md fix the format for github error 2018-02-02 18:44:27 +08:00
CHANGELOG-1.5.md fix typo in kubeadm 2018-02-06 13:48:18 +08:00
CHANGELOG-1.6.md
CHANGELOG-1.7.md Update CHANGELOG-1.7.md for v1.7.13. 2018-03-01 09:06:35 +00:00
CHANGELOG-1.8.md Update CHANGELOG-1.8.md for v1.8.8. 2018-02-09 15:01:39 -08:00
CHANGELOG-1.9.md Fix incorrectly formatted URL 2018-02-22 12:20:54 -08:00
CHANGELOG-1.10.md Update CHANGELOG-1.10.md for v1.10.0-beta.1. 2018-03-01 02:59:00 -05:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Merge pull request #60603 from m1093782566/milestone 2018-03-02 20:08:56 -08:00
README.md Update README.md 2018-02-11 04:34:01 +00:00
SUPPORT.md
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts; providing 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 you are a company that 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 Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

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.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/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.

Analytics