- 29 Jul, 2016 8 commits
-
-
Harry Zhang authored
-
Harry Zhang authored
-
harry zhang authored
-
Harry Zhang authored
Refactoring resource container
-
k8s-merge-robot authored
Automatic merge from submit-queue Check iscsi iface file for transport name When checking for tcp vs hardware transports, check actual iscsi iface file to see if we are using tcp as a transport, rather than relying on just the transport name of 'default'. This fixes the open-iscsi software iscsi initiator for non-default interfaces. fixes #27131
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix kubectl help command PR 48d47b10 broke `kubectl help` command due to wrong check `help for help cmd` . Fixes #29736
-
k8s-merge-robot authored
Automatic merge from submit-queue remove the omitempty tag from CertificateSigningRequestList.Items As a general rule, `Items` should be a required field in all lists. In a followup PR, I'll update the api-convention.md and add a check in the schema registration path to enforce the rule. I need to fix this bug to unblock other work. @kubernetes/api-review-team cc @bgrant0607-cc
-
k8s-merge-robot authored
Automatic merge from submit-queue Add a docker-shim package Add a new docker integration with kubelet using the new runtime API. This change adds the package with the skeleton and implements some of the basic operations. This PR only implements a small sets of functions. The rest of the functions will be implemented in the followup PRs to keep the changes readable, and the reviewers sane. Note: The first commit is from #28396, only the second commit is for review. /cc @kubernetes/sig-node @feiskyer @Random-Liu
-
- 28 Jul, 2016 32 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Optimize PodAffinity priority function
-
k8s-merge-robot authored
Automatic merge from submit-queue Bump exechealthz image With the new image at least if we observe an exec container taking more ram than it should (like the oom situation, which shouldn't happen today because of the increased limits), we can kubectl exec and check the pprof endpoints. Note that I'm not bumping the rc version, because I just did so with: https://github.com/kubernetes/kubernetes/pull/29693.
-
k8s-merge-robot authored
Automatic merge from submit-queue Add support for GCI QA jobs GCI QA jobs will run tests using GCI daily builds, and the kubernetes built into the images. All QA jobs will set the `JENKINS_USE_GCI_VERSION` env var. @Amey-D @spxtr Can you review? cc/ @kubernetes/goog-image
-
k8s-merge-robot authored
Automatic merge from submit-queue Add Apps() and PetSet client to client/unversioned Also add a test fake
-
k8s-merge-robot authored
Automatic merge from submit-queue add shorthand cm for configmaps add shorthand 'cm' for configmaps.
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix args to 'hub pull-request' in cherry-pick script I had to make this change to get the script to work for me... @k8s-oncall
-
k8s-merge-robot authored
Automatic merge from submit-queue Restrict log sym link to 256 characters This fix can potentially cause conflicts in log file names. The current model of exporting log data is fundamentally broken. This PR does not attempt to fix all of the issues.
-
Prashanth Balasubramanian authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Refactor util clock into it's own pkg Continue my work ref #15634
-
Vishnu Kannan authored
Signed-off-by:Vishnu Kannan <vishnuk@google.com>
-
Paul Morie authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix kubelet to not accept negative eviction (hard, soft) thresholds @kubernetes/rh-cluster-infra @derekwaynecarr
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
Andrey Kurilin authored
PR 48d47b10 broke `kubectl help` command due to wrong check `help for help cmd` . Fixed issue #29736
-
k8s-merge-robot authored
Automatic merge from submit-queue pkg/controller/node/nodecontroller: simplify mutex Similar to #29598, we can rely on the zero-value construction behavior to embed `sync.Mutex` into parent structs. /CC: @saad-ali
-
k8s-merge-robot authored
Automatic merge from submit-queue Init container quota is inaccurate Usage charged should be max of greater of init container or all regular containers. Also, need to validate init container inputs @derekwaynecarr
-
k8s-merge-robot authored
Automatic merge from submit-queue pkg/util/goroutinemap: apply idiomatic Go cleanups Package goroutinemap can be structurally simplified to be more idiomatic, concise, and free of error potential. No structural changes are made. It is unconventional declare `sync.Mutex` directly as a pointerized field in a parent structure. The `sync.Mutex` operates on pointer receivers of itself; and by relying on that, the types that contain those fields can be safely constructed using https://golang.org/ref/spec#The_zero_value semantic. The duration constants are already of type `time.Duration`, so re-declaring that is redundant. /CC: @saad-ali
-
k8s-merge-robot authored
Automatic merge from submit-queue Update vendored ginkgo.
-
k8s-merge-robot authored
Automatic merge from submit-queue make the resource prefix in etcd configurable for cohabitation This looks big, its not as bad as it seems. When you have different resources cohabiting, the resource name used for the etcd directory needs to be configurable. HPA in two different groups worked fine before. Now we're looking at something like RC<->RS. They normally store into two different etcd directories. This code allows them to be configured to store into the same location. To maintain consistency across all resources, I allowed the `StorageFactory` to indicate which `ResourcePrefix` should be used inside `RESTOptions` which already contains storage information. @lavalamp affects cohabitation. @smarterclayton @mfojtik prereq for our rc<->rs and d<->dc story.
-
k8s-merge-robot authored
Automatic merge from submit-queue periodically reload the cni plugin configuration Might fix #28787
-
k8s-merge-robot authored
Automatic merge from submit-queue fix kubectl rolling update empty file cause panic issue ```release-note Fix issue with kubectl panicing when passed files that do not exist. ``` Fix #29398 @pwittrock @justinsb ptal. This just fix on the cmd layer, I am thinking whether we should return err from marshal&unmarshal if the reader is empty.
-
k8s-merge-robot authored
Automatic merge from submit-queue Bump cadvisor dependencies to latest head. Fixes #28619 Fixes #28997 This is another try of https://github.com/kubernetes/kubernetes/pull/29153. To update cadvisor godeps, we did: * Bump up docker version to v1.11.2 for both cadvisor [https://github.com/google/cadvisor/pull/1388] and k8s. * Bump up cadvisor `go-systemd` version to be the same with k8s [https://github.com/google/cadvisor/pull/1390]. Or else, a package `github.com/coreos/pkg/dlopen` will be removed by Godep, because it is used by new `go-systemd` in k8s, but not used by old `go-systemd` in cadvisor. * Bump up runc version to be the same with docker v1.11.2 just in case. * Add `github.com/Azure/go-ansiterm` dependency which is needed by docker v1.11.2. * Change `pkg/util/term/`, because `SetWinsSize` is removed from windows platform in docker v1.11.2. [The first commit] @vishh /cc @ncdc for the `pkg/util/term` change.
-
Harry Zhang authored
-
k8s-merge-robot authored
Automatic merge from submit-queue storage error: precondition failure should return invalid object error In introducing the preconditions by @caesarxuchao , if check preconditions failed, it returns resource version conflict error. This is the wrong error to return, and instead it should return invalid object error. We need to separate these two types of errors. See the implementation in etcd3 [https://github.com/kubernetes/kubernetes/blob/master/pkg/storage/etcd3/store.go#L467]. Also renaming "ErrCodeResourceVersionConflicts" to "ErrCodeVersionConflicts" for simpler reading.
-
k8s-merge-robot authored
Automatic merge from submit-queue kubectl container - Extract version better 1. Use --client since -c is deprecated now 2. The command (./kubectl version --client | grep -o 'GitVersion:"[^"]*"') now returns: GitVersion:"v1.4.0-alpha.1.784+ed3a29bd-dirty" so parse out the version better using sed Related to #23708 -
k8s-merge-robot authored
Automatic merge from submit-queue Func note is copied same as other one
-
k8s-merge-robot authored
Automatic merge from submit-queue Log information wrong while wait.ForeverTestTimeout
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix mount collision timeout issue Short- or medium-term workaround for #29555. The root issue being fixed here is that the recent attach/detach work in the kubelet uses a unique volume name as a key that tracks the work that has to be done for each volume in a pod to attach/mount/umount/detach. However, the non-attachable volume plugins do not report unique names for themselves, which causes collisions when a single secret or configmap is mounted multiple times in a pod. This is still a WIP -- I need to add a couple E2E tests that ensure that tests break in the future if there is a regression -- but posting for early review. cc @kubernetes/sig-storage Ultimately, I would like to refine this a bit further. A couple things I would like to change: 1. `GetUniqueVolumeName` should be a property ONLY of attachable volumes 2. I would like to see the kubelet apparatus for attach/mount/umount/detach handle non-attachable volumes specifically to avoid things like the `WaitForControllerAttach` call that has to be done for those volume types now
-
k8s-merge-robot authored
Automatic merge from submit-queue Remove unnecessary empty line.
-
k8s-merge-robot authored
Automatic merge from submit-queue defer file.Close() in resource_printer.go
-
Yu-Ju Hong authored
Add a new docker integration with kubelet using the new runtime API. This change adds the package with some skeletons, and implements some of the basic operations.
-