Commit Graph

35742 Commits

Author SHA1 Message Date
Vish Kannan
a1fe3adbc7 Revert "Revert "[kubelet] Fix oom-score-adj policy in kubelet"" 2016-09-16 16:32:58 -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
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
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
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
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
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
Kubernetes Submit Queue
15f619167d Merge pull request #31463 from fabianofranz/line_break_when_no_events_in_describe
Automatic merge from submit-queue

Add a line break when no events in describe

**What this PR does / why we need it**: Adds a line break in the events describer in case of no events. Without this fix, after 6caf4d5a3f a describe without events would result in no line break before exiting to terminal.

```
$ oc describe pod mypod
Name:			mypod
Namespace:		mynamespace
(...)
QoS Tier:	BestEffort
No events.user@localhost ~$
```

```release-note
Add line break after events in kubectl describe
```
2016-09-16 06:25:40 -07:00
Wojciech Tyczynski
90cbef418f Decrease timeout for namespace creation in test 2016-09-16 14:57:10 +02:00
Kubernetes Submit Queue
a665002d80 Merge pull request #29684 from bprashanth/log_tun
Automatic merge from submit-queue

Change log level to reduce spam

Periodically dumping ips of all nodes in large clusters is a little spammy
2016-09-16 05:51:07 -07:00
Kubernetes Submit Queue
8c48469213 Merge pull request #32353 from smarterclayton/stable_sort
Automatic merge from submit-queue

Doc page for scheduler is not stable (for man pages)

Need to sort maps that are included in help output
2016-09-16 05:44:33 -07:00
Kubernetes Submit Queue
a4ee71ec10 Merge pull request #32859 from Starefossen/patch-1
Automatic merge from submit-queue

examples/javaee: fix resource type abbreviation for service

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

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

This corrects an incorrect command in the documentations for the javaee example application. On newer versions of Kubernetes you get the following error when you run `kubectl get -w se`

```
the server doesn't have a resource type "se"
```

The correct command should be `kubectl get -w svc`.

**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
examples/javaee: fix resource type abbreviation for service
```
2016-09-16 05:44:28 -07:00
Kubernetes Submit Queue
d3235448ca Merge pull request #32861 from wojtek-t/fix_density_test
Automatic merge from submit-queue

Fix removing RCs in density test

Ref #32571
2016-09-16 05:44:23 -07:00
Kubernetes Submit Queue
60840140ab Merge pull request #31437 from jszczepkowski/ha-poc-debian2
Automatic merge from submit-queue

Implemented creation of HA master for GCE on debian.
2016-09-16 05:44:18 -07:00
Kubernetes Submit Queue
e8fbcb1669 Merge pull request #32654 from soltysh/sj_clientset
Automatic merge from submit-queue

Switch ScheduledJob controller to use clientset

**What this PR does / why we need it**:
This is part of #25442. I've applied here the same fix I've applied in the manual client in #29187, see the 1st commit for that (@caesarxuchao we've talked about it in #29856).

@deads2k as promised 
@janetkuo ptal
2016-09-16 05:03:57 -07:00
Kubernetes Submit Queue
00a203df1e Merge pull request #32765 from wojtek-t/extend_kubemark_logs
Automatic merge from submit-queue

Extend logging for debugging kubemark problems

Ref #32441
2016-09-16 04:23:39 -07:00
Kubernetes Submit Queue
6910d40337 Merge pull request #32484 from soltysh/sj_e2e_kubectl
Automatic merge from submit-queue

Add kubectl run ScheduledJob e2e test

**What this PR does / why we need it**:
This add another `kubectl run` e2e test, this time verifying proper creation of a ScheduledJob. 

@janetkuo ptal
@deads2k that should give you more confidence when ditching manual clients
2016-09-16 04:23:34 -07:00
Wojciech Tyczynski
767bc90a20 Fix removing RCs in density test 2016-09-16 13:13:02 +02:00
Hans Kristian Flaatten
2a1100689b examples/javaee: fix resource type abbreviation for service 2016-09-16 12:34:52 +02:00
Kubernetes Submit Queue
5a8d0a198c Merge pull request #32855 from wojtek-t/extend_logs_for_upgrade
Automatic merge from submit-queue

Extend logs for debugging upgrade test failures
2016-09-16 03:17:30 -07:00
Marek Grabowski
5fc62c2333 Merge pull request #32814 from bprashanth/kubeup
Retrieve username/password from basicauth section of kubeconfig
2016-09-16 11:41:17 +02:00
Wojciech Tyczynski
086f7df09a Extend logging for debugging kubemark problems 2016-09-16 11:25:06 +02:00
Kubernetes Submit Queue
c3374a0d49 Merge pull request #32782 from guangxuli/k8s_opts
Automatic merge from submit-queue

add break when found value
2016-09-16 02:11:46 -07:00
Wojciech Tyczynski
ed88a03944 Extend logs for debugging upgrade test failures 2016-09-16 10:52:14 +02:00
Kubernetes Submit Queue
0d9685b0b5 Merge pull request #32805 from caesarxuchao/more-gc-optimization
Automatic merge from submit-queue

Add the uid in a delete event to the absentOwnerCache

This is a small optimization to further reduce the traffic sent by the GC.

In #31167, GC caches the non-existent owners when it processes the dirtyQueue. As discovered in #32571, there is still small inefficiency, because there are multiple goroutines processing the dirtyQueue, many of them might send a GET to the apiserver before the cache gets populated.

This PR populates the cache when GC observes an object gets deleted, which happens before the processing of the dirtyQueue, so it avoids the simultaneous GET sent by the GC workers.

cc @lavalamp
2016-09-16 00:40:24 -07:00
Vish Kannan
1534415323 Merge pull request #32848 from vishh/fix-upgrade-script
support image type override for real in upgrade.sh script
2016-09-16 00:01:46 -07:00
Kubernetes Submit Queue
d69cdce704 Merge pull request #32820 from coufon/change_collector_log
Automatic merge from submit-queue

change the error log for empty resource usage

This PR changes the error log for empty resource usage buffer for a container to be more clear. It happens when the container name is wrong, or cAdvisor somehow does not response.
2016-09-15 23:54:34 -07:00
Vishnu kannan
ff5081cce5 support image type override for real in upgrade.sh script
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-15 23:16:44 -07:00
Kubernetes Submit Queue
5975535daa Merge pull request #31030 from jayunit100/config-e2e-file-2
Automatic merge from submit-queue

Add Viper parametrization as E2E config option.

do-not-merge 

Fixes #18099 via viper rather than inis.  
Wont build until we remove BurntSushi/ COPYING based deps from upstream viper.
I'll dig into those issues independently and update later, before pushing the updated godeps into this PR.
2016-09-15 23:13:13 -07:00
Vish Kannan
e9350bcd07 Merge pull request #32840 from Random-Liu/keep-os-distro-during-upgrade
Node Upgrade: Change the upgrade script to keep os distro during upgrade.
2016-09-15 23:07:41 -07:00