Commit Graph

1209 Commits

Author SHA1 Message Date
Daniel Smith
7910ae8159 Merge pull request #538 from kelseyhightower/replication_controller_test
remove unnecessary expectNoError helper function
2014-07-20 23:02:56 -07:00
Daniel Smith
d11b6246a1 Merge pull request #547 from kelseyhightower/kubelet_tests
Add test cases for Docker image name parsing and cleanup
2014-07-20 20:55:33 -07:00
Daniel Smith
611824c3b7 Merge pull request #546 from kelseyhightower/kubecfg_tests
Remove unnecessary expectNoError helper function
2014-07-20 20:49:36 -07:00
Kelsey Hightower
67efa0a53a Add test cases for Docker image name parsing and cleanup
The tests for Docker image name parsing are repetitive and do not
cover enough test cases.

Refactor the tests to use table testing and add additional test cases.
2014-07-20 19:22:54 -07:00
Kelsey Hightower
682efb7ca5 Remove unnecessary expectNoError helper function
This patch completes a TODO item for the kubecfg package test suite by
removing the expectNoError helper function, which does not reduce enough
typing to justify its usage.
2014-07-20 18:28:55 -07:00
Daniel Smith
b577f36492 Merge pull request #541 from kelseyhightower/httplog_test
add tests for the httplog package
2014-07-20 13:42:15 -07:00
Daniel Smith
78a9205277 Merge pull request #542 from kelseyhightower/heathz_tests
add tests for the healthz package
2014-07-20 12:43:53 -07:00
Kelsey Hightower
713cadac52 add tests for the healthz package
Currently there are no tests for the healthz package. This patch adds
an initial set of tests and improves test coverage.
2014-07-20 12:28:02 -07:00
Kelsey Hightower
a9e0b0d1a3 use %v instead of %#v when logging failures 2014-07-20 11:58:22 -07:00
Kelsey Hightower
34c80bb976 add tests for the httplog package
Currently there are no tests for the httplog package. This patch adds
an initial set of tests and improves test coverage.
2014-07-20 11:26:13 -07:00
Clayton Coleman
28b7b53c72 Merge pull request #529 from lavalamp/recursiveApiObj
Add APIObject for generic inclusion of API objects
2014-07-20 14:25:35 -04:00
Daniel Smith
2f73b87e8a Merge pull request #540 from vmarmol/always-latest
If no tag was specified, pull "latest" explicitly.
2014-07-20 11:04:37 -07:00
Daniel Smith
d02e4d6036 Merge pull request #537 from kelseyhightower/kubecfg_comments
clean up code comments for the kubecfg command
2014-07-20 10:59:45 -07:00
Victor Marmol
0a2b1bf644 If no tag was specified, pull "latest" explicitly.
When no tag is given to Docker pull, it downloads all tags. This could be a
significantly large number of images and in the end we only ever run
:latest.
2014-07-20 10:51:31 -07:00
Kelsey Hightower
3b9029ee94 remove unnecessary expectNoError helper function
This patch completes a TODO item for the replication_controller test
suite by removing the expectNoError helper function, which does not
reduce enough typing to justify its usage.
2014-07-20 09:13:11 -07:00
Kelsey Hightower
5e8326bd1d clean up code comments for the kubecfg command
This patch removes unnecessary code comments and improves the comment
for the readConfig function.
2014-07-20 08:36:20 -07:00
Daniel Smith
3398646170 Merge pull request #536 from kelseyhightower/etcd_servers
normalize -etcd_servers flag across all commands
2014-07-20 08:25:07 -07:00
Kelsey Hightower
dc7ee7c333 normalize -etcd_servers flag across all commands
The -etcd_servers flag is used inconsistently by the Kubernetes commands,
both externally and internally.

This patch fixes the issue by using the same type to represent a list of
etcd servers internally, and declares the -etcd_servers flag consistently
across all commands.

