- 28 May, 2016 28 commits
-
-
Quinton Hoole authored
-
Quinton Hoole authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Stabilize map order in kubectl describe Refs #25251. Add `SortedResourceNames()` methods to map type aliases in order to achieve stable output order for `kubectl` descriptors. This affects QoS classes, resource limits, and resource requests. A few remarks: 1. I couldn't find map usages for described fields other than the ones mentioned above. Then again, I failed to identify those programmatically/systematically. Pointers given, I'd be happy to cover any gaps within this PR or along additional ones. 1. It's somewhat difficult to deterministically test a function that brings reliable ordering to Go maps due to its randomizing nature. None of the possibilities I came up with (rely a "probabilistic testing" against repeatedly created maps, add complexity through additional interfaces) seemed very appealing to me, so I went with testing my `sort.Interface` implementation and the changed logic in `kubectl.describeContainers()`. 1. It's apparently not possible to implement a single function that sorts any map's keys generically in Go without producing lots of boilerplate: a `map[<key type>]interface{}` is different from any other map type and thus requires explicit iteration on the caller site to convert back and forth. Unfortunately, this makes it hard to completely avoid code/test duplication. Please let me know what you think. -
k8s-merge-robot authored
Automatic merge from submit-queue Round should avoid clearing s, save a string Instead of saving bytes, save a string, which makes String() faster and does not unduly penalize marshal. During parse, save the string if it is in canonical form. @wojtek-t @lavalamp this makes quantity.String() faster for a few cases where it matters. We were also not clearing s properly before on Round()
-
k8s-merge-robot authored
Automatic merge from submit-queue Make UnsafeConversion fast by inlining copies Not ready yet (need to add a copy to "safe" conversion and add mutation tests to roundtrip api/serialization_test). Cuts another 10% off decode and encode.
-
Quinton Hoole authored
Google Cloud DNS dnsprovider.
-
Wojciech Tyczynski authored
Revert "Fix system container detection in kubelet on systemd"
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Additional optimizations to the encode/decode paths Builds on top of #25983 with a number of other optimizations.
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Clayton Coleman authored
-
Clayton Coleman authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix system container detection in kubelet on systemd ```release-note Fix system container detection in kubelet on systemd. This fixed environments where CPU and Memory Accounting were not enabled on the unit that launched the kubelet or docker from reporting the root cgroup when monitoring usage stats for those components. ``` Fixes https://github.com/kubernetes/kubernetes/issues/25909 /cc @kubernetes/sig-node @kubernetes/rh-cluster-infra @vishh @dchen1107
-
k8s-merge-robot authored
Automatic merge from submit-queue Use pause image depending on the server's platform when testing Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic. The pause image name and version is also now only in two places, and it's documented to bump both Also removed "amd64" constants in the code. Such constants should be replaced by `runtime.GOARCH` or by looking up the server platform Fixes: #22876 and #15140 Makes it easier for: #25730 Related: #17981 This is for `v1.3` @ixdy @thockin @vishh @kubernetes/sig-testing @andyzheng0831 @pensu
-
k8s-merge-robot authored
Automatic merge from submit-queue rkt: Use volumes from RunContainerOptions This replaces the previous creation of mounts from the `volumeGetter` with mounts provided via RunContainerOptions. This is motivated by the fact that the latter has a more complete set of mounts (e.g. the `/etc/hosts` one created in kubelet.go in the case an IP is available). This does not induce further e2e failures as far as I can tell. cc @yifan-gu
-
k8s-merge-robot authored
Automatic merge from submit-queue Added pods-per-core to kubelet. #25762 Added --pods-per-core to kubelet #25762
-
k8s-merge-robot authored
Automatic merge from submit-queue promote sourceRange into service spec @thockin one more for your pile I will add docs at `http://releases.k8s.io/HEAD/docs/user-guide/services-firewalls.md` cc: @justinsb Fixes: #20392
-
k8s-merge-robot authored
Automatic merge from submit-queue Add more global options to local-up-cluster.sh I added a couple more global variables to the `local-up-cluster.sh` script. The `KUBELET_HOST` environment name make sense to me. If it isn't the best name I will change it. The `ETCD` ones make sense since they are being used under `hack/lib/etcd.sh` Signed-off-by:André Martins <aanm90@gmail.com>
-
k8s-merge-robot authored
Automatic merge from submit-queue prevent namespace cleanup hotloop Found chasing a sentry report. Looks like we hot-loop on namespace deletion failures. @derekwaynecarr ptal
-
k8s-merge-robot authored
Automatic merge from submit-queue Verify changes against upstream vendor/ as well. cc @ixdy
-
k8s-merge-robot authored
Automatic merge from submit-queue kube-controller-manager: Add configure-cloud-routes option This allows kube-controller-manager to allocate CIDRs to nodes (with allocate-node-cidrs=true), but will not try to configure them on the cloud provider, even if the cloud provider supports Routes. The default is configure-cloud-routes=true, and it will only try to configure routes if allocate-node-cidrs is also configured, so the default behaviour is unchanged. This is useful because on AWS the cloud provider configures routes by setting up VPC routing table entries, but there is a limit of 50 entries. So setting configure-cloud-routes on AWS would allow us to continue to allocate node CIDRs as today, but replace the VPC route-table mechanism with something not limited to 50 nodes. We can't just turn off the cloud-provider entirely because it also controls other things - node discovery, load balancer creation etc. Fix #25602
-
k8s-merge-robot authored
Automatic merge from submit-queue Kubemark e2e tests should exit 0 for test failures. Fixed #26318
-
k8s-merge-robot authored
Automatic merge from submit-queue Push public key to project if not already present Fixes https://github.com/kubernetes/kubernetes/issues/26128 Fixes https://github.com/kubernetes/kubernetes/issues/26129 Whenever the ssh key changes (which happens right now whenever we add/change a new jenkins agent) this key will not get pushed to the project until either `gcloud compute ssh` or `gcloud compute config-ssh` runs. As a result instances on this project will reject ssh attempts with this key. In many cases this will not happen until after a test on a project fails and we attempt to ssh to the nodes to grab logs. This verifies the presence of the ssh key before starting tests, and attempts to add it if it is missing.
-
k8s-merge-robot authored
Automatic merge from submit-queue Move containerd process into docker cgroup for versions >= v1.11 Addresses https://github.com/kubernetes/kubernetes/issues/23397#issuecomment-209583923 /cc @vishh @kubernetes/sig-node
-
k8s-merge-robot authored
Automatic merge from submit-queue Expose GET and PATCH for status subresource We can do this for other status subresource. I only updated node/status in this PR to unblock https://github.com/kubernetes/node-problem-detector/issues/9. cc @Random-Liu @lavalamp
-
- 27 May, 2016 12 commits
-
-
David McMahon authored
-
Alex Robinson authored
Show hack/build-go.sh output during e2e tests.
-
Alex Robinson authored
kubelet: reading cloudinfo from cadvisor
-
Alex Robinson authored
Petset e2es
-
Alex Robinson authored
bump(github.com/appc/spec):ab50d12e88f57788bf84b83fef2be236eb1fcc0b
-
André Martins authored
Signed-off-by:André Martins <aanm90@gmail.com>
-
Alex Robinson authored
Disable cAdvisor event storage by default
-
Phillip Wittrock authored
Jenkins relies on junit.xml to identify test failures and non-0 exit codes to indentify infrastructure failures. Test failures in kubemark tests should not cause the test script to exit non-0. Infrastructure failures should. - Add function to dump cluster logs without exiting (refactor) - Change `test/kubemark/stop-kubemark.sh` to be run regardless of whether tests fail or not - Exit code for failed tests overwritten to be the exit code of dumping the cluster logs
-
Clayton Coleman authored
To match changes to pkg/api/resource#ParseQuantity
-
Quinton Hoole authored
-
Quinton Hoole authored
Google Cloud DNS dnsprovider rewrite/refactor for unit tests. Successfully Tested against both real backend and stubbed backend.
-
Alex Robinson authored
Reduce noise in kubelet.log
-