- 05 Apr, 2016 5 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Cross-build hyperkube and debian-iptables for ARM. Also add a flannel image We have to be able to build complex docker images too on `amd64` hosts. Right now we can't build Dockerfiles with `RUN` commands when building for other architectures e.g. ARM. Resin has a tutorial about this here: https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/ But it's a bit clumsy syntax. The other alternative would be running this command in a Makefile: ``` # This registers in the kernel that ARM binaries should be run by /usr/bin/qemu-{ARCH}-static docker run --rm --privileged multiarch/qemu-user-static:register --reset ``` and ``` ADD https://github.com/multiarch/qemu-user-static/releases/download/v2.5.0/x86_64_qemu-arm-static.tar.xz /usr/bin ``` Then the kernel will be able to differ ARM binaries from amd64. When it finds a ARM binary, it will invoke `/usr/bin/qemu-arm-static` first and lets `qemu` translate the ARM syscalls to amd64 ones. Some code here: https://github.com/multiarch WDYT is the best approach? If registering `binfmt_misc` in the kernels of the machines is OK, then I think we should go with that. Otherwise, we'll have to wait for resin's patch to be merged into mainline qemu before we may use the code I have here now. @fgrzadkowski @david-mcmahon @brendandburns @zmerlynn @ixdy @ihmccreery @thockin
-
k8s-merge-robot authored
Automatic merge from submit-queue Add a timeout to the sshDialer to prevent indefinite hangs. Prevents the SSH Dialer from hanging forever. Fixes a problem where SSH Tunnels get stuck trying to open. Addresses #23835.
-
k8s-merge-robot authored
Automatic merge from submit-queue Ensure object returned by volume getCloudProvider incorporates cloud config This PR addresses https://github.com/kubernetes/kubernetes/issues/23517. **Problem** The existing GCE PD and AWS EBS volume plugin code were fetching cloud provider without specifying a cloud config: `cloudprovider.GetCloudProvider("gce", nil)` This caused the cloud provider to use default auth mechanism, which is not acceptable for the provisioning controller running on GKE master. **Fix** This PR does the following: * Modifies the GCE PD and AWS EBS volume plugin code to use the cloud provider object pre-constructed by the binary with a cloud config. * Enable provisioning E2E test for GKE (to catch future issues). Thanks to @cjcullen for debugging and finding the root cause!
👍 This should be cherry-picked into the v1.2 branch for the next release. -
k8s-merge-robot authored
Automatic merge from submit-queue Print 100th percentile of resource usage when gatherer is turned on. Ref. #23820
-
gmarek authored
-
- 04 Apr, 2016 13 commits
-
-
CJ Cullen authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Add container_spec_cpu_period metric
-
gmarek authored
-
k8s-merge-robot authored
Automatic merge from submit-queue support NETWORK_PROVIDER=cni for KUBERNETES_PROVIDER=vagrant While trying to develop CNI plugins for K8's, I found the docs referenced the support of --network-plugin=cni for kubelet, but this wasn't surfaced up via salt to support env NETWORK_PROVIDER=cni before a kube-up deployment. This PR is my attempt at adding CNI support to the kube-up happy path, following a lot of similar work for NETWORK_PROVIDER=kubenet which already exists. Also, I've added the ability to consume CNI plugin's (binaries) and configuration files from the local cluster/network-plugins directory into the necessary locations as referenced here for CNI: http://kubernetes.io/docs/admin/network-plugins This allows a local developer to easily work on CNI plugin development while following the existing kube-up.sh docs and process. In general, i've struggled to find any authoritative information or answers to my questions in slack regarding CNI progress / correct integration, so comments encouraged here!
-
k8s-merge-robot authored
Automatic merge from submit-queue Update Dashboard UI addon to v1.0.1 Release details: https://github.com/kubernetes/dashboard/releases/tag/v1.0.1 CC @bryk
-
Lucas Käldström authored
Add a flannel image for arm and amd64. Cross-build debian-iptables for arm, arm64 and ppc64le. Build and push hyperkube for arm on every release
-
k8s-merge-robot authored
Automatic merge from submit-queue Fix typo
-
Marek Grabowski authored
Remove explicit docker api version from HollowNodes
-
gmarek authored
-
saadali authored
-
Matt Johnson authored
Files are taken from cluster/network-plugins/{bin,conf} to be consumed within a vagrant kube-up.sh environment. Paths used for configuration files and the 'cni' name of the network provider are all from the kubernetes documentation, but the actual implementation in the salt automation doesn't seem to exist. -
Matt Johnson authored
Use of NETWORK_PROVIDER=cni is documented as useable (as well as it's affects on the runtime args of kubelet), however the actual implimentation in the salt automation doesnt seem to exist. this change attempts to fix that for the vagrant usecase.
-
Marcin Maciaszczyk authored
Release details: https://github.com/kubernetes/dashboard/releases/tag/v1.0.1
-
- 03 Apr, 2016 8 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue Add zsh completion for kubectl This is based on the zsh emulation of the bash completion system (compare `bashcompinit` at http://zsh.sourceforge.net/Doc/Release/Completion-System.html). Because this emulation is not 100% complete, a number of functions are added or extended to work with the bash completion of kubectl.
-
k8s-merge-robot authored
Automatic merge from submit-queue Kubelet: Remove nsinit related code and bump up minimum docker apiversion Docker has native exec support after 1.3.x. We never need this code now. As for the apiversion, because Kubernetes supports 1.8.x - 1.10.x now, we should bump up the minimum docker apiversion. @yujuhong I checked the [changes](https://github.com/docker/engine-api/blob/master/types/versions/v1p20/types.go), we are not relying on any of those changes. So #23506 should work with docker 1.8.x+
-
k8s-merge-robot authored
Automatic merge from submit-queue use apply instead of create to setup namespaces and tokens in addon manager when the addon manager restarts, it takes ~15 minutes (1000 seconds) to start the sync loop because it retries creation of namespace and tokens 100 times. Create fails if the tokens already exist. Just use apply.
-
k8s-merge-robot authored
Automatic merge from submit-queue add an event for when a daemonset can't place a pod due to insufficen… …t resource or port conflict https://github.com/kubernetes/kubernetes/issues/23013#issuecomment-201076147
-
Dr. Stefan Schimanski authored
-
k8s-merge-robot authored
Automatic merge from submit-queue AWS kube-up: Bump jessie image
-
k8s-merge-robot authored
Automatic merge from submit-queue Move typed clients into clientset folder Move typed clients from `pkg/client/typed/` to `pkg/client/clientset_generated/${clientset_name}/typed`. The first commit changes the client-gen, the last commit updates the doc, other commits are just moving things around. @lavalamp @krousey -
k8s-merge-robot authored
Automatic merge from submit-queue stop creating secrets for dns, it uses the kube-system service account now
-
- 02 Apr, 2016 14 commits
-
-
k8s-merge-robot authored
Automatic merge from submit-queue relax restmapper resource matching We were matching case insensitive on Kinds, not Resources, thus driving me insane. @liggitt @caesarxuchao
-
Alex Robinson authored
Fix the link for unlabeled issues in the build cop guide.
-
k8s-merge-robot authored
Automatic merge from submit-queue add CoreKube to community resources
-
k8s-merge-robot authored
Automatic merge from submit-queue Juju kube up I found some problems with the kube-up script that this pull request addresses. We didn't have the kubectl binary in the correct location. Just changing where we download the package from the master, and fixing the kube-down.sh script to remove those files.
-
k8s-merge-robot authored
Automatic merge from submit-queue genericapiserver: Moving InstallSwaggerAPI to Run Ref https://github.com/kubernetes/kubernetes/pull/21190#discussion_r57494673 Moving InstallSwaggerAPI() from InstallAPIGroups() to Run(). This allows the use of InstallAPIGroups() multiple times or using InstallAPIGroup() directly. cc @jianhuiz @kubernetes/sig-api-machinery
-
k8s-merge-robot authored
Automatic merge from submit-queue AWS kube-up: tolerate a lack of ephemeral volumes Some users have requested the ability to _not_ use ephemeral volumes (local instance storage), but this also highlighted the fact that we likely fail to start on instance types with no instance storage (e.g. the c4 class instances). Confirming this fix, and then going to confirm that e.g. c4 is broken. If so this will be a cherry-pick candidate.
-
k8s-merge-robot authored
Automatic merge from submit-queue add missing attributes to authorization interface Plumb through missing attributes for authorization decisions. The request parser picked them up a while back, but they were never wired up in kube. This simply allows authorizers to use them, it doesn't require them to. @kubernetes/kube-iam
-
k8s-merge-robot authored
Automatic merge from submit-queue Check claimRef UID when processing a recycled PV, take 2 Reorder code a bit so it doesn't allow a case where you get some error other than "not found" combined with a non-nil Claim. Add test case. cc @kubernetes/rh-cluster-infra @kubernetes/rh-storage @liggitt
-
k8s-merge-robot authored
Automatic merge from submit-queue duplicate kube-apiserver to federated-apiserver duplicate the kube-apiserver source code to ube-apiserver and update references cluster specific api objects will be in separate PRs #19313, #21190 https://github.com/kubernetes/kubernetes/pull/21190#issuecomment-201551176 @nikhiljindal
-
k8s-merge-robot authored
Automatic merge from submit-queue Kubelet: Start using the official docker engine-api For #23563. This is the **first step** in the roadmap of switching to docker [engine-api](https://github.com/docker/engine-api). In this PR, I keep the old `DockerInterface` and implement it with the new engine-api. With this approach, we could switch to engine-api with minimum change, so that we could: * Test the engine-api without huge refactoring. * Send following PRs to refactor functions in `DockerInterface` separately so as to avoid a huge change in one PR. I've tested this PR locally, it passed all the node conformance test: ``` make test_e2e_node Ran 19 of 19 Specs in 823.395 seconds SUCCESS! -- 19 Passed | 0 Failed | 0 Pending | 0 Skipped PASS Ginkgo ran 1 suite in 13m49.429979585s Test Suite Passed ``` And it also passed the jenkins gce e2e test: ``` go run hack/e2e.go -test -v --test_args="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]" Ran 161 of 268 Specs in 4570.214 seconds SUCCESS! -- 161 Passed | 0 Failed | 0 Pending | 107 Skipped PASS Ginkgo ran 1 suite in 1h16m16.325934558s Test Suite Passed 2016/03/25 15:12:42 e2e.go:196: Step 'Ginkgo tests' finished in 1h16m18.918754301s ``` I'm writing the design document, and will post the switching roadmap in an umbrella issue soon. @kubernetes/sig-node
-
Thien-Thi Nguyen authored
-
k8s-merge-robot authored
Automatic merge from submit-queue Switch from api.ObjectMetaFor to meta.Accessor in most of places Fix #23278 @smarterclayton @lavalamp
-
k8s-merge-robot authored
Automatic merge from submit-queue minor edits to testing guide Noted a few small issues going through the getting started testing guide. Cheers, Mike Signed-off-by:mikebrow <brownwm@us.ibm.com>
-
k8s-merge-robot authored
Automatic merge from submit-queue Mark filename flags for completions Adds filename bash completion to some flags that were missing.
-