Commit Graph

17037 Commits

Author SHA1 Message Date
Yu-Ju Hong
8774f6efa2 kubelet: don't remove any pod directory with non-empty volumes
If the volumes directory is not empty, it implies that volumes may not have
been properly cleaned up yet. Do not attempt to remove the pod directory.
2015-08-27 22:18:51 -07:00
saadali
33b5616ebc Fix E2E Test "Pod Disks should schedule a pod w/ a RW PD, remove it, then schedule it on another host" out of flaky 2015-08-27 21:39:46 -07:00
Brendan Burns
35d05093f7 Merge pull request #10651 from yujuhong/orphaned_poddirs
Kubelet: do not remove pod directory if any container is still running
2015-08-27 20:48:23 -07:00
Fred Jean
1305f54645 Booting a Kubernetes cluster on Vagrant
* Using Fedora 21 as the base box
* Discover the active network interfaces in the box to avoid hardcoding
  them in configuration.
* Use the master IP for the certificate.
2015-08-27 21:43:36 -06:00
nikhiljindal
25f2b85041 Deleting unused code 2015-08-27 19:52:47 -07:00
Brian Grant
0d3e9de4b0 Clarify boundaries of Kubernetes. 2015-08-28 01:58:08 +00:00
Yu-Ju Hong
697197d383 Kubelet: do not remove pod directory if any container is still running
If there are any running container in the pod, we cannot remove the volume.
Therefore, we should not attempt to remove the pod directory.
2015-08-27 18:19:13 -07:00
qiaolei
c17977b6dd Amend two markdown errors in authentication.md
Amend two markdown errors in authentication.md.
1, amend order list display error by enter a newline after the first sentence
2, add two backticks to make ``"@`date +%s`"`` display correctly
2015-08-28 09:16:05 +08:00
Matt McCoy
5a2f992d75 Fixing kubelet cmd documentation for register-node argument 2015-08-27 21:04:08 -04:00
Tim Hockin
109c3f2b05 Merge pull request #12834 from eldarion-gondor/fix-validate-cluster-on-error
When calling kubectl.sh, allow error due to API server bouncing
2015-08-27 17:21:09 -07:00
Prashanth B
71042e174e Merge pull request #13273 from quinton-hoole/2015-08-27-fix-flaky-test-config
Don't run flaky e2e tests in parallel test runs.
2015-08-27 16:52:57 -07:00
Dr. Stefan Schimanski
cac58f6db7 Add --path-override to minion to change the PATH env var of subprocesses;
pass hostname-override through to kube-proxy (if defined)
2015-08-27 22:57:04 +00:00
Alex Robinson
d02dc64036 Let fluentd-es log by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Alex Robinson
b3154a7815 Remove the garbage log file in the fluentd-gcp that gets filled with
gunk when installing the google-fluentd agent.

Also let it log things by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Zach Loafman
65087a40ba Actually make the pushed version directory match binary versions
A small bug from #11941: When we push to GCS, we were pushing bucket
names that matched the old pattern `git describe`, e.g.:

gs://kubernetes-release/ci/v1.1.0-alpha.0-2413-g986d37d/

But after #11941, the binaries inside these actually have versions that look like:

v1.1.0-alpha.0.2413+g986d37d

to more closely match up with semver.

This pull makes the GCS directory match the binaries it's already serving.
2015-08-27 14:38:00 -07:00
Alex Robinson
c9a8b2a405 Merge pull request #13230 from a-robinson/maintainer
Transfer maintainer responsibilities for fluentd configs/images.
2015-08-27 14:35:02 -07:00
Paul Morie
e9851c6dea Quote malformed host values in unversioned client helper 2015-08-27 17:30:31 -04:00
Steve Milner
3181e5b913 test: improved kubelet disk_manager coverage. 2015-08-27 15:54:45 -04:00
Brendan Burns
986d37d145 Merge pull request #13271 from yujuhong/skip_test
e2e: skip restart count test
2015-08-27 12:31:14 -07:00
Mike Danese
bee3fd02e4 enable daemon controller in the experimental api 2015-08-27 11:47:35 -07:00
Mike Danese
b772a9b74f run autogenerated updates 2015-08-27 11:47:35 -07:00
Mike Danese
8460e3913d move daemon controller to the experimental api 2015-08-27 11:47:35 -07:00
Quinton Hoole
be1d01e2e4 Don't run flaky e2e tests in parallel test runs. 2015-08-27 10:26:06 -07:00
Avesh Agarwal
f369377b8c Updates fedora ansible guide to reflect the move of the contrib dir to
https://github.com/kubernetes/contrib.git .
2015-08-27 13:16:34 -04:00
Yu-Ju Hong
3221663a50 e2e: skip restart count test 2015-08-27 10:10:40 -07:00
Mike Danese
650bf71cf7 Merge pull request #13120 from caesarxuchao/13804
add a fuzz function for expapi.APIVersion
2015-08-27 09:50:53 -07:00
Cameron Brunner
7f76c077b8 Issue #13267: Change -t to --template in kubectrl get call 2015-08-27 11:25:07 -05:00
Jan Safranek
49921ada74 Configure lower NFS grace period.
From RFC 3530:
  During the grace period, the server must reject READ and WRITE operations
  and non-reclaim locking requests (i.e., other LOCK and OPEN operations)
  with an error of NFS4ERR_GRACE.

