Commit Graph

35935 Commits

Author SHA1 Message Date
Paul Morie
88acffcda1 Fix error message around gcloud calls in node e2e and gubernator 2016-09-17 01:05:20 -04:00
Kubernetes Submit Queue
294502685c Merge pull request #30577 from chrislovecnm/cassandra-petset
Automatic merge from submit-queue

Pet Set Example for Cassandra

- updating cassandra to 3.7
- added pet set example
- adding pet set for Cassandra e2e tests
- changed service as we do not want a lb service, as we are running C*
- updated docs

cc @bgrant0607 

cc @kubernetes/examples 

We can probably close a couple of other open PR, since I did some other stuff.
2016-09-16 21:56:18 -07:00
Yanqiang Miao
ed3b3ad47d delete a unused function in the 'pkg/kubectl/cmd/util/helpers.go'
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>

update

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2016-09-17 12:43:59 +08:00
Kubernetes Submit Queue
83e887fae3 Merge pull request #32773 from kargakis/test-ownership
Automatic merge from submit-queue

test: add/remove myself from tests appropriately

Added/removed myself from tests and run the pythong script that updates the csv

@fejta ptal
2016-09-16 21:14:58 -07:00
Kubernetes Submit Queue
051ee17094 Merge pull request #30815 from ymqytw/refactoring
Automatic merge from submit-queue

Fixes #30562: Refactor kubectl command options to use common struct for common file params

Fixes #30562 : Refactor common go struct options in pkg/kubectl/cmd/*.go.
@pwittrock
2016-09-16 19:48:22 -07:00
Paul Morie
78d268e7d3 Make container exec failures in e2e easier to debug 2016-09-16 22:05:00 -04:00
Kubernetes Submit Queue
3718fd1f89 Merge pull request #32913 from mtaufen/containervm-default-again
Automatic merge from submit-queue

Revert "Merge pull request #31023 from vishh/gci-default"

This reverts PR #31023, which had made GCI the default node image for open source. This revert makes container-vm the default for open source again.
2016-09-16 18:29:19 -07:00
Yifan Gu
5389a74388 kubenet: SyncHostports for both running and ready to run pods.
This fixes the race that happens in rktnetes when pod B invokes
'kubenet.SetUpPod()' before another pod A becomes actually running.

The second 'kubenet.SetUpPod()' call will not pick up the pod A
and thus overwrite the host port iptable rules that breaks pod A.

This PR fixes the case by listing all 'active pods' (all non-exited
pods) instead of only running pods.
2016-09-16 17:29:44 -07:00
Abrar Shivani
57180093af Support for storage class for vSphere volume plugin. Custom disk format for dynamic provisioning. 2016-09-16 17:15:38 -07:00
Vish Kannan
a1fe3adbc7 Revert "Revert "[kubelet] Fix oom-score-adj policy in kubelet"" 2016-09-16 16:32:58 -07:00
Hongchao Deng
5a4a095e29 etcd watcher: centralize error handling 2016-09-16 15:31:49 -07:00
Michael Taufen
2a536bf6f5 Revert "Merge pull request #31023 from vishh/gci-default"
This reverts PR #31023, which had made GCI the default node image for
open source. This revert makes container-vm the default for open source again.
2016-09-16 15:16:53 -07:00
Yu-Ju Hong
7ada99181c Limit the number of names per image reported in the node status 2016-09-16 15:16:08 -07:00
Kubernetes Submit Queue
af3050dd15 Merge pull request #32835 from yujuhong/docker_annotations
Automatic merge from submit-queue

dockershim: support annotations and filtering by sandbox ID
2016-09-16 14:17:03 -07:00
Kubernetes Submit Queue
dae3bddf90 Merge pull request #32884 from Random-Liu/separate-build-for-node-e2e
Automatic merge from submit-queue

Add separate build process for node test.

This PR is part of https://github.com/kubernetes/kubernetes/pull/31093. However, because currently node e2e is built on `KUBE_TEST_PLATFORMS`, which includes linux/amd64, darwin/amd64, windows/amd64 and linux/arm, it caused #32251 to fail.

