Jonathan Boulle
c43035088b
assorted formatting and typo fixes
2014-07-24 15:10:36 -07:00
Clayton Coleman
30e881c3f9
Write JSON content type for API responses
2014-07-24 17:45:02 -04:00
Daniel Smith
5ae20f9edb
Merge pull request #605 from Sarsate/setup-error
...
SetUp now returns an error.
2014-07-24 14:13:22 -07:00
Daniel Smith
3800c3bdcb
Merge pull request #532 from jonboulle/typos
...
Fix a few other doc typos
2014-07-24 14:06:05 -07:00
Daniel Smith
6f24b361ba
Merge pull request #550 from derekwaynecarr/vagrant_env
...
Vagrant env
2014-07-24 14:05:41 -07:00
Daniel Smith
c979900ce2
Merge pull request #588 from vmarmol/simple-parallel
...
Sync pods asynchronously in the Kubelet.
2014-07-24 14:00:43 -07:00
Danny Jones
1117da4a55
SetUp now returns an error.
...
SetUp returns an error, kubelet now skips pod if error occurs.
2014-07-24 13:53:44 -07:00
Victor Marmol
b131da1cf5
Sync pods asynchronously in the Kubelet.
...
This makes two main changes:
- Runs syncPod in a separate Go routine (and enforces only one of those
runs at a time).
- Uses the pod list to determine if a container should be running or
should be killed (used to use the output of syncPod).
Since Docker pulls are synchronized by the Docker daemon we still block
on that, but pods can now be removed and prepared for starting without
blocking on long pulls.
2014-07-24 13:47:51 -07:00
derekwaynecarr
69ae2fe4bb
Initial vagrant setup and e2e testing support
2014-07-24 16:32:36 -04:00
Daniel Smith
41eb15bcff
Merge pull request #527 from Sarsate/rootdir-flag
...
Adds a flag to specify root working directory.
2014-07-24 13:12:55 -07:00
Danny Jones
bfa4642055
Adds a flag to specify root working directory.
...
--root_dir specifies the directory kubelet will use for it's
procedures. Currently used for volume mounts.
2014-07-24 13:04:05 -07:00
Daniel Smith
b87ae144ea
Merge pull request #552 from MSOpenTech/azure-scripts
...
Update salt config for apiserver to support Azure.
2014-07-24 12:46:53 -07:00
Daniel Smith
cd3ead9122
Merge pull request #593 from dchen1107/cleanup
...
Query minion's /healthz for sanity checking.
2014-07-23 18:02:59 -07:00
Daniel Smith
65575953c0
Merge pull request #589 from monnand/update-docker-client
...
update github.com/fsouza/go-dockerclient
2014-07-23 18:00:24 -07:00
Nan Deng
ea4224cbe7
update github.com/fsouza/go-dockerclient
2014-07-23 17:42:03 -07:00
Dawn Chen
eb6d0238d4
query minion's /healthz for sanity checking. Removing gcutil ssh to
...
VM, and check kubelet's status.
2014-07-23 17:08:24 -07:00
Daniel Smith
b630c7bcb4
Implement watch.Interface via etcd.
2014-07-23 15:04:08 -07:00
Daniel Smith
cac3d1fb3b
Merge pull request #590 from smarterclayton/test_example_syntax
...
Add unit tests for example syntax
2014-07-23 13:59:35 -07:00
Daniel Smith
e2e2ce44c1
Merge pull request #587 from VojtechVitek/data_race
...
Fix data race in kubelet fake_docker_client
2014-07-23 13:00:55 -07:00
Clayton Coleman
044779126b
Add unit tests for example syntax
...
Tests api/examples, examples, and any embedded json in readme.
2014-07-23 15:18:55 -04:00
Vojtech Vitek (V-Teq)
1f78b0fc6f
Fix reslice and data races in kubelet fake_docker_client
...
- Fix reslice in Pull() to remove the just returned error
- Fix data races found during the integration testing
- Remove one-liner helper method for better readability
2014-07-23 20:44:42 +02:00
Daniel Smith
7a8e268c0e
Merge pull request #548 from kelseyhightower/improve_kubecfg_tests
...
Use table testing for makePort tests
2014-07-23 09:50:21 -07:00
Daniel Smith
44e4066958
Merge pull request #583 from vmarmol/update-cadvisor
...
Update the cAdvisor manifest for the new volume type.
2014-07-23 09:48:27 -07:00
Daniel Smith
57b258e44f
Merge pull request #581 from smarterclayton/fix_introduced_bugs_in_kubecfg
...
Restore behavior of trimming / from kubecfg url
2014-07-23 09:40:24 -07:00
Daniel Smith
c3625fd218
Merge pull request #582 from smarterclayton/reference_e2e_tests
...
Describe e2e-test.sh in the README
2014-07-23 09:30:18 -07:00
Victor Marmol
db38b114fe
Update the cAdvisor manifest for the new volume type.
...
Closes #559
2014-07-23 08:38:38 -07:00
Clayton Coleman
1c8204b21f
Describe e2e-test.sh in the README
2014-07-23 11:21:55 -04:00
Clayton Coleman
586a9f4356
Restore behavior of trimming / from kubecfg url
...
Also make the output and validation of input better for kubecfg api calls.
Kubecfg will now display a usage argument if the URL is incorrect or an
unrecognized storage type is passed.
2014-07-23 11:16:41 -04:00
Clayton Coleman
60aa8639fa
Merge pull request #578 from kelseyhightower/readme_fixes
...
Update the broken pod.json example in the README
2014-07-23 10:42:10 -04:00
Kelsey Hightower
a00dcc1f70
Update the broken pod.json example in the README
2014-07-23 07:24:30 -07:00
Kelsey Hightower
609050da39
Use table testing for makePort tests
2014-07-23 00:18:09 -07:00
brendandburns
245feaf722
fix json.
2014-07-23 00:04:28 -07:00
brendandburns
46ac0aa81d
modified to drop the leading '/'
...
Since it doesn't work @ head.
2014-07-22 23:56:43 -07:00
brendandburns
b98b8295f4
Merge pull request #576 from brendandburns/run
...
Actually fix kubecfg.
2014-07-22 23:53:47 -07:00
Brendan Burns
c3f313784d
Actually fix kubecfg.
2014-07-22 23:40:55 -07:00
Daniel Smith
212b8f6145
Merge pull request #574 from brendandburns/run
...
Add a name to containers created by RunController so that validation works
2014-07-22 23:02:49 -07:00
Brendan Burns
fcb9201c3b
Add a name to containers created by RunController so that validation works.
2014-07-22 22:58:41 -07:00
brendandburns
09adbb962d
Merge pull request #572 from brendandburns/fix
...
Change a != to a < to fix kubecfg.
2014-07-22 22:54:09 -07:00
Brendan Burns
cf486a53b6
Change a != to a < to fix kubecfg.
2014-07-22 22:45:17 -07:00
Daniel Smith
ec0f639a21
Merge pull request #551 from erictune/private_kubelet
...
Private kubelet
2014-07-22 18:58:43 -07:00
Daniel Smith
0ef600c8cd
Merge pull request #569 from smarterclayton/fix_bad_watch_in_etcd
...
Kubelet etcd watch skipping indices
2014-07-22 18:23:00 -07:00
Daniel Smith
08b5066fcf
Merge pull request #570 from smarterclayton/kubecfg_cant_update
...
kubecfg doesn't allow updates because of path checks
2014-07-22 18:21:14 -07:00
Dawn Chen
c874faa1d1
Merge pull request #568 from smarterclayton/update_examples
...
Some examples don't pass Manifest validation
2014-07-22 17:28:53 -07:00
Clayton Coleman
fbd7bc375f
kubecfg doesn't allow updates because of path checks
...
Check for 1 path segment on create/list, 2 on update/delete, and
allow any number of path segments on get (for now).
Also pretty prints the list of actual types that are supported for
create/update, which today corresponds to the list of types that
are supported period.
2014-07-22 20:25:06 -04:00
Clayton Coleman
bc0ac1e81b
Kubelet etcd watch skipping indices
...
The next index to watch should always be current+1 if we got a
response from etcd, but otherwise it should always be current.
Moved the increment into fetchNextState which returns the next
index to watch for (or the same if an error occurs)
2014-07-22 20:24:18 -04:00
Clayton Coleman
d9d92679c3
Some examples don't pass Manifest validation
2014-07-22 20:17:14 -04:00
Dawn Chen
e7f4460ab8
Merge pull request #562 from dchen1107/cleanup
...
Fixed kube-up.sh to point to the right place.
2014-07-22 16:52:21 -07:00
Eric Tune
ded67ead1e
Make Kubelet type members private and provide New functions.
2014-07-22 14:40:59 -07:00
Dawn Chen
47ad71f92d
HandleIndex when URL.Path == "/"
2014-07-22 14:12:16 -07:00
Jeff Mendoza
cc471c29f3
Add gce grain to salt config, change apiserver salt config.
2014-07-22 10:30:00 -07:00