Tim Hockin
a1dc200fd4
Merge pull request #1840 from eparis/bind_pods
...
Bind pods
2014-10-16 16:58:03 -07:00
Clayton Coleman
26cff8b9bf
Rename the etcd path for pods to be /registry/nodes/<>/boundpods
2014-10-16 19:29:08 -04:00
Clayton Coleman
6ae611aedd
Write BoundPods to etcd instead of ContainerManifestList
...
Rename ManifestFactory -> BoundPodFactory and change the general structure
of the call to focus on BoundPod.
2014-10-16 19:29:08 -04:00
Clayton Coleman
892942af8f
Read BoundPods from etcd instead of ContainerManifestList
...
There are three values that uniquely identify a pod on a host -
the configuration source (etcd, file, http), the pod name, and the
pod namespace. This change ensures that configuration properly
makes those names unique by changing podFullName to contain both
name (currently ID in v1beta1, Name in v1beta3) and namespace.
The Kubelet does not properly handle information requests for
pods not in the default namespace at this time.
2014-10-16 19:29:08 -04:00
derekwaynecarr
d4e1076306
Fix etcd in proxy for namespace awareness
2014-10-16 16:28:06 -07:00
Tim Hockin
332a03b085
Merge pull request #1844 from lavalamp/fix
...
Don't accept empty input in DecodeInto
2014-10-16 16:27:49 -07:00
Dawn Chen
792bd214db
Merge pull request #1848 from lavalamp/fix2
...
Fix dangerous Sprintf
2014-10-16 15:00:56 -07:00
Daniel Smith
1f9a4750b5
Fix dangerous Sprintf
2014-10-16 14:36:36 -07:00
Dawn Chen
b6057adb41
Merge pull request #1822 from lavalamp/eventing3
...
Add lock to fake handler to avoid races.
2014-10-16 14:00:04 -07:00
bgrant0607
9edd8a104c
Merge pull request #1833 from erictune/authz
...
Add forbidden error.
2014-10-16 13:39:17 -07:00
Daniel Smith
71126e79d1
Don't accept empty input in DecodeInto
2014-10-16 13:38:18 -07:00
bgrant0607
641f72096f
Merge pull request #1824 from ghodss/no_headers_kubectl
...
Add --no-headers to kubectl get
2014-10-16 13:37:25 -07:00
derekwaynecarr
085ca40291
Enforce unique constraint at namespace boundary in etcd, make client and server namespace aware
2014-10-16 13:02:52 -04:00
derekwaynecarr
b63974bd21
Extract list must flatten nodes across directories
2014-10-16 13:02:52 -04:00
Eric Tune
26a2bab797
Add forbidden error.
...
Will be used in subsequent PRs that add authorization.
2014-10-16 09:25:54 -07:00
Tim Hockin
e907011111
Core support for ip-per-service
2014-10-16 08:36:47 -07:00
Sam Ghods
a9a8c016f7
Add --no-headers to kubectl get
2014-10-15 19:05:36 -07:00
Daniel Smith
15c5012933
Add lock to fake handler to avoid races.
2014-10-15 17:46:28 -07:00
Eric Tune
6f577aa321
Merge pull request #1789 from lavalamp/eventing4
...
Add event creation library and implement in scheduler.
2014-10-15 15:55:26 -07:00
Sam Ghods
4b220f8b0a
kubectl: kubecfg rewrite for better modularity and improved UX
2014-10-15 15:29:54 -07:00
Daniel Smith
595d4b4abd
Merge pull request #1676 from anguslees/openstack-provider
...
Add OpenStack cloud provider
2014-10-15 12:05:33 -07:00
Daniel Smith
1dcb25e26e
Merge pull request #1754 from brendandburns/valid
...
Add a predicate for persistent disk scheduling.
2014-10-15 12:03:05 -07:00
Daniel Smith
2987747a0f
Merge pull request #1794 from brendandburns/e2e
...
Add a pod update e2e test in go. Also adjust validation logic a little.
2014-10-15 11:59:30 -07:00
Daniel Smith
d4c750a878
Fix vet-go.sh and some things it complained about
2014-10-15 11:56:19 -07:00
Daniel Smith
68a784439b
Add event listing and printing to kubecfg
2014-10-15 11:42:06 -07:00
Daniel Smith
10214457b7
Make scheduler emit events
2014-10-15 11:42:05 -07:00
Daniel Smith
95b855b8e6
Add event client and easy creation library
2014-10-15 11:42:05 -07:00
Clayton Coleman
fc08836ff6
Merge pull request #1791 from erictune/new_validation_err
...
Use Forbidden valdiation error when no capability
2014-10-15 12:07:51 -04:00
Eric Tune
a7e0ecdd0e
Merge pull request #1715 from ddysher/cloud-minion
...
Add external loop to sync minions from cloudprovider.
2014-10-15 09:03:49 -07:00
Angus Lees
fffa0527d4
Implement Instances interface for OpenStack cloud provider
2014-10-15 14:09:27 +11:00
Angus Lees
a90d503fce
Read user/pass from config and authenticate to OpenStack
2014-10-15 14:09:27 +11:00
Angus Lees
a8ab55b413
Add skeleton for new OpenStack cloud provider
2014-10-15 13:52:12 +11:00
Joe Beda
3f52a97052
Merge pull request #1786 from dchen1107/release
...
Release 0.4
2014-10-14 16:59:01 -07:00
Dawn Chen
3f854498fd
Add 0.4-dev commit
2014-10-14 16:46:22 -07:00
Dawn Chen
4452163ffd
Rev the version to 0.4
2014-10-14 16:46:22 -07:00
Brendan Burns
8d38f8890e
Add an e2e test in go. Also adjust validation logic a little to make it more reasonable.
...
Not integrated into existing e2e yet.
2014-10-14 16:43:00 -07:00
Dawn Chen
33ef0ca159
Make watching error logging message less severe since it is expected.
...
Fix #1653
2014-10-14 16:42:28 -07:00
Eric Tune
bb5a17488f
Use Forbidden valdiation error when no capability
2014-10-14 16:14:28 -07:00
Deyuan Deng
2bd88d4544
Remove OnceAndForever util, create a Run() method on MinionController.
2014-10-14 18:47:42 -04:00
Deyuan Deng
ec46e94dc2
Create MinionController to sync minions from cloudprovider (pkg cloudprovider/controller).
2014-10-14 18:45:25 -04:00
Daniel Smith
c135f8a83e
Merge pull request #1777 from dchen1107/status
...
After all containers in a pod started, If any one container is still run...
2014-10-14 10:55:46 -07:00
Dawn Chen
f01fd8ff38
After all containers in a pod started. If any one container is still running,
...
or in the process of restarting, mark pod status running.
Fix #1758 .
2014-10-14 10:26:31 -07:00
Clayton Coleman
73dba3a613
Move FindTypeMeta into the proper file
2014-10-13 23:29:40 -04:00
Clayton Coleman
485106e270
Remove unused code
2014-10-13 23:29:39 -04:00
Clayton Coleman
13992837ea
Use one copy of EnforcePtr
2014-10-13 23:29:39 -04:00
Clayton Coleman
d488e238dd
Genericize MetaInsertionFactory into a simpler interface
...
The common path code for MIF goes through a conversion cycle - it
can also be done through reflection. This simplifies the Create/Update
methods into Interpret (return version) and Update (through reflection).
In addition it uses only one MetaFactory implementation across all of
our packages which reduces a bit of duplication.
2014-10-13 23:29:39 -04:00
Daniel Smith
841e9e87ff
Merge pull request #1713 from brendandburns/update
...
Add update to the pod etcd handler.
2014-10-13 17:42:30 -07:00
Brendan Burns
4380637be7
Add update to the pod etcd handler.
2014-10-13 17:27:31 -07:00
Brendan Burns
dcef90f487
Merge pull request #1752 from ddysher/scheduler-race
...
Use DesiredState.Host in scheduler predicate
2014-10-13 16:16:42 -07:00
Tim Hockin
6820e068f1
Merge pull request #1700 from lavalamp/eventing2
...
Add Event Registry/REST types
2014-10-13 16:16:29 -07:00