- 09 May, 2016 40 commits
-
-
Kris authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix script for updating protobufs. Fix #25351 @thockin
-
k8s-merge-robot authored
Automatic merge from submit-queue Hack update all remove dollar symbol When not running ./hack/update in silent mode, the script fails due to undefined ``$Updating`` variable.
-
k8s-merge-robot authored
Automatic merge from submit-queue Make Kubemark assign cluster CIDRs
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue create command guidance `kubectl create <resource>` commands are multiplying (configmap, namespace, secret (2 flavors and a pull for a third), and serviceaccounts so far) and I think we should agree on the goal of those subcommands. Right now, `kubectl run` is an easy entrypoint for new users or users who don't really care which resources are created. It is possible to get stable output from `kubectl run`, but it really is intent-based: make this image go in some reasonable way. At the other end of the spectrum, you can craft yaml files by hand get exactly the object you want, but that requires pretty deep API knowledge. I think that `kubectl create <resource>` should be the starting point of the middle ground. `kubectl create <resource>` commands should have just enough arguments to create valid objects and the expectation should be that users will use those objects as skeletons to tweak using `kubectl edit` or the future `kubectl set` to modify them after the fact. Editing an already existing and valid object is a lot easier than creating one from scratch, so it reduces the barrier to entry. @kubernetes/kubectl @smarterclayton @bgrant0607 @liggitt
-
k8s-merge-robot authored
Automatic merge from submit-queue Add data structure for managing go routines by name This PR introduces a data structure for managing go routines by name. It prevents the creation of new go routines if an existing go routine with the same name exists. This will enable parallelization of the designs in https://github.com/kubernetes/kubernetes/issues/20262 and https://github.com/kubernetes/kubernetes/issues/21931 with sufficient protection to prevent starting multiple operations on the same volume.
-
gmarek authored
-
Wojciech Tyczynski authored
Fix dynamic client in protobuf configuration
-
k8s-merge-robot authored
Automatic merge from submit-queue Clean-up sources ready tracking in kubelet moved sources ready tracking behind an interface, made it thread-safe.
-
deads2k authored
-
k8s-merge-robot authored
Automatic merge from submit-queue enable resource name and service account cases for impersonation Adds the resource name check since that attribute was added for authorization. Also adds a check against a separate resource for service accounts. Allowing impersonation of service accounts to use a different resource check places control of impersonation with the same users to have the power to get the SA tokens directly. @kubernetes/kube-iam @sgallagher FYI
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Kubelet eviction flag parsers and tests The first two commits are from https://github.com/kubernetes/kubernetes/pull/24559 that have achieved LGTM. The last commit is only part that is interesting, it adds the parsing logic to handle the flags, and reserves `pkg/kubelet/eviction` for eviction manager logic.
-
k8s-merge-robot authored
Automatic merge from submit-queue test/e2e/addon_update: Respect KUBE_SSH_USER This change makes the e2e tests more consistent as the other ones all already respected this variable. I didn't do the larger change of re-factoring it to use `framework.SSH` because getting the `scp` portion working there has some significant complexity. If I find time, I'd like to go back and do it since this test needs a little
❤ cc @yifan-gu, @kubernetes/sig-testing -
k8s-merge-robot authored
Automatic merge from submit-queue Enable using protobufs in e2e tests ref #25132
-
k8s-merge-robot authored
Automatic merge from submit-queue Add heapster to kubemark cc @mwielgus
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
Fix protobuf failures
-
k8s-merge-robot authored
Automatic merge from submit-queue Add cloud-provider setting to local-up-cluster.sh
-
Wojciech Tyczynski authored
-
Wojciech Tyczynski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Add data structure for storing attach detach controller state. This PR introduces the data structure for maintaining the in-memory state for the new attach/detach controller (#20262).
-
k8s-merge-robot authored
Automatic merge from submit-queue kube-proxy userspace, enable RR if connect endpoint which is session affinity fails for issue #24648
-
k8s-merge-robot authored
Automatic merge from submit-queue Move godeps to vendor/ This is a first-step towards glide support, maybe we don't want or need to take this, but it was easy to try. This fails to compile, not sure why: ``` # k8s.io/kubernetes/pkg/apis/extensions/v1beta1 _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2703: undefined: extensions.ClusterAutoscaler _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2703: undefined: ClusterAutoscaler _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2719: undefined: extensions.ClusterAutoscaler _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2719: undefined: ClusterAutoscaler _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: undefined: extensions.ClusterAutoscalerList _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: undefined: ClusterAutoscalerList _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:3468: Convert_extensions_JobSpec_To_v1beta1_JobSpec redeclared in this block previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:328 _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:3845: Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus redeclared in this block previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:98 _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:4737: Convert_v1beta1_JobSpec_To_extensions_JobSpec redeclared in this block previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:380 _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:5186: Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus redeclared in this block previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:120 _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: too many errors !!! Error in /home/thockin/tmp/godep-vendor/src/k8s.io/kubernetes/hack/lib/golang.sh:417 ```
-
k8s-merge-robot authored
Automatic merge from submit-queue cluster/images/hyperkube: create symlink for each server Add a kubelet symlink so that the hyperkube image can appear as a kubelet image. https://github.com/kubernetes/kubernetes/issues/24510
-
Tim Hockin authored
a) it doesn't need it b) changing CWD to a path with symlinks breaks deep within ginkgo, where it crafts a relative path to ../../../../../../platforms/amd64/whatever which then traverses the physical path not the symlinked one, and breaks.
-
Tim Hockin authored
Go mistreats "testdata" and can't find vendor/ dirs.
-
Tim Hockin authored
The build is now fast enough to not need them.
-
Tim Hockin authored
-
Tim Hockin authored
-
Tim Hockin authored
Fix the licenses script and run it.
-
Tim Hockin authored
-
Tim Hockin authored
-
Tim Hockin authored
-
Tim Hockin authored
-
Tim Hockin authored
Our `realpath` and `readlink -f` functions (required only because of MacOS, thanks Steve) were poor substitutes at best. Mostly they were downright broken. This thoroughly overhauls them and adds a test (in comments, since we don't seem to have shell tests). For all the interesting cases I could think of, the fakes act just like the real thing. Then use those and canonicalize KUBE_ROOT. In order to make recursive calls of our shell tool not additively grow `pwd` we have to essentially make the sourcing of init.sh idempotent.
-
Tim Hockin authored
-
Tim Hockin authored
-
Tim Hockin authored
-