Commit Graph

6763 Commits

Author SHA1 Message Date
Jeff Grafton
fbd11a1a23 Renable code coverage collection in unit tests, including on Travis.
When code coverage is not being collected, just issue a single 'go test'
command, as is already done. Go will internally parallize execution.

When code coverage is being collected, it is necessary to issue separate
'go test' commands for each package, since Go does not support
collecting coverage across packages. Using xargs -P will parallelize
these invocations, however, speeding up test execution.
The number of simultaneous processes to use can be specified with
KUBE_COVERPROCS.

Update Travis config to pass along the number of CPUs to use for running
tests.
2015-03-02 13:04:13 -08:00
Zach Loafman
148ce12b84 Merge pull request #4948 from GoogleCloudPlatform/revert-4883-fix_tcpsocket_validation
Revert "TCPSocket could not be used as it was not checked in validation"
2015-03-02 11:15:17 -08:00
Zach Loafman
4937008ae0 Revert "TCPSocket could not be used as it was not checked in validation" 2015-03-02 11:14:27 -08:00
Brendan Burns
c7cbc5c991 Merge pull request #4883 from smarterclayton/fix_tcpsocket_validation
TCPSocket could not be used as it was not checked in validation
2015-03-02 10:53:48 -08:00
Brendan Burns
fe973461f5 Merge pull request #4916 from thockin/plural_21_endpoints
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Brendan Burns
3168f165ab Merge pull request #4927 from thockin/plural_22_endpoints
Add defaults for HTTGetAction.Path & test actions
2015-03-02 10:52:55 -08:00
Brendan Burns
9f7b78b0a8 Merge pull request #4937 from thockin/plural_23_endpoints
Stop using named ports in examples and scripts.
2015-03-02 10:49:31 -08:00
Brendan Burns
843fa71f2b Merge pull request #4938 from tkulczynski/opfix
Fix waiting for GCE Operations
2015-03-02 10:47:46 -08:00
Eric Tune
4ef76aba5a Merge pull request #4708 from pires/update_coreos_kubelet
CoreOS updates to v0.11.0 and kubelet args fix
2015-03-02 10:20:07 -08:00
Vish Kannan
445fd56739 Merge pull request #4810 from fgrzadkowski/disable_pod_status_probes
Add flag to control probing pods statuses from kubelets.
2015-03-02 09:52:05 -08:00
Jeff Lowdermilk
fdd0b521d2 Merge pull request #4924 from roberthbailey/kubectl-e2e
Use the kubectl binary rather than the wrapper shell script in the kubectl e2e test.
2015-03-02 09:16:22 -08:00
Rohit Jnagal
db907b8562 Merge pull request #4929 from thockin/docker_dash_r
Stop using Docker's -r flag
2015-03-02 08:56:03 -08:00
Rohit Jnagal
f7e255054a Merge pull request #4930 from ainoya/fix-typo
Fix typo
2015-03-02 08:51:02 -08:00
Victor Marmol
93dafdf6b1 Merge pull request #4935 from a-robinson/histogram
Use the new prometheuse histogram type rather than client-side summaries for apiserver latency statistics
2015-03-02 08:50:07 -08:00
Filip Grzadkowski
86b1c90097 Add flag to control probing pods statuses from kubelets. 2015-03-02 16:06:14 +01:00
Tomek Kulczynski
c4e786c701 Fix waiting for GCE Operations 2015-03-02 13:34:37 +01:00
Robert Bailey
3ae85812bd Use the kubectl binary rather than the wrapper shell script in the
kubectl e2e test.
2015-03-01 21:45:04 -08:00
Tim Hockin
e0e6741027 Stop using named ports in examples and scripts. 2015-03-01 21:30:45 -08:00
Tim Hockin
532c39c336 Add defaults for HTTGetAction.Path & test actions
The comment says optional - this makes it optional.  Test handler actions.
2015-03-01 21:23:18 -08:00
Clayton Coleman
d3a5a48d00 TCPSocket could not be used as it was not checked in validation
Attempting to use it gave the error "must register one handler".
Added more tests for it.
2015-03-01 22:31:57 -05:00
Alex Robinson
0d5fe5d078 Use a prometheus Histogram rather than a Summary for tracking apiserver latency. 2015-03-02 02:15:16 +00:00
Alex Robinson
76325ca851 Update the version of the prometheus client library we have vendored so
that we can use true histograms rather than the old Summary type that
calculated quantiles on the client side.
2015-03-02 01:11:37 +00:00
Naoki Ainoya
4b43086ff2 Fix typo 2015-03-01 21:07:22 +09:00
Tim Hockin
d46146da7d Stop using Docker's -r flag
It has been deprecated since 1.3, replaced by restart policies.  We are
not supporting docker < 1.3 any more.
2015-02-28 13:36:42 -08:00
Zach Loafman
6c5b390160 Merge pull request #4928 from GoogleCloudPlatform/revert-4575-versionedFieldSelector
Revert "Adding converter functions to convert field label selectors to i...
2015-02-28 11:43:14 -08:00
Zach Loafman
5f35a67002 Revert "Adding converter functions to convert field label selectors to internal version before matching" 2015-02-28 11:42:49 -08:00
Tim Hockin
ea548b8260 Rename type Port to ContainerPort
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
Dawn Chen
0fec31a11e Merge pull request #4918 from vmarmol/handle-crash
Handle crash in per-pod thread and container killer.
2015-02-27 16:54:37 -08:00
Victor Marmol
c7e7ecdf2c Handle crash in per-pod thread and container killer. 2015-02-27 16:33:46 -08:00
Daniel Smith
d68c738fcf Merge pull request #4575 from nikhiljindal/versionedFieldSelector
Adding converter functions to convert field label selectors to internal version before matching
2015-02-27 16:33:15 -08:00
nikhiljindal
48e7945f65 Versioning the field selectors 2015-02-27 16:10:59 -08:00
Victor Marmol
cc3c4414f8 Merge pull request #4915 from yujuhong/hostport
kubelet: record an event with a clear reason on host port conflict
2015-02-27 16:04:04 -08:00
Yu-Ju Hong
241df2d3be kubelet: record an event with a clear reason on host port conflict
Currently, kubelet silently ignores pods that caused host port conflict. This
commit surfaces the error by recording an event.

