Commit Graph

37879 Commits

Author SHA1 Message Date
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
Ritesh H Shukla
14cd178076 vSphere Kube-up: resolve vm-names on all nodes.
vm-names are used for vSphere cloud provider and they need to
resolution for log collection to work.
2016-10-22 09:36:06 +00: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
Ivan Mikushin
82059781d1 addon-manager: remove kube-addon-update.sh from Dockerfile
the file no longer exists, so the build fails trying to add this file
2016-10-21 15:47:31 -07:00
Vishnu Kannan
ac4ca7ff01 Adding a new docker container for performing mounts on GCI
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-10-21 15:47:19 -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
Kubernetes Submit Queue
d20dda0c06 Merge pull request #35309 from yujuhong/fix_restarts
Automatic merge from submit-queue

CRI: Handle container/sandbox restarts for pod with RestartPolicy == …

If all sandbox and containers are dead in a pod, and the restart policy is
"Never", kubelet should not try to recreate all of them.
2016-10-21 14:35:06 -07:00
Kubernetes Submit Queue
bdaf502ff4 Merge pull request #34094 from nebril/hless-to-nonhless-ip
Automatic merge from submit-queue

Deny service ClusterIP update from `None`

**What this PR does / why we need it**: Headless service should not be transformed into a service with ClusterIP, therefore update of this field if it's set to `None` is disallowed.

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

**Release note**:
```release-note
Changing service ClusterIP from `None` is not allowed anymore.
```
2016-10-21 14:34:56 -07:00
bprashanth
692e440d6e Allocate static-ip through cloudprovider library instead of gcloud 2016-10-21 14:29:25 -07:00
Seth Jennings
aa09a604a6 ignore default.etcd directory 2016-10-21 15:51:12 -05:00
Vishnu Kannan
79eda6779f Adding a new docker container for performing mounts on GCI
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2016-10-21 13:15:42 -07:00
Avesh Agarwal
feaeb2a25c Do not log stack trace for the error http.StatusBadRequest (400). 2016-10-21 14:05:37 -04:00