That basically means that all open() calls from clients are blocked until the
grace period is over (90 seconds by default).

We want the grace period as low as possible to speed up the tests. '10'
seconds were tested on Fedora 21 and Ubuntu 15.04 as the hosts.

The test image is rebased to Fedora in order to get 'rpc.nfsd -G <n>' option,
Ubuntu does not support it.
2015-08-27 17:50:05 +02:00
Andy Zheng
9f28e784dc Support kube-registry-proxy addon in trusty nodes 2015-08-27 07:46:50 -07:00
Zach Loafman
6e194c938b Merge pull request #13218 from mbforbes/versioning
Add patch notes to versioning doc
2015-08-27 07:12:20 -07:00
Piotr Szczesniak
12b59060bd Merge pull request #13256 from piosz/oncall
Moved failing tests to the flaky suite on Jenkins
2015-08-27 15:50:24 +02:00
Piotr Szczesniak
4ef108a92d Moved failing tests to the flaky suite on Jenkins 2015-08-27 15:26:25 +02:00
kargakis
e86bb1aeca expose: Don't query the server for input objects
Signed-off-by: kargakis <mkargaki@redhat.com>
2015-08-27 15:52:22 +03:00
qiaolei
1bee049475 Change "chmod +X" to "chmod +x" in prereqs.md
Change `chmod +X` to `chmod +x`, since `+X` does not take affect when there is no  execute permission bit already set (either user, group or other).

```console
# ls -l /usr/bin/kubectl
-rw-r--r-- 1 root root 14190181 Aug 10 16:16 /usr/bin/kubectl
# chmod +X /usr/bin/kubectl
# ls -l /usr/bin/kubectl
-rw-r--r-- 1 root root 14190181 Aug 10 16:16 /usr/bin/kubectl
```

Please refer to [chmod](https://en.wikipedia.org/wiki/Chmod "chmod") for more details.
>which is not a permission in itself but rather can be used instead of x. It applies execute permissions to directories regardless of their current permissions and **applies execute permissions to a file which already has at least one execute permission bit already set (either user, group or other)**. It is only really useful when used with '+' and usually in combination with the -R option for giving group or other access to a big directory tree without setting execute permission on normal files (such as text files), which would normally happen if you just used "chmod -R a+rx .", whereas with 'X' you can do "chmod -R a+rX ." instead
2015-08-27 18:46:14 +08:00
qiaolei
6021615792 Amend an ordered list markdown error in scratch.md
Amend an ordered list markdown error in scratch.md in section **etcd** by enter a newline after the first sentence
2015-08-27 17:57:01 +08:00
Piotr Szczesniak
997dd12c2c Merge pull request #13246 from kubernetes/revert-12492-limit_range_api
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 11:12:04 +02:00
Piotr Szczesniak
99e8d3a744 Merge pull request #13248 from kubernetes/revert-13191-cadvisor-update
Revert "Bump cadvisor godep"
2015-08-27 10:58:05 +02:00
Piotr Szczesniak
4e41ea950b Merge pull request #13247 from kubernetes/revert-13213-removeMasterIpRange
Revert "Make MASTER_IP_RANGE master-only"
2015-08-27 10:57:44 +02:00
feihujiang
e689995985 Remove user guide kubectl useless docs 2015-08-27 16:56:10 +08:00
Piotr Szczesniak
31270e5e81 Revert "Bump cadvisor godep" 2015-08-27 10:53:18 +02:00
Piotr Szczesniak
7ad0f96688 Revert "Make MASTER_IP_RANGE master-only" 2015-08-27 10:52:21 +02:00
Piotr Szczesniak
6e05b9e3a3 Revert "LimitRange updates for Resource Requirements Requests" 2015-08-27 10:50:50 +02:00
Max Forbes
9bd219c94e Add patch notes to versioning doc. 2015-08-26 23:37:18 -07:00
hurf
961d7f995a Remove unused parameters and flags
Some params and flags are set but not used, remove them.
2015-08-27 10:40:40 +08:00
Kel Cecil
c4124d377f Reword introduction and requirements 2015-08-26 22:21:29 -04:00
Phillip Wittrock
1ac0579d56 Update development godep instructions to work for cadvisor and changing transitive deps 2015-08-26 17:35:36 -07:00
Yu-Ju Hong
ab73849437 Merge pull request #13232 from yujuhong/disable_restart_count_test
e2e: disable the restart count test
2015-08-26 16:39:43 -07:00
Yu-Ju Hong
3789da1473 e2e: mark the restart count test flaky 2015-08-26 16:28:00 -07:00
Pedro Roque Marques
99b1da848d Add kubelet '--resolv-conf' flag.
Allow the user to specify the resolver configuration file that is used
to determine the default DNS parameters. This defaults to the system's
/etc/resolv.conf.
2015-08-26 15:41:36 -07:00
Jeff Grafton
75294b7a38 Add option to save unit test results as JUnit XML for Shippable 2015-08-26 15:26:51 -07:00