In fact, node e2e is running on the same node with kubelet, and it also has built-in apiserver, etcd and namespace controller. All of them are only built on `KUBE_SERVER_PLATFORMS`, so node e2e should also only be built on those platforms.
```
KUBE_SERVER_PLATFORMS=(
     linux/amd64
     linux/arm
     linux/arm64
   )
```

This PR added a separate build process for node e2e to address this.

@vishh Do you need this for v1.4? because this blocks your #32251. /cc @dchen1107
2016-09-16 14:16:57 -07:00
Phillip Wittrock
9471f405bb Update CHANGELOG.md for v1.4.0-beta.6. 2016-09-16 14:09:44 -07:00
chrislovecnm
69146b7fd1 fixing links 2016-09-16 14:55:42 -06:00
Minhan Xia
879a2dcdbd bump master cidr range from /30 to /29 2016-09-16 13:41:58 -07:00
Kubernetes Submit Queue
d353f01025 Merge pull request #32892 from rmmh/error
Automatic merge from submit-queue

Make sh2ju not print 'error: 0' lines.

They cause false positives on Gubernator when it's looking for error
reasons.
2016-09-16 13:35:08 -07:00
Matt Liggett
3204e575cf Increase schedulingTimeout due to flakiness even at 5m. 2016-09-16 13:34:19 -07:00
deads2k
6a521c863e re-enable dynamic provisioning test on gke 2016-09-16 16:16:14 -04:00
deads2k
862415aaa2 make --include-extended-apis deprecated and remove plumbing 2016-09-16 16:05:52 -04:00
Janet Kuo
30512f909d Improve error message when kubectl rolling-update fail due to version skew
Print the real error message first, the workaround later
2016-09-16 13:00:55 -07:00
deads2k
1943d256d2 make rbac authorizer use rule comparison, not covers 2016-09-16 15:53:42 -04:00
Kubernetes Submit Queue
9bc7e36f4b Merge pull request #32517 from luxas/fix_arm_ppc64le
Automatic merge from submit-queue

Use a patched golang version for building linux/arm

Fixes: #29904

Right now, linux/arm is broken because of an internal limitation in Go.
I've filed an issue for it here: https://github.com/golang/go/issues/17028

The affected binaries of this limitation are hyperkube and kube-apiserver, which are the largest binaries.

