Commit Graph

14073 Commits

Author SHA1 Message Date
Zach Loafman
af781d8df4 Ban MaxPods to flaky test list. See #10720.
If you revert this, please notify @zmerlynn to fix the GKE list.
2015-07-04 09:16:50 -07:00
Justin Santa Barbara
f33df03d50 AWS: Some images require volume mounts on /dev/xvdX
It seems impossible to determine from outside.  Thankfully we're running
the attachment from inside the instance, so can check for /dev/sdX or
/dev/xvdX.

More modern images seem to be moving to /dev/xvdX
2015-07-04 10:45:06 -04:00
Justin Santa Barbara
591a113406 AWS: Return InstanceNotFound from ExternalID when not found
Despite finding and documenting the importance of this, I was still doing it
wrong!
2015-07-04 10:41:38 -04:00
Justin Santa Barbara
fca7822800 Misc (non-code) spelling fixes 2015-07-04 10:39:37 -04:00
Alex Robinson
4bfbd5f553 Add limits to the fluentd buffer size. 2015-07-03 23:24:08 +00:00
Justin Santa Barbara
6504df77f1 Salt: install socat; needed for port-forward
port-forward needs socat on the node hosts; we technically
don't need it today on the master, but this seems the right
place to put it, and socat is a small dependency.
2015-07-03 19:12:44 -04:00
Nikhil Jindal
8884e116e5 Merge pull request #10704 from leeplay/leeplay-patch-1
Fixed typo
2015-07-03 11:32:51 -07:00
Nikhil Jindal
639fb9d1bf Merge pull request #10699 from justinsb/aws_revert_nodename
WIP: AWS: Use private dns name for node name again
2015-07-03 10:08:32 -07:00
Marcin Wielgus
77aae74570 Remove deferred cleanups from tests/e2e/examples.go 2015-07-03 11:28:55 +02:00
Wojciech Tyczynski
b96d2296b4 Delete namespace after test 2015-07-03 11:04:32 +02:00
hyeongkyu.lee
55f1f241e6 Fixed typo 2015-07-03 18:03:45 +09:00
David Oppenheimer
44ed229069 Foo. 2015-07-03 01:40:00 -07:00
David Oppenheimer
53518e37a6 Add a test for DumbSpreadingPriority. 2015-07-03 01:34:07 -07:00
Jerzy Szczepkowski
1bd0c1b43a Fixed flakiness of firewall cases of e2e reboot test.
Fixed flakiness of firewall cases of e2e reboot test: blocking packages on firewall was also blocking localhost and was causing kubelet to be restarted by monit.
2015-07-03 10:32:18 +02:00
David Oppenheimer
cb9d515004 Add DumbSpreadingPriority, which tries to spread pods across nodes. 2015-07-03 00:45:54 -07:00
Eric Tune
88fa471d06 NAMESPACE in own column: kubectl --all-namespaces 2015-07-02 22:23:52 -07:00
Justin Santa Barbara
5ae7c13ad3 AWS: Use private dns name for node name again
This is a partial reversion of #9728, and should fix #10612.

9728 used the AWS instance id as the node name.  But proxy, logs
and exec all used the node name as the host name for contacting the minion.

It is possible to resolve a host to the IP, and this fixes logs.  But
exec and proxy also require an SSL certificate match on the hostname,
and this is harder to fix.

