Tim Hockin
d28b51f89f
Document fields, fix presubmit
2015-01-14 14:01:18 -08:00
Sam Ghods
7845ab90f8
Upgrade from gopkg.in/v2/yaml to gopkg.in/yaml.v2 everywhere
2015-01-13 15:06:25 -08:00
Tim Hockin
2ea27c3df3
Fix wrong field check in validation
2015-01-12 14:27:34 -08:00
Clayton Coleman
a52b216324
Add MethodNotSupported error
2015-01-12 12:05:04 -05:00
Daniel Smith
c81dda5d61
improve validation error message printing
2015-01-09 13:06:24 -08:00
Tim Hockin
2a2cef84d6
Merge pull request #3351 from lavalamp/fix
...
Fix error messages; add tests
2015-01-09 12:07:20 -08:00
Tim Hockin
4fcd496d59
change everything to use new util/errors
2015-01-08 22:10:03 -08:00
Daniel Smith
bd7b457d9c
Fix error messages; add tests
2015-01-08 17:34:53 -08:00
Clayton Coleman
7fd887df61
Enable v1beta3 API via --runtime_config=api/v1beta3 flag
...
This exposes the proper v1beta3 API endpoint when the user specifies
the --runtime_config=api/v1beta3 argument to the apiserver. v1beta3
is still considered experimental and subject to change.
--runtime_config is a map of string keys and values, that can be
specified by providing
--runtime_config=a=b,b=c,d,e
Only the key must be specified, the value can be omitted.
Enables v1beta3 in hack/local-up-cluster.sh and hack/test-cmd.sh
2015-01-08 13:01:24 -05:00
Clayton Coleman
8262c30c97
Improve serialization round trip test and add v1beta3
2015-01-08 12:44:28 -05:00
Eric Tune
c2b3d678c0
Merge pull request #3248 from derekwaynecarr/admission_control_hooks
...
Implement basic admission control framework
2015-01-07 16:52:49 -08:00
Daniel Smith
cc04db13d6
fix overeager find-and-replace
2015-01-07 16:38:27 -08:00
Daniel Smith
2050131b9a
ParseOrDie -> MustParse; stop returning pointer
2015-01-07 15:21:35 -08:00
Daniel Smith
35f54addca
Update more packages, tests, binaries for quantity
...
make etcd registry pass test
fix kubelet config for quantity
fix openstack for quantity
fix controller for quantity
fix last tests for quantity
wire into binaries
fix controller manager
fix build for 32 bit systems
2015-01-07 15:21:35 -08:00
Daniel Smith
0d628b3bff
Make semantic deep equal public feature
...
* Use semantic deep equal when validating
* More test cases for deep equal
2015-01-07 15:21:34 -08:00
Daniel Smith
7f49ba0dcf
Put quantity into packages
...
kubelet, GCE, validation, client
2015-01-07 15:21:34 -08:00
Daniel Smith
894a3e6d3f
Wire resource.Quantity into api
2015-01-07 15:21:34 -08:00
derekwaynecarr
a56087cdf8
Remove client from attributes, remove admission control interface, fix-up error codes
2015-01-07 14:42:31 -05:00
Tim Hockin
ded3ef2827
Merge pull request #1185 from lavalamp/numeric
...
Numeric type for resources
2015-01-06 17:05:08 -08:00
Daniel Smith
cd58e49c78
remove 'i' and nasty rounding; test
2015-01-06 16:13:17 -08:00
Dawn Chen
e3c019128e
Add EventSource to api to have both Component and Host information.
2015-01-06 16:08:20 -08:00
Daniel Smith
2d2df5593c
Add examples & clarify comments further
2015-01-06 15:18:22 -08:00
Tim Hockin
1ec3457fc9
Beef up validation tests
2015-01-06 13:02:42 -08:00
Tim Hockin
6e8f5fea8e
Fix validation for BoundPods to allow defaults
...
Thunking to Manifest makes a copy of the input, which is not useful for
defaulting.
2015-01-06 13:02:41 -08:00
Tim Hockin
33fcef6b42
Convert DNSPolicy wrt ContainerManifest
2015-01-06 13:02:40 -08:00
Daniel Smith
b7b2ee34de
add flag helper func
2015-01-05 17:35:41 -08:00
Daniel Smith
6c6cdac0e9
Add accessor functions; round-trip test
2015-01-05 17:35:41 -08:00
Daniel Smith
18b896645c
Saturation + test, also test negative numbers
2015-01-05 17:20:38 -08:00
Daniel Smith
394c9452e7
Start numeric type for resources
2015-01-05 17:20:38 -08:00
Daniel Smith
53a9d106c4
Merge pull request #3167 from thockin/affinity
...
Don't use pointers for session affinity
2014-12-30 17:43:47 -08:00
saadali
e8d30f019d
Modify "kubectl get events" to print FieldPath so BoundPod events for the same Pod but different containers can be differentiated
2014-12-29 21:32:49 -08:00
Tim Hockin
ca27fb259c
Don't use pointers for session affinity
2014-12-29 14:43:17 -08:00
Daniel Smith
998061677b
Merge pull request #2909 from smarterclayton/passversiontorestmapper
...
Allow --api-version to properly override various default behaviors in CLI
2014-12-29 12:14:32 -08:00
Tim Hockin
652479a3b1
Add kubelet DNS flags & api disable for DNS
...
This adds --cluster_dns and --cluster_domain flags to kubelet. If
non-empty, kubelet will set docker --dns and --dns-search flags based on
these. It uses the cluster DNS and appends the hosts's DNS servers.
Likewise for DNS search domains.
This also adds API support to bypass cluster DNS entirely, needed to
bootstrap DNS.
2014-12-29 09:18:12 -08:00
Brendan Burns
9884142061
Clear node status before the validation check.
2014-12-22 11:57:31 -08:00
Clayton Coleman
8bef68d475
RESTMapper should take into account multiple versions
...
When a CLI command `kubectl get rc --api-version=v1beta3` is called,
the API resource name should match v1beta3, not whatever the default
RESTMapper version is. This allows the correct resource name to be
returned ("replicationcontrollers", instead of "replicationControllers").
2014-12-22 14:46:31 -05:00
Dawn Chen
bbaff08991
Fixed #2632
2014-12-19 17:23:47 -08:00
Daniel Smith
9fee1b0503
Merge pull request #3051 from brendandburns/flake
...
Add a PodUnknown phase and make ListPods return even when there are errors
2014-12-19 16:45:44 -08:00
Brendan Burns
5e8490d5fe
Add a PodUnknown phase and make ListPods return even when there are errors
...
obtaining info for some pods.
2014-12-19 15:08:48 -08:00
Brendan Burns
2e17193161
Add Host to PodSpec and add a predicate to make the scheduler work.
2014-12-18 20:12:29 -08:00
Brendan Burns
36bc3604b9
Merge pull request #2893 from brendandburns/pd3
...
Make it easier to update nodes, make it possible to update capacity.
2014-12-18 10:18:54 -08:00
Brendan Burns
4427672cde
Merge pull request #2875 from foleymic/master
...
add SessionAffinity type to ServiceSpec
2014-12-17 21:53:35 -08:00
Brendan Burns
cf0b41535f
Make it easier to update nodes, make it possible to update capacity.
2014-12-17 21:50:26 -08:00
Clayton Coleman
7fde4583f2
v1beta1 should return Minion as kind, rather than Node
...
This changes the internal name logic (for conversion) to prefer the
internal registered preferred name for a resource, and then makes
v1beta1 and v1beta2 prefer Minion.
Fixes #3010
2014-12-17 19:55:56 -05:00
Mike Foley
569ce87f0e
Updated types API to include session affinity. …
...
- changed CLIENT-IP and NONE to be ClientIP and None respectively
- updated conversions to support translating between api versions.
- updated validations to validate session affinity type if specified.
2014-12-17 15:59:20 -05:00
Joe Beda
93ed9173e3
Merge pull request #2781 from commonlisp/master
...
simplify util.ErrorList by eliminating errorListInternal
2014-12-16 15:43:55 -08:00
Clayton Coleman
88715cc6ef
Rename Event.Status to Event.Condition to match v1beta3 agreement
...
Question - should this be a phase? Seems like no, since phase implies
defined lifecycle and this field is explicitly not defined.
2014-12-16 09:43:10 -05:00
Clayton Coleman
d9ad8cfac0
Conversions missing from v1beta1
...
They were in v1beta2, not sure how they got removed.
2014-12-15 16:50:05 -05:00
Clayton Coleman
dadb8431c4
Remove internal PodState in favor of internal PodStatus object
2014-12-15 16:50:05 -05:00
Clayton Coleman
787b5c488a
Add PodIP and Image to v1beta3
...
Fixes #2900
2014-12-15 16:50:05 -05:00