And when we now have a patched go 1.7.1 version for building "unsupported" but important architectures (ref: https://github.com/kubernetes/kubernetes/blob/master/docs/proposals/multi-platform.md), we should also include the patch for ppc64le and start building ppc64le again. 

As soon as @laboger has the patch I need up on Github, I'll include ppc64le to this PR and we'll merge it

TODO:
 - [ ] ~~Update the PR with patches for ppc64le at the same time @luxas~~
 - [x] Push the new kube-cross image @ixdy 
 - [x] Run a full `make release` before to verify nothing breaks @luxas + @ixdy 
 - [ ] Cherrypick into the 1.4 branch @luxas + (who?)

@lavalamp @smarterclayton @ixdy @rsc @davecheney @wojtek-t @jfrazelle @bradfitz @david-mcmahon @pwittrock
2016-09-16 12:52:17 -07:00
chrislovecnm
0f6d2d47f1 removed old doc 2016-09-16 13:44:12 -06:00
Ryan Hitchman
b4ee0f22d0 Make sh2ju not print 'error: 0' lines.
They cause false positives on Gubernator when it's looking for error
reasons.
2016-09-16 12:22:11 -07:00
Kubernetes Submit Queue
32ba5815ee Merge pull request #32879 from wojtek-t/copy_logs_rotated
Automatic merge from submit-queue

Copy rotated logs in e2e tests

@gmarek - FYI
2016-09-16 12:10:22 -07:00
Wojciech Tyczynski
d7d6249781 Don't update NodeNetworkUnavailable condition if it's already set correctly 2016-09-16 21:03:20 +02:00
deads2k
1bf17eb4e9 change factorization of listers to make them easier to add 2016-09-16 14:49:00 -04:00
Yu-Ju Hong
73f30b18e4 dockershim: support filter containers by sandbox ID 2016-09-16 11:31:15 -07:00
Yu-Ju Hong
2f60b72dd3 dockershim: add support for annotations 2016-09-16 11:31:15 -07:00
Kubernetes Submit Queue
ce5e0dabf9 Merge pull request #31854 from humblec/glusterfs-readme-DP-update
Automatic merge from submit-queue

Update GlusterFS provisioning readme with endpoint/service details
2016-09-16 11:27:20 -07:00
Kubernetes Submit Queue
791116476f Merge pull request #32348 from asalkeld/metrics-nil-spammy
Automatic merge from submit-queue

Disambiguate unsupported metrics from metrics errors

**What this PR does / why we need it**:
Stop logging "metrics are not supported for MetricsNil Volumes" as it spams the log.

**Which issue this PR fixes** 
fixes #20676, fixes #27373

**Special notes for your reviewer**:
None

**Release note**:
```release-note
Don't log "metrics are not supported for MetricsNil Volumes"
```
2016-09-16 11:27:15 -07:00
Random-Liu
a67fec6419 Add separate build process for node test. 2016-09-16 11:17:49 -07:00
Yu-Ju Hong
5e318cd749 CRI: add annotations to PodSandbox
Both Container and ContainerStatus includes labels and annotations. PodSandbox
should be consistent with that.
2016-09-16 11:09:24 -07:00
Yu-Ju Hong
fd70d94330 dockershim: fix sandbox/container filtering 2016-09-16 11:09:24 -07:00
Wojciech Tyczynski
07476fa658 Copy rotated logs in e2e tests 2016-09-16 19:12:18 +02:00
Humble Chirammal
a601e8ad25 Update glusterfs provisioner readme with endpoint/service details.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2016-09-16 22:14:19 +05:30
Kubernetes Submit Queue
e5a84398db Merge pull request #32836 from yujuhong/fix_nil_ptr
Automatic merge from submit-queue

kuberuntime: fix nil pointer dereference in killPodWithSyncResult

This fixes #32742
2016-09-16 09:40:03 -07:00
Kubernetes Submit Queue
2ca15b9f76 Merge pull request #32815 from deads2k/controller-02-daemonset-informer
Automatic merge from submit-queue

convert daemonset controller to shared informers

Convert the daemonset controller completely to `SharedInformers` for its list/watch resources.

@kubernetes/rh-cluster-infra @ncdc
2016-09-16 09:39:57 -07:00
Kubernetes Submit Queue
12d916750e Merge pull request #32387 from sttts/sttts-handler-cleanup
Automatic merge from submit-queue

Cleanup non-rest apiserver handlers

- rename MuxHelper -> PathRecorderMux
- move non-rest handlers into routes packages within genericapiserver and `pkg/routes` (those from master)
- move ui and logs handlers out of genericapiserver (they are
  not generic)
- make version handler configurable (`config.EnableVersion`)
2016-09-16 08:58:06 -07:00
Yu-Ju Hong
18f230c524 kuberuntime: fix nil pointer dereference in killPodWithSyncResult 2016-09-16 08:38:11 -07:00
Kubernetes Submit Queue
224cbeede5 Merge pull request #32871 from wojtek-t/speedup_pod_deletion
Automatic merge from submit-queue

Speedup pod deletion in density test

Ref #32571
2016-09-16 08:20:46 -07:00
Kubernetes Submit Queue
fe9baa5d1e Merge pull request #32870 from huang195/fix_typo
Automatic merge from submit-queue

fix a typo

pporf -> pprof to correct a typo
2016-09-16 08:20:41 -07:00
Jerzy Szczepkowski
58c8992590 Implemented KUBE_DELETE_NODES flag in kube-down.
Implemented KUBE_DELETE_NODES flag in kube-down script.
It prevents removal of nodes when shutting down a HA master replica.
2016-09-16 16:51:52 +02:00
deads2k
234d68be83 convert daemonset controller to shared informers 2016-09-16 10:40:46 -04:00
Wojciech Tyczynski
5aed7aef22 Speedup pod deletion in density test 2016-09-16 16:14:33 +02:00
Kubernetes Submit Queue
0dc72b7522 Merge pull request #32866 from wojtek-t/decrease_namespace_creation_timeout
Automatic merge from submit-queue

Decrease timeout for namespace creation in test

If apiserver is unresponsive (e.g. because of crashloop or sth), we are wasting a lot of test time on retries.
2016-09-16 06:52:43 -07:00
Hai Huang
192825bc5e fix a typo 2016-09-16 09:42:29 -04:00