This patch should be 100% backwards compatible with no changes in behavior.
2014-07-20 07:48:47 -07:00
brendandburns
1e63719e02 Merge pull request #533 from kelseyhightower/examples
fix guestbook example to match docs
2014-07-19 22:57:08 -07:00
Kelsey Hightower
64618cd539 fix guestbook example to match docs 2014-07-19 22:22:33 -07:00
Tim Hockin
e4055c2c5d Merge pull request #531 from thockin/cleanups
Break out small functions in cmd/kubelet
2014-07-19 22:17:35 -07:00
Tim Hockin
4aa1f04b08 Break out small functions in cmd/kubelet 2014-07-19 22:03:46 -07:00
Jonathan Boulle
a8353feb25 Fix a few other doc typos 2014-07-19 21:57:07 -07:00
Tim Hockin
e41a0e5763 Merge pull request #530 from lavalamp/dia
Link to architecture diagram
2014-07-19 11:04:30 -07:00
Daniel Smith
06c55d142e Link to architecture diagram 2014-07-18 23:36:36 -07:00
Daniel Smith
69c483f620 Add APIObject for generic inclusion of API objects.
Includes test and json/yaml getters and setters.
2014-07-18 22:35:08 -07:00
Clayton Coleman
d1de579070 Merge pull request #493 from lavalamp/scheduler
Add websocket dep & watch api support
2014-07-18 22:18:03 -04:00
Daniel Smith
1896468c95 Merge pull request #528 from GoogleCloudPlatform/revert-520-master
Revert "assorted formatting and typo fixes"
2014-07-18 17:16:37 -07:00
Daniel Smith
05f01a3654 Revert "assorted formatting and typo fixes" 2014-07-18 17:16:30 -07:00
Daniel Smith
211f6b312f Merge pull request #520 from jonboulle/master
assorted formatting and typo fixes
2014-07-18 17:15:30 -07:00
Daniel Smith
eda30d4f20 Add watch mechanism to apiserver
Implemented via HTTP and websocket. A test is present but this isn't
yet wired into anything.

Eventual purpose of this is to allow a scheduler to watch for new pods.
Or allow replication controller to watch for new items it controlls.
Generally, it'll be good to turn everything possible into a push instead
of a poll.
2014-07-18 16:47:17 -07:00
Tim Hockin
7b905709d9 Merge pull request #521 from MSOpenTech/azure-scripts
Azure scripts
2014-07-18 16:43:20 -07:00
Jeff Mendoza
95ec94514b Rename and move Azure scripts. 2014-07-18 16:13:05 -07:00
Daniel Smith
60b6f5b6bd Merge pull request #524 from brendandburns/service
Make the service reconciller use the API, not a PodRegistry
2014-07-18 15:01:09 -07:00
Brendan Burns
59da62e2a1 Address comments. 2014-07-18 14:27:50 -07:00
Tim Hockin
94c9c96cb7 Merge pull request #525 from Sarsate/superset-hasall
Renames HasAll to IsSuperset; HasAll uses slice.
2014-07-18 13:59:18 -07:00
Danny Jones
136c9e112c Renames HasAll to IsSuperset; HasAll uses slice.
For the pedants. HasAll is now called IsSuperset and
the new HasAll method takes a slice instead of a set.
2014-07-18 13:58:43 -07:00
Daniel Smith
ba871959bd Merge pull request #523 from brendandburns/sanity
Add a sleep to work around apparent races with salt.
2014-07-18 13:58:11 -07:00
Brendan Burns
c6255afe37 Make the service reconciller use the API, not a PodRegistry 2014-07-18 13:54:33 -07:00
Daniel Smith
af0ded703f bump(code.google.com/p/go.net/websocket): 7127eefd36
Add code.google.com/p/go.net/websocket to deps.sh and run update.sh.
2014-07-18 13:48:21 -07:00
Daniel Smith
dd36c45bfe Merge pull request #522 from Sarsate/has-all
Added HasAll utility method for string set.
2014-07-18 13:38:11 -07:00
Danny Jones
2d9bad95f8 Added HasAll utility method for string set.
Added HasAll method which detects if one set contains all
of the memebers of another set.

A.HasAll(B) returns true if A is a superset of B.
2014-07-18 13:19:55 -07:00
Jeff Mendoza
0d618788c3 Fix kube up azure templates 2014-07-18 13:16:49 -07:00
Jeff Mendoza
b4183409ab Comment and whitespace fixes. 2014-07-18 13:11:50 -07:00
Jeff Mendoza
3ff6b0f8a6 First draft of shell scripts for deploying kube to Azure. 2014-07-18 13:11:50 -07:00
Daniel Smith
d8faca9e81 Merge pull request #512 from smarterclayton/communicate_missing_pod_info
PodInfo should indicate when a pod is not found
2014-07-18 13:03:16 -07:00
Jonathan Boulle
9e63c3a633 assorted formatting and typo fixes 2014-07-18 13:02:59 -07:00
Brendan Burns
bf0cbac7ec Add a sleep to work around apparent races with salt. 2014-07-18 12:53:43 -07:00
Tim Hockin
fda69bcca2 Merge pull request #452 from Sarsate/extvol-hostdir
Initial framework for external volumes.
2014-07-18 12:44:38 -07:00
brendandburns
75447a93ef Merge pull request #518 from MSOpenTech/shell-scripts
Make build-release.sh not directory dependant.
2014-07-18 12:35:06 -07:00