Commit Graph

37775 Commits (dc364b8ebba689044077acac23654758447d9a25)

Author SHA1 Message Date
Maciej Szulik dc364b8ebb Remove Job also from .status.active for Replace strategy 2016-10-25 21:44:03 +02:00
Kubernetes Submit Queue 3c84164bdf Merge pull request #33347 from justinsb/fix_32900
Automatic merge from submit-queue

bootstrap: Start hostNetwork pods even if network plugin not ready
2016-10-24 01:14:06 -07:00
Kubernetes Submit Queue 37dc74fa7c Merge pull request #34858 from Random-Liu/symlink-docker-log
Automatic merge from submit-queue

CRI: Symlink docker logs to CRI defined log path.

This PR symlink docker logs to the CRI defined log path.

I manually test myself, and it works. We still need some more unit test and a node e2e test.

@resouer is working on a node e2e test https://github.com/kubernetes/kubernetes/issues/34661.
For the unit test, the current `MakeFakePodSandbox` and `MakeFakeContainer` is not enough for unit test, because I need to create multiple instances for one container and sandbox to test garbage collection.

I'll send a separate PR to refactor the unit test framework in kuberuntime and finish the unit test.

@yujuhong @feiskyer 
/cc @kubernetes/sig-node
2016-10-23 20:40:44 -07:00
Random Liu fad4672e72 Add legacy container log location support. 2016-10-23 19:08:47 -07:00
Random-Liu 121a91eb12 Symlink docker logs to CRI defined log path. 2016-10-23 19:08:47 -07:00
Kubernetes Submit Queue a7db9bccb5 Merge pull request #35332 from apprenda/kubeadm-unit-tests-pkg-images
Automatic merge from submit-queue

kubeadm: added unit tests for app/images pkg

Added unit tests for kubeadm/app/images package testing functionality of images.go.

