Daniel Smith
00bdeecb63
Merge pull request #682 from brendandburns/proxy
...
Add support for stopping a proxier.
2014-07-29 23:20:55 -07:00
brendandburns
b0d18b2af0
Merge pull request #571 from lavalamp/master
...
Decode/Encode everywhere
2014-07-29 17:19:33 -07:00
Daniel Smith
2396bdfa1b
Incorporate new types into versioned api system.
...
* Made externalize/internalize generic to prevent boilerplate.
* Add fuzz testing.
* All objects pass fuzz tests now.
* This turned up some things we'll need to fix eventually. Left TODOs.
2014-07-29 15:46:57 -07:00
Brendan Burns
99f0d2e807
Add support for stopping a proxier.
2014-07-29 15:40:47 -07:00
Daniel Smith
fcbd365814
Merge pull request #678 from brendandburns/fix
...
Add some initial validation logic.
2014-07-29 15:22:57 -07:00
brendandburns
1ab9f6ebae
Merge pull request #689 from Sarsate/salt-kubelet-dir
...
Set kubelet user home directory to /var/lib/kubelet
2014-07-29 15:06:30 -07:00
brendandburns
28668055c7
Merge pull request #680 from mfojtik/kube_env
...
Allow to set global KUBERNETES_PROVIDER env var
2014-07-29 15:04:38 -07:00
Danny Jones
bc11e8c57b
Set kubelet user home directory to /var/lib/kubelet
...
The kubelet user does not have permissions to create directories in
/var/lib. This sets the home directory to /var/lib/kubelet so that the
directory is made prior to running the kubelet. This matches the
default root directory path (/var/lib/kubelet) and allows kubelet to
us that directory.
2014-07-29 14:44:01 -07:00
Victor Marmol
a21cec0fc4
Merge pull request #687 from rjnagal/master
...
Fix handling of default cpu shares.
2014-07-29 12:06:50 -07:00
Rohit Jnagal
fbd3e85e9c
Fix handling of default cpu shares.
2014-07-29 18:34:16 +00:00
Michal Fojtik
18f32cf03f
Allow to set global KUBERNETES_PROVIDER env var
2014-07-29 19:57:09 +02:00
Daniel Smith
e10d85efce
Merge pull request #685 from smarterclayton/error_on_empty_service
...
Cleanly delete service without endpoints key
2014-07-29 09:45:31 -07:00
Daniel Smith
4a1660be7c
Merge pull request #679 from dchen1107/minionlogs
...
Fix #663
2014-07-29 09:37:55 -07:00
Daniel Smith
2a0b82a4ed
Merge pull request #681 from brendandburns/noisy
...
Make file error logging edge triggered to reduce log spam.
2014-07-29 09:27:25 -07:00
Clayton Coleman
a49b331794
Cleanly delete service without endpoints key
...
If a service is deleted before the etcd key corresponding to its
endpoints has been created, a 500 error is returned (etcd key
not found). Instead, key not found should be ignored silently.
There is a potential race condition with the controller creating
endpoints after the service has been deleted which a cleanup task
should handle in the future.
Closes #684
2014-07-29 11:44:46 -04:00
Brendan Burns
21ceb380c8
Add some initial validation logic.
2014-07-29 07:51:40 -07:00
Brendan Burns
aa703a4e72
Make file error logging edge triggered to reduce log spam.
2014-07-29 05:38:07 -07:00
Dawn Chen
58008510a0
Fix #663
...
Return all healthy minions instead of only returning the first several
healthy minions. Without the PR, if the first minion failed with health
check, the machine list is empty, thus GET /api/v1beta1/pods failed
with code 500
2014-07-29 00:24:53 -07:00
Daniel Smith
f87bd6b8f9
Merge pull request #628 from jdef/master
...
named container ports should have sane env var names
2014-07-28 23:05:48 -07:00
Daniel Smith
cd0b25f1e5
Merge pull request #639 from rafael/validate_pods
...
Validate pod on create and update.
2014-07-28 18:49:51 -07:00
Rafael Chacón
c9a3ab168d
Validate pod on create and update.
...
* This commit adds pod validations on when creating and updating a pod.
2014-07-28 18:02:30 -07:00
Daniel Smith
1d044e5912
Merge pull request #649 from kelseyhightower/improve_volume_test_coverage
...
volume: improve test coverage and minor refactoring
2014-07-28 17:46:23 -07:00
Daniel Smith
811d710385
Merge pull request #674 from brendandburns/service
...
Don't hard code load balancer zone.
2014-07-28 17:15:22 -07:00
Daniel Smith
9df5a422c7
Merge pull request #669 from brendandburns/cli
...
Add CLI details to the readme.
2014-07-28 17:15:09 -07:00
Dawn Chen
3627bb5190
Merge pull request #675 from dchen1107/minionlogs
...
Instead of apiserver panic when proxy a request to a dead minion,
2014-07-28 17:03:02 -07:00
Dawn Chen
8e9864e8fc
Instead of apiserver panic when proxy a request to a dead minion,
...
print out proper message through http.Response
2014-07-28 16:40:29 -07:00
Brendan Burns
c717b872a3
Don't hard code load balancer zone.
2014-07-28 15:54:16 -07:00
Brendan Burns
bab31afa22
Add CLI details to the readme.
2014-07-28 15:46:58 -07:00
Daniel Smith
9fc52c8aaa
Merge pull request #673 from brendandburns/fix
...
Bail out and print error, if release.sh fails.
2014-07-28 15:40:24 -07:00
Daniel Smith
31a78c3e2b
Merge pull request #619 from brendandburns/controller
...
Make individual controller actions asynchronous.
2014-07-28 15:35:19 -07:00
Brendan Burns
d898fb46cd
Exit if release.sh has errors.
2014-07-28 15:24:07 -07:00
Brendan Burns
1a3e4f8baf
Add some more synchronization.
2014-07-28 15:05:39 -07:00
brendandburns
1d4ed339c9
Merge pull request #664 from smarterclayton/remove_integration_from_build-go
...
Remove cmd/integration from hack/build-go.sh
2014-07-28 14:49:31 -07:00
brendandburns
ad40c67693
Merge pull request #655 from smarterclayton/verify_travis_builds
...
Travis should test that build-go.sh generated something
2014-07-28 14:49:10 -07:00
brendandburns
71b14b464a
Merge pull request #623 from smarterclayton/validate_replication_controllers
...
Add validation to ReplicationControllers
2014-07-28 14:46:47 -07:00
brendandburns
d5a3e8d7cc
Merge pull request #640 from rafael/fix-realpath-issue-on-mac
...
Solve issue with realpath on Mac OS X.
2014-07-28 14:44:45 -07:00
brendandburns
3d03c853d4
Merge pull request #666 from erictune/remove_etcd_proxying
...
Stopy proxying etcd (localhost:4001) on https:/$MASTER_IP/etcd.
2014-07-28 14:34:54 -07:00
brendandburns
49adee6a63
Merge pull request #668 from smarterclayton/move_contributing
...
Move CONTRIB{,UTING}.md so GitHub shows it
2014-07-28 14:34:34 -07:00
Clayton Coleman
46bb48cf13
Merge pull request #648 from kelseyhightower/improve_health_test_coverage
...
health: Improve test coverage
2014-07-28 17:08:33 -04:00
Clayton Coleman
4a8a0e2f0f
Move CONTRIB{,UTING}.md so GitHub shows it
...
Leave an old anchor
2014-07-28 17:06:29 -04:00
brendandburns
fd35c28ef4
Merge pull request #667 from brendandburns/debian
...
Disable early error exit, since the salt script is broken for now.
2014-07-28 14:02:06 -07:00
Brendan Burns
1530da0053
Disable early error exit, since the salt script is broken for now.
...
See: https://github.com/saltstack/salt-bootstrap/pull/436
2014-07-28 13:32:00 -07:00
Daniel Smith
c92e8d38b6
Merge pull request #642 from kelseyhightower/cleanup_master_configs
...
Add master.Config type and cleanup master configuration
2014-07-28 12:53:31 -07:00
Clayton Coleman
f9b6248f26
Travis should test that build-go.sh generated something
...
Add a new hack/test-cmd.sh that tries to use the generated
executables in a meaningful way. It does not require Docker
so as to be runnable in Travis
2014-07-28 15:23:17 -04:00
Eric Tune
10a61d05a1
Stopy proxying etcd (localhost:4001) on https:/$MASTER_IP/etcd.
2014-07-28 12:21:06 -07:00
Clayton Coleman
37e5f96074
Merge pull request #661 from csrwng/fix_salt_stack
...
Temporarily point to older bootstrap script
2014-07-28 15:00:05 -04:00
Clayton Coleman
34c1ad2a07
Remove cmd/integration from hack/build-go.sh
...
Covered by hack/integration-test.sh in travis
2014-07-28 14:46:28 -04:00
brendandburns
616398987a
Merge pull request #643 from zhgwenming/build
...
Use 'go install' instead of 'go build' to generate all commands at the same time.
2014-07-28 11:44:05 -07:00
Daniel Smith
b3cc696486
All types stored in etcd are now API objects.
...
This means I made an api.ContainerManifestList, and added a JSONBase to
endpoints (and changed Name -> JSONBase.ID).
2014-07-28 11:27:36 -07:00
Brendan Burns
f1d6069b01
Use Decode/Encode in etcd_tools
2014-07-28 11:27:36 -07:00