Commit Graph

15882 Commits

Author SHA1 Message Date
Jerzy Szczepkowski
5ec7680554 Merge pull request #12023 from resouer/patch-4
Remove duplicated warning of docker version
2015-07-31 09:16:18 +02:00
hurf
029ed15be5 Better help message for get and describe
Add tips for shortcut ns and ep.
2015-07-31 15:15:51 +08:00
moander
070ede2716 Resolved #9773 by removing vmrun binary test 2015-07-31 07:15:45 +02:00
Piotr Szczesniak
41de62b465 Merge pull request #12022 from piosz/cadvisor
Update cadvisor dependency
2015-07-31 05:56:36 +02:00
Ananya Kumar
bf5bcdc68f Update admission_control.md
I tested out a Limit Ranger, and it seems like the admission happens *before* Validation. Please correct me if I'm wrong though, I didn't look at the code in detail. In any case, I think it makes sense for admission to happen before validation because code in admission can change containers.

By the way I think it's pretty hard to find flows like this in the code, so it's useful if we add links to code in the design docs (for prospective developers) :)
2015-07-30 20:02:06 -07:00
feihujiang
4553e410d3 Remove the duplicate source (filename) in error message 2015-07-31 10:20:45 +08:00
feihujiang
fc31543460 Output the same error when using kubectl describe for a nonexisting resource 2015-07-31 09:56:02 +08:00
Jeff Lowdermilk
2707fab181 Allow gke to use server-default version for jenkins runs 2015-07-30 18:32:57 -07:00
Muhammed Uluyol
58a875ac2c Add (stopgap) support for an experimental API prefix. 2015-07-30 18:14:29 -07:00
Mike Danese
a101aa175d Merge pull request #12047 from thockin/devdocs
Add a note on when to use commits
2015-07-30 17:50:57 -07:00
Eric Paris
024208e39f Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
Eric Paris
3c95bd4ee3 Add a whitespace munger
Strips all trailing whitespace from non-preformatted blocks
2015-07-30 20:41:30 -04:00
Eric Paris
8886a9940d Rewrite how the munger works
The basic idea is that in the main mungedocs we run the entirefile and
create an annotated set of lines about that file. All mungers then act
on a struct mungeLines instead of on a bytes array. Making use of the
metadata where appropriete. Helper functions exist to make updating a
'macro block' extremely easy.
2015-07-30 20:41:30 -04:00
Eric Paris
4cbca2e63c Make munger begin/end less generic
Just force the beginMungeTag() endMungeTag() macros on users, by hiding
it under the covers. It really simplies things for users.
2015-07-30 20:41:30 -04:00
Eric Paris
22fd8ac32d Speed up mungedoc TOC by pre-compiling a regex
Brings the time to run the TOC over the docs directory from .7 seconds
to .1 seconds
2015-07-30 20:41:29 -04:00
Mike Danese
853ea5bab2 Merge pull request #11880 from mwielgus/rethinkdb-flaky
Add retry logic to http service request in test/e2e/examples.go
2015-07-30 17:37:06 -07:00
Mike Danese
bfaa527139 Merge pull request #12045 from a-robinson/logs
Fix fluentd configs to collect etcd logs on the master
2015-07-30 17:36:46 -07:00
Mike Danese
51a7a38f67 Merge pull request #12020 from wojtek-t/move_to_storage
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
622bf70f57 Merge pull request #11963 from a-robinson/manifest
Make the kubelet on a GCE master check instance metadata for manifests
2015-07-30 16:21:53 -07:00
BenTheElder
c86306f889 Update building docs to note memory requirements for boot2docker. 2015-07-30 19:19:33 -04:00
Alex Robinson
69ab7026af Update fluentd-es to collect etcd logs and remove merge conflict cruft. 2015-07-30 22:21:01 +00:00
Alex Robinson
9e18c29e9f Make fluentd-gcp collect etcd's logs on the master. 2015-07-30 22:20:57 +00:00
Tim Hockin
c58e3fbbb6 Add a note on when to use commits 2015-07-30 15:11:38 -07:00
Mike Danese
ed9975b031 Merge pull request #11230 from mesosphere/resource-accounting
Implement resource accounting for pods with the Mesos scheduler
2015-07-30 14:36:41 -07:00
Avinash Sridharan
bf46a08f14 Merge branch 'master' of github.com:asridharan/kubernetes into fix_docker_doc 2015-07-30 14:30:08 -07:00
Avinash Sridharan
895cbb92ad There is an open issue #9837 because of which kubernets is not able to start the API server if the underlying kernel does not support memory limits for CGROUP. Apparently docker is able
to detect this, but somehow this is not communicated to invocations from the remote API. Thus to get kubernets working on a local docker installation, its important to make sure that
the memory and swap accounting are turned on in the kernel and passed as a parameter to the kernel when booting up.