This PR is part of the ongoing effort to add tests (#35025)

/cc @pires @jbeda
2016-10-23 16:21:37 -07:00
Kubernetes Submit Queue fe76a864cf Merge pull request #34760 from bowei/boilerplate
Automatic merge from submit-queue

Add verbose mode to boilerplate

hack/verify-boilerplate.sh -v will now print out why the file does
not match along with a diff if possible.
2016-10-23 14:13:03 -07:00
Kubernetes Submit Queue 931f0df641 Merge pull request #35263 from mfanjie/fix-fed-e2e
Automatic merge from submit-queue

add required fields to test service

fix #35247
2016-10-23 05:24:36 -07:00
Kubernetes Submit Queue 432bbb5d5a Merge pull request #35246 from bowei/kubedns-logging
Automatic merge from submit-queue

Refactor some functions in kube-dns to reduce surface area

- Moves federation query path out to its own method
- Creates dns/util and moves some trivial methods to that package

This is just moving of code.
2016-10-22 23:15:25 -07:00
Bowei Du 65966995e9 Update linted_packages 2016-10-22 21:40:08 -07:00
Bowei Du a6550b332e Add verbose mode to boilerplate
hack/verify-boilerplate.sh -v will now print out why the file does
not match along with a diff if possible.

Note: boilerplate.py now has a unit test that is run along with
hack/verify-boilerplate.sh.
2016-10-22 21:40:08 -07:00
Kubernetes Submit Queue 373be74d75 Merge pull request #35384 from mikedanese/disable
Automatic merge from submit-queue

disable bazel build

until we figure out what to do with mac
2016-10-22 18:01:00 -07:00
Kubernetes Submit Queue 1bd46e5a4e Merge pull request #35265 from redhatlinux10/master-patch-optimise-kubeadm-join-args-generation
Automatic merge from submit-queue

enhance join arguments generation logic using template

**What this PR does / why we need it**:
this PR enhances kubeadm join arguments generation logic using template, this makes code more readable and adding arguments more  easier.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
```

Signed-off-by: 欧阳钦华10079130 <ouyang.qinhua@zte.com.cn>
2016-10-22 17:15:59 -07:00
Kubernetes Submit Queue 8b85b9ea47 Merge pull request #35375 from mikedanese/uncompiling
Automatic merge from submit-queue

e2e: delete cleanup main that isn't compiling
2016-10-22 16:26:57 -07:00
Mike Danese ee15c80de2 disable bazel build 2016-10-22 15:50:06 -07:00
欧阳钦华10079130 8bbeae02d3 enhance join arguments generation logic using template
Signed-off-by: 欧阳钦华10079130 <ouyang.qinhua@zte.com.cn>

change JoinArgsData to joinArgsData, improve template readability

Signed-off-by: redhatlinux10 <ouyang.qinhua@zte.com.cn>

fix extra = type

Signed-off-by: redhatlinux10 <ouyang.qinhua@zte.com.cn>
2016-10-23 06:38:14 +08:00
Kubernetes Submit Queue 081ee2d5ad Merge pull request #34090 from mwielgus/designdoc-rs
Automatic merge from submit-queue

Federated replica set design doc

cc: @quinton-hoole @kubernetes/sig-cluster-federation
2016-10-22 14:55:29 -07:00
Marcin Wielgus c44897f97d Federated replica set design doc 2016-10-22 23:05:35 +02:00
David McMahon 84c89416c0 Update CHANGELOG.md for v1.2.7. 2016-10-22 13:34:07 -07:00
Kubernetes Submit Queue 1b618b473f Merge pull request #35259 from feiskyer/fix-mount
Automatic merge from submit-queue

Fix compile error on non-linux platform

Fix #35252

cc/ @smarterclayton @spxtr
2016-10-22 11:48:39 -07:00
Mike Danese 76a754db84 e2e:delete cleanup util that isn't compiling 2016-10-22 10:21:37 -07:00
Justin Santa Barbara 6465742da1 Update bringup: don't pass in dummy pod-cidr
We no longer pass in a "dummy" pod-cidr (10.123.45.0/29), and rely on
reconcile-cidr=true instead (which is the default).
2016-10-22 11:16:19 -04:00
Kubernetes Submit Queue cab99c7022 Merge pull request #32590 from sttts/sttts-post-api-routes
Automatic merge from submit-queue

Factor out post-init swagger and OpenAPI routes
2016-10-22 06:57:52 -07:00
Dr. Stefan Schimanski 05fcc6b56a Update bazel 2016-10-22 14:31:56 +02:00
Dr. Stefan Schimanski cca05af615 Move swagger+openapi setup to routes and decouple from run 2016-10-22 13:42:22 +02:00
Kubernetes Submit Queue 77c53fd1a1 Merge pull request #34691 from mbohlool/co2
Automatic merge from submit-queue

Add authentication to openapi Spec

We need authentication definition in OpenAPI spec to be able to generate a client with authorization.
2016-10-22 04:23:06 -07:00
mbohlool cd5643b85c Update bazel 2016-10-22 02:50:33 -07:00
mbohlool a6517173ee Generated openapi spec 2016-10-22 02:43:42 -07:00
mbohlool 3e67cf8b9b Add authentication to openapi Spec 2016-10-22 02:43:42 -07:00
Kubernetes Submit Queue eeae8b5975 Merge pull request #35294 from wojtek-t/kubelet_get_from_cache
Automatic merge from submit-queue

Kubelet getting node from apiserver cache before update.

This is blocked on #35218 (however it's ready for review).

It seems to visibly reduce the apiserver metrics (and I didn't observe higher number of conflicts even in 2000-node kubemark).
2016-10-22 01:59:57 -07:00
Kubernetes Submit Queue fdce738113 Merge pull request #35352 from MrHohn/e2e-service-todo
Automatic merge from submit-queue

service e2e: remove TODO and subtle changes in logging

Removes the stale `TODO` for external source IP preservation as the e2e test of ESIPP was added.

Changes logging in create service functions: namespace/namespace -> namespace/serviceName.

@bprashanth
2016-10-21 23:46:18 -07:00
Wojciech Tyczynski ee73fcdadb Update kubelet_node_status.go 2016-10-22 08:44:25 +02:00
Kubernetes Submit Queue 292004ace0 Merge pull request #35346 from bprashanth/glcoud_regex
Automatic merge from submit-queue

substitute gcloud regex with regexp

fixes https://github.com/kubernetes/kubernetes/issues/33840
2016-10-21 20:33:28 -07:00
Kubernetes Submit Queue ea344e31e1 Merge pull request #35325 from sjenning/ignore-etcd-data-dir
Automatic merge from submit-queue

ignore default.etcd directory

When using `hack/install-etcd.sh`, `/default.etcd` is created for the data directory.  Add that to `.gitignore`.

```release-note
NONE
```
2016-10-21 19:47:53 -07:00
Kubernetes Submit Queue 24144be499 Merge pull request #34058 from euank/volume-qualifications
Automatic merge from submit-queue

proposals: Add Volume Hostpath "type" proposal

This is a continuation of #31384. It's related to #26816 as well.
The discussion in #31384 is worth reading and this proposal largely derives from my comments there.

cc @thockin @pmorie @saad-ali @kubernetes/sig-storage 
cc @yujuhong since it talks briefly about kubelet doing more

cc @calebamiles I think we might need a "Feature" for this since it's an api change, though a minor one?
2016-10-21 19:47:41 -07:00
Kubernetes Submit Queue cf376e8b8f Merge pull request #35331 from bprashanth/ingress_gcloud
Automatic merge from submit-queue

Allocate static-ip through cloudprovider library instead of gcloud

Fixes https://github.com/kubernetes/kubernetes/issues/33840
https://github.com/kubernetes/kubernetes/issues/33840#issuecomment-255277349 for details
2016-10-21 18:58:29 -07:00
Zihong Zheng e54e198b8a service e2e: remove TODO and subtle changes in logging 2016-10-21 18:44:15 -07:00
bprashanth 6e31263115 substitute gcloud regex with regexp 2016-10-21 18:20:38 -07:00
Kubernetes Submit Queue 8f23ca06e4 Merge pull request #32774 from mikedanese/bazel
Automatic merge from submit-queue

support building with bazel

```
$  bazel version
Build label: 0.3.1
Build target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jul 29 09:09:52 2016 (1469783392)
Build timestamp: 1469783392
Build timestamp as int: 1469783392
```
is my bazel version
```
bazel build //cmd/...
```
mostly works.
```
bazel test //pkg/...
```
kind of works.

ref #23236

@thockin @madhusudancs @krousey
2016-10-21 18:15:29 -07:00
Mike Danese 999c967767 ignore BUILD in the flags-underscore.py validation 2016-10-21 17:32:33 -07:00
Mike Danese b250a8809d don't check BUILD file when verifying godeps 2016-10-21 17:32:33 -07:00
Mike Danese 64ca9decae add some docs about building with bazel 2016-10-21 17:32:33 -07:00
Mike Danese a2eec91a53 add bazel presubmits to verify BUILD files are up to date 2016-10-21 17:32:33 -07:00
Mike Danese df713b478c fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
Mike Danese 3b6a067afc autogenerated 2016-10-21 17:32:32 -07:00
Mike Danese 88c1ee28ed gazel 2016-10-21 17:31:54 -07:00
Kubernetes Submit Queue 990cfe1516 Merge pull request #35248 from bprashanth/fix_e2e
Automatic merge from submit-queue

Fix poll to not fail on first error

Fixes https://github.com/kubernetes/kubernetes/issues/35225
I hope. No repro locally.
2016-10-21 16:57:44 -07:00
Kubernetes Submit Queue a7807eb5a4 Merge pull request #34138 from ingvagabund/create-restclient-interface
Automatic merge from submit-queue

Create restclient interface

Refactoring of code to allow replace *restclient.RESTClient with any RESTClient implementation that implements restclient.RESTClientInterface interface.
2016-10-21 16:02:04 -07:00
Kubernetes Submit Queue 73e89ba0ec Merge pull request #35124 from errordeveloper/fix-33916
Automatic merge from submit-queue

Eliminate half-baked multi-architecture support

**What this PR does / why we need it**:

We have release `kubeadm` with half-baked support for clusters with nodes of different CPU architectures. The problem with the code as it stand is that user will notice pending daemonsets of `kube-proxy` for machines with architectures that they don't have. At the same time, the code as it stand did not pick up correct images for architectures it wanted to allow. Additionally, it only treated `kube-proxy` in such a way, but didn't do anything about `kube-dns`. This removes multiple daemonesets, but ensures that whichever resources we deploy have node affinity set to the architecture native to the master. Users wishing to use mixed architectures can still create extra daemonsets via the API.

**Which issue this PR fixes**: fixes #33916

**Release note**:
```release-note
Remove support for multi-architecture code in `kubeadm`, which was released untested.
```
2016-10-21 15:19:05 -07:00
Derek McQuay 3765c846a4
kubeadm: added unit tests for app/images pkg 2016-10-21 14:47:46 -07:00