It also makes sure that kubelet iterates through the pods in the order of the
creation timestamp, which ensures that pods created later are ignored on
conflict.
2015-02-27 15:51:53 -08:00
Brian Grant
987cabd711 Merge pull request #4828 from sub-mod/v1beta3_json_3
Update examples to support v1beta3 api - liveness/mysql-wordpress
2015-02-27 13:38:46 -08:00
Rohit Jnagal
53f7534a0a Merge pull request #4906 from vmarmol/mon-containers-per-pod
Adding ContainersPerPodCount metric.
2015-02-27 11:50:29 -08:00
Victor Marmol
556acc792b Adding ContainersPerPodCount metric.
This will let us know the composition of pods in clusters.
2015-02-27 11:27:09 -08:00
Rohit Jnagal
014156195c Merge pull request #4905 from vmarmol/mon-sync-pods
Adding metric for latency of SyncPods (synching all pods).
2015-02-27 11:25:37 -08:00
Victor Marmol
a9301b1996 Adding metric for latency of SyncPods (synching all pods). 2015-02-27 11:11:43 -08:00
Rohit Jnagal
1444e59fc9 Merge pull request #4904 from vmarmol/mon-docker
Adding metrics to measure latency of Docker operations.
2015-02-27 11:08:38 -08:00
Tim Hockin
d98b081cf8 Merge pull request #4903 from derekwaynecarr/fix_vagrant_instance_prefix
Fix error provisioning kube-apiserver on vagrant
2015-02-27 10:42:05 -08:00
roberthbailey
3a21d295ec Merge pull request #4848 from jlowdermilk/cleanup
Remove update.sh now that e2e/kubectl.go is stable
2015-02-27 10:36:08 -08:00
Deyuan Deng
164ccd7af4 Merge pull request #4808 from jszczepkowski/node-probes-disabled
Node controller supports disabling node probes.
2015-02-27 13:30:49 -05:00
Victor Marmol
cbf93822ac Adding metrics to measure latency of Docker operations.
Part of #4604.
2015-02-27 10:26:06 -08:00
Tim Hockin
5fee09da6e Merge pull request #4902 from a-robinson/label
Modernize the node selection example to use the `kubectl label` command
2015-02-27 10:21:51 -08:00
derekwaynecarr
5fdf6b131c Fix error provisioning kube-apiserver on vagrant 2015-02-27 10:17:46 -08:00
Alex Robinson
4e9a2be89d Modernize the node selection example to use the kubectl label command. 2015-02-27 10:17:32 -08:00
Brian Grant
900d58ec94 Merge pull request #4899 from lhuard1A/fix_panic_kube_apiserver
Fix nil pointer dereference in kube-apiserver when etcd is not there
2015-02-27 10:10:50 -08:00
Rohit Jnagal
c6175facfb Merge pull request #4901 from vmarmol/mon-startup
Adding sync pod latency metric (again).
2015-02-27 10:08:25 -08:00
Jeff Lowdermilk
537d8cf26f Merge pull request #4886 from brendandburns/kubecfg
Add a "Created" column to the pod view.
2015-02-27 10:05:23 -08:00
Tim Hockin
770966c66c Merge pull request #4900 from lhuard1A/fix_kubernetes_services
Fix `kubernetes` and `kubernetes-ro` services creation
2015-02-27 09:38:02 -08:00