Hence added the required instructions as a pre-req for running kubernets in a local docker installation.
2015-07-30 14:19:57 -07:00
Mike Danese
cdb7d1ec61 Merge pull request #11960 from brendandburns/docker
Update docker instructions to 1.0.1
2015-07-30 14:12:41 -07:00
Alex Robinson
94ae0a9a0d Make the kubelet on a GCE master check instance metadata for manifests.
Primary motivation: enable GKE and other cluster-as-a-service folks to
easily run additional logic on the master without having to modify salt
or SSH to the master after it's been created.
2015-07-30 21:04:34 +00:00
Mike Danese
a3cb57f48d Merge pull request #12033 from smarterclayton/conversions_2
Revert conversion reversion with fixed tests
2015-07-30 13:53:32 -07:00
Mike Danese
9582c7e54e Merge pull request #12024 from a-robinson/metadata
Support passing a header to the manifest URL in the kubelet.
2015-07-30 13:46:22 -07:00
Mike Danese
5747df378d Merge pull request #11946 from mamikonyana/service-node-port-range
Allow settings --service-node-port-range option using a config variable
2015-07-30 13:23:45 -07:00
Brendan Burns
f89c9e3878 Merge pull request #11998 from vishh/update_heapster
Auto commit by PR queue bot
2015-07-30 13:10:02 -07:00
Mike Danese
553b6e674f Merge pull request #10540 from deads2k/prevent-backsteps-in-kubeconfig
Prevent backsteps in kubeconfig
2015-07-30 13:05:11 -07:00
Brendan Burns
97cb1cd071 Add support for attach to kubectl 2015-07-30 12:56:18 -07:00
Arsen Mamikonyan
792849251a Allow settings --service-node-port-range option using a config variable 2015-07-30 12:39:32 -07:00
Dr. Stefan Schimanski
f3f617d9db Update documentation about resource accounting 2015-07-30 21:18:15 +02:00
Dr. Stefan Schimanski
a2fa41b73f Implement resource accounting for pods with the Mesos scheduler
This patch

- set limits (0.25 cpu, 64 MB) on containers which are not limited in pod spec
  (these are also passed to the kubelet such that it uses them for the docker
  run limits)
- sums up the container resource limits for cpu and memory inside a pod,
- compares the sums to the offered resources
- puts the sums into the Mesos TaskInfo such that Mesos does the accounting
  for the pod.
- parses the static pod spec and adds up the resources
- sets the executor resources to 0.25 cpu, 64 MB plus the static pod resources
- sets the cgroups in the kubelet for system containers, resource containers
  and docker to the one of the executor that Mesos assigned
- adds scheduler parameters --default-container-cpu-limit and
  --default-container-mem-limit.

The containers themselves are resource limited the Docker resource limit which
the kubelet applies when launching them.

Fixes mesosphere/kubernetes-mesos#68 and mesosphere/kubernetes-mesos#304
2015-07-30 21:18:04 +02:00
Clayton Coleman
532e1ca20c Update generator tests to passing 2015-07-30 15:15:28 -04:00
Clayton Coleman
0f9fdcafea Revert "Revert "Improve conversion to support multiple packages""
This reverts commit 94a387d5d1.
2015-07-30 15:15:14 -04:00
deads2k
c5ef83b29b relativize paths in kubeconfig files 2015-07-30 14:57:38 -04:00
deads2k
55f574c267 switch kubeconfig types to internal map[string]*struct 2015-07-30 14:57:38 -04:00
Mike Danese
33278e7910 Merge pull request #11844 from brendandburns/queue
Add an initial (simple) implementation of a submit queue.
2015-07-30 11:36:28 -07:00
Mike Danese
dd3195084d Merge pull request #11992 from pmorie/nodecontroller-now
Accurately report ts used to make decisions in node-controller.go
2015-07-30 11:18:06 -07:00
Mike Danese
14c483898b Merge pull request #12027 from GoogleCloudPlatform/revert-9971-make_conversion_more_flexible
Revert "Improve conversion to support multiple packages"
2015-07-30 11:14:55 -07:00
Brendan Burns
e8e756a719 Add pod/attach to the APIServer. 2015-07-30 10:55:53 -07:00
Mike Danese
94a387d5d1 Revert "Improve conversion to support multiple packages" 2015-07-30 10:51:40 -07:00
Alex Robinson
a9f0c4683f Limit the logging from kubelet attempting to read its manifest URL.
Without this, it logs an error every 20 seconds if nothing is at the
provided URL.
2015-07-30 17:47:33 +00:00
Vishnu Kannan
c08ad6b7c1 Avoid mounting ssl volumes for heapster container. 2015-07-30 10:45:26 -07:00
Mike Danese
452bdcae2d Merge pull request #11895 from derekwaynecarr/vagrant_confornamce_tickbox
Vagrant passes conformance tests at HEAD
2015-07-30 10:35:34 -07:00
Alex Robinson
cf011cad55 Support passing a header to the manifest URL in the kubelet.
Needed to support using GCE's v1 metadata API, which requires passing
the header "Metadata-Flavor: Google".
2015-07-30 17:11:27 +00:00