Commit Graph

191 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
k8s-merge-robot 3254df3a7c Merge pull request #19426 from smarterclayton/rewrite_tags
Auto commit by PR queue bot
2016-01-26 13:11:58 -08:00
Clayton Coleman 14a3aaf479 protobuf: During generation, copy protobuf tags back
The protobuf tags contain the assigned tag id, which then ensures
subsequent generation is consistently tagging (tags don't change across
generations unless someone deletes the protobuf tag).

In addition, generate final proto IDL that is free of gogoproto
extensions for ease of generation into other languages.

Add a flag --keep-gogoproto which preserves the gogoproto extensions in
the final IDL.
2016-01-26 11:41:21 -05:00
k8s-merge-robot 8c821700f3 Merge pull request #19389 from justinsb/internal_cidr
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
Justin Santa Barbara d8460d5920 AWS: Pass non-masquerade-cidr through kube-up
Set the environment variable NON_MASQUERADE_CIDR.

Docs in cluster/aws/options.md
2016-01-22 21:01:44 -05:00
YuviPanda 1751bcf1e1 Update hack/verify-flags/exceptions.txt 2016-01-22 00:19:01 -08:00
YuviPanda f0c5051201 Fix verify-flags lists to account for flag changes 2016-01-21 16:59:02 -08:00
Justin Santa Barbara 58191c446c Allow non-masquerade-cidr to be passed to the kubelet
Removing the hard-coding of 10.0.0.0/8

Issue #11204
2016-01-21 15:18:31 -05:00
Justin Santa Barbara 43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot cf7d2af14a Merge pull request #19086 from mikedanese/fix-build
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
k8s-merge-robot c475b4ee35 Merge pull request #18611 from timstclair/allocatable-impl2
Auto commit by PR queue bot
2016-01-12 22:48:12 -08:00
Mike Danese f71657d9a6 retrofit the scheduler with the leader election client.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-12 21:37:03 -08:00
Tim St. Clair e2ffd007f7 Implement node Allocatable
Add `kube-reserved` and `system-reserved` flags for configuration
reserved resources for usage outside of kubernetes pods. Allocatable is
provided by the Kubelet according to the formula:
```
Allocatable = Capacity - KubeReserved - SystemReserved
```

Also provides a method for estimating a reasonable default for
`KubeReserved`, but the current implementation probably is low and needs
more tuning.
2016-01-12 17:00:43 -08:00
Mike Danese bf763bba95 Merge pull request #19498 from pwittrock/nodelabels
Node labels: Remove node-labels-file command line option.  Change --n…
2016-01-12 15:12:57 -08:00
Phillip Wittrock f1c8384ff4 Node labels: Remove node-labels-file command line option. Change --node-label format from key=value to key:value to be consitent with how the header key:value is specified on command line. 2016-01-12 12:57:12 -08:00
Chao Xu 64083a0576 Generate the clientset 2016-01-12 11:30:04 -08:00
Mike Danese 22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Clayton Coleman 7edbe09e59 Add new known flags and sort them 2016-01-06 21:09:20 -05:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
Ravi Sankar Penta a9b0696166 Update auto generated docs for kubelet
Add node-ip flag to know-flags.txt
2016-01-03 10:18:58 -08:00
Tim Hockin da0ac31182 Set conntrack params in kube-proxy
Add flags to control max connections (set to 256k vs 64k default) and TCP
established timeout (set to 1 day vs 5 day default).  Flags can be set to 0 to
mean "don't change it".

This is only set at startup, and not wrapped in a rectifier loop.

Tested manually.
2015-12-30 15:46:40 -08:00
k8s-merge-robot 728ed4bb83 Merge pull request #19142 from gmarek/grab-metrics
Auto commit by PR queue bot
2015-12-30 01:44:28 -08:00
Dr. Stefan Schimanski 7a2c33e323 contrib/mesos/scheduler: make debug handler for kubelet configurable 2015-12-29 14:39:59 +01:00
gmarek 1df78a2398 Add a framework for multiple writers for various test data summaries 2015-12-29 10:26:44 +01:00
k8s-merge-robot fec5206f1a Merge pull request #13840 from nelcy/master
Auto commit by PR queue bot
2015-12-28 23:55:32 -08:00
gmarek 2dcafa3854 Add a flag that will make test gather metrics from all running components after the test finishes. 2015-12-28 12:10:39 +01:00
Chakravarthy Nelluri fa76de79e5 Add support for flex volume. Flex volume adds support for thirdparty(vendor)
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
HaiyangDING d9f3607292 Implement multi-scheduler:
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
	- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
	- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"

update gofmt

update according to @david's review

run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
k8s-merge-robot 1562d84c96 Merge pull request #18628 from mikedanese/expose-master-count
Auto commit by PR queue bot
2015-12-19 12:42:05 -08:00
Mike Danese a09d85bd83 expose master count configuration in a cli option on apiserver 2015-12-18 13:10:41 -08:00
Sam Ghods b838d8ce18 Add informers to deployment controller 2015-12-17 19:29:54 -08:00
k8s-merge-robot 5a579a2555 Merge pull request #16028 from derekwaynecarr/make_cmd
Auto commit by PR queue bot
2015-12-16 08:41:59 -08:00
derekwaynecarr 5e0948586c Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
Sergiusz Urbaniak 67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
k8s-merge-robot 9bbe6012e3 Merge pull request #17683 from pwittrock/node_e2e_tests
Auto commit by PR queue bot
2015-12-09 12:50:22 -08:00
Joe Finney ca3524639d Add .md and .yaml exceptions to verify-flags-underscore.py.
Also removed duplicated exception checks for file extensions.
2015-12-07 16:33:27 -08:00
Joe Finney 47250d8b1b Add exception for hack/jenkins/README.md 2015-12-07 15:32:18 -08:00
derekwaynecarr 55d4f70f8e Resource quota observes deletes faster 2015-12-03 17:35:05 -05:00
Daniel Smith ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
k8s-merge-robot 7644d34759 Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
gmarek 6ade0a1217 Add a tool for monitoring log generation rates 2015-11-30 16:04:48 +01:00
Phillip Wittrock 6b358e43dd Merge pull request #17747 from saad-ali/fixErrorCreatingPDTry2
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-25 15:57:42 -08:00
saadali 42b200a0a0 Refactor GCE wrapper library to allow execution from E2E test suite
This reverts commit 147b6911f5, reversing
changes made to 6fd986065b.
2015-11-25 11:48:06 -08:00
Prashanth Balasubramanian 9aa0efa393 Turn flannel off by default 2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian ad2d3d4c20 Docs etc 2015-11-25 09:42:59 +01:00
Phillip Wittrock ec5ecb18fa Initial Pod e2e test 2015-11-24 15:40:16 -08:00
k8s-merge-robot 683e908f0a Merge pull request #17265 from gambol99/rj/node_labels
Auto commit by PR queue bot
2015-11-24 06:55:31 -08:00
k8s-merge-robot 336c74710c Merge pull request #17260 from pwittrock/node_e2e_tests
Auto commit by PR queue bot
2015-11-23 10:34:19 -08:00
Sergiusz Urbaniak 9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
k8s-merge-robot 4cb0beeefd Merge pull request #17392 from jlowdermilk/e2e-clean-slate
Auto commit by PR queue bot
2015-11-23 03:19:24 -08:00