Commit Graph

39322 Commits

Author SHA1 Message Date
AdoHe
67f6754e0f kubectl resource filter convert unstructured obj before apply filter func 2016-11-19 13:03:39 +08:00
Kubernetes Submit Queue
1de096bd52 Merge pull request #37135 from feiskyer/seccomp2
Automatic merge from submit-queue

CRI: address knows issues of seccomp

For https://github.com/kubernetes/kubernetes/issues/36997.

To move forward, we decided to list seccomp profile path problem as a know issue in CRI (see [here](https://github.com/kubernetes/kubernetes/issues/36997#issuecomment-261673120)).

cc/ @yujuhong @euank @kubernetes/sig-node
2016-11-18 20:45:12 -08:00
Kubernetes Submit Queue
fa0eb19bcc Merge pull request #37114 from mikedanese/fix-bzl
Automatic merge from submit-queue

	revert revert of test/e2e/generated/BUILD
2016-11-18 17:03:38 -08:00
Kubernetes Submit Queue
c183664c55 Merge pull request #36630 from nikhiljindal/E2edsi
Automatic merge from submit-queue

Adding e2e tests for validating cascading deletion of federation resources

Ref https://github.com/kubernetes/kubernetes/issues/33612

Adding e2e tests for code in https://github.com/kubernetes/kubernetes/pull/36330 and https://github.com/kubernetes/kubernetes/pull/36476.

Adding test cases to ensure that cascading deletion happens as expected.
Also adding code to ensure that all resources are cleaned up in AfterEach.

cc @kubernetes/sig-cluster-federation @caesarxuchao @madhusudancs
2016-11-18 17:03:27 -08:00
Pengfei Ni
8322e5091e CRI: address knows issues of seccomp 2016-11-19 08:35:13 +08:00
Kubernetes Submit Queue
95ab8065c6 Merge pull request #36840 from jingxu97/Nov/aws-volumeid
Automatic merge from submit-queue

fix issue in converting aws volume id from mount paths

This PR is to fix the issue in converting aws volume id from mount
paths. Currently there are three aws volume id formats supported. The
following lists example of those three formats and their corresponding
global mount paths:
1. aws:///vol-123456
(/var/lib/kubelet/plugins/kubernetes.io/aws-ebs/mounts/aws/vol-123456)
2. aws://us-east-1/vol-123456
(/var/lib/kubelet/plugins/kubernetes.io/mounts/aws/us-est-1/vol-123455)
3. vol-123456
(/var/lib/kubelet/plugins/kubernetes.io/mounts/aws/us-est-1/vol-123455)

For the first two cases, we need to check the mount path and convert
them back to the original format.

This PR fixes #36269
2016-11-18 15:17:20 -08:00
saadali
93ef4aa88c Update CHANGELOG.md for v1.5.0-beta.1. 2016-11-18 14:55:19 -08:00
nikhiljindal
90645ce2b7 Automated bazel and owner changes 2016-11-18 14:44:06 -08:00
nikhiljindal
14246a9494 Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
Kubernetes Submit Queue
7c56879c1d Merge pull request #37008 from mtaufen/update-changelog
Automatic merge from submit-queue

Include gci-beta-55-8872-47 changelog in K8s changelog

@jessfraz This should be cherry-picked into 1.4 as well.

I just kept the GCI changelog format similar to what they do [here](https://cloud.google.com/container-optimized-os/docs/resources/release-notes). Is there a preferred format for this type of content in the K8s changelog?
2016-11-18 14:25:48 -08:00
Antoine Pelisse
8a27baeaf5 Merge pull request #37125 from kubernetes/revert-37085-rv
Revert "Add fast-path for Listing with ResourceVersion=0"
2016-11-18 14:16:38 -08:00
Antoine Pelisse
e7bc178829 Revert "Add fast-path for Listing with ResourceVersion=0" 2016-11-18 14:15:08 -08:00
Mike Danese
bfb8902e44 fix test/e2e/ compilation 2016-11-18 14:09:35 -08:00
Kubernetes Submit Queue
38ec2974a2 Merge pull request #36788 from MrHohn/svc-sourceranges-fix
Automatic merge from submit-queue

Bug fix: Allows user to change service type when sourceRanges is declared.

Fixes #36784.

Adds logic in validation to make changing service type possible when sourceRanges is declared.

@bowei @bprashanth
2016-11-18 13:13:33 -08:00
Kubernetes Submit Queue
d94523705b Merge pull request #36824 from erictune/cluster-typo
Automatic merge from submit-queue

Fix typo in cluster/gce/util.sh

Somehow the gcloud command is written as "cloud".
2016-11-18 12:35:33 -08:00
Michael Taufen
b22772e290 Include gci-beta-55-8872-47 changelog in K8s changelog 2016-11-18 11:31:12 -08:00
Mike Danese
ea192ddb28 revert revert of test/e2e/generated/BUILD
broken in fad1990eaa
2016-11-18 11:24:19 -08:00
Kubernetes Submit Queue
577991b0ab Merge pull request #37095 from gmarek/kubemark_logrotation
Automatic merge from submit-queue

Add log rotation to kubemark

We were running out of disk in our large cluster tests, as we didn't have log rotation enabled.

cc @saad-ali
2016-11-18 10:35:46 -08:00
Kubernetes Submit Queue
9d4f94dcec Merge pull request #37085 from gmarek/rv
Automatic merge from submit-queue

Add fast-path for Listing with ResourceVersion=0

We slightly change the behavior, but we keep the current contract, so release note is not needed.

cc @saad-ali
2016-11-18 09:45:11 -08:00
Tim Hockin
c02df2f694 Merge pull request #37068 from porridge/correct-path-expansion
Fix quoting of $PATH in instructions.
2016-11-18 18:14:22 +01:00
Kubernetes Submit Queue
f90d879204 Merge pull request #36827 from jsafrane/fix-recycler-pod-name
Automatic merge from submit-queue

Fix recycler pod deletion race.

We should use clone of recycler pod template instead of reusing the same
one for two or more recyclers running in parallel.

Also add some logs to relevant places to spot the error easily next time.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1392338
2016-11-18 09:05:11 -08:00
Kubernetes Submit Queue
15bbd11bbf Merge pull request #35967 from saturnism/patch-2
Automatic merge from submit-queue

Append newline to the "deleted context ... " and "deleted cluster" message

**What this PR does / why we need it**: Append newline to the "deleted context ... " message.

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

**Special notes for your reviewer**:

**Release note**:
```release-note
NONE
```
2016-11-18 08:28:12 -08:00
Wojciech Tyczynski
a96dd63367 Add log rotation to kubemark 2016-11-18 16:19:32 +01:00
Kubernetes Submit Queue
4f69d7eda8 Merge pull request #36995 from wojtek-t/extend_logging_for_schedulable_nodes
Automatic merge from submit-queue

Extend logging for unschedulable nodes
2016-11-18 06:53:55 -08:00
Kubernetes Submit Queue
ddcd9708ec Merge pull request #36898 from deads2k/cli-10-fix-unstructuredtpr
Automatic merge from submit-queue

remove TPR registration, ease validation requirements

Fixes https://github.com/kubernetes/kubernetes/issues/36007 .

This removes the special casing for TPRs inside of the `UnstructuredObject`, which should allow CRUD against skewed kube api server levels.

@kubernetes/kubectl @kubernetes/sig-cli 
@janetkuo
2016-11-18 06:27:17 -08:00
Wojciech Tyczynski
d549ece3b2 Extend logging for unschedulable nodes 2016-11-18 14:49:32 +01:00
Kubernetes Submit Queue
4dba8db4e3 Merge pull request #37081 from gmarek/event-disk
Automatic merge from submit-queue

Allow storing events on a separate disk

Need to test possible performance improvements.

cc @saad-ali
2016-11-18 05:39:52 -08:00
gmarek
e1542300ae Add fast-path for Listing with ResourceVersion=0 2016-11-18 13:54:10 +01:00
gmarek
3fc177ff7c Allow storing events on a separate disk 2016-11-18 13:19:48 +01:00
Kubernetes Submit Queue
3932d127e5 Merge pull request #37070 from gmarek/image-puller
Automatic merge from submit-queue

Change image-puller restart policy to OnFailure

This should help with some of the failures from #33380

cc @dchen1107 @bprashanth
2016-11-18 03:25:18 -08:00
gmarek
af1d0018ea Change image-puller restart policy to OnFailure 2016-11-18 10:55:52 +01:00
Marcin Owsiany
070b95bfc7 Fix quoting of $PATH in instructions. 2016-11-18 09:21:28 +01:00
Kubernetes Submit Queue
3b43ce8e5c Merge pull request #36996 from liggitt/require-tpr-version
Automatic merge from submit-queue

Require at least one version in ThirdPartyResource objects

Fixes #36991
2016-11-17 22:05:54 -08:00
Kubernetes Submit Queue
5143bae599 Merge pull request #36817 from skippbox/readme
Automatic merge from submit-queue

improve readme for contributor experience

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

This improves the top-level README. Removes broken links, removes links to make you bounce to another page, adds proper links to docs.
Shuffles things around a bit and improves reading.

@kubernetes/contributor-experience
2016-11-17 21:30:00 -08:00
Kubernetes Submit Queue
eca9e989a3 Merge pull request #36779 from sjenning/fix-memory-leak-via-terminated-pods
Automatic merge from submit-queue

fix leaking memory backed volumes of terminated pods

Currently, we allow volumes to remain mounted on the node, even though the pod is terminated.  This creates a vector for a malicious user to exhaust memory on the node by creating memory backed volumes containing large files.

This PR removes memory backed volumes (emptyDir w/ medium Memory, secrets, configmaps) of terminated pods from the node.

@saad-ali @derekwaynecarr
2016-11-17 21:29:51 -08:00
Kubernetes Submit Queue
08213afe2f Merge pull request #36910 from janetkuo/restart-cluster-statefulset
Automatic merge from submit-queue

Enable restart statefulset clusters in e2e tests

cc @bprashanth @erictune @foxish @kow3ns @kubernetes/sig-apps
2016-11-17 20:50:56 -08:00
Jordan Liggitt
7a5461a17c
Require at least one version in ThirdPartyResource objects 2016-11-17 22:51:06 -05:00
Janet Kuo
f2bab13043 Remove 0 terminationGracePeriodSeconds from statefulset manifests 2016-11-17 19:24:55 -08:00
Kubernetes Submit Queue
cae6cf2cee Merge pull request #37031 from foxish/add-ss-kubectl
Automatic merge from submit-queue

Adding statefulset to the list of things kubectl says it knows about

**What this PR does / why we need it**: Adding statefulset to the list of things kubectl says it knows about.

**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
NONE
```

cc @kubernetes/sig-apps @erictune
2016-11-17 16:49:58 -08:00
Anirudh
4b53a32e14 Adding statefulset to the kubectl output for valid resources 2016-11-17 13:53:23 -08:00
Kubernetes Submit Queue
0664405954 Merge pull request #37021 from Crassirostris/fluentd-image-version-bump
Automatic merge from submit-queue

Bump fluentd-gcp image version

To propagate https://github.com/kubernetes/kubernetes/pull/36993

Including release noted for the whole bunch of fluentd changes (https://github.com/kubernetes/kubernetes/pull/35618 mainly):

```release-note
Default logging subsystem's resiliency was greatly improved, fluentd memory consumption and OOM error probability was reduced.
```

@piosz
2016-11-17 13:52:02 -08:00
Mik Vyatskov
aa31f7bc02 Bump fluentd-gcp image version 2016-11-17 21:21:10 +01:00
Kubernetes Submit Queue
70296869e9 Merge pull request #36919 from Random-Liu/remove-dependency-on-flags
Automatic merge from submit-queue

Node E2E: Remove kubelet related flags

This PR:
1. **Add `KubeletConfig` in test context.** The configuration is dynamically retrieved from kubelet `configz/` endpoint after test node registers itself.
2. **Change tests to look at `KubeletConfig` instead of other kubelet related fields in test context.**
3. **Remove kubelet related flags from node e2e.** Add `kubelet-flags` to pass kubelet flags all together.

Why do we need this change?
1. This is required by **node soaking test and node conformance test**.
  * **For node soaking test.** We'll have one job start the test environment, and another job running the actual test again and again. It's hard to tell the test by flag how kubelet is configured.
  * **For node conformance test.** Kubelet is usually started by user. It's hard and troublesome to tell the test by flag how kubelet is configured.
2. **No need to add another flag in node e2e for each kubelet flag we want to set in the test.** Just directly add the kubelet flag into `kubelet-flags`.

In the future,
1. Kubelet start logic should be moved outside of the test. We should have standard kubelet launcher or standard cloud-init node setup script etc.
2. The test should validate kubelet configuration:
  * Whether the configuration is production ready?
  * Whether the configuration has conflicts?
  * Whether some configuration conflict with node e2e/conformance test is turned on (cloud provider etc.)? (Some configurations need to be turned off when running node e2e/conformance test)
  * ...

/cc @kubernetes/sig-node
2016-11-17 11:32:57 -08:00
Jing Xu
1b89c79e55 Update aws_ebs.go
fix typo in glog
2016-11-17 11:14:55 -08:00
Kubernetes Submit Queue
1cc5b61aed Merge pull request #36993 from Crassirostris/docker-logs-time-format
Automatic merge from submit-queue

Remove fixed docker daemon log time format in fluentd configs

Fix https://github.com/kubernetes/kubernetes/issues/36893

Also, probably will fix https://github.com/kubernetes/kubernetes/issues/36890

@piosz
2016-11-17 10:26:59 -08:00
Random-Liu
87a9d94f24 Update bazel. 2016-11-17 10:18:00 -08:00
Random-Liu
edf7608c51 Remove kubelet related flags from node e2e. Add a single flag kubelet-flags to pass kubelet flags all together. 2016-11-17 10:17:32 -08:00
Random-Liu
090809d8ad Remove dependency on kubelet related flags. 2016-11-17 10:17:32 -08:00
Kubernetes Submit Queue
08204bea62 Merge pull request #36849 from janetkuo/e2e-statefulset-update
Automatic merge from submit-queue

Add e2e test for statefulset updates

Verify that one can (manually) update statefulset template 

cc @erictune @foxish @kow3ns @kubernetes/sig-apps
2016-11-17 10:12:21 -08:00
Ray Tsang
846cd2d66a Append newline to the "deleted context ... " and "deleted cluster ..." message 2016-11-17 12:30:45 -05:00