So the sensible fix seems to be a minimal reversion of the changes in #9728,
and we can revisit this post 1.0.
2015-07-03 01:23:51 -04:00
Justin Santa Barbara
c676c11189 AWS: Configure SSL certificate alternate-names
GCE does this in its per-provider scripts; this does the same for AWS and lets
other providers do the same; I believe kube2sky requires 10.0.0.1 as a SAN.
2015-07-03 01:18:07 -04:00
Nikhil Jindal
974377b306 Merge pull request #10481 from gmarek/max_pods_e2e
Add max-pods e2e test
2015-07-02 15:26:46 -07:00
Nikhil Jindal
91fc591e5e Merge pull request #10598 from feihujiang/nameInsteadOfID
Using NAME to replace ID in help string
2015-07-02 15:26:24 -07:00
Tim Hockin
efa76b72ae Run the build once during presubmit 2015-07-02 14:43:43 -07:00
Zach Loafman
d64c818744 Add build-official-release.sh
This commit does 4 things:
* Adds a script which will: (a) clone from a git tag, make release,
and give you very detailed instructions as to what to do from that
point.
* Changes `push-official-release.sh` so we can't push "dirty"
releases anymore (which `build-official-release.sh` also double
checks at the end.)
* Fixes #9576 by ensuring a correct umask.
* Changes common.sh to gtar all the way through, to ensure that
bloody OS X tar never touches the release process, because I don't
want to have to understand two tar programs and how release
artifacts are created from both (c.f. #10615.)
2015-07-02 14:24:34 -07:00
Tim Hockin
a95814b593 make swagger presubmit not spew noise 2015-07-02 14:03:02 -07:00
Nikhil Jindal
05ce0472e9 Merge pull request #10643 from eparis/self-sign-cert-san
Add Subject Alt Names to self signed apiserver certs
2015-07-02 12:21:22 -07:00
Nikhil Jindal
09a57fadfb Merge pull request #10532 from feihujiang/outputErrorWhenUsingDescribeForNonexist
Output error when using kubectl describe for a nonexisting resource
2015-07-02 11:07:19 -07:00
Dawn Chen
9ce11545c0 Explicitly configure master component containers and nginx with 200m each. 2015-07-02 10:46:39 -07:00
Nikhil Jindal
fe0b3a0082 Merge pull request #10580 from markturansky/pv_docs
Persistent Volume/Claim docs
2015-07-02 10:39:57 -07:00
Nikhil Jindal
204b90e697 Merge pull request #10593 from lavalamp/kubeletRegister
Fix node not rejoining cluster on reboot
2015-07-02 10:39:17 -07:00
BC Broussard
288c1df4e4 Update Web UI tables
- Condense table styling
- Default table size to 50
- Make all columns sortable
- Rename service portalIP to clusterIP
- Allow default descending table ordering
2015-07-02 08:43:37 -07:00
markturansky
bd365dda39 single ticked individually highlighted words 2015-07-02 09:25:40 -04:00
Wojciech Tyczynski
ef41ceb3e4 Merge pull request #10646 from yujuhong/reduce_noise
Kubelet: stop logging "Error on reading termination-log..." messages
2015-07-02 09:32:27 +02:00
Wojciech Tyczynski
2f4574167d Merge pull request #10561 from smarterclayton/make_empty_public
Make util.empty public for conversions
2015-07-02 09:31:25 +02:00
Tim Hockin
3c2359384c Add 'ep' as a shortcut for 'endpoints' 2015-07-01 23:02:46 -07:00
Dawn Chen
4b85e02504 Set minimal shares for containers with no cpu specified 2015-07-01 21:17:07 -07:00
Zach Loafman
3597344459 Merge pull request #10658 from ixdy/fix-namespace-e2e-slowness
e2e: update namespace test to create/delete test namespaces in parallel
2015-07-01 19:36:13 -07:00
Zach Loafman
1d16be675c Merge pull request #10653 from dchen1107/resource_management
Set resource limit for addon containers
2015-07-01 19:35:28 -07:00
Zach Loafman
5dbe90f0ba Merge pull request #10493 from krousey/namespace
Unify command line namespace resolution
2015-07-01 19:33:44 -07:00
Zach Loafman
4b60e4892f Merge pull request #10431 from erictune/image_md
Improve image docs.
2015-07-01 19:33:03 -07:00
David Oppenheimer
950ab8f219 Clarify and make less verbose event message for infeasible pods. 2015-07-01 19:22:48 -07:00
Jeff Grafton
44f3c9e01e Re-enable namespace test on the pull request Jenkins 2015-07-01 17:53:27 -07:00
Jeff Grafton
db5d24c6b4 e2e: update namespace test to create/delete test namespaces in parallel
The namespace test is currently taking about 18 minutes because it
creates and deletes namespaces sequentially, and for various reasons it
takes at least 10 seconds for each namespace.

By parallelizing the creation and deletion of namespaces, this test now
takes about 2-3 minutes.
2015-07-01 17:53:01 -07:00
nikhiljindal
b38d8b18a5 Updating kubectl to use POST instead of GET 2015-07-01 17:07:24 -07:00
Dawn Chen
54531d9b55 Set memory limit (200mi) to fluentd static pod 2015-07-01 17:00:06 -07:00
Zach Loafman
700a6441de Merge pull request #10313 from yujuhong/kubelet_delete
Add an e2e test to verify that pods are deleted on nodes
2015-07-01 16:47:30 -07:00
Eric Tune
ed2d42e54c Improve image docs.
ImagePullKeys -> ImagePullSecret

Explain that overwriting the /root/.dockercfg not recommended for GKE.

Give detailed and tested steps for distributing a .dockercfg.
2015-07-01 16:46:45 -07:00
Eric Tune
21bbde46d4 Error: kubectl --all-namespaces get {node|ev|cs}
Report an error if someone asks for --all-namespaces
when getting a thing that is not namespaced.

This is in preparation for a subsequent commit which prints namespace
as its own column.

Restructured test to expect an error for non-namespaced things.
Dropped the part where it was trying to test that not printing
namespace didn't contain namespace.  Some other test can cover that.
2015-07-01 16:35:55 -07:00
Zach Loafman
8045357c5c Merge pull request #10344 from pires/update_coreos_doc
Updates CoreOS cloud-configs to use Kubernetes 0.19.3.
2015-07-01 16:33:06 -07:00
Yu-Ju Hong
a10a6a296e Add an e2e test to verify that pods are deleted on nodes
The test verifies that kubelet deletes the pods/containers within a reasonable
time. It queries the kubelet /runningpods endpoint to retrieve a list of
running pods directly. The outline of the test is:

 - Create an RC
 - Wait until all pods are running (based on the pod status)
 - Verify pods are running by querying the /runningpods
 - Delete the RC
 - Check all pods are deleted by querying /runningpods
2015-07-01 16:24:58 -07:00
Paulo Pires
db00532b47 Updates CoreOS cloud-configs to use Kubernetes 0.19.3.
Added instrumentation and configuration for service account tokens.
Fixes #9075
2015-07-02 00:24:45 +01:00
Zach Loafman
acf6fc6e24 Merge pull request #10627 from eparis/total-ansible
Ansible: Get DNS working - Add kubectl kubeconfig file
2015-07-01 16:07:53 -07:00