Chao Xu
4562a26d34
generated changes
2016-05-04 21:54:55 -07:00
Chao Xu
a46b7775fc
API changes for finalizers and system-wide garbage collector
2016-05-04 21:54:55 -07:00
k8s-merge-robot
93e3df8e55
Merge pull request #24789 from wojtek-t/use_proper_codec_in_client
...
Automatic merge from submit-queue
Use proper codec in client
2016-05-04 11:00:04 -07:00
k8s-merge-robot
bc010d76cc
Merge pull request #24751 from krousey/meta_unstructured
...
Automatic merge from submit-queue
Redo Unstructured to have accessor methods
Add accessor methods that implement pkg/api/unversioned.ObjectKind,
pkg/api/meta.Object, pkg/api/meta.Type and pkg/api/meta.List.
Removed the convenience fields since writing to them was not reflected
in serialized JSON.
2016-05-04 04:22:34 -07:00
Wojciech Tyczynski
303742ce12
Merge pull request #24723 from smarterclayton/strip_noop_imports
...
Protobuf generation should strip side-effect imports
2016-05-04 11:16:45 +02:00
Wojciech Tyczynski
b4c83022e3
Add NegotiatedSerializer to config
2016-05-04 10:02:58 +02:00
Kris
28132be07e
Redo Unstructured to have accessor methods
...
Add accessor methods that implement pkg/api/unversioned.ObjectKind,
pkg/api/meta.Object, pkg/api/meta.Type and pkg/api/meta.List.
Removed the convenience fields since writing to them was not reflected
in serialized JSON.
2016-05-03 14:07:28 -07:00
Clayton Coleman
99430cf5de
Strip side-effect imports from generated protobuf
2016-05-02 18:12:20 -04:00
Clayton Coleman
84dee0d9cc
Frame decoder was checking cap(), not len()
...
Resulted in bytes being missing from the streaming decoder. Update both
parts.
2016-04-30 17:57:17 -04:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Clayton Coleman
8d0187add2
Generation changes
2016-04-29 17:12:09 -04:00
Clayton Coleman
cf133ee03a
Convert remaining int types to fixed
...
Having internal and external integer types being different hides
potential conversion problems. Propagate that out further (which will
also allow us to better optimize conversion).
2016-04-29 17:12:04 -04:00
Random-Liu
7796b619fd
Cleanup the code with new engine-api
2016-04-29 13:34:38 -07:00
Random-Liu
3876972d3f
Clean up go-dockerclient reference.
2016-04-29 13:32:19 -07:00
k8s-merge-robot
46a6cae14e
Merge pull request #24907 from smarterclayton/default_inliners
...
Automatic merge from submit-queue
Make all defaulters public
Will allow for generating direct accessors in conversion code instead of using reflection.
@wojtek-t
2016-04-29 06:36:09 -07:00
k8s-merge-robot
ad67363c12
Merge pull request #24362 from ArtfulCoder/hostname-field
...
Automatic merge from submit-queue
Promote Pod Hostname & Subdomain to fields (were annotations)
Deprecating the podHostName, subdomain and PodHostnames annotations and created corresponding new fields for them on PodSpec and Endpoints types.
Annotation doc: #22564
Annotation code: #20688
2016-04-29 01:06:45 -07:00
k8s-merge-robot
8f9bff5b25
Merge pull request #24906 from smarterclayton/better_benchmark
...
Automatic merge from submit-queue
Slightly more effective conversion test (better variety)
Exercises more code paths for debugging memory allocations.
2016-04-28 23:17:57 -07:00
Abhishek Shah
8a3ed48808
Added Hostname and Subdomain field to Pod.Spec
2016-04-28 10:56:56 -07:00
Clayton Coleman
3e36dd62c6
Move defaulter functions to public methods with a convention
...
Preparing to generate direct defaulter access.
2016-04-28 12:20:13 -04:00
Jordan Liggitt
1e5815872e
Validate deletion timestamp doesn't change on update
2016-04-28 11:50:48 -04:00
Clayton Coleman
9e3c2ee4ea
Optimize group version allocations
2016-04-28 10:53:42 -04:00
Clayton Coleman
d0a7b93050
Slightly more effective conversion test (better variety)
2016-04-27 23:11:25 -04:00
Clayton Coleman
236925be87
Avoid allocations and a reflect.Call in conversion
...
reflect.Call is fairly expensive, performing 8 allocations and having to
set up a call stack. Using a fairly straightforward to generate switch
statement, we can bypass that early in conversion (as long as the
function takes responsibility for invocation). We may also be able to
avoid an allocation for the conversion scope, but not positive yet.
```
benchmark old ns/op new ns/op delta
BenchmarkPodConversion-8 14713 12173 -17.26%
benchmark old allocs new allocs delta
BenchmarkPodConversion-8 80 72 -10.00%
benchmark old bytes new bytes delta
BenchmarkPodConversion-8 9133 8712 -4.61%
```
2016-04-26 16:42:12 -04:00
k8s-merge-robot
55cb7cceb3
Merge pull request #23632 from stefwalter/parse-repository-tag-removed
...
Automatic merge from submit-queue
Fix use of docker removed ParseRepositoryTag() function
Docker has removed the ParseRepositoryTag() function in
leading to failures using the kubernetes Go client API.
Failure:
```
../k8s.io/kubernetes/pkg/util/parsers/parsers.go:30: undefined: parsers.ParseRepositoryTag
```
2016-04-26 09:49:25 -07:00
jianhuiz
1c1ad1ad3f
add cluster registry
2016-04-26 02:06:47 -07:00
jianhuiz
fcb241d05c
add api group 'federation' and 'cluster' object
2016-04-26 02:05:51 -07:00
k8s-merge-robot
293b0d0815
Merge pull request #23493 from soltysh/move_job_internals
...
Automatic merge from submit-queue
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
This addressed the job part of #23216 , this is still WIP. Will notify once finished. I'd like to have it in before starting working on ScheduledJob.
@lavalamp @erictune fyi
2016-04-25 20:58:49 -07:00
Stef Walter
481dbca8bc
Fix use of docker removed ParseRepositoryTag() function
...
Docker has removed the ParseRepositoryTag() function in
leading to failures using the kubernetes Go client API.
Lets use github.com/docker/distribution reference.ParseNamed()
instead.
Failure:
../k8s.io/kubernetes/pkg/util/parsers/parsers.go:30: undefined: parsers.ParseRepositoryTag
2016-04-25 11:37:10 +02:00
Wojciech Tyczynski
c0020aff59
Merge pull request #24539 from smarterclayton/unify_stream_and_serial
...
Unify Streaming and normal Serializers
2016-04-25 11:25:16 +02:00
Maciej Szulik
a3b4447305
Move internal types of job from pkg/apis/extensions to pkg/apis/batch
2016-04-25 11:03:54 +02:00
k8s-merge-robot
de9c1a2a51
Merge pull request #24247 from sdminonne/service_loadbalancer_quotas
...
Automatic merge from submit-queue
Adding loadBalancer services to quota system
@derekwaynecarr follow up to #22154 .
2016-04-23 10:22:45 -07:00
Clayton Coleman
3111985564
Handle streaming serializers more consistently
...
Add tests to watch behavior in both protocols (http and websocket)
against all 3 media types. Adopt the
`application/vnd.kubernetes.protobuf;stream=watch` media type for the
content that comes back from a watch call so that it can be
distinguished from a Status result.
2016-04-22 11:07:24 -04:00
k8s-merge-robot
66dc446ba0
Merge pull request #24347 from derekwaynecarr/fix_configmap
...
Automatic merge from submit-queue
Fix ConfigMapList.Items to not use omitempty
Fixes https://github.com/kubernetes/kubernetes/issues/24335
2016-04-22 04:07:44 -07:00
Wojciech Tyczynski
3f06755566
Regenerate protobuf files
2016-04-21 16:22:52 +02:00
k8s-merge-robot
09adffb318
Merge pull request #23317 from aanm/removing-ipv4-enforcement
...
Automatic merge from submit-queue
Remove requirement that Endpoints IPs be IPv4
Signed-off-by: André Martins <aanm90@gmail.com>
Release Note: The `Endpoints` API object now allows IPv6 addresses to be stored. Other components of the system are not ready for IPv6 yet, and many cloud providers are not IPv6 compatible, but installations that use their own controller logic can now store v6 endpoints.
2016-04-21 03:34:50 -07:00
derekwaynecarr
fd04ff1bd1
Generated artifacts for ConfigMapList change
2016-04-21 02:07:45 -04:00
derekwaynecarr
155c1a4465
ConfigMapList.Items should not be omitempty
2016-04-21 02:07:45 -04:00
Prashanth Balasubramanian
0ac10c6cc2
PetSet type, apps apigroup
2016-04-20 18:49:31 -07:00
Clayton Coleman
86fb71aba7
Generated deep copies for new proto types
2016-04-20 12:13:09 -04:00
Clayton Coleman
e16a7f2421
Initial protobuf generated files
2016-04-20 12:13:05 -04:00
Clayton Coleman
cea4c010a6
Strip the proto build guard
2016-04-20 12:12:29 -04:00
AdoHe
16960d3ad2
fix reuse nodePort issue
2016-04-20 02:30:03 -04:00
k8s-merge-robot
6a7dcde2d5
Merge pull request #23955 from fejta/pkg-validation
...
Automatic merge from submit-queue
Use tagged gcr.io redis image for pkg/api tests
Migrate pkg/api/validation/testdata redis images to use tagged gcr.io version for https://github.com/kubernetes/kubernetes/issues/13288 and https://github.com/kubernetes/kubernetes/issues/20836
2016-04-19 16:37:13 -07:00
k8s-merge-robot
822618afb5
Merge pull request #23912 from smarterclayton/watch_until
...
Automatic merge from submit-queue
Add watch.Until, a conditional watch mechanism
A more powerful tool than wait.Poll, allows a watch interface to drive conditionals to react to changes on a resource or resources. Provide a set of standard conditions that are in common use in the code, and updates e2e to use a few of these.
Extracted from #23567
2016-04-16 21:05:40 -07:00
Clayton Coleman
f89bde1415
Add watch.Until, a conditional watch mechanism
...
Also add helpers for collecting the events that happen during a watch
and a helper that makes it easy to start a watch from any object with
ObjectMeta.
2016-04-15 11:49:07 -04:00
Chakravarthy Nelluri
f53bc4ebe0
Flexvolume: Add support for multiple secrets
2016-04-15 02:40:38 -07:00
nikhiljindal
6eae11e166
Updating the schema validation code
2016-04-14 18:07:00 -07:00
Erick Fejta
eb0352cf2d
Use fake images for pkg/api/validation unit tests
2016-04-14 17:13:15 -07:00
Daniel Smith
490c68dbe3
Merge pull request #23768 from wojtek-t/conversions_with_framework_6
...
Migrate to new conversions generator - part 2
2016-04-14 11:30:21 -07:00
André Martins
c1a360b1d5
Removing IPv4 enforcement on Endpoints
...
Signed-off-by: André Martins <aanm90@gmail.com>
2016-04-14 16:20:00 +01:00
Salvatore Dario Minonne
f4ed4998ff
Adding loadbalancer services to quota
2016-04-14 14:06:42 +02:00
k8s-merge-robot
20eccc24cd
Merge pull request #24143 from goltermann/vetclean
...
Automatic merge from submit-queue
Final vet fixes; enabling vet checks in verify scripts.
Fixes #22523 , #22524
2016-04-13 16:46:46 -07:00
Daniel Smith
4c539bf082
Merge pull request #23490 from wojtek-t/remove_set_from_storage_interface
...
Remove Set() from storage.Interface.
2016-04-13 14:22:05 -07:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
k8s-merge-robot
8eb19c7889
Merge pull request #22154 from sdminonne/service_nodeports_quotas
...
Automatic merge from submit-queue
Adding nodeports services to quota
To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
k8s-merge-robot
f5e8e7453b
Merge pull request #23806 from smarterclayton/streaming_watch
...
Automatic merge from submit-queue
Implement a streaming serializer for watch
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
@wojtek-t @lavalamp
2016-04-13 05:18:17 -07:00
k8s-merge-robot
acf9492cb1
Merge pull request #23660 from goltermann/vetclean
...
Automatic merge from submit-queue
Additional go vet fixes
Mostly:
- pass lock by value
- bad syntax for struct tag value
- example functions not formatted properly
2016-04-12 06:22:16 -07:00
Salvatore Dario Minonne
15b7577454
Adding nodeports services to quota
2016-04-12 11:09:16 +02:00
Clayton Coleman
3474911736
Implement a streaming serializer for watch
...
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
2016-04-11 11:22:05 -04:00
Wojciech Tyczynski
7448cc04e1
Switch to new generator
2016-04-11 08:04:45 +02:00
Wojciech Tyczynski
cd2de7d4cd
Merge pull request #23741 from wojtek-t/conversions_with_framework_5
...
Small improvements in conversion generator
2016-04-10 22:51:26 -07:00
Wojciech Tyczynski
6d954a1490
Merge pull request #23871 from smarterclayton/proto_timestamp
...
Implement a simpler unversioned.Time serialization
2016-04-10 22:47:49 -07:00
nikhiljindal
b476ee4b12
Allowing type object in kubectl swagger validation
2016-04-08 17:26:35 -07:00
goltermann
696423e044
Vet fixes, mostly pass lock by value errors.
2016-04-06 11:27:40 -07:00
Clayton Coleman
1f012a2bb3
Implement a simpler unversioned.Time serialization
...
Time is the number of seconds since the unix epoch and is consistent
with our JSON fields.
2016-04-05 11:19:24 -04:00
Wojciech Tyczynski
49d3c3962c
Small improvements in conversion generator
2016-04-05 02:10:23 +02:00
Wojciech Tyczynski
53f433f019
Remove Set() from storage.Interface.
2016-04-04 17:54:18 +02:00
k8s-merge-robot
b1b58c4165
Merge pull request #23596 from deads2k/relax-case-in-restmapper
...
Automatic merge from submit-queue
relax restmapper resource matching
We were matching case insensitive on Kinds, not Resources, thus driving me insane.
@liggitt @caesarxuchao
2016-04-02 14:12:32 -07:00
k8s-merge-robot
f5c93c8ddc
Merge pull request #23472 from wojtek-t/fix_object_meta_for
...
Automatic merge from submit-queue
Switch from api.ObjectMetaFor to meta.Accessor in most of places
Fix #23278
@smarterclayton @lavalamp
2016-04-02 02:33:40 -07:00
k8s-merge-robot
f8ea3fab53
Merge pull request #23427 from wojtek-t/conversions_with_framework_4
...
Automatic merge from submit-queue
Migrate to the new conversion generator - part1
This PR contains two commits:
- few more fixes to the generator
- migration of the pkg/api/v1 to use the new generator
The second commit is big, but I reviewed the changes and they contain:
- conversions between types that we didn't even generating conversion between
- changes in how we handle maps/pointers/slices - previously we were explicitly referencing fields, now we are using "shadowing in, out" to make the code more generic
- lack of auto-generated method for ReplicationControllerSpec (because these types are different (*int vs int for Replicas) and a preexisting conversion already exists
Most of issues in the first commit (e.g. adding references to "in" and "out" for slices/maps/points) were discovered by our tests. So I'm pretty confident that this change is correct now.
2016-03-31 17:28:36 -07:00
Wojciech Tyczynski
2699be2e7e
Switch api.ObjetaMetaFor to meta.Accessor
2016-03-31 17:52:31 +02:00
Clayton Coleman
f2139b186c
Add an experimental protobuf serializer
...
Provide a core protobuf serializer that can either write objects with
an envelope (a 4 byte prefix and a runtime.Object) or raw to a byte
array.
2016-03-31 10:41:11 -04:00
deads2k
936421a4ab
relax restmapper resource matching
2016-03-30 15:37:47 -04:00
Wojciech Tyczynski
700e459434
Regenerate conversions
2016-03-29 09:55:07 +02:00
Wojciech Tyczynski
9ee8278e4a
Fix remaining issues with conversion generator.
2016-03-29 09:49:27 +02:00
Paul Morie
b8db049358
Fix typo in PV reclaim policy API doc
2016-03-28 19:13:48 -04:00
Clayton Coleman
18906e0bcc
Change PreferredSchedulingTerm to int32
...
Follow our external conventions and allow protobuf
2016-03-26 22:15:30 -04:00
k8s-merge-robot
1ad3049ed6
Merge pull request #23288 from smarterclayton/refactor_codec
...
Auto commit by PR queue bot
2016-03-26 10:47:58 -07:00
k8s-merge-robot
95e09e303f
Merge pull request #22965 from caesarxuchao/delete-UID-precondition
...
Auto commit by PR queue bot
2016-03-26 09:36:28 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
Chao Xu
31b425b3a1
add delete precondition
2016-03-25 11:21:39 -07:00
k8s-merge-robot
b8e390a0f3
Merge pull request #22824 from brendandburns/enable
...
Auto commit by PR queue bot
2016-03-24 22:26:39 -07:00
k8s-merge-robot
4e4ad61260
Merge pull request #23366 from goltermann/vet
...
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
k8s-merge-robot
8355cefb7b
Merge pull request #23373 from wojtek-t/conversions_with_framework_3
...
Auto commit by PR queue bot
2016-03-24 01:39:23 -07:00
Wojciech Tyczynski
42e7ecda5a
Fix bunch of issues with conversion generator.
2016-03-24 08:26:51 +01:00
k8s-merge-robot
dae5ac4828
Merge pull request #22913 from liggitt/unit-test-package
...
Auto commit by PR queue bot
2016-03-23 21:46:34 -07:00
Clayton Coleman
54eaa56b92
Add a streaming and "raw" abstraction to codec factory
2016-03-23 17:25:20 -04:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
Brendan Burns
87a1635c93
Machine generated stuff
2016-03-22 14:41:37 -07:00
k8s-merge-robot
772069feca
Merge pull request #23176 from pmorie/unique-volume-mount
...
Auto commit by PR queue bot
2016-03-22 05:40:17 -07:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
Wojciech Tyczynski
89585237cd
Rename RawJSON to Raw in runtime.RawExtension and add ContentType & ContentEncoding.
2016-03-18 12:35:27 +01:00
Paul Morie
24aade64f5
Validate that volume mountpoints are unique
2016-03-17 23:52:34 -04:00
Wojciech Tyczynski
7e2fdeae7b
Regenerate autogenerate files
2016-03-17 15:22:19 +01:00
k8s-merge-robot
53c6b35b71
Merge pull request #23038 from wojtek-t/rename_raw_json_to_raw
...
Auto commit by PR queue bot
2016-03-17 04:05:43 -07:00
k8s-merge-robot
2880708444
Merge pull request #23030 from timothysc/api_etcd_error
...
Auto commit by PR queue bot
2016-03-17 03:30:59 -07:00
Wojciech Tyczynski
e610c137c0
Regenerate auto-generated files
2016-03-17 09:30:02 +01:00
Thomas Graf
44eaf33056
api/endpoints/util: Add some IPv6 address testcases
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2016-03-17 01:27:16 +01:00
k8s-merge-robot
c412dcba7f
Merge pull request #23023 from caesarxuchao/minor-fix-aliases
...
Auto commit by PR queue bot
2016-03-16 10:35:36 -07:00
Wojciech Tyczynski
218d3e5923
Rename RawJSON to Raw in runtime.Unknown and add ContentType & ContentEncoding.
2016-03-16 16:43:58 +01:00
Timothy St. Clair
d3da93c174
Renaming api/errors/etcd to api/errors/storage as it no longer
...
has any etcd specific dependencies. Reference issue #17546
2016-03-15 20:23:47 -05:00
Chao Xu
51886c3880
move aliasToResource to a field of DefaultRESTMapper
2016-03-15 16:07:25 -07:00
Chao Xu
9bdd30fdf1
make fullyLabeledReplicas optional in rc and rs status
2016-03-15 15:10:55 -07:00
Jordan Liggitt
3594370cfe
register internal types with scheme for reference unit test
2016-03-12 19:06:20 -05:00
Jordan Liggitt
d008283942
Tolerate multiple registered versions in a single group
2016-03-12 12:49:41 -05:00
Chao Xu
a6240c1ab8
add FullyLabeledReplicas in Replicaset Status and ReplicationController Status
2016-03-11 23:55:04 -08:00
deads2k
5bd161a9cc
allow resource.version.group in kubectl
2016-03-11 10:21:50 -05:00
k8s-merge-robot
7341b0a265
Merge pull request #22766 from aveshagarwal/master-limitranges-validation-fix
...
Auto commit by PR queue bot
2016-03-10 15:59:23 -08:00
Avesh Agarwal
427774306c
Fix validation of resources (cpu, memory, storage) for limit range types.
2016-03-10 11:33:53 -05:00
Madhusudan.C.S
fe26381c90
Support for both map-based and set-based selectors in extensions/v1beta1.Scale
...
Here are a list of changes along with an explanation of how they work:
1. Add a new string field called TargetSelector to the external version of
extensions Scale type (extensions/v1beta1.Scale). This is a serialized
version of either the map-based selector (in case of ReplicationControllers)
or the unversioned.LabelSelector struct (in case of Deployments and
ReplicaSets).
2. Change the selector field in the internal Scale type (extensions.Scale) to
unversioned.LabelSelector.
3. Add conversion functions to convert from two external selector fields to a
single internal selector field. The rules for conversion are as follows:
i. If the target resource that this scale targets supports LabelSelector
(Deployments and ReplicaSets), then serialize the LabelSelector and
store the string in the TargetSelector field in the external version
and leave the map-based Selector field as nil.
ii. If the target resource only supports a map-based selector
(ReplicationControllers), then still serialize that selector and
store the serialized string in the TargetSelector field. Also,
set the the Selector map field in the external Scale type.
iii. When converting from external to internal version, parse the
TargetSelector string into LabelSelector struct if the string isn't
empty. If it is empty, then check if the Selector map is set and just
assign that map to the MatchLabels component of the LabelSelector.
iv. When converting from internal to external version, serialize the
LabelSelector and store it in the TargetSelector field. If only
the MatchLabel component is set, then also copy that value to
the Selector map field in the external version.
4. HPA now just converts the LabelSelector field to a Selector interface
type to list the pods.
5. Scale Get and Update etcd methods for Deployments and ReplicaSets now
return extensions.Scale instead of autoscaling.Scale.
6. Consequently, SubresourceGroupVersion override and is "autoscaling"
enabled check is now removed from pkg/master/master.go
7. Other small changes to labels package, fuzzer and LabelSelector
helpers to piece this all together.
8. Add unit tests to HPA targeting Deployments and ReplicaSets.
9. Add an e2e test to HPA targeting ReplicaSets.
2016-03-09 17:54:17 -08:00
k8s-merge-robot
f046d6c83e
Merge pull request #22420 from AdoHe/kubectl_swagger_cache
...
Auto commit by PR queue bot
2016-03-07 15:18:56 -08:00
k8s-merge-robot
95ab1936ea
Merge pull request #22559 from krousey/discbreak
...
Auto commit by PR queue bot
2016-03-06 12:47:07 -08:00
k8s-merge-robot
b198c820cd
Merge pull request #22402 from erictune/psp-simplify
...
Auto commit by PR queue bot
2016-03-05 07:55:19 -08:00
AdoHe
893e36c61d
fix kubectl swagger cache bug
2016-03-04 18:59:40 -05:00
Abhi Shah
9bfd70f8f6
Merge pull request #20688 from ArtfulCoder/podhostname
...
Specify Pod hostname by Annotation
2016-03-04 15:17:34 -08:00
k8s-merge-robot
2a6d0756d2
Merge pull request #22553 from janetkuo/etcd-storage-update-interpret
...
Auto commit by PR queue bot
2016-03-04 15:14:52 -08:00
Kris
dbde4fd798
Move the discovery client to its own package
2016-03-04 13:44:52 -08:00
Abhishek Shah
a3c00aadd5
Specify hostname, subdomain via annotation on podspec.
...
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Janet Kuo
b45dce5aff
Interpret etcd not found error on a update
2016-03-04 12:06:13 -08:00
Abhi Shah
b25a48d605
Revert "Move discovery client to its own package"
2016-03-04 09:24:54 -08:00
Abhi Shah
627edd2588
Merge pull request #22016 from krousey/discbreak
...
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
k8s-merge-robot
0e3469dce3
Merge pull request #22183 from pmorie/config-quota
...
Auto commit by PR queue bot
2016-03-04 03:12:51 -08:00
k8s-merge-robot
de72b6be1b
Merge pull request #21907 from justinsb/load_balancer_source_ranges
...
Auto commit by PR queue bot
2016-03-03 14:10:47 -08:00
Eric Tune
4d090bfb09
Rename PodSecurityPolicy fields
...
In podSecurityPolicy:
1. Rename .seLinuxContext to .seLinux
2. Rename .seLinux.type to .seLinux.rule
3. Rename .runAsUser.type to .runAsUser.rule
4. Rename .seLinux.SELinuxOptions
1,2,3 as suggested by thockin in #22159 .
I added 3 for consistency with 2.
2016-03-03 11:49:48 -08:00
Jeff Lowdermilk
b05cf6d53a
Merge pull request #22204 from thockin/path-colon
...
Validate volume paths do not have ':'
2016-03-03 11:41:47 -08:00
Justin Santa Barbara
cb92133dfa
LB Source Ranges: Move validation into API layer
...
Had to move other things around too to avoid a weird api ->
cloudprovider dependency.
Also adding fixes per code reviews.
(This is a squash of the previously approved commits)
2016-03-03 10:27:17 -05:00
k8s-merge-robot
d81d823ca5
Merge pull request #22393 from eparis/blunderbuss
...
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294
Move blunderbuss assignees into tree
2016-03-02 20:46:32 -05:00
Paul Morie
834776aa1f
Add resource quota for ConfigMap
2016-03-02 09:59:51 -05:00
k8s-merge-robot
47fda638b6
Merge pull request #21744 from ethernetdan/defaultrestmapper-pkg-path-check
...
Auto commit by PR queue bot
2016-03-01 04:25:23 -08:00
k8s-merge-robot
a608cc94e8
Merge pull request #22156 from caesarxuchao/revert-20202
...
Auto commit by PR queue bot
2016-02-29 18:24:31 -08:00
Kris
f22664159e
Move the discovery client to its own package
2016-02-29 15:37:21 -08:00
Tim Hockin
56be551416
Validate volume paths do not have ':'
2016-02-29 13:22:45 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
Chao Xu
8566056d18
revert 20202
2016-02-28 19:03:22 -08:00
k8s-merge-robot
6f8a951f87
Merge pull request #20446 from derekwaynecarr/quota_scopes
...
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
k8s-merge-robot
c4ffcbdbaa
Merge pull request #21398 from liggitt/time-param
...
Auto commit by PR queue bot
2016-02-27 03:37:07 -08:00
Fabio Yeon
375b4ca8d6
Revert "Revert 20202. Use other measures to prevent race in test-cmd.sh"
2016-02-26 19:25:08 -08:00
k8s-merge-robot
a5ceafc48a
Merge pull request #21175 from caesarxuchao/revert-20202
...
Auto commit by PR queue bot
2016-02-26 18:33:42 -08:00
derekwaynecarr
df064bd53d
ResourceQuota API validation for scopes and new resource types
2016-02-26 20:34:14 -05:00
derekwaynecarr
d02c8dcd2e
Generated code for ResourceQuota API change
2016-02-26 20:34:14 -05:00
derekwaynecarr
55e3824272
Modify ResourceQuota API to support requests/limits; scope filtering
2016-02-26 20:34:13 -05:00
Fabio Yeon
fedca86c75
Merge pull request #21884 from swagiaal/remove-be-formatted
...
Remove 'be formatted' from VolumeSource docs
2016-02-26 13:06:01 -08:00
Fabio Yeon
3dab166da4
Merge pull request #21776 from erictune/job-sel-gen
...
Selector generation for batch/v1 Job
2016-02-26 11:58:21 -08:00
k8s-merge-robot
f15d8528b6
Merge pull request #21603 from madhusudancs/scale-internal-autoscale
...
Auto commit by PR queue bot
2016-02-26 03:48:11 -08:00
Madhusudan.C.S
b69ec9faff
Teach serde test to deal with autoscaling group's duality.
2016-02-25 15:05:28 -08:00
Sami Wagiaalla
d7c6eb92d9
Remove 'be formatted' from VolumeSource docs
...
Volumes do not need to be formatted as we now have the
SafeFormatAndMount utility which formats volumes when needed.
2016-02-25 16:19:35 -05:00
Eric Tune
875755f992
Added Selector Generation to Job.
...
Added selector generation to Job's
strategy.Validate, right before validation.
Can't do in defaulting since UID is not known.
Added a validation to Job to ensure that the generated
labels and selector are correct when generation was requested.
This happens right after generation, but validation is in a better
place to return an error.
Adds "manualSelector" field to batch/v1 Job to control selector generation.
Adds same field to extensions/__internal. Conversion between those two
is automatic.
Adds "autoSelector" field to extensions/v1beta1 Job. Used for storing batch/v1 Jobs
- Default for v1 is to do generation.
- Default for v1beta1 is to not do it.
- In both cases, unset == false == do the default thing.
Release notes:
Added batch/v1 group, which contains just Job, and which is the next
version of extensions/v1beta1 Job.
The changes from the previous version are:
- Users no longer need to ensure labels on their pod template are unique to the enclosing
job (but may add labels as needed for categorization).
- In v1beta1, job.spec.selector was defaulted from pod labels, with the user responsible for uniqueness.
In v1, a unique label is generated and added to the pod template, and used as the selector (other
labels added by user stay on pod template, but need not be used by selector).
- a new field called "manualSelector" field exists to control whether the new behavior is used,
versus a more error-prone but more flexible "manual" (not generated) seletor. Most users
will not need to use this field and should leave it unset.
Users who are creating extensions.Job go objects and then posting them using the go client
will see a change in the default behavior. They need to either stop providing a selector (relying on
selector generation) or else specify "spec.manualSelector" until they are ready to do the former.
2016-02-25 09:28:07 -08:00
deads2k
9c42d219bc
allow disambiguation of resouces
2016-02-25 07:35:23 -05:00
deads2k
2b84d58b6d
add a PriorityRESTMapper that can choose particular group/version of a resource
2016-02-25 07:35:23 -05:00
deads2k
2e64a0d10c
update multiRESTMapper to properly union constituent RESTMappers
2016-02-25 07:35:22 -05:00
Jordan Liggitt
ea59b4c741
Fix sinceTime pod log options
2016-02-25 00:46:13 -05:00
Jordan Liggitt
b502b8f6a1
Restore service port validation compatibility with 1.0/1.1
2016-02-23 21:27:44 -05:00
kargakis
2cb37f3500
update generation api comments
2016-02-23 19:30:33 +01:00
Dan Gillespie
55cb45afd2
changed NewDefaultRESTMapper to check for a partial package path
2016-02-23 04:24:01 -08:00
k8s-merge-robot
aee2eb3977
Merge pull request #21434 from erictune/job-ga
...
Auto commit by PR queue bot
2016-02-22 00:12:54 -08:00
k8s-merge-robot
807344da0b
Merge pull request #21235 from davidopp/affinity-docs
...
Auto commit by PR queue bot
2016-02-20 11:15:02 -08:00
Chao Xu
4342a8c4f0
revert 20202
2016-02-19 11:37:54 -08:00
Eric Tune
b4d454e9d5
Autogenerate.
2016-02-19 09:48:03 -08:00
Eric Tune
3433d50bc3
Fix test and reorder initialization of groups
...
Delete a job scale test
A subsequent PR is going to remove support
for this anyways.
Initialize extensions before batch and autoscaling
per @lavalamp review suggestion.
2016-02-19 09:22:05 -08:00
Eric Tune
175addf2a3
Implemented Batch client
2016-02-19 09:20:56 -08:00
Eric Tune
d5f303d3d7
Fixed and added tests
2016-02-19 09:20:56 -08:00
k8s-merge-robot
057b8352ec
Merge pull request #21182 from vishh/repoTagsRename
...
Auto commit by PR queue bot
2016-02-19 08:56:09 -08:00
k8s-merge-robot
5d7d0eea2e
Merge pull request #20626 from nikhiljindal/serverIPInDiscovery
...
Auto commit by PR queue bot
2016-02-18 21:53:24 -08:00
k8s-merge-robot
f1cbaed60f
Merge pull request #17493 from feihujiang/supportSubresourceOfServiceProxy
...
Auto commit by PR queue bot
2016-02-18 18:22:59 -08:00
David Oppenheimer
053f1c6008
Update user guide and scheduler documentation to describe node affinity.
...
Register image priority locality function, which the original PR that introduced
it forgot to do. Change zone and region labels to beta.
2016-02-18 17:09:41 -08:00
nikhiljindal
20ce4aed0e
Adding hostname to groups discovery information
2016-02-18 11:58:11 -08:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
k8s-merge-robot
17325ef6ef
Merge pull request #20501 from piosz/hpa-ga
...
Auto commit by PR queue bot
2016-02-18 06:52:39 -08:00
Piotr Szczesniak
c02e966d65
Applied comments from the review
2016-02-18 14:18:39 +01:00
feihujiang
ac9f890238
Support the subresource of service proxy
2016-02-18 15:16:05 +08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
k8s-merge-robot
ef505d8fa3
Merge pull request #19771 from derekwaynecarr/field_selector
...
Auto commit by PR queue bot
2016-02-17 09:20:40 -08:00
k8s-merge-robot
0866c377e9
Merge pull request #18010 from feihujiang/supportSubresourceOfNodeProxy
...
Auto commit by PR queue bot
2016-02-17 08:15:50 -08:00
Vishnu kannan
2623fdde17
Improve the naming of fields in ContainerImage struct used in NodeStatus.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 15:45:22 -08:00
derekwaynecarr
76f2cc6a11
Add field selector for pod.spec.restartPolicy
2016-02-16 16:51:42 -05:00
k8s-merge-robot
c91a79be45
Merge pull request #21199 from erictune/validation-helper
...
Auto commit by PR queue bot
2016-02-16 07:07:49 -08:00
feihujiang
e85253916f
Support the subresource of node proxy
2016-02-16 17:02:45 +08:00
k8s-merge-robot
84da994d68
Merge pull request #21088 from derekwaynecarr/improve_helpers
...
Auto commit by PR queue bot
2016-02-15 14:21:26 -08:00
Piotr Szczesniak
d9705940d6
Fixed and added tests
2016-02-15 21:39:00 +01:00
derekwaynecarr
c5cb09405c
Improve persistent volume claim validation
2016-02-15 15:13:53 -05:00
k8s-merge-robot
c48e94df89
Merge pull request #20956 from derekwaynecarr/cleanup_validation
...
Auto commit by PR queue bot
2016-02-15 11:55:54 -08:00
derekwaynecarr
a03361bd84
Make default format right for nil values
2016-02-15 13:55:33 -05:00
deads2k
9901a386c3
remove ResourceIsValid
2016-02-15 07:49:48 -05:00
k8s-merge-robot
39a9043b8e
Merge pull request #21095 from liggitt/sa-namespace
...
Auto commit by PR queue bot
2016-02-14 22:13:10 -08:00
k8s-merge-robot
4ff418ca50
Merge pull request #21057 from davidopp/work1
...
Auto commit by PR queue bot
2016-02-14 20:48:17 -08:00
David Oppenheimer
66368efad5
Comment out NodeAffinity.RequiredDuringSchedulingRequiredDuringExecution
...
because it is not yet implemented.
2016-02-14 17:46:13 -08:00
Paul Morie
8323bb1727
Regen for ConfigMap volume
2016-02-14 16:28:59 -05:00
Paul Morie
d1dc259ef2
ConfigMap volume source
2016-02-14 16:19:17 -05:00
k8s-merge-robot
44d12a1389
Merge pull request #20782 from nickschuch/readonly_container_2
...
Auto commit by PR queue bot
2016-02-14 13:18:24 -08:00
k8s-merge-robot
f7de1b914c
Merge pull request #20968 from deads2k/fix-resource-partial-match
...
Auto commit by PR queue bot
2016-02-14 02:19:31 -08:00
Nick Schuch
5d511aeb54
Adds ReadOnlyRootFilesystem support for containers
2016-02-14 15:39:51 +10:00
Tim Hockin
a3d688fc06
Update docs about ports, fix nits
2016-02-13 20:24:21 -08:00
k8s-merge-robot
d6b4ff3884
Merge pull request #20909 from Clarifai/instance-type-label
...
Auto commit by PR queue bot
2016-02-13 18:51:42 -08:00
k8s-merge-robot
53d9f9ecab
Merge pull request #20814 from deads2k/restmapper-errors
...
Auto commit by PR queue bot
2016-02-13 15:53:22 -08:00
k8s-merge-robot
f43b849e54
Merge pull request #20770 from liggitt/ugorji-var-reset
...
Auto commit by PR queue bot
2016-02-13 14:59:38 -08:00
k8s-merge-robot
54b13b4c24
Merge pull request #20511 from deads2k/fix-singularizer
...
Auto commit by PR queue bot
2016-02-13 13:25:44 -08:00
Jordan Liggitt
dd5d98d80a
regen codecs
2016-02-13 09:15:39 -05:00
Eric Tune
825dc470cc
Add a validation helper function.
...
I will use this in a subsequent PR as part of #12298
2016-02-12 14:38:22 -08:00
Rudi Chiarito
b3863eae82
Add instance-type label to cloud providers
...
Fully implemented for AWS and GCE
2016-02-12 15:02:03 -05:00
Mike Danese
5516b8684f
Merge pull request #20937 from madhusudancs/daemonset-update-type-revert
...
Revert DaemonSet update.
2016-02-12 10:36:04 -08:00
deads2k
2d0fe7dbf1
let singularization handle non-conflicting ambiguity
2016-02-12 08:28:32 -05:00
Jordan Liggitt
20216fa607
Provide current namespace to InClusterConfig
2016-02-11 15:51:31 -05:00
derekwaynecarr
cc2137fccc
Fixup validation for containers requests or limits to use quantity comparison
2016-02-11 15:34:00 -05:00
deads2k
deb4d3ccca
type RESTMapper errors to better handle MultiRESTMapper errors
2016-02-11 11:45:05 -05:00
k8s-merge-robot
60432ab25b
Merge pull request #20994 from janetkuo/fix-get-repliasets
...
Auto commit by PR queue bot
2016-02-10 20:31:50 -08:00
Chao Xu
1c84552757
generate the versioned clientset
2016-02-10 17:22:46 -08:00
Madhusudan.C.S
ad9ba23995
Comment out DaemonSet update type fields and remove the code that depends on it.
...
Leaving the type fields as comments for reference and reminder. But
deleting the conversion, defaulting and validation code. They can
always be brough back from the previous PR once the types are
introduced. Because builds break without them anyway that serves as a
reminder, so there is no need to leave them commented out.
2016-02-10 15:44:01 -08:00
Janet Kuo
a86b30e7a8
Fix selector output when get/describe replicasets
2016-02-10 11:13:46 -08:00
k8s-merge-robot
66e872227a
Merge pull request #20886 from mqliang/ReplicaSet-kubectl
...
Auto commit by PR queue bot
2016-02-10 06:16:03 -08:00
deads2k
5822955713
make partial resource detection work for singular matches
2016-02-10 08:11:13 -05:00
k8s-merge-robot
36c25be657
Merge pull request #19921 from jsafrane/devel/remove-fstype-check
...
Auto commit by PR queue bot
2016-02-09 21:17:19 -08:00
k8s-merge-robot
b98d9a21a1
Merge pull request #20818 from deads2k/remove-mixed-case
...
Auto commit by PR queue bot
2016-02-09 05:06:45 -08:00
Jan Safranek
40c97ddd5f
Remove validation of *VolumeSource.FSType.
...
Most volume plugins use SafeFormatAndMount, which uses ext4 by default.
FlexVolume plugin has FSType attribute 'omitempty', so reflect it in the
description of the type.
2016-02-09 09:13:06 +01:00
mqliang
b5e99be81c
implement kubectl get/describe for ReplicaSet
2016-02-09 13:56:21 +08:00
Huamin Chen
d7e4b826b9
support Azure File Service volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
Jordan Liggitt
545f6be573
Regenerate types.go
2016-02-08 17:19:15 -05:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
k8s-merge-robot
1f113d6a38
Merge pull request #20730 from deads2k/add-string-for-debug
...
Auto commit by PR queue bot
2016-02-06 21:48:00 -08:00
k8s-merge-robot
6103b8713e
Merge pull request #20648 from deads2k/fix-validation
...
Auto commit by PR queue bot
2016-02-06 17:13:19 -08:00
k8s-merge-robot
aac20ed69d
Merge pull request #20600 from freehan/servicevalidation
...
Auto commit by PR queue bot
2016-02-06 10:23:18 -08:00
k8s-merge-robot
6614b833cb
Merge pull request #20505 from derekwaynecarr/quantity_fix
...
Auto commit by PR queue bot
2016-02-06 07:18:51 -08:00
k8s-merge-robot
0ad6326d7f
Merge pull request #20170 from pmorie/update-ads-pod
...
Auto commit by PR queue bot
2016-02-05 20:37:39 -08:00
Madhusudan.C.S
0bcab9ab11
Implement ReplicaSet registry.
2016-02-05 16:14:10 -08:00
Paul Morie
0b82d0b491
Allow pod.Spec.ActiveDeadlineSeconds to be updateable
2016-02-05 15:58:31 -05:00
Prashanth Balasubramanian
c56bebf594
Basic TLS support.
2016-02-05 11:00:04 -08:00
deads2k
4175688460
add restmapper Stringer methods for debugging
2016-02-05 12:47:25 -05:00
Rudi Chiarito
a2d1bb7acf
Add httpHeaders to httpGet liveness probe
...
Also update existing documentation and try to steer users away from 'host'.
Add validation.
2016-02-05 11:20:04 -05:00
Paul Weil
03261146b0
api
2016-02-05 08:45:50 -05:00
Daniel Smith
d84ac764a9
Merge pull request #20492 from erictune/labselunver
...
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08:00
Daniel Smith
e6639de333
Merge pull request #20380 from mqliang/podcidr-validation
...
pod cidr validation
2016-02-04 23:16:02 -08:00
Eric Tune
eba2c56566
hack/update-generated-swagger-docs.sh
2016-02-04 13:46:34 -08:00
Eric Tune
6133cb1f21
Move extensions.LabelSelector to unversioned.
...
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.
Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned
The related type in pkg/apis/extensions/v1beta1/ is staying there. I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -08:00
derekwaynecarr
2ad322f295
Add or subtract from zero should not lose format
2016-02-04 13:16:47 -05:00
deads2k
e084578148
fix validation error path for namespace
2016-02-04 10:10:49 -05:00
k8s-merge-robot
f3429776c2
Merge pull request #20598 from mikedanese/serialization-tests
...
Auto commit by PR queue bot
2016-02-03 19:46:28 -08:00
Kevin
c8c82c1d8f
implement Node affinity and NodeSelector
2016-02-04 01:53:14 +00:00
Mike Danese
216a35d988
run serialization tests on all apigroups registered in testapi
2016-02-03 17:41:02 -08:00
Minhan Xia
ec7366fc2a
add service validation for mix protocol
2016-02-03 14:54:32 -08:00
Wojciech Tyczynski
68d0f6387a
Regenerate auto-generated files
2016-02-03 13:35:09 +01:00
k8s-merge-robot
5914deeac8
Merge pull request #19380 from brendandburns/apiresource
...
Auto commit by PR queue bot
2016-02-03 00:49:47 -08:00
k8s-merge-robot
843c11e06a
Merge pull request #20452 from caesarxuchao/replace-client-kubelet
...
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Chao Xu
fdf6a0f61c
skip update when deleting with grace-period=0
2016-02-02 10:53:25 -08:00
k8s-merge-robot
072bfd40ca
Merge pull request #18556 from mqliang/podValidation
...
Auto commit by PR queue bot
2016-02-02 10:26:43 -08:00
k8s-merge-robot
71727385e8
Merge pull request #20069 from BugRoger/cephfs_subtree_mount_master
...
Auto commit by PR queue bot
2016-02-02 02:15:35 -08:00
Mike Danese
896c670fb9
conversion: add default conversion for {string,bool} ptr to {string,bool}
...
This is useful because it allows defaulting to infer wheter a
string,bool value was provided by the user while still having the field
represented as a non pointer type in the internal representation.
2016-02-01 16:01:19 -08:00
Michael Schmidt
92d814725b
add generated code
2016-02-01 22:31:44 +01:00
Michael Schmidt
1373e0139d
CephFS: Add subdir Option for Changing Mounted Root Directory
2016-02-01 22:01:19 +01:00
k8s-merge-robot
54808fb7ab
Merge pull request #19824 from pmorie/env-source-variant
...
Auto commit by PR queue bot
2016-01-31 20:12:08 -08:00
k8s-merge-robot
9d9864486b
Merge pull request #19342 from caesarxuchao/remove-resourceversion-check
...
Auto commit by PR queue bot
2016-01-31 18:11:47 -08:00
Chao Xu
90b4662d8d
Add services/status path, and let the service controller uses Services.UpdateStatus()
2016-01-31 12:39:45 -08:00
mqliang
470d7af8c9
pod cidr validation
2016-01-31 11:49:31 +08:00
k8s-merge-robot
6f66dbb9ab
Merge pull request #20127 from smarterclayton/remove_conversion_scheme
...
Auto commit by PR queue bot
2016-01-30 12:39:44 -08:00
Clayton Coleman
60b66665e1
Move conversion.Scheme to runtime
...
There is only one type registry to rule them all
2016-01-30 14:12:40 -05:00
k8s-merge-robot
dc3ee665a7
Merge pull request #19970 from caesarxuchao/namespaced-cacher
...
Auto commit by PR queue bot
2016-01-30 03:44:19 -08:00
k8s-merge-robot
858a21f6e8
Merge pull request #19909 from pmorie/config-size-limit
...
Auto commit by PR queue bot
2016-01-30 01:32:08 -08:00
k8s-merge-robot
7912682595
Merge pull request #20226 from smarterclayton/fix_extract_list
...
Auto commit by PR queue bot
2016-01-29 17:15:30 -08:00
Paul Morie
defd1d0544
Add size limit for ConfigMap
2016-01-29 00:14:28 -05:00
Chao Xu
ebcff4b5e4
fix the namespaceScoped of cachers
2016-01-28 16:24:54 -08:00
Paul Morie
f2d1a20178
Regen for ConfigMap API move
2016-01-28 17:17:24 -05:00
Paul Morie
9030f16071
Move ConfigMap to main API
2016-01-28 17:07:05 -05:00
Fabio Yeon
c6253c8d5e
Merge pull request #19971 from feihujiang/fixErrorCommentInNodeCondition
...
Fix a small error comment in nodecondition type
2016-01-28 14:01:54 -08:00
k8s-merge-robot
458eb5284a
Merge pull request #19105 from smarterclayton/prepare_negotiate
...
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Clayton Coleman
71a13f7f4b
ExtractList should handle v1.RawExtension correctly
...
Also fixes CustomColumnPrinter to pass decoder in, and ensures a test
case tests the combined path.
2016-01-27 15:30:21 -05:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
jhadvig
5927ad81be
Additional SecretTypes
2016-01-26 14:34:12 +01:00
Clayton Coleman
3262d8efd8
GENERATED: all
2016-01-22 13:27:28 -05:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Chao Xu
a248d1117b
remove ResourceVersion validation in client
2016-01-22 10:14:39 -08:00
Clayton Coleman
c1d932e44a
Switch API objects to not register per version codecs
...
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
feihujiang
50b6d3819f
Fix a small error comment in nodecondition type
2016-01-22 10:21:16 +08:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Alex Mohr
1ab41d5238
Merge pull request #16509 from miminar/namespace_field_conv
...
Add missing field label conversions for Namespace
2016-01-21 10:27:02 -08:00
k8s-merge-robot
3978c76a26
Merge pull request #18790 from erictune/secret-validate
...
Auto commit by PR queue bot
2016-01-21 00:46:49 -08:00
k8s-merge-robot
8ed248021e
Merge pull request #17650 from jsafrane/devel/cinder-format
...
Auto commit by PR queue bot
2016-01-20 22:18:25 -08:00
Paul Morie
a45cbcd8a2
Add validation for EnvVarSource variant
2016-01-20 11:10:09 -05:00
k8s-merge-robot
1c861d43ac
Merge pull request #18298 from pmorie/secret-env
...
Auto commit by PR queue bot
2016-01-20 03:55:40 -08:00
Eric Tune
4a3d4defdf
Validate kubernetes.io/dockerconfigjson secrets
...
Added unit test.
2016-01-19 12:35:30 -08:00
Jan Safranek
f912870784
openstack: Use common SafeFormatAndMount() for mounting.
...
There is no reason for OpenStack + Cinder to use it's own variant of format
& mount.
2016-01-19 09:36:38 +01:00
Matt McNaughton
90d68a53b3
Rename Positive qualifier to Nonnegative
...
It makes more sense for `ValidatePositiveField` and
`ValidatePositiveQuantity` methods to be named `ValidateNonnegativeField`
and `ValidateNonnegativeQuantity` as that is what is truly being
checked. This commit simply updates the method names everywhere they are
used.
2016-01-18 17:29:15 -05:00
Paul Morie
60cf252e8b
Add validation for variant-type of EnvVarSource
2016-01-18 15:07:48 -05:00
Paul Morie
394a7bb4d0
Regen for secrets in env
2016-01-18 12:32:32 -05:00
Paul Morie
c548054560
Add ability to consume secrets in env vars
2016-01-18 12:20:51 -05:00
k8s-merge-robot
21aa683fb5
Merge pull request #18974 from pmorie/config-env
...
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
Chao Xu
ec9771ccb6
add nonNamespaced comment tag; change the interface name
2016-01-14 10:46:08 -08:00
Paul Morie
17c8c8f9fc
Regenerate for configMap in env
2016-01-14 10:40:56 -05:00
Michal Minar
3188e123a9
Add missing field label conversions
...
Added missing field labels conversion functions for kinds:
- ConfigMap
- DaemonSet
- Deployment
- Endpoints
- Event
- Ingress
- Job
- PersistentVolume
- PersistentVolumeClaim
- ResourceQuota
- Secret
- Service
Completed conversion functions of few other kinds:
- Namespace
- ServiceAccount
Added tests suite for the above.
Signed-off-by: Michal Minar <miminar@redhat.com>
2016-01-14 10:00:45 +01:00
Paul Morie
6cfd101251
Add support for ConfigMap keys in env vars
2016-01-13 17:00:15 -05:00
k8s-merge-robot
9e66a8f134
Merge pull request #18855 from deads2k/gv-stop-reverse
...
Auto commit by PR queue bot
2016-01-13 01:37:31 -08:00
k8s-merge-robot
c255181509
Merge pull request #18248 from resouer/images-dev
...
Auto commit by PR queue bot
2016-01-11 23:53:43 -08:00
k8s-merge-robot
170c03a85f
Merge pull request #16354 from mdshuai/valid-supplemental-groups
...
Auto commit by PR queue bot
2016-01-11 00:48:34 -08:00
mdshuai
27934da9cc
Validate uids and gids for securitycontext
2016-01-11 15:17:25 +08:00
k8s-merge-robot
609cdfd267
Merge pull request #19331 from resouer/hash-util
...
Auto commit by PR queue bot
2016-01-09 13:08:01 -08:00
k8s-merge-robot
8ea6faef0b
Merge pull request #18109 from timstclair/resource-granule
...
Auto commit by PR queue bot
2016-01-08 13:16:15 -08:00
k8s-merge-robot
37b5726716
Merge pull request #14431 from Defensative/UDP-LB
...
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
k8s-merge-robot
2106c72133
Merge pull request #17548 from timstclair/suffix
...
Auto commit by PR queue bot
2016-01-08 01:52:16 -08:00
harry
3a9de6ee56
Updated generated code and docs
2016-01-08 17:13:02 +08:00
harry zhang
27ca7dc71e
Expose image list in node status
...
Change image manager to use repotag
2016-01-08 17:01:31 +08:00
Brendan Burns
79533385cf
Add kind to APIResource
2016-01-07 22:27:34 -08:00
Tim St. Clair
e50059de07
Enforce minimum resource granularity
...
Enforce minimum resource granularity of milli-{core, bytes} for Storage,
Memory, and CPU resource types. For Storage and Memory, milli-bytes are
allowed for backwards compatability, but the behavior is
undefinied (depends on docker implementation).
2016-01-07 14:55:19 -08:00
harry
2a52976983
Use hashutil to hold hash tools
2016-01-06 22:28:58 +08:00
Clayton Coleman
1220464f2a
Exclude new groupversion types from protobuf
2016-01-05 22:57:33 -05:00
Kenneth Shelton
9e6c45c395
Updated comments
...
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Kenneth Shelton
d399a8f8cc
* Added UDP LB support (for GCE)
2016-01-05 20:51:21 +00:00
Tim St. Clair
40e90886e6
Add micro- and nano- suffixes
2016-01-04 14:08:24 -08:00
deads2k
e2d280a592
external versions no longer need reordering
2016-01-04 15:07:54 -05:00
k8s-merge-robot
05609cbf44
Merge pull request #19220 from thockin/validation-field-caps
...
Auto commit by PR queue bot
2016-01-02 12:39:09 -08:00
Wojciech Tyczynski
5abdc2e944
Updage auto-generated files
2016-01-01 11:47:29 +01:00
Tim Hockin
708fda2683
field paths are JSON-style
2015-12-31 15:37:12 -08:00
k8s-merge-robot
9287a108a4
Merge pull request #18156 from wojtek-t/use_new_deep_copies
...
Auto commit by PR queue bot
2015-12-30 05:11:02 -08:00
Wojciech Tyczynski
baf97c9c5e
First use of new deep-copy generator.
2015-12-29 18:06:09 +01:00
Clayton Coleman
4d672c37b8
Updated conversions to be public
2015-12-29 10:40:38 -05:00
Clayton Coleman
3c1451af91
Use public conversion methods to avoid reflection
...
Replace many of the remaining s.Convert() invocations with direct
execution, and make generated methods public. Removes 10% of the
allocations during decode of a pod and ~20-40% of the total CPU time.
2015-12-29 10:38:42 -05:00
k8s-merge-robot
fec5206f1a
Merge pull request #13840 from nelcy/master
...
Auto commit by PR queue bot
2015-12-28 23:55:32 -08:00
Wojciech Tyczynski
1803a11557
Get rid of rubbish logs from serialization_test
2015-12-28 12:13:07 +01:00
k8s-merge-robot
500493a3ac
Merge pull request #18925 from caesarxuchao/refactor-registration
...
Auto commit by PR queue bot
2015-12-24 15:19:36 -08:00
k8s-merge-robot
21c01c05e3
Merge pull request #18902 from deads2k/gv-partial
...
Auto commit by PR queue bot
2015-12-24 01:42:59 -08:00
k8s-merge-robot
16e1de6db6
Merge pull request #18859 from deads2k/gv-grab-bag
...
Auto commit by PR queue bot
2015-12-23 23:57:24 -08:00
Chao Xu
ad484c79f7
pass runtime.Scheme as parameter to AddToScheme
2015-12-23 23:21:35 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
Chakravarthy Nelluri
fa76de79e5
Add support for flex volume. Flex volume adds support for thirdparty(vendor)
...
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Wojciech Tyczynski
4aa2121a8e
Remove dead code
2015-12-22 11:07:22 +01:00
Wojciech Tyczynski
e108a32b08
Merge pull request #18655 from wojtek-t/versioned_list_options_in_server
...
Switch to versioned ListOptions in server.
2015-12-22 10:57:09 +01:00
HaiyangDING
d9f3607292
Implement multi-scheduler:
...
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"
update gofmt
update according to @david's review
run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
deads2k
d41e7ecf53
miscellaneous group version updates
2015-12-21 09:52:50 -05:00
deads2k
20f9c2c545
find partial resource matches
2015-12-21 09:26:06 -05:00
Wojciech Tyczynski
58336829be
Switch to versioned ListOptions in server.
2015-12-21 14:23:37 +01:00
k8s-merge-robot
bb65bed98b
Merge pull request #16915 from kargakis/move-utility
...
Auto commit by PR queue bot
2015-12-19 17:58:37 -08:00
k8s-merge-robot
c1b182694b
Merge pull request #18461 from mesosphere/sttts-fix-event-error-message
...
Auto commit by PR queue bot
2015-12-19 05:57:24 -08:00
k8s-merge-robot
3c3a24e1d4
Merge pull request #18694 from thockin/airplane_validation_pt7
...
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
Dr. Stefan Schimanski
a66b9cd8de
Fix ValidateEvent error message
2015-12-19 12:14:54 +01:00
k8s-merge-robot
4d3f49baf0
Merge pull request #18557 from timstclair/resource-math
...
Auto commit by PR queue bot
2015-12-18 23:33:10 -08:00
k8s-merge-robot
464397e27b
Merge pull request #17986 from derekwaynecarr/fix_field_selector
...
Auto commit by PR queue bot
2015-12-18 13:18:54 -08:00
k8s-merge-robot
730a6a1d55
Merge pull request #18685 from caesarxuchao/client-gen-output
...
Auto commit by PR queue bot
2015-12-18 10:55:05 -08:00
Tim Hockin
0fecf965b4
Change how one-of blocks are validated
...
I took a hard look at error output and played until I was happier. This now
prints JSON for structs in the error, rather than go's format.
Also made the error message easier to read.
Fixed tests.
2015-12-18 09:42:14 -08:00
Tim Hockin
43ed74748e
Clean up and document validation strings
...
Also add a detail string for Required and Forbidden. Fix tests.
2015-12-18 09:40:50 -08:00
Tim Hockin
27fc14000d
audit validation errors to not double-print field names
2015-12-18 09:06:02 -08:00
Chao Xu
b61c9a4cf3
output of client-gen
2015-12-17 23:42:16 -08:00
Abhishek Shah
6f63875165
Reverting 18442
2015-12-17 16:57:29 -08:00
k8s-merge-robot
674e24a16e
Merge pull request #18617 from mqliang/OSImage
...
Auto commit by PR queue bot
2015-12-17 08:50:48 -08:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
k8s-merge-robot
5c4479f542
Merge pull request #18442 from deads2k/gv-restmapper-10
...
Auto commit by PR queue bot
2015-12-17 06:06:43 -08:00
k8s-merge-robot
5ac7f31064
Merge pull request #18508 from mqliang/bindingValidation
...
Auto commit by PR queue bot
2015-12-17 03:22:18 -08:00
Brendan Burns
2efcccf981
Add a server side export facility
2015-12-16 15:01:13 -08:00
Tim St. Clair
8fdd321dc1
Add Allocatable
to NodeStatus
...
Adds `Allocatable` to `NodeStatus`, as described in
[17201](https://github.com/kubernetes/kubernetes/pull/17201 )
2015-12-16 11:01:15 -08:00
deads2k
41b78ad2b6
find partial resource matches
2015-12-16 10:19:31 -05:00
k8s-merge-robot
e309583ff1
Merge pull request #18473 from smarterclayton/change_runtime_object
...
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
k8s-merge-robot
fc7c70dba3
Merge pull request #18373 from deads2k/gv-codecfor
...
Auto commit by PR queue bot
2015-12-15 19:28:48 -08:00
k8s-merge-robot
d62318e1e8
Merge pull request #17555 from pmorie/volume-attributes
...
Auto commit by PR queue bot
2015-12-15 16:33:13 -08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
kargakis
0c58170ad0
Move port utility out of endpoints controller
2015-12-15 18:54:08 +01:00
k8s-merge-robot
114f6f76dc
Merge pull request #18412 from resouer/fix-validation
...
Auto commit by PR queue bot
2015-12-15 08:15:27 -08:00
deads2k
6e33403abf
update CodecFor for GroupVersion
2015-12-15 10:56:00 -05:00
k8s-merge-robot
7de177b8b5
Merge pull request #18459 from deads2k/gv-group-registration
...
Auto commit by PR queue bot
2015-12-15 07:41:14 -08:00
k8s-merge-robot
f6466b0852
Merge pull request #18462 from wojtek-t/fix_node_events
...
Auto commit by PR queue bot
2015-12-15 06:05:28 -08:00
deads2k
7a83ce60e6
refactor group registration
2015-12-15 08:37:07 -05:00
k8s-merge-robot
3680268c52
Merge pull request #18353 from deads2k/gv-use-constants
...
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot
abeda72863
Merge pull request #18231 from caesarxuchao/client-gen-test
...
Auto commit by PR queue bot
2015-12-15 02:19:16 -08:00
mqliang
04763abbbb
remove TODO:binding validation
2015-12-15 14:47:55 +08:00
k8s-merge-robot
414ebd2ddb
Merge pull request #17991 from krousey/errorstatus
...
Auto commit by PR queue bot
2015-12-14 20:18:19 -08:00
Chao Xu
05e3cb8bfb
adding a mock.testType to test the generated client code
2015-12-14 11:24:44 -08:00
Paul Morie
e757fac2f5
Regenerate for volume info changes
2015-12-14 14:19:51 -05:00
Paul Morie
b592e1f6e8
Add information about ownership management, selinux relabeling to volumes
2015-12-14 14:00:54 -05:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
8a76c1932f
Regenerate auto-generated files
2015-12-14 14:26:09 +01:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
k8s-merge-robot
266ab4a796
Merge pull request #18487 from smarterclayton/guard_encode_decode
...
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
k8s-merge-robot
c458cd7bb7
Merge pull request #18379 from deads2k/gv-newobject
...
Auto commit by PR queue bot
2015-12-13 13:33:16 -08:00
k8s-merge-robot
47d2f41680
Merge pull request #18370 from deads2k/gv-interfacesfor
...
Auto commit by PR queue bot
2015-12-13 10:27:17 -08:00
harry
d94945c179
Fix empty string check inconsistency in validation.go
2015-12-13 00:11:56 +08:00
mqliang
a21dd8a32b
replace OsImage to OSImage
2015-12-12 15:53:34 +08:00
Jeff Lowdermilk
f6686ba3a4
Merge pull request #18290 from wojtek-t/fast_namespace_deletion
...
Support collection deletion in apiserver.
2015-12-11 13:34:56 -08:00
Jeff Lowdermilk
9c49cdaa6e
Merge pull request #18276 from thockin/airplane_validation_pt6
...
Validation cleanup parts 5 & 6 together
2015-12-11 13:34:37 -08:00
deads2k
ec87d74ecb
update InterfacesFor to use GroupVersion
2015-12-11 13:45:41 -05:00
k8s-merge-robot
90b5db167f
Merge pull request #18356 from deads2k/make-broken-test-correct
...
Auto commit by PR queue bot
2015-12-11 00:34:15 -08:00
Tim St. Clair
b4116eb718
Handle nil
Amount in resource.Quantity.{Add,Sub}
...
Treat `nil` Amount as 0 in `resource.Quantity.Add` and
`resource.Quantity.Sub`. Also, allow adding/subtracting resources with
different Formats (since Format has no effect on the underlying value).
2015-12-10 19:24:23 -08:00
mqliang
0debeff598
remove newPod.Status = oldPod.Status in validation.go
2015-12-11 11:12:08 +08:00
Kris
ca7c765f0a
Remove APIStatus from the client
...
Everything that used it also depended on pkg/api/errors. It was a
needless abstraction since it was always an *errors.StatusError.
2015-12-10 13:12:21 -08:00
Tim Hockin
872faffdac
Internal errors are internal
2015-12-10 11:48:19 -08:00
Tim Hockin
7fb8f60735
Shorten names for better reading
2015-12-10 11:48:19 -08:00
Tim Hockin
87a35047dd
Move FieldPath and errors to a sub-package
...
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Timothy St. Clair
a428246960
Abstract the error handling for the storage layer to eliminate the
...
direct etcd dependency.
2015-12-10 08:06:19 -06:00
Wojciech Tyczynski
2ef5e320db
Fix node events
2015-12-10 09:52:33 +01:00
Wojciech Tyczynski
f28bb68d8c
Support collection deletion in apiserver.
2015-12-10 09:46:25 +01:00
Clayton Coleman
1e21054134
Hide common codec methods under helpers
...
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
k8s-merge-robot
5f7019ab9d
Merge pull request #16877 from anish/iscsi_iface
...
Auto commit by PR queue bot
2015-12-09 11:52:37 -08:00
Wojciech Tyczynski
029d906074
Merge pull request #18170 from xiang90/scale
...
api/resource: optimize scale function
2015-12-09 16:18:28 +01:00
deads2k
7118f90eff
update test to pass properly and reflect actual behavior
2015-12-09 09:12:44 -05:00
deads2k
519b4e80d1
update NewObject for groupversionkind
2015-12-09 08:13:15 -05:00
k8s-merge-robot
8d633458cd
Merge pull request #18148 from feihujiang/addEnumTypeForStatusReansonConstants
...
Auto commit by PR queue bot
2015-12-09 03:35:55 -08:00
k8s-merge-robot
85789f319f
Merge pull request #18103 from deads2k/gv-remove-groupmetaVersion
...
Auto commit by PR queue bot
2015-12-08 23:31:52 -08:00
Anish Bhatt
6e46fa1fd4
Add support for open-iscsi transports.
...
This enables use of software or hardware transports viz. be2iscsi,
bnx2i, cxgb3i, cxgb4i, qla4xx, iser and ocs. The default transport
(tcp) happens to be called "default".
Use of non-default transports changes the disk path to the following format:
/dev/disk/by-path/pci-<pci_id>-ip-<portal>-iscsi-<iqn>-lun-<lun_id>
2015-12-08 17:28:06 -08:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
k8s-merge-robot
ec1ba7438f
Merge pull request #17796 from deads2k/gv-object-typer
...
Auto commit by PR queue bot
2015-12-07 12:34:55 -08:00
k8s-merge-robot
dc4bc2a566
Merge pull request #18024 from deads2k/gv-kubectl02
...
Auto commit by PR queue bot
2015-12-07 11:47:40 -08:00
deads2k
66eecb963a
update more kubectl bits for groupversion
2015-12-07 09:01:44 -05:00
deads2k
3f045cf168
udpate admission for API groups
2015-12-07 08:55:01 -05:00
deads2k
f764e0099c
Update ObjectTyper to GroupVersion
2015-12-07 08:35:05 -05:00
k8s-merge-robot
810181fb7b
Merge pull request #17278 from ZJU-SEL/fix-nil-tag
...
Auto commit by PR queue bot
2015-12-06 12:52:39 -08:00
k8s-merge-robot
c6b59353e1
Merge pull request #18022 from deads2k/gv-request
...
Auto commit by PR queue bot
2015-12-05 22:38:40 -08:00
Clayton Coleman
9fea762917
Add protobuf preparation objects, guarded by proto tag
2015-12-05 18:15:48 -05:00
Jordan Liggitt
7d10fd3591
Validate pod spec.nodeName
2015-12-05 11:34:09 -05:00
derekwaynecarr
54f5bb393b
Fix missing field selector conversions in v1
2015-12-04 15:43:05 -05:00
Xiang Li
cf82d6b004
resource: optimize scale function
...
The original scale function takes around 800ns/op with more
than 10 allocations. It significantly slow down scheduler
and other components that heavily relys on resource pkg.
For more information see #18126 .
This pull request tries to optimize scale function. It takes
two approach:
1. when the value is small, only use normal math ops.
2. when the value is large, use math.Big with buffer pool.
The final result is:
BenchmarkScaledValueSmall-4 20000000 66.9 ns/op 0 B/op 0 allocs/op
BenchmarkScaledValueLarge-4 2000000 711 ns/op 48 B/op 1 allocs/op
I also run the scheduler benchmark again. It doubles the throughput of
scheduler for 1000 nodes case.
2015-12-03 17:00:13 -08:00
Tim Hockin
e6df0b1a24
Convert validation to use FieldPath
...
Before this change we have a mish-mash of ways to pass field names around for
error generation. Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.
Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior. At least you
will have to think about field names, which is better than nothing.
It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
k8s-merge-robot
c5924d20a5
Merge pull request #17817 from mqliang/eventtype
...
Auto commit by PR queue bot
2015-12-03 05:55:46 -08:00
deads2k
0fd17b7b2e
update client.Request for GroupVersion
2015-12-03 08:16:41 -05:00
feihujiang
ad10ca1da8
Add type for StatusReason constants
2015-12-03 19:22:03 +08:00
Marek Grabowski
813a4c9d19
Merge pull request #17819 from mqliang/eventValidate
...
remove TODO: There is no namespace required for node.
2015-12-03 09:22:06 +01:00
mqliang
8547a5c1ae
remove TODO: validate namespace
2015-12-03 08:56:17 +08:00
deads2k
675d8a235e
remove Versions from GroupMeta
2015-12-02 16:16:36 -05:00
k8s-merge-robot
ee71ddcefe
Merge pull request #17956 from deads2k/gv-requestscope
...
Auto commit by PR queue bot
2015-12-02 08:00:33 -08:00
k8s-merge-robot
b3846ea748
Merge pull request #17862 from feihujiang/ensureHeadlessServicePortEqualToTargetPort
...
Auto commit by PR queue bot
2015-12-02 03:35:36 -08:00
deads2k
a7dd09ec47
update requestScope to fully qualify kind and resource
2015-12-01 16:50:24 -05:00
k8s-merge-robot
727412c5ce
Merge pull request #15533 from ZJU-SEL/git-volume
...
Auto commit by PR queue bot
2015-12-01 13:14:23 -08:00
Harry Zhang
70a9c0bf56
Add directory in GitRepo and updated tests.
...
Update validate and gitRepo
Update generated code
2015-12-02 00:20:38 +08:00
k8s-merge-robot
77e9066ebb
Merge pull request #17099 from feihujiang/moveDefaultingFuncsFromInternalToV1
...
Auto commit by PR queue bot
2015-12-01 07:13:26 -08:00
mqliang
9ff765978a
add filedselector for Event
2015-12-01 23:02:48 +08:00
k8s-merge-robot
7644d34759
Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
...
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
k8s-merge-robot
a836b1e261
Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
...
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
Wojciech Tyczynski
cdded4f011
Use VersionedParams in "extensions" client.
2015-12-01 10:18:55 +01:00
feihujiang
81b095ee52
Ensure headless service port equal to targetPort
2015-12-01 14:37:26 +08:00
k8s-merge-robot
f4ea77bede
Merge pull request #17822 from wojtek-t/remove_api_list_options
...
Auto commit by PR queue bot
2015-11-30 20:48:38 -08:00
k8s-merge-robot
55f5e48047
Merge pull request #16628 from caesarxuchao/change-error-type
...
Auto commit by PR queue bot
2015-11-30 17:21:52 -08:00
Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
deads2k
1ac6d8afd3
update reaper, scaler, describer for GroupKind
2015-11-30 09:22:39 -05:00
Harry Zhang
5552d7007c
Add default when latest not claimed
2015-11-30 17:10:50 +08:00
Clayton Coleman
e9e02bdd50
Review comments
2015-11-26 11:53:38 -05:00
Clayton Coleman
9d19238f6c
Fix tests to pass with changed external types
2015-11-26 11:53:37 -05:00
Clayton Coleman
af7e7f146d
Generated code
2015-11-26 11:53:36 -05:00
Clayton Coleman
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
Wojciech Tyczynski
97c8f1d4fa
Remove api.ListOptions
2015-11-26 10:04:12 +01:00
k8s-merge-robot
fc694ea787
Merge pull request #16725 from wojtek-t/update_ugorji
...
Auto commit by PR queue bot
2015-11-25 22:14:20 -08:00
deads2k
8679925847
update RESTMapping API to be properly typed
2015-11-25 14:02:37 -05:00
deads2k
5c4fb5bcbe
make RESTMapper.KindFor
2015-11-25 14:02:37 -05:00
Chao Xu
a4700707b3
change the "too old resource version" error from InternalError to 410 Gone.
2015-11-25 10:27:03 -08:00
deads2k
9e9b9f2da3
fix outputversion restmapper
2015-11-25 12:15:48 -05:00
deads2k
ed95a6d77f
update scheme to use GroupVersion
2015-11-25 12:15:48 -05:00
deads2k
68b0572974
internal versions
2015-11-25 12:14:06 -05:00
deads2k
6231404682
update decoder to use GroupVersion
2015-11-25 12:14:06 -05:00
k8s-merge-robot
3bd23b185b
Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
...
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
k8s-merge-robot
e95e3dec42
Merge pull request #17414 from timstclair/apiserver
...
Auto commit by PR queue bot
2015-11-25 05:28:07 -08:00
Wojciech Tyczynski
58062bc347
Regenerate files
2015-11-25 12:34:05 +01:00
k8s-merge-robot
3e56ce6490
Merge pull request #17327 from deads2k/gv-restmapper
...
Auto commit by PR queue bot
2015-11-24 19:08:49 -08:00
k8s-merge-robot
431c67710b
Merge pull request #17247 from thockin/airplane_validation_pt3
...
Auto commit by PR queue bot
2015-11-24 18:37:09 -08:00
k8s-merge-robot
d42030170b
Merge pull request #15999 from aveshagarwal/master-issue-15624
...
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
deads2k
c40dd0335a
make DefaultRESTMapper methods type correct
2015-11-24 14:17:37 -05:00
deads2k
94ad6aa0c4
make DefaultRESTMapper use GroupVersion
2015-11-24 14:17:37 -05:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
k8s-merge-robot
f3753c02ed
Merge pull request #17369 from wojtek-t/use_unversioned_list_options
...
Auto commit by PR queue bot
2015-11-24 07:32:37 -08:00
Avesh Agarwal
c053290e04
This commit regenerates docs.
2015-11-24 09:59:54 -05:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
Avesh Agarwal
751e7ba67c
This commit regenerates types.generated.go in pka/api and pkg/api/v1.
2015-11-24 09:59:54 -05:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
k8s-merge-robot
4fd6b6df06
Merge pull request #17316 from deads2k/gv-ClientForVersion
...
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Wojciech Tyczynski
bf13bef955
Use unversioned.ListOptions in API server.
2015-11-24 14:42:21 +01:00
k8s-merge-robot
06ef4b0a83
Merge pull request #17156 from feihujiang/moveListFunctionsFromRuntimeToMetaPackage
...
Auto commit by PR queue bot
2015-11-23 14:13:25 -08:00
Tim St. Clair
20ead45af9
Move etcd_util.go to separate package
2015-11-23 11:32:50 -08:00
Tim Hockin
ceee678b29
Rename validation 'New' funcs
2015-11-23 10:01:43 -08:00
Tim Hockin
682f2a5a79
Stronger typing for validation ErrorList
2015-11-23 10:01:43 -08:00
Sergiusz Urbaniak
9eae47c6e6
scheduler: implement role awareness
2015-11-23 17:27:14 +01:00
Sergiusz Urbaniak
1a43dcf720
api, kubectl: move getSinglePodTotalRequestsAndLimits to api.PodRequestsAndLimits
2015-11-23 17:27:14 +01:00
Tim Hockin
f8ad75df44
Clarify invalid vs not-supported
2015-11-23 08:07:17 -08:00
k8s-merge-robot
32c240b350
Merge pull request #17245 from thockin/airplane_validation_pt1
...
Auto commit by PR queue bot
2015-11-23 06:45:28 -08:00
Wojciech Tyczynski
f09e8d3eb0
ref
2015-11-23 09:56:25 +01:00
Wojciech Tyczynski
77fd936b5f
Create unversioned.ListOptions object.
2015-11-23 09:55:33 +01:00
Tim Hockin
48b49a5cae
s/ValidationErrorList/ErrorList/
2015-11-22 20:13:20 -08:00
Tim Hockin
d64d1fbb3d
s/ValidationError/Error/
2015-11-22 20:12:46 -08:00
Tim Hockin
2a127d089a
s/ValidationErrorType/ErrorType/
2015-11-22 20:12:39 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
k8s-merge-robot
759df1ef6e
Merge pull request #17569 from quinton-hoole/2015-11-19-fix-node-zone-labels
...
Auto commit by PR queue bot
2015-11-21 16:33:11 -08:00
k8s-merge-robot
42fcaf0800
Merge pull request #17217 from wojtek-t/marshall_selector
...
Auto commit by PR queue bot
2015-11-21 10:13:37 -08:00
k8s-merge-robot
4dbf7c637c
Merge pull request #17163 from wojtek-t/extend_decoder
...
Auto commit by PR queue bot
2015-11-21 08:37:29 -08:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05:00
Tim St. Clair
e4eff4bd6b
Fix typo: s/recieve/receive/
2015-11-19 19:23:40 -08:00
feihujiang
ad79fa6e84
Move list functions from runtime to meta package
2015-11-20 09:20:55 +08:00
Quinton Hoole
bec4167525
Make zone and region node labels conformant.
...
Fixes #17506
2015-11-19 16:35:58 -08:00
Timothy St. Clair
02851dd1b7
Removal of fakeClient and shift to storage.Interface for
...
all registry tests.
2015-11-19 10:34:30 -06:00
Wojciech Tyczynski
975871e0a0
JSON marshaling/unmarshaling of label Selector
2015-11-19 16:44:48 +01:00
Wojciech Tyczynski
d7b098b0e9
Add DecodeParametersInto method to Codec.
2015-11-18 09:56:04 +01:00
k8s-merge-robot
125ab2cad1
Merge pull request #17232 from deads2k/gv-restmapping-2
...
Auto commit by PR queue bot
2015-11-17 03:33:24 -08:00
k8s-merge-robot
5e20dcfd6f
Merge pull request #17227 from deads2k/gv-apigv
...
Auto commit by PR queue bot
2015-11-17 01:53:17 -08:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
deads2k
303bcad398
use groupversion in RESTMapping
2015-11-16 09:22:11 -05:00
deads2k
bf983e942c
use GroupVersion in APIGroupVersion for api installer
2015-11-16 07:42:00 -05:00
Tim Hockin
35ab5c6234
Add a REST hook for post-validation canonicalize
...
This is a simple hook that only Endpoints uses for now.
2015-11-12 21:13:16 -08:00
k8s-merge-robot
e80dd6689f
Merge pull request #16866 from justinsb/zone_labels_on_nodes
...
Auto commit by PR queue bot
2015-11-12 07:25:37 -08:00
feihujiang
8cf6d785b7
Move defaulting funcs from internal to v1
2015-11-11 15:09:16 +08:00
k8s-merge-robot
f25f5a2c85
Merge pull request #17053 from zhengguoyong/rename_validGroupVersions
...
Auto commit by PR queue bot
2015-11-10 10:11:21 -08:00
zhengguoyong
973400a6fb
Kill TODO, rename var
2015-11-10 21:24:21 +08:00
eulerzgy
501c2825cf
Make order of fun consistent
2015-11-10 17:43:54 +08:00
k8s-merge-robot
4e39dd4b7d
Merge pull request #16925 from mikedanese/headless-fix-1
...
Auto commit by PR queue bot
2015-11-07 08:03:18 -08:00
k8s-merge-robot
9981f99949
Merge pull request #16849 from feihujiang/cleanupDeprecatedV1beta1Content
...
Auto commit by PR queue bot
2015-11-07 04:15:32 -08:00
k8s-merge-robot
354c6f3b12
Merge pull request #16834 from caesarxuchao/GroupVersion-Object
...
Auto commit by PR queue bot
2015-11-07 03:43:30 -08:00
Tim St. Clair
1e88a682da
Add liveness/readiness probe parameters
...
- PeriodSeconds - How often to probe
- SuccessThreshold - Number of successful probes to go from failure to success state
- FailureThreshold - Number of failing probes to go from success to failure state
This commit includes to changes in behavior:
1. InitialDelaySeconds now defaults to 10 seconds, rather than the
kubelet sync interval (although that also defaults to 10 seconds).
2. Prober only retries on probe error, not failure. To compensate, the
default FailureThreshold is set to the maxRetries, 3.
2015-11-06 10:46:40 -08:00
Mike Danese
09295cd664
Headless services should not need to declare ports
2015-11-06 09:57:41 -08:00
feihujiang
eac8d6a997
Cleanup the content of deprecated V1beta1
2015-11-06 13:42:51 +08:00
k8s-merge-robot
6b7115067d
Merge pull request #16807 from smarterclayton/server_backpressure_on_etcd_down
...
Auto commit by PR queue bot
2015-11-05 21:19:30 -08:00
Chao Xu
2f012ae036
run gen-swagger-docs
2015-11-05 15:49:52 -08:00
Chao Xu
15e6ca5ac5
rename to GroupVersion and rename the one in type.go to GroupVersionForDiscovery
2015-11-05 14:52:58 -08:00
Chao Xu
fb360bca98
add comments
2015-11-05 14:15:01 -08:00
Chao Xu
6419924a5e
add ugorji unmarshaller and address comments
2015-11-05 13:46:44 -08:00
Justin Santa Barbara
b2c2d617cf
Label nodes with Zone information, if available
...
This lays the groundwork for simple multizone capabilities.
In a cloud environment, nodes are typically created by the kubelet
registering with the API server. When creating a new node, we now query
the cloudprovider to see if it can provide Zone information, and if so
we add some well-known labels to the Node we are creating.
2015-11-05 14:35:05 -05:00
Chao Xu
9d52b0fc08
add GroupVersion struct
2015-11-04 18:38:26 -08:00
Clayton Coleman
3da15535b6
Provide backpressure to clients when etcd goes down
...
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.
In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping. Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00
Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
k8s-merge-robot
f371b3d891
Merge pull request #16621 from timstclair/metrics-lite
...
Auto commit by PR queue bot
2015-11-03 02:13:19 -08:00
feihujiang
f7bfb04665
Add a comment that not return an error for rootscoped resources with namesapce
2015-11-03 11:00:01 +08:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
feihujiang
3603b14977
Move service strategy to registry/service package
2015-11-02 19:56:03 +08:00
Mike Danese
82111a7cb5
add component config api group
2015-10-31 11:42:38 -07:00
k8s-merge-robot
55246db600
Merge pull request #16491 from wojtek-t/merge_to_options_in_storage
...
Auto commit by PR queue bot
2015-10-30 04:30:17 -07:00
Mike Danese
f237db81f0
daemonset don't place pods on notready nodes
2015-10-29 11:11:20 -07:00
Wojciech Tyczynski
9c53f301f1
Merge selectors with ListOptions.
2015-10-29 15:42:57 +01:00
k8s-merge-robot
cd7e4bd6bb
Merge pull request #16364 from liggitt/unversioned_types
...
Auto commit by PR queue bot
2015-10-29 05:56:17 -07:00
k8s-merge-robot
d5be3635e5
Merge pull request #16273 from wojtek-t/list_options_in_api
...
Auto commit by PR queue bot
2015-10-29 01:57:29 -07:00
k8s-merge-robot
d695177229
Merge pull request #16054 from smarterclayton/revert_extension_syntax
...
Auto commit by PR queue bot
2015-10-27 19:57:15 -07:00
Daniel Smith
3f3ca480be
Merge pull request #16080 from yujuhong/reset_defaults
...
Add custom pod conversion functions from pre-v1.1 mirror pods
2015-10-27 15:47:34 -07:00
Daniel Smith
8524d392bf
Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master
...
Report node out of disk condition in the kubelet.
2015-10-27 14:28:03 -07:00
Yu-Ju Hong
e5c82d2292
Add custom pod conversion functions from pre-v1.1 mirror pods
...
The functions would default values added after v1.0, so that kubelet wouldn't
fail at comparing the mirror pods against their associated static pods.
This code would need to be maintained if we ever change the default value in
Pod until we drop support for v1.0 nodes.
2015-10-27 10:50:30 -07:00
Jordan Liggitt
3bc4abb9aa
Add TypeMeta to discovery response objects
2015-10-27 10:27:13 -04:00
Wojciech Tyczynski
aa30e38183
Pass resource version to storage List operation.
2015-10-27 10:03:58 +01:00
k8s-merge-robot
df265b2d6e
Merge pull request #15510 from aveshagarwal/master-selflink-objref
...
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
Madhusudan.C.S
9c4424f0bd
Report out of disk as a node condition when node goes out of disk.
...
Define a new out of disk node condition and use it to report when node
goes out of disk.
Make a copy of loop range clause variable in node listers so that it
is available outside the for loop.
Also update/implement unit tests.
2015-10-26 15:01:20 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
k8s-merge-robot
fea0a7d753
Merge pull request #15850 from mqliang/refactorValidation
...
Auto commit by PR queue bot
2015-10-25 05:42:49 -07:00
Wojciech Tyczynski
aa57f607f6
Update auto-generated files
2015-10-24 13:29:37 +02:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
k8s-merge-robot
6d10b76b11
Merge pull request #15980 from janetkuo/kubectl-edit-updateapplyannotation
...
Auto commit by PR queue bot
2015-10-24 02:48:22 -07:00
mqliang
ce384e62ed
fix conflict after rebase
2015-10-23 14:28:09 +08:00
mqliang
57faaf4f96
refactor validation.go to avoid duplicating
2015-10-23 14:23:55 +08:00
Janet Kuo
f5adda3d81
Fixed the error for kubectl edit multiple resources
2015-10-22 22:35:15 -07:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Filip Grzadkowski
8e07d2fc93
Merge pull request #15975 from liggitt/validate_before_create
...
Validate ObjectMeta in BeforeCreate
2015-10-22 14:47:40 +02:00
Filip Grzadkowski
343f195042
Merge pull request #16068 from JanetKuo/increase-annotation-size-limit
...
Increase the annotation size limit to 256k
2015-10-22 14:45:49 +02:00
Janet Kuo
e36121ae9b
Increase the annotation size limit to 256k
2015-10-21 16:16:55 -07:00
Paul Morie
393e2bc019
Inline some SecurityContext fields into PodSecurityContext
2015-10-21 19:01:17 -04:00
Clayton Coleman
be868e934c
Revert resource.Builder changes from 57388f9
...
57388f9f94
2015-10-21 16:23:33 -04:00
Jeff Lowdermilk
12c971f625
Merge pull request #15455 from mqliang/stringConstant
...
replace several error messages as constant, instead of duplicating
2015-10-21 13:10:13 -07:00
Jordan Liggitt
63fb6c07a5
Validate names in BeforeCreate
2015-10-21 14:11:41 -04:00
k8s-merge-robot
a5a917603c
Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
...
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
Sami Wagiaalla
030f882f06
Add Support for supplemental groups
2015-10-20 12:44:32 -04:00
k8s-merge-robot
b896a66679
Merge pull request #15739 from JanetKuo/kubectl-autoscale
...
Auto commit by PR queue bot
2015-10-19 14:15:23 -07:00
Mike Danese
ac5524d84d
Merge pull request #14496 from kargakis/deep-copies-fix
...
deep-copies: Structs cannot be nil
2015-10-19 10:28:55 -07:00
Janet Kuo
8105aa44a0
Implement kubectl autoscale
2015-10-19 09:59:22 -07:00
mqliang
b6be9b9684
use string constant instead of duplicating
2015-10-19 22:00:41 +08:00
feihujiang
a456b4c424
Remove useless codes about Minion kind
2015-10-19 19:29:45 +08:00
k8s-merge-robot
75c977d200
Merge pull request #15596 from zhengguoyong/alias_util_errors_packagename
...
Auto commit by PR queue bot
2015-10-19 02:35:37 -07:00
k8s-merge-robot
44a9877bd4
Merge pull request #15750 from yehuis4/master
...
Auto commit by PR queue bot
2015-10-19 01:06:34 -07:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
k8s-merge-robot
72235d6607
Merge pull request #15709 from derekwaynecarr/ingress_status
...
Auto commit by PR queue bot
2015-10-17 00:40:35 -07:00
k8s-merge-robot
d3ca12f61b
Merge pull request #15053 from smarterclayton/stdin_once
...
Auto commit by PR queue bot
2015-10-17 00:03:32 -07:00
k8s-merge-robot
d41737eff2
Merge pull request #15689 from caesarxuchao/default-ns-componentstatus
...
Auto commit by PR queue bot
2015-10-16 20:56:38 -07:00
Clayton Coleman
d6fcc332af
Codecgen output for stdinOnce
2015-10-16 20:33:52 -04:00
Clayton Coleman
e929baf91a
Support stdinOnce, which allows run-once STDIN injection
...
This allows containers to wait for input before startup by listening
on STDIN, and after STDIN is closed, continue running. Matches the
Docker syntax.
2015-10-16 20:33:50 -04:00
Chao Xu
262825f13d
make componenetstatus root scoped
2015-10-16 10:24:31 -07:00
k8s-merge-robot
f5afa634ff
Merge pull request #15574 from derekwaynecarr/resource_quota_fractional
...
Auto commit by PR queue bot
2015-10-16 07:38:26 -07:00
y00278980
2a0e1dd9e2
Fix some problems:
...
1. cluster/saltbase/pillar/README.md L8 quoted the wrong line number of cluster/gce/configure-vm.sh
2. spelling mistake of 'retruns'
2015-10-16 21:29:05 +08:00
Wojciech Tyczynski
d51965bf00
Autogenerate files.
2015-10-16 10:20:02 +02:00
Jerzy Szczepkowski
df732f061a
HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups.
2015-10-16 07:15:50 +02:00
k8s-merge-robot
ae0ea6496e
Merge pull request #15278 from combk8s/logCapital
...
Auto commit by PR queue bot
2015-10-15 13:37:39 -07:00
derekwaynecarr
65efc784cb
Fix error message in validate load balancer status
2015-10-15 11:06:41 -04:00
k8s-merge-robot
351cc2040e
Merge pull request #15491 from derekwaynecarr/ingress_status
...
Auto commit by PR queue bot
2015-10-15 06:04:38 -07:00
k8s-merge-robot
8c753c84eb
Merge pull request #15191 from caesarxuchao/validate-UID
...
Auto commit by PR queue bot
2015-10-15 04:20:24 -07:00
combk8s
59b392c4fa
Capitalize the first letter in some log files
2015-10-15 11:03:56 +08:00
derekwaynecarr
eae56c3b2d
Add status subresource to Ingress
2015-10-14 14:36:29 -04:00
derekwaynecarr
62b4467c69
Resource Quota should not let fractional values for API resources
2015-10-14 09:47:38 -04:00
Dawn Chen
61a175f0bc
Merge pull request #15442 from smarterclayton/connect_responder
...
Connect should be passed a Responder interface
2015-10-13 16:51:47 -07:00
Chao Xu
be0754750f
add common fields validation before updaing a resource; make the repair of malformed update request flippable by a flag.
2015-10-13 16:28:32 -07:00
k8s-merge-robot
6d7d7080df
Merge pull request #14411 from feihujiang/removeUselessTodoNotes
...
Auto commit by PR queue bot
2015-10-13 15:49:12 -07:00
Clayton Coleman
d4cdabf2fc
Connect should be passed a Responder interface
...
For connect handlers that need to respond with a structured error or
structured object, pass an interface that hides the details of writing
an object to the response (error or runtime.Object).
Example use case:
Connect handler that accepts a body input stream, which it streams to a
pod, and then returns a structured object with info about the pod it
just created.
2015-10-13 15:05:14 -04:00
k8s-merge-robot
2dec0826f7
Merge pull request #15351 from caesarxuchao/fix-14584-1
...
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
Avesh Agarwal
8e4a8b7260
Addresses issue #6596 .
...
Removes ForTesting_ReferencesAllowBlankSelfLinks.
Fixes controller's persistentvolumes unit tests.
2015-10-12 19:21:48 -04:00
Chao Xu
7554331185
update swagger
2015-10-12 13:34:07 -07:00
Chao Xu
4c9b88a3c2
combine types.go and unversioned.go
2015-10-12 13:34:07 -07:00
Chao Xu
d1d10f8361
rename api to unversioned
2015-10-12 13:31:45 -07:00
Timothy St. Clair
2a2a2d79ff
New etcd client modifications part 1 (context support)
...
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
kargakis
ef36b3e4f6
deep-copies: Structs cannot be nil
2015-10-12 15:21:30 +02:00
Chao Xu
53eab7ef1e
gofmt
2015-10-09 16:04:43 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
a87db8834f
manual fix testapi
2015-10-09 15:30:25 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
347d53ff2e
v1alpa1->v1beta1
2015-10-09 15:06:28 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
k8s-merge-robot
1f764fcd3f
Merge pull request #14726 from linzichang/validation-on-list
...
Auto commit by PR queue bot
2015-10-08 23:38:53 -07:00
derekwaynecarr
544b453e31
Add replication controller status subresource
2015-10-07 14:39:33 -04:00
k8s-merge-robot
b0d748efb0
Merge pull request #14461 from JanetKuo/kubectl-api-group-cmd
...
Auto commit by PR queue bot
2015-10-07 07:29:10 -07:00
Janet Kuo
57388f9f94
Support kubectl group/resource name
2015-10-06 13:12:32 -07:00
Zichang Lin
755d740fed
Add validate support for list kind
2015-10-06 18:42:36 +08:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
Tim Hockin
6260759c51
Merge pull request #14328 from agonzalezro/flocker
...
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
k8s-merge-robot
2433f2eaa4
Merge pull request #14929 from caesarxuchao/fix-thirdparty-apiversion
...
Auto commit by PR queue bot
2015-10-02 05:45:46 -07:00
k8s-merge-robot
1bcdd56cf3
Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
...
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
Chao Xu
f4ff0f7683
fix thirdparty API, now the config file of thirdpartyresource also need to group/version instead of version
2015-10-01 12:30:51 -07:00
Álex González
fa39c2b032
Add flocker volume plugin
...
Flocker [1] is an open-source container data volume manager for
Dockerized applications.
This PR adds a volume plugin for Flocker.
The plugin interfaces the Flocker Control Service REST API [2] to
attachment attach the volume to the pod.
Each kubelet host should run Flocker agents (Container Agent and Dataset
Agent).
The kubelet will also require environment variables that contain the
host and port of the Flocker Control Service. (see Flocker architecture
[3] for more).
- `FLOCKER_CONTROL_SERVICE_HOST`
- `FLOCKER_CONTROL_SERVICE_PORT`
The contribution introduces a new 'flocker' volume type to the API with
fields:
- `datasetName`: which indicates the name of the dataset in Flocker
added to metadata;
- `size`: a human-readable number that indicates the maximum size of the
requested dataset.
Full documentation can be found docs/user-guide/volumes.md and examples
can be found at the examples/ folder
[1] https://clusterhq.com/flocker/introduction/
[2] https://docs.clusterhq.com/en/1.3.1/reference/api.html
[3] https://docs.clusterhq.com/en/1.3.1/concepts/architecture.html
2015-10-01 01:10:00 +01:00
Andy Goldstein
ed021fed4c
Port forwarding fixes
...
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.
Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.
Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
nikhiljindal
b99d225d19
Setting PodReadyCondition.LastTransitionTime
2015-09-29 17:23:32 -07:00
Brian Grant
313918f561
Merge pull request #14148 from brendandburns/perf
...
Add a method for encoding directly to a io.Writer and use it for HTTP
2015-09-25 13:19:58 -07:00
Brian Grant
51a3b80b99
Merge pull request #13372 from thockin/strict-compat-external-ip
...
easier auto-conversion, strict compat with deprecatedPublicIPs
2015-09-25 11:10:28 -07:00
Brian Grant
7bd741b93b
Merge pull request #14495 from derekwaynecarr/improve_quota_validation
...
Ensure ResourceQuota values are non-negative
2015-09-25 11:00:19 -07:00
Brian Grant
ca3ffed823
Merge pull request #14397 from caesarxuchao/StorageVersion-map
...
Remove ExpStorageVersion and add StorageVersions to APIServer struct
2015-09-24 22:41:49 -07:00
Brian Grant
727604cb9b
Merge pull request #14154 from hurf/quantity_add
...
Remove type validation in resource.Quantity.Add
2015-09-24 18:28:01 -07:00
Chao Xu
c449baea46
Remove ExpStorageVersion and Add StorageVersions to APIServer struct
2015-09-24 17:44:59 -07:00
Tim Hockin
f14709b493
Restore deprecatedPublicIPs for compat
...
The v1 API will retain deprecatedPublicIPs, but externalIPs is preferred.
2015-09-24 17:21:07 -07:00
Tim Hockin
fd91d3f0ec
Make patch-up conversions simpler
...
Rather than an "all or nothing" approach to defining a custom conversion
function (which seems destined to cause problems eventually), this is an
attempt to make it possible to call the auto-generated code and then "fix it
up".
Specifically, consider you have a fooBar struct. If you don't define a
conversion for FooBar, you will get a generated function like:
convert_v1_FooBar_To_api_FooBar()
Before this PR, if you define your own conversion function, you get no
generated function. After this PR you get:
autoconvert_v1_FooBar_To_api_FooBar()
...which you can call yourself in your custom function.
2015-09-24 17:21:07 -07:00
Chao Xu
3473212ea5
remove thirdParty API from api/v1/ and api/
2015-09-24 16:31:00 -07:00
Brendan Burns
8998219686
Add a method for encoding directly to a io.Writer and use it for HTTPx
2015-09-24 15:52:09 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
2eb60f4326
Merge pull request #14319 from nikhiljindal/deploymentExamplew
...
Adding an example deployment yaml
2015-09-24 13:57:18 -07:00
Eric Tune
33c4c50c1e
Merge pull request #14358 from derekwaynecarr/fix_request_defaulting
...
Default resources.requests only for Pod resources
2015-09-24 13:43:44 -07:00
derekwaynecarr
b29722c728
Ensure ResourceQuota values are non-negative
2015-09-24 10:15:40 -04:00
nikhiljindal
60bd4012ae
Adding a deployment example
2015-09-23 18:41:11 -07:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
feihujiang
4a126e7297
Remove useless todo notes that handle required fields
2015-09-23 17:45:22 +08:00
derekwaynecarr
025f24aa6d
Make requests defaulting only work on pods
2015-09-22 14:11:01 -04:00
k8s-merge-robot
34ef11321c
Merge pull request #14341 from mikedanese/not-ready
...
Auto commit by PR queue bot
2015-09-22 08:53:42 -07:00
k8s-merge-robot
e535e27e82
Merge pull request #14279 from pweil-/ipc-followup
...
Auto commit by PR queue bot
2015-09-22 07:28:07 -07:00
hurf
5cc909afe7
Remove type validation in resource.Quantity.Add
...
The type validation is unnecessary for add and will cause problem.
Type will always keep unchanged after new amount is added.
2015-09-22 21:07:31 +08:00
Mike Danese
edda776b4a
fix validation for notReadyAddress subsets
2015-09-22 01:08:26 -07:00
k8s-merge-robot
de597c8dc4
Merge pull request #13822 from brendandburns/schema-api-2
...
Auto commit by PR queue bot
2015-09-21 19:23:10 -07:00
k8s-merge-robot
c96c76b729
Merge pull request #13780 from smarterclayton/pod_logs
...
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Brendan Burns
fb9efac68c
Complete initial third party API support in the master
2015-09-21 15:56:36 -07:00
k8s-merge-robot
2e5a3cfbc6
Merge pull request #14240 from caesarxuchao/improve-latet-panic-message-for-v1
...
Auto commit by PR queue bot
2015-09-21 15:11:56 -07:00
k8s-merge-robot
6c30a0e170
Merge pull request #13955 from caesarxuchao/API-discovery
...
Auto commit by PR queue bot
2015-09-21 14:01:36 -07:00
Clayton Coleman
c2e90cd154
Support extended pod logging options
...
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.
Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
Chao Xu
1278771b34
let apiserver support api discovery
2015-09-21 12:20:24 -07:00
Chao Xu
9c2202a771
improve the panic message of GroupOrDie
2015-09-21 11:51:48 -07:00
k8s-merge-robot
81ec641f15
Merge pull request #14257 from feihujiang/removeCodeAboutMinionAgain
...
Auto commit by PR queue bot
2015-09-21 11:45:40 -07:00
Paul Weil
20361e33f2
use infra container ns for ipc
2015-09-21 12:47:19 -04:00
k8s-merge-robot
843134885e
Merge pull request #12470 from simon3z/add-host-ipc
...
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
feihujiang
c99172924c
Remove useless code about minion
2015-09-21 14:51:19 +08:00
k8s-merge-robot
6dad530a1f
Merge pull request #12599 from rootfs/fc_volume
...
Auto commit by PR queue bot
2015-09-20 17:20:26 -07:00
gmarek
a5de60f985
Fix swagger docs
2015-09-19 20:16:45 +02:00
k8s-merge-robot
5d67c2ce1f
Merge pull request #12894 from nikhiljindal/PodCondition
...
Auto commit by PR queue bot
2015-09-18 18:59:51 -07:00
Huamin Chen
ed9a1bbd3a
support fibre channel volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04:00
Tim Hockin
9698e957a6
Merge pull request #12717 from tamnd/fixdockercfg
...
Fix new docker config format for private registries
2015-09-18 14:43:38 -07:00
Federico Simoncelli
f21d9ac9e4
Support pods with containers using host ipc
...
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.
This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00
nikhiljindal
6523ec142b
Adding more fields to PodCondition
2015-09-18 05:26:13 -07:00
k8s-merge-robot
73d71d6a67
Merge pull request #14096 from mvdan/util-duration
...
Auto commit by PR queue bot
2015-09-18 00:20:43 -07:00
k8s-merge-robot
5577430785
Merge pull request #13852 from hurf/lr_ratio_validation
...
Auto commit by PR queue bot
2015-09-17 21:51:31 -07:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Daniel Martí
21c7dd42de
Add pkg/api/unversioned.Duration type
...
Similar to pkg/util.Time.
2015-09-17 16:25:46 -07:00
Kris
c5f22a025a
Regenerating everything
2015-09-17 14:09:53 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
36eb7372c8
Merge pull request #13259 from soltysh/job_controller_logic
...
Auto commit by PR queue bot
2015-09-17 13:22:34 -07:00
k8s-merge-robot
055f5ff9b9
Merge pull request #13649 from markturansky/prov_deleter
...
Auto commit by PR queue bot
2015-09-17 12:59:45 -07:00
k8s-merge-robot
7cee028497
Merge pull request #13778 from smarterclayton/unready_endpoints
...
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00
Alex Mohr
f893245f4e
Merge pull request #14103 from feihujiang/fixWrongPathOfDocument
...
Fixes the wrong path of documents
2015-09-17 10:27:41 -07:00
markturansky
c2de9e9647
Added volume.Deleter interface and simple HostPath implementation
2015-09-17 12:08:58 -04:00
Clayton Coleman
bf2decce81
Add NotReadyAddresses to Endpoints
...
In many cases clients may wish to view not ready addresses for endpoints
in order to do set membership prior to a pod being ready. For instance,
a pod that uses the service endpoints to connect to other pods under
the same service, but does not want to signal ready before it has
contacted at least a minimal number of other pods.
This is backwards compatible with old servers and clients. There is
an additional cost in size of endpoints before services ramp up, which
will add minor CPU and memory use for services that have a significant
number of pods which have not become ready.
2015-09-17 09:41:56 -04:00
feihujiang
51f59f3c78
Fix the wrong path of document
2015-09-17 20:38:08 +08:00
k8s-merge-robot
e83bf49f86
Merge pull request #13957 from ghodss/rename-deployment-structs
...
Auto commit by PR queue bot
2015-09-17 04:23:13 -07:00
Maciej Szulik
8cefa2ee55
Job controller logic
2015-09-17 10:05:33 +02:00
k8s-merge-robot
445fde3dc5
Merge pull request #13447 from pweil-/pid-mode
...
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
Alex Mohr
0789627b6c
Merge pull request #14025 from zhengguoyong/fix-var-hostdir
...
fix the change of hostDir to hostPath
2015-09-16 21:47:53 -07:00
k8s-merge-robot
426d4a2477
Merge pull request #13945 from caesarxuchao/kube-api-prefix
...
Auto commit by PR queue bot
2015-09-16 18:43:55 -07:00
k8s-merge-robot
de233d35da
Merge pull request #13958 from feihujiang/removeUselessCodeAboutMinion
...
Auto commit by PR queue bot
2015-09-16 17:59:00 -07:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
eulerzgy
d312c30847
fix the change of hostDir to hostPath
2015-09-16 22:31:17 +08:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
feihujiang
ba38a8764b
Remove useless codes about minion
2015-09-16 14:22:53 +08:00
hurf
daeae81e1e
Add validation to MaxLimitRequestRatio in LimitRange
...
MaxLimitRequestRatio should >=1
MaxLimitRequestRatio should <= max/min(if both are specified)
2015-09-16 11:41:48 +08:00
Sam Ghods
cc6754f8d9
Rename Deployment API structs
2015-09-15 14:46:41 -07:00
Chao Xu
9bef5ff99d
register experimental apis as apis/experimental/..
...
mark --api-version as deprecated
2015-09-15 11:25:01 -07:00
gmarek
4b8ddf3d7e
Add information about ports opened by Kubelet to API
2015-09-15 14:24:55 -04:00
Paul Weil
ed80c2b940
pid mode
2015-09-15 13:51:44 -04:00
k8s-merge-robot
bf641078eb
Merge pull request #13785 from wojtek-t/minion_to_node_2
...
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
k8s-merge-robot
8189460809
Merge pull request #13844 from tummychow/label-deps-2
...
Auto commit by PR queue bot
2015-09-14 12:56:24 -07:00
Jeff Lowdermilk
e25ae7fdb2
Merge pull request #13833 from caesarxuchao/central-latest
...
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
k8s-merge-robot
86b4e777e1
Merge pull request #13834 from derekwaynecarr/more_improvements_to_limit_range_validation
...
Auto commit by PR queue bot
2015-09-13 17:01:56 -07:00
tummychow
a21c52a766
Move util/validation files to their own package
2015-09-13 00:46:52 -07:00
Chao Xu
ca803fc504
address lavalamp's comment on using testapi instead of latest, and adding comments for public method.
2015-09-12 15:48:44 -07:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
Chao Xu
c733124920
address lavalamp's comments
2015-09-11 17:34:32 -07:00
Chao Xu
0b6fd8c5c4
fixing tests
2015-09-11 17:33:22 -07:00
Chao Xu
190ca2ebf2
add import_known_versions.go
2015-09-11 17:32:23 -07:00
Chao Xu
64bf839e9f
refactor tests to use testapi rather than latest directly
2015-09-11 17:32:23 -07:00
Chao Xu
8f888e2826
add RESTMapper() in testapi
2015-09-11 17:31:47 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Chao Xu
d690ae9664
install tests
2015-09-11 17:29:37 -07:00
Chao Xu
e400a15f84
make a central latest package
2015-09-11 17:29:37 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
k8s-merge-robot
6f01200188
Merge pull request #13727 from jiangyaoguo/fix-reason-reporting-in-kubelet
...
Auto commit by PR queue bot
2015-09-11 12:32:20 -07:00
derekwaynecarr
9bc48f699d
Validate LimitRange default and defaultRequest are not supported for limits of type Pod
2015-09-11 12:22:30 -04:00
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07:00
k8s-merge-robot
f8804ed166
Merge pull request #13798 from hurf/lr_dup
...
Auto commit by PR queue bot
2015-09-10 19:11:27 -07:00
jiangyaoguo
62c0c35307
Fix reporting reason in kubelet
...
1. Make reason field of StatusReport objects in kubelet in CamelCase format.
2. Add Message field for ContainerStateWaiting to describe detail about Reason.
3. Make reason field of Events in kubelet in CamelCase format.
4. Update swagger,deep-copy and so on.
2015-09-11 10:01:08 +08:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
hurf
f61d434e1f
Remove duplicate value assginment when validating limitrange
...
It's unnecessary to get the quantities again from limit.
2015-09-10 21:26:53 +08:00
k8s-merge-robot
46d94b5fe6
Merge pull request #13688 from derekwaynecarr/fix_validate_limitrange
...
Auto commit by PR queue bot
2015-09-09 16:04:11 -07:00
derekwaynecarr
ea919f6d1e
Fix precision handling in validating LimitRange
2015-09-09 15:52:29 -04:00
k8s-merge-robot
0f1525ce9b
Merge pull request #13678 from pmorie/serialization-debug
...
Auto commit by PR queue bot
2015-09-08 16:37:18 -07:00
Paul Morie
502492f3ed
Make serialization tests easier to debug
2015-09-08 13:19:08 -04:00
k8s-merge-robot
2e2def36a9
Merge pull request #13581 from caesarxuchao/APIGroup-testapi-2
...
Auto commit by PR queue bot
2015-09-04 20:38:45 -07:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Quinton Hoole
19017c761f
Merge pull request #13590 from markturansky/fix_empty_pv_list
...
Fixed empty PV/C lists by removing omitempty
2015-09-04 15:12:07 -07:00
Quinton Hoole
49702f9059
Merge pull request #13584 from wojtek-t/remaining_test_refactorings
...
Refactor registry tests to reduce dependency on go-etcd.
2015-09-04 13:12:45 -07:00
Quinton Hoole
fc946ce4a4
Merge pull request #12600 from derekwaynecarr/resource_quota_request
...
Update ResourceQuota for resource requirements requests
2015-09-04 12:39:46 -07:00
Quinton Hoole
e5e2bc9580
Merge pull request #10833 from markturansky/loosen_binding
...
Allow PV/Claim matching on inexact access modes
2015-09-04 09:06:31 -07:00
markturansky
b6feefbd9f
fixed empty PV/C lists by removing omitempty
2015-09-04 09:51:17 -04:00
Wojciech Tyczynski
2b2d6b677d
Refactor registry tests to reduce dependency on go-etcd.
2015-09-04 09:52:54 +02:00
derekwaynecarr
2e76842eb7
Update resource quota for requests
2015-09-03 14:24:59 -04:00
Wojciech Tyczynski
97b4a64e2c
Refactor registry etcd delete tests
2015-09-03 09:05:17 +02:00
Abhi Shah
1b0cf281e5
Merge pull request #13000 from brendandburns/schema-api-2
...
Add support for dynamic APIs
2015-09-02 13:53:28 -07:00
Brendan Burns
2df5010834
Merge branch 'sdminonne-container_sidecar'
2015-09-02 10:42:08 -07:00
Brendan Burns
74ef517097
Merge pull request #6649 from rootfs/wip-cephfs
...
add Ceph FS volume plugin
2015-09-02 09:48:15 -07:00
nikhiljindal
30a58321e8
Adding defaults to Deployment
2015-09-01 23:48:34 -07:00
Salvatore Dario Minonne
f4dc0653aa
adding downward api volume plugin
2015-09-01 22:23:03 +02:00
Huamin Chen
fe559f2726
implement Ceph FS volume plugin and add to e2e volume test
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Brendan Burns
43e7c9b211
Merge pull request #13367 from spothanis/cinder
...
Cinder Volume Plugin
2015-09-01 10:05:15 -07:00
Wojciech Tyczynski
6dfe5b4b5a
Refactoring of watch etcd tests.
2015-09-01 09:24:16 +02:00
Brendan Burns
b196d0f84b
Add support for installing custom object APIs
2015-08-31 21:13:36 -07:00
Brendan Burns
828e4d35a7
Add a storage implementation for thirdpartyresources.
2015-08-31 21:11:43 -07:00
nikhiljindal
13ecd8a72c
Adding deployment registry and exposing deployments in master
2015-08-31 10:47:04 -07:00
Sreekanth Pothanis
f5da6b34ce
Cinder Volume Plugin
2015-08-30 19:56:27 -07:00
k8s-merge-robot
e5ac413311
Merge pull request #13286 from nikhiljindal/validateDeployment
...
Auto commit by PR queue bot
2015-08-28 22:37:55 -07:00
k8s-merge-robot
08668d7d94
Merge pull request #13309 from kubernetes/revert-13246-revert-12492-limit_range_api
...
Auto commit by PR queue bot
2015-08-28 21:03:49 -07:00
nikhiljindal
92f373a4b6
Validate deployment
2015-08-28 12:47:33 -07:00
Prashanth B
52f7833cd3
Revert "Revert "LimitRange updates for Resource Requirements Requests""
2015-08-28 09:26:36 -07:00
Wojciech Tyczynski
836be0c432
Refactoring of update etcd tests.
2015-08-28 15:47:40 +02:00
markturansky
0b6030f50c
added better matching for PV access modes
2015-08-27 15:34:07 -04:00
Mike Danese
b772a9b74f
run autogenerated updates
2015-08-27 11:47:35 -07:00
Mike Danese
8460e3913d
move daemon controller to the experimental api
2015-08-27 11:47:35 -07:00
Mike Danese
650bf71cf7
Merge pull request #13120 from caesarxuchao/13804
...
add a fuzz function for expapi.APIVersion
2015-08-27 09:50:53 -07:00
Piotr Szczesniak
6e05b9e3a3
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 10:50:50 +02:00
Chao Xu
fc9c2ddf0c
add a fuzz function for expapi.APIVersion
2015-08-26 15:23:36 -07:00
Yu-Ju Hong
b00c04c497
Merge pull request #12845 from hurf/o_name
...
Add -o name for commands which use printer to output results
2015-08-26 13:03:52 -07:00
Yu-Ju Hong
1bae2b677d
Merge pull request #12492 from derekwaynecarr/limit_range_api
...
LimitRange updates for Resource Requirements Requests
2015-08-26 13:02:57 -07:00
hurf
d2d96ff6e1
Add -o name for commands which use printer to output results
...
Added a new printer which prints 'resource/name' pair of a given
object.
2015-08-26 17:04:23 +08:00
Marek Grabowski
ad41904121
Merge pull request #12837 from JanetKuo/kubectl-validate-on
...
Make --validate default on and shows how to turn if off
2015-08-25 17:41:23 +02:00
Wojciech Tyczynski
d14654589a
Merge pull request #13092 from wojtek-t/refactor_etcd_create_test
...
Refactoring of create etcd tests.
2015-08-25 15:07:42 +02:00
Janet Kuo
5823ef771b
Make --validate default on and shows how to turn if off
2015-08-25 03:18:32 -07:00
derekwaynecarr
8fbe4645e3
Add fields to LimitRange object
2015-08-24 15:18:45 -04:00
Nikhil Jindal
a09425d828
Merge pull request #10933 from andronat/swagger_auto_type_docs
...
Automatic Generation of Swagger Documentation in Types
2015-08-24 10:35:58 -07:00
Wojciech Tyczynski
61de4fc34d
Refactoring of create etcd tests.
2015-08-24 15:11:00 +02:00
Marcin Wielgus
9d466abd55
Serialization_test quick fix (remove exapi)
2015-08-24 13:13:14 +02:00
tamnd
906b279080
Support new docker config format for private registries
2015-08-22 15:37:25 +07:00
Anastasis Andronidis
10747841a0
move type documentation from tags to comments
2015-08-22 03:24:35 +02:00
Brendan Burns
5d664892f2
Add a storage implementation for thirdpartyresources.
2015-08-21 17:21:40 -07:00
Jerzy Szczepkowski
b337458ab6
Merge pull request #12993 from mikedanese/rtexpapi
...
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-21 10:27:17 +02:00
k8s-merge-robot
44c76d5319
Merge pull request #12957 from smarterclayton/handle_terminating_pods
...
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Saad Ali
93ffc9c57e
Merge pull request #12992 from pmorie/description_checker
...
Make description checker check for descriptions in internal API
2015-08-20 17:32:44 -07:00
Abhishek Shah
b6b8e99393
External IPs support.
2015-08-20 16:10:01 -07:00
Mike Danese
a6d1b87336
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-20 13:58:03 -07:00
Paul Morie
1e7b510a14
Remove internal API descriptions
2015-08-20 16:21:47 -04:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
62199f7cd3
Merge pull request #12911 from wojtek-t/refactor_etcd_test_2
...
Refactoring of list etcd tests.
2015-08-20 10:03:39 +02:00
Saad Ali
082ea838c5
Merge pull request #12779 from Huawei-PaaS/issue/clean_govet_error
...
Clean the static check errors (Go vet)
2015-08-19 14:59:05 -07:00
Wojciech Tyczynski
dcc302ab38
Refactoring of list etcd tests.
2015-08-19 13:56:23 +02:00
Jian Huang
c350d325e9
Solve Static Check Error
2015-08-19 13:38:56 +08:00
Tim Hockin
86f4535871
Check loopback and link-local multicast endpoints
...
Previously we just disallowed link-local (unicast). This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Wojciech Tyczynski
6cea2c8940
Prepare for refactoring registry etcd tests
2015-08-18 09:53:23 +02:00
Robert Bailey
736945faba
Merge pull request #12831 from thockin/nodeport-optional
...
Make nodePort optional in v1 API
2015-08-17 16:27:17 -07:00
Tim Hockin
75941afab2
Make nodePort optional in v1 API
2015-08-17 15:44:37 -07:00
Paul Morie
8ddef45679
Fix issue 10587; update SecurityContext godoc
2015-08-17 11:23:11 -04:00
Brendan Burns
a9580a0ad0
Merge pull request #12595 from smarterclayton/add_pod_status_ip
...
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Brendan Burns
9cc5156b69
Merge pull request #12685 from eparis/goimports
...
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Clayton Coleman
01f3785426
Add status.podIP as a valid downward API target
...
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00
Brendan Burns
b29311ba2b
Merge pull request #11781 from brendandburns/schema-api
...
RFC: Add initial plugin schema types.
2015-08-14 09:44:12 -07:00
Eric Paris
8f3577e5d2
Do not use goimports in hack/update-generated-conversions.sh
...
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8
Convert generated-deep-copies to use golang.org/x/tools/imports
...
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns
1055eed9b6
Add initial storage types to the Kubernetes API
2015-08-13 09:25:02 -07:00
Jerzy Szczepkowski
f09a08d15a
Refactoring of get etcd tests.
...
Refactoring of get etcd tests: introudced new generic resttest, TestGet; Converted all etcd tests to use it.
2015-08-13 12:14:04 +02:00
Wojciech Tyczynski
4516eeba81
Merge pull request #12594 from liggitt/status_field
...
Limit field errors to a single field name
2015-08-13 08:35:02 +02:00
CJ Cullen
59da05efdf
Merge pull request #12405 from uluyol/kubectlexp
...
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
Muhammed Uluyol
93b14c9a5d
Document the relationship between groups, versions, kinds, and resources. Link
...
to appropriate issues for multiple api group support.
2015-08-12 11:29:05 -07:00
Jordan Liggitt
d7a50c4778
Limit field errors to a single field name
2015-08-12 14:10:26 -04:00
Piotr Szczesniak
eb01d49783
Merge pull request #12556 from uluyol/copynilinterface
...
Properly handle nil interfaces in DeepCopy.
2015-08-12 09:54:02 +02:00
Piotr Szczesniak
1df0267f4a
Merge pull request #12551 from eparis/underscore-to-dash
...
Update code and docs to use - in flag names instead of _
2015-08-12 07:16:31 +02:00
Muhammed Uluyol
bc8bc37282
Properly handle nil interfaces in DeepCopy.
...
Running reflect.ValueOf(X) where X is a nil interface will return
a zero Value. We cannot get the type (because no concrete type is
known) and cannot check if the Value is nil later on due to the way
reflect.Value works. So we should handle this case by immediately
returning nil. We cannot type-assert a nil interface to another
interface type (as no concrete type is assigned), so we must add
another check to see if the returned interface is nil.
2015-08-11 17:59:32 -07:00
Muhammed Uluyol
567bb15432
Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign.
2015-08-11 17:12:24 -07:00
Muhammed Uluyol
fab367230f
Add experimental API support to kubectl
2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Eric Paris
5aa495cdad
Update code to use - in flag names instead of _
2015-08-11 16:31:52 -04:00
Filip Grzadkowski
3f7b54cbdb
Merge pull request #11669 from pweil-/sc-nonroot
...
add non-root directive to SC and kubelet checking
2015-08-11 10:30:53 +02:00
Alex Robinson
785ccf4a74
Merge pull request #12005 from JanetKuo/kubectl-describe-allocatedresource
...
Make kubectl describe node include allocated resource
2015-08-10 18:08:04 -07:00
Alex Robinson
33178dce96
Merge pull request #12496 from nikhiljindal/portDescription
...
Fixing a typo in port swagger description
2015-08-10 14:10:48 -07:00
nikhiljindal
a698acd3c8
Fixing a typo in port swagger description
2015-08-10 13:32:46 -07:00
Janet Kuo
0ac6dba3f4
Make kubectl describe node include allocated resource
2015-08-10 13:25:59 -07:00
Paul Weil
e490c20c22
add non-root directive to SC and kubelet checking
2015-08-10 13:30:34 -04:00
Marek Grabowski
5f9cefc1d8
Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
...
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
d239d51f3a
Merge pull request #12414 from krousey/versioned_codec
...
Adding a way to decode to a specified version.
2015-08-10 16:32:36 +02:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Satnam Singh
bee48f4ce5
Merge pull request #12035 from AnanyaKumar/requests
...
Add support for request
2015-08-07 14:27:34 -07:00
Kris Rousey
6e64a63a84
Adding a way to decode to a specified version.
...
This is largely needed as a way to get a versioned client without
requiring everyone to switch to versioned types at once.
2015-08-07 14:16:24 -07:00
Dr. Stefan Schimanski
79e54c2679
Add unit tests for RepackSubsets to take pod UID into consideration
2015-08-07 08:32:49 +02:00
Dr. Stefan Schimanski
55daf3b80e
Don't wrongly identify endpoint addresses only due to equal IP
...
Before this patch the endpoint IP was used to identify endpoint addresses. This
leads to wrong unification of endpoints of different pods having the same IP (e.g.
non container IP in case of Mesos). This patch takes the EndpointAddress.targetRef.UID
into consideration as well.
2015-08-07 08:31:59 +02:00
AnanyaKumar
d9b85652ae
Add Daemon API
2015-08-06 13:15:19 -07:00
Dawn Chen
536313c82c
Merge pull request #9472 from deads2k/expose-name-validation
...
expose common name validation methods
2015-08-06 10:51:51 -07:00
Mike Danese
fe6b15ba2f
rewrite all links to issues to k8s links
2015-08-05 21:11:11 -07:00
Ananya Kumar
ef1e576810
Add support for request
2015-08-05 19:00:19 -07:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Manan Saraf
b2ebfeef25
Fixed empty name error and also changed tests
2015-08-04 14:09:42 -07:00
Alex Mohr
366b382901
Merge pull request #10200 from caesarxuchao/resthandler-validate-version
...
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr
867f9b22c5
Merge pull request #12119 from brendandburns/fix
...
Auto commit by PR queue bot
2015-08-03 20:47:42 -07:00
Alex Mohr
3d2d99c6fd
Merge pull request #12007 from brendandburns/stdin
...
Auto commit by PR queue bot
2015-08-03 19:28:16 -07:00
Chao Xu
664d20c572
Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
...
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
Chao Xu
18d32751fd
improve the error message of update pod
2015-08-02 13:41:53 -07:00
Brendan Burns
7ad8307926
Set some default values and add some additional comments for clarity.
2015-07-31 22:00:30 -07:00
Brendan Burns
51757f6552
Add parameters for interactive containers. Useful with kubectl attach.
2015-07-31 21:41:58 -07:00
Paul Morie
5cfab10c1e
Remove description tag from internal API types
2015-07-31 17:17:53 -04:00
Mike Danese
a23ee556ad
Merge pull request #11999 from brendandburns/attach2
...
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Mike Danese
739fc1a572
Merge pull request #11914 from nikhiljindal/missingSwagger
...
Swagger validation: stop ignoring unknown fields
2015-07-31 10:42:18 -07:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Mike Danese
51a7a38f67
Merge pull request #12020 from wojtek-t/move_to_storage
...
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Clayton Coleman
0f9fdcafea
Revert "Revert "Improve conversion to support multiple packages""
...
This reverts commit 94a387d5d1
.
2015-07-30 15:15:14 -04:00
Brendan Burns
e8e756a719
Add pod/attach to the APIServer.
2015-07-30 10:55:53 -07:00
Mike Danese
94a387d5d1
Revert "Improve conversion to support multiple packages"
2015-07-30 10:51:40 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
nikhiljindal
8cdd403d9d
stricter swagger validation
2015-07-29 22:25:09 -07:00
Clayton Coleman
1d41f5ac75
Update generated conversions
2015-07-29 17:07:14 -04:00
Clayton Coleman
487fe2d116
Update deep copies
2015-07-29 17:06:55 -04:00
Mike Danese
60ac834563
Merge pull request #10652 from JanetKuo/kubectl-o-name
...
Add '-o name' to mutations
2015-07-29 09:46:10 -07:00
Brendan Burns
a546a2979c
Merge pull request #11726 from caesarxuchao/fix-types-link
...
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
Daniel Smith
b1e6b87a5f
Merge pull request #11829 from markturansky/validate_access_modes
...
Add validation for AccessModes
2015-07-27 16:14:38 -07:00
Janet Kuo
0e42d0699a
Add '-o name' to mutations
2015-07-27 14:06:53 -07:00
deads2k
d73faa8272
expose common name validation methods
2015-07-27 13:12:28 -04:00
markturansky
0a0af48e51
added validation for AccessModes
2015-07-27 13:02:16 -04:00
David Oppenheimer
2236fee028
Fix link to node selector documentation.
2015-07-24 23:04:59 -07:00
Chao Xu
aa758e64f7
update the links in pkg/api/types.go
2015-07-24 18:08:05 -07:00
Chao Xu
cbeed829b7
update the links in v1/types.go
2015-07-24 18:08:05 -07:00
Mike Danese
ae1c8e55ef
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
...
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese
db179e4cf4
Merge pull request #10346 from jhadvig/comment_fix
...
Fix NewNotFound method name in comments
2015-07-24 08:08:57 -07:00
Mike Danese
7a60a7c264
Merge pull request #11773 from jayunit100/etc-comment
...
Update comments to remove etcd specificity and minion term
2015-07-24 08:00:21 -07:00
Vish Kannan
1a908a272e
Merge pull request #11076 from nikhiljindal/apiError
...
Updating apiserver to not return 500 when a service without pods is proxied
2015-07-23 18:03:07 -07:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Vish Kannan
136d53466a
Merge pull request #10892 from nikhiljindal/beta1
...
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
jayunit100
6ca376fd12
Update comments to remove etcd specificity and minion / list term.
2015-07-23 17:41:44 -04:00
Mike Danese
a558edf036
Revert "Revert "Move rand string func to util for reuse""
...
This reverts commit acebe24bf3
.
2015-07-22 15:01:28 -07:00
Paul Morie
1df80e3a6a
Make copy_test.go failures easier to debug
2015-07-22 13:11:10 -04:00
Max Forbes
7a3891e5f8
Add ServiceAccount as an alias for ServiceAccountName
2015-07-16 15:48:49 -07:00
nikhiljindal
1517b66001
Updating an error to apierror
2015-07-15 16:43:59 -07:00
Rohit Jnagal
d61d272beb
Merge pull request #10974 from brendandburns/lakesong
...
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00
Zach Loafman
6ea0c2b3b7
Fix gofmt from #11084
...
(cherry picked from commit 63c73a58a5
)
2015-07-10 17:14:12 -07:00
Brendan Burns
2f47b3ed11
add spec.host as a synonym for spec.nodeName in v1
2015-07-10 15:16:48 -07:00
Brendan Burns
a8f02e5472
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 14:35:29 -07:00
Victor Marmol
edaa1a69e5
Merge pull request #10525 from nikhiljindal/delbeta3
...
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
nikhiljindal
c465a50891
Stop exposing v1beta3 by default
2015-07-08 15:27:41 -07:00
nikhiljindal
fc4da6844e
removing references to pre v1beta3 apis
2015-07-08 13:51:43 -07:00
Janet Kuo
9c3c23686f
Embed doc URLs in swagger document
2015-07-07 14:23:52 -07:00
Yu-Ju Hong
d675cbfc71
Merge pull request #10690 from thockin/version-api-descriptions
...
Version API descriptions
2015-07-06 17:41:10 -07:00
Brendan Burns
988aa6fdf6
Move things into a 'kube-system' namespace.
2015-07-06 15:08:23 -07:00
Tim Hockin
3caf3ccad2
make API descriptions use releases.k8s.io
2015-07-04 13:32:22 -07:00
jhadvig
7df1d33204
Fix NewNotFound method name in comments
2015-07-02 12:41:12 +02:00
Zach Loafman
e5670c104d
Merge pull request #10604 from nikhiljindal/v1
...
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
nikhiljindal
274792d7bb
Stop exposing v1beta3 by default
2015-07-01 14:38:02 -07:00
Zach Loafman
9db58ff2b2
Merge pull request #10632 from nikhiljindal/revert-etcderrors
...
Revert "Merge pull request #10246 from nikhiljindal"
2015-07-01 13:06:18 -07:00
Zach Loafman
0edd827c1c
Merge pull request #10566 from markturansky/pvspec_desc
...
Removed extraneous json descriptions from internal types
2015-07-01 12:00:31 -07:00
nikhiljindal
d82d5d11a7
Revert "Merge pull request #10246 from nikhiljindal"
...
This reverts commit a902a2f014
, reversing
changes made to 7df8d76a93
.
2015-07-01 11:07:18 -07:00
Zach Loafman
502103cdc6
Merge pull request #10453 from satnam6502/fix-es
...
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
nikhiljindal
2e9e46dd08
Updating scripts to use v1 instead of v1beta3
2015-07-01 00:23:16 -07:00
Zach Loafman
1715505d6b
Merge pull request #10538 from marekbiskup/typo-hypen
...
correct typo
2015-06-30 23:11:11 -07:00
CJ Cullen
12553c9b91
Fix errors test
2015-06-30 16:43:33 -07:00
Zach Loafman
a902a2f014
Merge pull request #10246 from nikhiljindal/minionPrefix
...
Return api/errors instead of raw etcd errors
2015-06-30 15:47:58 -07:00
markturansky
c39be4bc74
Removed extraneous json desc
2015-06-30 15:28:12 -04:00
Tim Hockin
15766bfbbc
Don't repeat field name in errors
2015-06-30 11:58:21 -07:00
Satnam Singh
4e58e001da
Change port names to avoid validation failure
2015-06-30 10:56:20 -07:00
Marek Biskup
88c70d2ae0
correct typo
2015-06-30 11:23:48 +02:00
nikhiljindal
4b7f7ce535
Dont return raw etcd errors
2015-06-29 16:18:46 -07:00
Tim Hockin
025f728e50
Fix 'a' vs 'an'
2015-06-28 20:51:36 -07:00
Tim Hockin
08f66f04d6
Fix error message
2015-06-28 14:49:38 -07:00
Robert Bailey
6b97ac0880
Merge pull request #10131 from thockin/svc-docs
...
Hopefully make NodePort docs clearer
2015-06-26 21:50:46 -07:00
Robert Bailey
f9db614f95
Merge pull request #10234 from mikedanese/rolling-update-weird
...
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Robert Bailey
54a3ebef3c
Merge pull request #10315 from nikhiljindal/invalidValue
...
Updating the "invalid value" error message to include the list of valid values
2015-06-26 10:46:59 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Maxwell Forbes
712f303350
Merge pull request #9736 from sdminonne/bug_fix2
...
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Steve Kuznetsov
3008ff6150
Changed HTTPGetAction to allow user-defined schemes
2015-06-25 16:59:12 -04:00
nikhiljindal
3b3ee0ed77
Improving an error message
2015-06-25 13:08:09 -07:00
Mike Danese
f79736d767
make replicas a pointer in v1beta3 api
2015-06-25 11:53:18 -07:00
Tim Hockin
ff91fef26b
Hopefully make NodePort docs clearer
2015-06-25 10:46:15 -07:00
Maxwell Forbes
655179dcfb
Merge pull request #10264 from mikedanese/ca-token
...
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
fc349fdd47
Merge pull request #10060 from nikhiljindal/scopeParamPath
...
Updating the path param name to "namespace" instead of "namespaces"
2015-06-25 09:56:15 -07:00
Maxwell Forbes
28946766a3
Merge pull request #9807 from krousey/container_manifest
...
Removing ContainerManifest
2015-06-24 17:55:29 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
nikhiljindal
6c6398edaa
Update the path param name to namespace instead of namespaces
2015-06-24 13:45:49 -07:00
Kris Rousey
d13421e084
Removing ContainerManifest
2015-06-24 11:31:34 -07:00
nikhiljindal
221ae4d63b
Allow update without resource version
2015-06-23 00:16:08 -07:00
Salvatore Dario Minonne
4b13faa346
To add validation for service ports when defined as string (fixing issue #9734 )
2015-06-22 17:21:51 +02:00
Anastasis Andronidis
101739a6be
Added Reason in PodStatus
2015-06-21 17:05:34 +02:00
Satnam Singh
b964f3c911
Merge pull request #9739 from bprashanth/sno
...
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Satnam Singh
3591a543d1
Merge pull request #9919 from liggitt/port_protocol_validation
...
Validate port protocol case strictly
2015-06-19 15:18:03 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Satnam Singh
078e85cfdb
Merge pull request #10076 from caesarxuchao/pr/9966/head
...
based on #9966 : fix annoying 'please check...' messages; remove v1beta1&2 ref
2015-06-19 11:56:47 -07:00
Satnam Singh
f02c685532
Merge pull request #10007 from feihujiang/improveCreateSchemaValidate
...
improve kubectl create --validate, aggregate errors and handle requir…
2015-06-19 11:43:44 -07:00
Jordan Liggitt
68a8a25494
Rename pod.spec.serviceAccount -> pod.spec.serviceAccountName for v1
2015-06-18 22:38:00 -04:00
Chao Xu
5673f73378
fix the left pre V1 field names in 290c4618c331f4f30a278af520121ff35
2015-06-18 18:44:55 -07:00
Satnam Singh
59a96f1028
Merge pull request #9688 from liggitt/validate_pod_spec
...
Validate service account name in pod spec
2015-06-18 17:18:09 -07:00
Satnam Singh
0f81a65f74
Merge pull request #10019 from feihujiang/deleteTodoNotes
...
Delete TODO notes
2015-06-18 15:53:10 -07:00
Clayton Coleman
93f921b677
Swagger output for PATCH can be more strongly typed
2015-06-18 13:04:20 -04:00
feihujiang
a7b22e3773
Delete TODO notes (The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.)
2015-06-18 20:13:17 +08:00
feihujiang
d5fcd9f153
improve kubectl create --validate, aggregate errors and handle require fields
2015-06-18 16:22:09 +08:00
Saad Ali
9da215e085
Merge pull request #9897 from derekwaynecarr/limit_range_validation
...
Add LimitRange range validation
2015-06-17 17:20:18 -07:00
markturansky
0a6b7b61ec
Changed PVClaimVolumeSource name to match other volume names
2015-06-17 16:17:49 -04:00
Saad Ali
641f8d47d3
Merge pull request #9828 from caesarxuchao/remove-testdata-v1beta1
...
remove pkg/api/validation/testdata/v1beta1/*
2015-06-17 11:36:03 -07:00
derekwaynecarr
2518d8c0fc
Add LimitRange range validation
2015-06-17 10:24:31 -04:00
Jordan Liggitt
2b840279d9
Validate service account name in pod spec
2015-06-16 21:09:01 -04:00
Jordan Liggitt
ee4cd972e0
Validate port protocol case strictly
2015-06-16 20:28:11 -04:00
Saad Ali
0aae358d2d
Merge pull request #9835 from caesarxuchao/remove-testapi-nsQuery
...
Update pkg/api/testapi because namespace is always in the path now
2015-06-16 14:54:36 -07:00
Chao Xu
a309d3e652
Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2
2015-06-16 14:12:03 -07:00
Saad Ali
d6b50d5602
Merge pull request #9823 from caesarxuchao/remove-PodContainerInfo
...
remove PodContainerInfo from api/types.go
2015-06-16 13:38:53 -07:00
Chao Xu
d9e8939ae4
remove pkg/api/validation/testdata/v1beta1/*
2015-06-15 16:20:14 -07:00
Chao Xu
3815b4c985
remove PodContainerInfo from api/types.go
2015-06-15 15:04:37 -07:00
Fabio Yeon
4e6bd63256
Merge pull request #9597 from mikedanese/fix-swagger-validate-panic
...
fix panic in kubectl --validate when no apiVersion is passed
2015-06-15 13:05:11 -07:00
Fabio Yeon
b65c321a87
Merge pull request #9772 from feihujiang/noKindErrorMessage
...
make the kind not registered in versions error message more precise
2015-06-15 10:26:58 -07:00
Filip Grzadkowski
cdc5034ce4
Fix error message for missing imagePullPolicy
2015-06-15 16:02:32 +02:00
feihujiang
ad4f22bf6a
improve kubectl error message when an object with kind not registered in versions
2015-06-15 09:18:28 +08:00
Daniel Smith
9423f80d20
fix test bug & conversion bug
2015-06-12 13:55:10 -07:00
Daniel Smith
47294dd326
Revert "Revert "Test Service creation -> endpoint generation latency""
...
This reverts commit 654857114e
.
2015-06-11 18:34:31 -07:00
Abhi Shah
b556285661
Merge pull request #9550 from feihujiang/validationFailure
...
remove useless glog.Infof
2015-06-10 14:45:10 -07:00
Mike Danese
2bbb78d50a
actually return validation errors instead of just creating them
2015-06-10 12:45:10 -07:00
Brendan Burns
654857114e
Revert "Test Service creation -> endpoint generation latency"
2015-06-09 21:24:00 -07:00
feihujiang
5867b5ce6b
remove useless glog.Infof
2015-06-10 11:02:28 +08:00
krousey
1c58d2a766
Merge pull request #9354 from lavalamp/logSpam
...
Test Service creation -> endpoint generation latency
2015-06-09 15:51:26 -07:00
krousey
d7f7d84a5e
Merge pull request #9387 from jsdir/9340-signature
...
Improve signature consistency for ValidateObjectMetaUpdate
2015-06-09 10:20:18 -07:00
feihujiang
37abe11f8a
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 10:38:43 +08:00
Daniel Smith
aa9bdcbc4a
add missing endpoints field label conversion function
2015-06-08 16:23:21 -07:00
Jason Sommer
aa892b7143
Replace meta with new
2015-06-08 17:06:56 -05:00
Jason Sommer
d59a8ff7f8
Improve signature consistency for ValidateObjectMetaUpdate
...
Fixes #9340
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-08 02:56:38 -05:00
Quinton Hoole
6ff203e9da
Merge pull request #9280 from caesarxuchao/make-v1-preferred
...
Make v1 the preferred api version
2015-06-05 15:23:14 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Quinton Hoole
8f55d9e619
Merge pull request #9317 from nikhiljindal/podnodeName
...
Updating StatusDetails.ID to Name in internal API
2015-06-05 11:23:09 -07:00
nikhiljindal
7cc50448e3
Updating StatusDetails.ID to Name in internal API
2015-06-05 07:17:02 -07:00
Yifan Gu
f197a9db4e
kubelet: Minor refactors.
...
Remove some TODOs.
Unexport DockerManager.Puller and DockerManager.PodInfraContainerImage.
Add "docker" for all "go-dockerclient" imports.
2015-06-04 16:08:45 -07:00
Chao Xu
1605fc7347
fix unit tests
2015-06-04 15:09:47 -07:00
Chao Xu
dfc77f7883
make v1 the preferred api version
2015-06-04 15:08:56 -07:00
markturansky
2829fadfad
PV Recycling API
2015-06-04 15:39:34 -04:00
Chao Xu
0a7dc87b05
address nikhiljindal's comments in #9225
2015-06-04 10:20:29 -07:00
Chao Xu
c1ba3f21d5
remove outdated test from latest_test.go
2015-06-04 09:39:05 -07:00
Brian Grant
656fa7bea1
Merge pull request #9225 from caesarxuchao/add-v1-tests-general
...
Add v1 tests
2015-06-03 22:18:21 -07:00
Brian Grant
ab1e3cc789
Merge pull request #9215 from RichieEscarez/8977_restartpolicy
...
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" …
2015-06-03 22:16:11 -07:00
Chao Xu
2ee8eb67a9
remove import of v1beta3 package in api/conversion_test.go
2015-06-03 16:50:40 -07:00
Chao Xu
cb123dc957
in api/testapi/testapt_test.go, remove tests for v1beta1, add tests for v1
2015-06-03 16:48:05 -07:00
RichieEscarez
91907f66a7
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" "RestartPolicyNever" with "Always" "OnFailure" "Never"
2015-06-03 13:35:35 -07:00
Chao Xu
115823ff1b
add v1 to serialization_test.go
2015-06-03 13:22:01 -07:00
Brian Grant
be4a501e25
Merge pull request #9099 from derekwaynecarr/improve_quota_describe_output
...
Fix bug in quota describe output
2015-06-03 13:14:30 -07:00
derekwaynecarr
6968a4e0df
Improve quota describe output
2015-06-03 15:16:24 -04:00
Tim Hockin
1aa9b0b86a
Don't allow link-local Endpoints
2015-06-03 11:40:04 -07:00
Chao Xu
3358f37871
remove imports of v1 in latest_test.go
2015-06-02 17:27:57 -07:00
Chao Xu
89c8949e78
add v1 to hack/test-integration.sh
2015-06-02 14:55:45 -07:00
Chao Xu
ff6947625d
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-02 14:55:45 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Brian Grant
3f07503cea
Merge pull request #9103 from liggitt/omitempty_service_account
...
fix omitempty on PodSpec.ServiceAccount in v1beta3
2015-06-02 10:41:11 -07:00
Jordan Liggitt
870be9768a
fix omitempty on service account in v1beta3
2015-06-02 01:31:06 -04:00
Clayton Coleman
72ee028cab
Gracefully delete pods from the Kubelet
...
This commit wires together the graceful delete option for pods
on the Kubelet. When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default. The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.
When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker. When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Rohit Jnagal
25e63e737a
Merge pull request #9014 from caesarxuchao/image-omitempty
...
make the Container.Image field optional in v1
2015-05-29 16:32:30 -07:00
Rohit Jnagal
fdefd120c1
Merge pull request #8980 from caesarxuchao/Remove_TemplateRef
...
remove ReplicationControllerSpec.TemplateRef
2015-05-29 14:53:25 -07:00
Chao Xu
74f66b3c96
make the Container.Image field optional
2015-05-29 13:12:35 -07:00
Chao Xu
0798ea9ff7
remove ReplicationControllerSpec.TemplateRef from v1beta3/types.go and v1/types.go for now
2015-05-28 17:41:47 -07:00
Chao Xu
2f6e5e2e08
Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go
2015-05-28 17:18:24 -07:00
Tim Hockin
da78ab6b63
Merge pull request #8740 from thockin/nix-portal
...
Rename "portalIP" to "clusterIP"
2015-05-28 16:52:02 -07:00
Kris Rousey
22b2c68c02
Update go-restful to get stable sorting in spec
...
This reverts commit 4a7071e7f7
.
2015-05-28 16:43:13 -07:00
Tim Hockin
9a49e8155f
Update generated code
2015-05-28 16:28:18 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
4a7071e7f7
Revert "Update go-restful to get stable sorting in spec"
2015-05-28 16:04:11 -07:00
Tim Hockin
32bb3ae8f1
Merge pull request #7775 from simon3z/cloud-provider-id
...
api: add the ProviderID attribute to NodeSpec
2015-05-28 15:54:00 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Tim Hockin
72c2e3b8a1
Merge pull request #8944 from krousey/go-restful_update
...
Update go-restful to get stable sorting in spec
2015-05-28 15:29:43 -07:00
Tim Hockin
1087c12e63
Merge pull request #8909 from wojtek-t/fix_example_selflinks
...
Fix selfLinks in test examples to v1beta3
2015-05-28 15:01:02 -07:00
Tim Hockin
6fbaefdced
Merge pull request #8897 from pweil-/reduce-merge-logging
...
reduce merge logging
2015-05-28 15:00:45 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Kris Rousey
05eaaa99e1
Update go-restful to get stable sorting in spec
2015-05-28 13:40:23 -07:00
Federico Simoncelli
2a89428d44
api: add the ProviderID attribute to NodeSpec
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:01:58 -04:00
Wojciech Tyczynski
22f7f05135
Fix selfLinks in examples
2015-05-28 16:47:53 +02:00
Wojciech Tyczynski
33318f0162
Use generated DeepCopy methods.
2015-05-28 09:03:27 +02:00
Paul Weil
ae981b73a3
reduce merge logging
2015-05-27 19:12:04 -04:00
markturansky
60b9652500
added generated deep copy funcs
2015-05-27 13:58:29 -04:00
markturansky
d338a7eaea
rebased and added 'omitempty' to new volumes
2015-05-27 13:21:48 -04:00
markturansky
e15fd2b0e7
normalized omitempty across volumes for all versions
2015-05-27 13:13:19 -04:00
markturansky
f7ede60045
normalized json tags across volumes
2015-05-27 13:12:40 -04:00
Tim Hockin
b8a808b1ae
Merge pull request #8592 from RichieEscarez/5057_restartpolicy_default
...
5057 restartpolicy default
2015-05-27 09:40:34 -07:00
Tim Hockin
a15c69798b
Merge pull request #8582 from deads2k/add-pull-secrets-to-service-account
...
add pull secrets to service accounts
2015-05-27 08:40:46 -07:00
Tim Hockin
57df04ed72
Merge pull request #8149 from pmorie/container-env-resolution
...
Expand variables in containers' env, cmd, args
2015-05-27 08:37:02 -07:00
Tim Hockin
d0249aac75
Merge pull request #8133 from markturansky/iscsi_pv2
...
added ISCSI volume plugin to PersistentVolumeSource
2015-05-27 08:36:37 -07:00
Paul Morie
8b338860aa
Make kubelet expand var refs in cmd, args, env
2015-05-27 00:13:57 -04:00
Wojciech Tyczynski
e7dbac53cb
Generate DeepCopy methods
2015-05-26 21:17:11 +02:00
Wojciech Tyczynski
b2280db724
Deep-copy functions autogeneration.
2015-05-26 21:16:26 +02:00
Marek Grabowski
f5a3f7d17f
Merge pull request #8721 from smarterclayton/incorrect_description
...
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-25 10:50:44 +02:00
Clayton Coleman
3db9f0528a
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-22 19:35:26 -04:00
Justin Santa Barbara
ada6882373
Add conversions for CreateExternalLoadBalancer for v1beta1 and v1beta2
2015-05-22 19:26:54 -04:00
Justin Santa Barbara
19c0d82edc
Include the actual failing value in a validation error message
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
a271771341
Richer errors for validation
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
9255770068
Fix a few occurences of old language (e.g. visibility -> ServiceType)
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042
Add ServiceType = NodePort; wire everything up
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
3bb2fe2425
Create port allocator, based on IP allocator mechanism
...
Including some refactoring of IP allocator
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462
Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
...
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
2197c8da5a
Add NodePort to ServicePort
...
We prevent it from being set by validation
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Dawn Chen
677a4aa1a7
Merge pull request #8164 from cjcullen/cloudprovider
...
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
markturansky
77c39edcc9
rebased and regenerated conversions
2015-05-22 15:18:48 -04:00
markturansky
5b23fc39b2
added ISCSI volume plugin to PersistentVolumeSource
2015-05-22 15:18:20 -04:00
Dawn Chen
434a9ff57b
Merge pull request #8552 from thockin/rc-default-1
...
Change v1 API to default RC replicas to 1
2015-05-22 11:10:01 -07:00
deads2k
590bd048a5
add pull secrets to service accounts
2015-05-22 14:05:19 -04:00
RichieEscarez
0076c181c7
Edited to add the default restart policy (always) to clarify value if RestartPolicy is not set.
...
Generated new .json output for Swagger UI
Added the api/v1/v1.json file to the hack/update-swagger-spec.sh script so it gets updated and built.
Fixes #5057
Reverting last change: Deleted line for building v1 api from the build file update-swagger-ui.sh and deleted the output file from build (v1.json).
2015-05-22 10:03:12 -07:00
Tim Hockin
fd07de6ed6
Change v1 API to default RC replicas to 1
2015-05-21 12:40:59 -07:00
Huamin Chen
4a800fd10e
add rados block device(rbd) volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00
Derek Carr
9b1fb6dca1
Merge pull request #8233 from csrwng/connect_adm_ctrl
...
Admission control to prevent exec on privileged pods
2015-05-21 14:35:28 -04:00
Cesar Wong
328b1d0817
Add admission control to the Connect method in the API Server
...
The resource passed to admission control is a ConnectRequest object
which includes additional information about the current request.
2015-05-21 13:54:45 -04:00
Wojciech Tyczynski
de0a1d179f
Fix ordering of conversion methods.
2015-05-21 19:41:48 +02:00
Dawn Chen
0710976d43
Merge pull request #8490 from thockin/diff-proto
...
Allow same-hostport-different-protocol
2015-05-21 09:16:16 -07:00
Dawn Chen
ad47b2d29d
Merge pull request #8483 from liggitt/etcd_test
...
Update generic etcd tests for cluster-scoped objects
2015-05-21 09:13:44 -07:00
Dawn Chen
9f4fb35c16
Merge pull request #8472 from nikhiljindal/statusName
...
v1: Updating StatusDetails.ID to Name
2015-05-21 09:12:42 -07:00
CJ Cullen
bf646abf8d
Revert "Revert "Modify nodes to register directly with the master.""
...
This reverts commit c53786ab31
.
2015-05-20 14:21:03 -07:00
Quinton Hoole
c53786ab31
Revert "Modify nodes to register directly with the master."
2015-05-20 13:47:51 -07:00
nikhiljindal
e92a42b57f
Renaming StatusDetails.ID to Name
2015-05-20 11:35:38 -07:00
Yu-Ju Hong
8f62dd2451
Merge pull request #8482 from smarterclayton/serialization_wrong
...
Serialization of 'IP' in endpoints should be 'ip'
2015-05-19 12:02:19 -07:00
Tim Hockin
97abc19810
Merge pull request #8299 from thockin/import-names
...
rename imported pkgs for readability
2015-05-19 12:01:57 -07:00
Eric Tune
1f4172d23c
Merge pull request #6949 from roberthbailey/node-register
...
Modify nodes to register directly with the master.
2015-05-19 11:29:43 -07:00
Tim Hockin
cb49843ccb
Merge pull request #8140 from vishh/namespace
...
Update Namespace names to follow DNS label format
2015-05-19 11:25:32 -07:00
Tim Hockin
70c94fad6d
Don't rename api imports in conversions
2015-05-19 11:21:21 -07:00
Tim Hockin
d689ba9b01
Rename versioned pkg imports in defaults tests
2015-05-19 11:18:55 -07:00
Vishnu Kannan
d10af89493
Updating namespaces to be DNS labels instead of DNS names.
2015-05-19 11:09:09 -07:00
Daniel Smith
181124bc9b
Merge pull request #7974 from deads2k/attach-pull-secrets-to-pods
...
Attach pull secrets to pods
2015-05-19 10:26:39 -07:00
Tim Hockin
711fa2f2c6
fix
2015-05-19 10:17:53 -07:00
Tim Hockin
c7bf373d98
Allow same-hostport-different-protocol
2015-05-19 10:00:35 -07:00
Robert Bailey
01467e0bb8
Modify nodes to register directly with the master.
...
- Delete nodes when they are no longer ready and don't exist in the
cloud provider.
- Label each node with it's hostname.
- Add flag to skip node registration.
- Add a test for registering an existing node.
2015-05-19 09:55:07 -07:00
Brian Grant
2c81050e6f
Merge pull request #8457 from davidopp/master
...
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-19 07:43:21 -07:00
deads2k
5458f05679
create LocalObjectReference
2015-05-19 08:39:46 -04:00
David Oppenheimer
44b1e1ca0c
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-18 23:32:06 -07:00
Jordan Liggitt
a6401fa433
Update generic etcd tests for cluster-scoped objects
2015-05-18 23:17:51 -04:00
Clayton Coleman
2e8b7f9797
Serialization of 'IP' should be 'ip'
...
CamelCase rules are "initialsUpperCase"
2015-05-18 22:56:12 -04:00
Brian Grant
03535478a2
Merge pull request #8440 from thockin/api-type-names
...
Rename a few API types (non-breaking change)
2015-05-18 18:48:16 -07:00
Tim Hockin
65833e42c4
rename CapabilityType Capability
2015-05-18 17:21:30 -07:00
Tim Hockin
fd22f48f5b
rename StorageType StorageMedium
2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Tim Hockin
a548d542db
Rename AffinityType to ServiceAffinity
2015-05-18 17:21:30 -07:00
Wojciech Tyczynski
9a93206774
Script for automatically generate conversions.
2015-05-19 02:17:58 +02:00
deads2k
0c14e0cbdb
add pull secret references to pods
2015-05-18 16:18:16 -04:00
Wojciech Tyczynski
d7834f5033
Merge pull request #8414 from pweil-/dedupe-sc
...
remove deprecated fields from v1 types
2015-05-18 12:57:38 -07:00
Daniel Smith
c27999da07
Merge pull request #7966 from deads2k/add-dockercfg-secrets
...
add dockercfg secret types
2015-05-18 11:24:02 -07:00
Victor Marmol
45874d5f76
Merge pull request #5547 from gmarek/client3
...
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Paul Weil
ad4e4c90ce
remove deprecated fields from v1 types
2015-05-18 14:07:36 -04:00
Victor Marmol
bf912e0d82
Merge pull request #8338 from nikhiljindal/omitEmpty
...
Fixing the omitempty tag
2015-05-18 08:39:47 -07:00
deads2k
be0f2d2930
add dockercfg secret types
2015-05-18 08:25:27 -04:00
deads2k
d404a17f0a
allow leading dots in secret keys
2015-05-18 08:17:58 -04:00
nikhiljindal
0ce0150bde
Fixing the omitempty tag
2015-05-15 19:29:14 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
derekwaynecarr
8216332611
Kubelet kills a pod that exceeds ActiveDeadlineSeconds
2015-05-15 16:33:37 -04:00
gmarek
27d660d0ac
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-15 10:57:46 +02:00
Victor Marmol
8bc3e5121f
Merge pull request #8188 from krousey/deep_copy
...
Changing the implementation of DeepCopy to use reflection
2015-05-14 18:25:30 -07:00
Kris Rousey
4d031abc16
Changing the implementation of DeepCopy to use reflection instead of Gob encode/decode.
2015-05-14 13:46:31 -07:00
Filip Grzadkowski
61b1c975af
Merge pull request #8172 from wojtek-t/deep_copy_generator
...
Create DeepCopy benchmarks
2015-05-14 20:07:49 +02:00
Victor Marmol
07b8b79696
Merge pull request #8247 from kazegusuri/fix-struct-field-tag
...
Fix struct field tag
2015-05-14 10:36:34 -07:00
Masahiro Sano
bccafcb97b
fix struct field tag
2015-05-14 22:29:11 +09:00
Wojciech Tyczynski
b52a4e60fc
Fix convertion generator for manually written ones
2015-05-14 13:51:34 +02:00
Wojciech Tyczynski
b00020884c
DeepCopy benchmarks
2015-05-14 09:43:21 +02:00
Tim Hockin
2f59aa4f25
Somewhat better error messages for common formats
...
Clearer strings with examples.
2015-05-13 13:59:16 -07:00
Tim Hockin
b429e89251
Spec qualified names (label keys) more tightly
...
It can be a (DNS_SUBDOMAIN/)?label, but we were validating it
incorrectly before.
2015-05-13 13:59:16 -07:00
Daniel Smith
25d32ee513
Merge pull request #7939 from nikhiljindal/latest
...
Adding an env variable to specify the list of supported API versions
2015-05-13 13:36:43 -07:00
markturansky
6b29c569ff
regen again
2015-05-13 14:46:47 -04:00
markturansky
fd3f7b2a98
rebased and regen conversions
2015-05-13 14:09:48 -04:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04:00
nikhiljindal
8b278202fe
Updating the code to set the latest version based on KUBE_LATEST_API_VERSION env flag
2015-05-13 10:53:00 -07:00
Wojciech Tyczynski
c2f2faeb07
Generate conversion methods for v1 api.
2015-05-13 14:20:59 +02:00
Brian Grant
572b819944
Merge pull request #8052 from dkorn/PodConditions
...
Inconsistency in api terminology of pod conditions
2015-05-12 11:03:59 -07:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
dkorn
25ada0e118
Inconsistency in api terminology of pod conditions
...
While nodes returns the "conditions" key in api requests, pods returns
"Condition". Also, from pods states docs it seems that the right
terminology should be "conditions".
Fixes #8038
2015-05-12 10:52:52 +03:00
feihujiang
4bb594b34d
Duplicate service port name can't be validated
...
Duplicate service port name can't be validated
Duplicate service port name can't be validated
Duplicate service port name can't be validated
2015-05-12 15:18:27 +08:00
Victor Marmol
43029345f9
Merge pull request #7973 from dchen1107/podstatus
...
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Jordan Liggitt
0955808668
ServiceAccountTokens controller
2015-05-11 17:18:05 -04:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
Nikhil Jindal
2cc8696425
Merge pull request #7919 from brendandburns/kubectl
...
Fix validation by moving it into the resource builder.
2015-05-11 10:20:14 -07:00
Dawn Chen
ffa5947010
Introduce Previous as PodLogOptions
2015-05-11 10:14:22 -07:00
Vish Kannan
b7289b606e
Merge pull request #7786 from thockin/ports
...
Service port names are required for multi-port
2015-05-11 09:46:02 -07:00
Clayton Coleman
382623f3fa
Merge pull request #7896 from wojtek-t/generated_calling_manual
...
Improments to conversion methods generator
2015-05-11 10:15:32 -04:00
Clayton Coleman
8755ea8ec9
Merge pull request #7704 from smarterclayton/parallel_allocator
...
Use etcd to allocate PortalIPs instead of in-mem
2015-05-11 09:56:10 -04:00
Marek Grabowski
16a76f1bd3
Merge pull request #8028 from shawnps/patch-1
...
Fix struct tag
2015-05-11 14:00:18 +02:00
Marek Grabowski
141e6977d6
Merge pull request #8029 from shawnps/patch-2
...
Fix struct tag
2015-05-11 13:59:56 +02:00
Wojciech Tyczynski
5578dc99e3
Improvements for conversions generator
2015-05-11 12:21:11 +02:00
Shawn Smith
48927cb209
Fix struct tag
2015-05-10 13:09:13 +09:00
Shawn Smith
97cdd064c8
Fix struct tag
2015-05-10 13:08:25 +09:00
Shawn Smith
8105ac5346
Fix struct tag
2015-05-10 13:06:20 +09:00
Tim Hockin
3aa39d54b6
Service port names are required for multi-port
...
There is no provision for the first port to be unnamed. I think I
initially allowed that, but then the Subset struct became a sorted
struct, so the first-ness of the port got lost. If you have a Service
with one named and one unnamed port, what happens is that the
EndpointController fails to create Endpoints (validation error).
2015-05-09 20:11:48 -07:00
Brendan Burns
7f11585972
Fix validation by moving it into the resource builder.
...
Also always print an error for unknown field.
2015-05-08 14:00:33 -07:00
Clayton Coleman
8bbb64cd8b
Generated conversion functions
2015-05-08 16:04:03 -04:00
Abhi Shah
87e85e25f1
Revert "Added ISCSI to PV structs"
2015-05-08 11:31:35 -07:00
Abhi Shah
9b2a0df811
Merge pull request #7734 from markturansky/iscsi_pv2
...
Added ISCSI to PV structs
2015-05-08 10:55:41 -07:00
Clayton Coleman
e200d5a317
Make PortalIP alloc HA
...
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards
Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
markturansky
6cdec4c093
rebased and updated
2015-05-07 20:54:35 -04:00
Abhi Shah
7b1e9adb47
Merge pull request #7620 from brendandburns/fix
...
Support recovery from in the middle of a rename.
2015-05-07 16:04:26 -07:00
markturansky
4c9eac6c3d
Added ISCSI to PV structs
2015-05-07 18:13:03 -04:00
Brendan Burns
63cbc715dd
Support recovery from in the middle of a rename.
2015-05-07 10:39:15 -07:00
markturansky
dc0b49d960
rebased and updated
2015-05-07 13:33:52 -04:00
markturansky
68ce264a6d
Added NFS to PV structs
2015-05-07 12:38:27 -04:00
Wojciech Tyczynski
156795f298
Update conversion functions
2015-05-07 09:27:58 +02:00
Clayton Coleman
b60a90c3f4
Merge pull request #7718 from csrwng/create_sub_name
...
API Server - pass path name in context of create request for subresource
2015-05-06 15:42:03 -04:00
Cesar Wong
fd65427e28
API Server - pass path name in context of create request for subresource
...
Allows a REST storage for a subresource to obtain name in path from
request.
2015-05-06 13:40:18 -04:00
Clayton Coleman
800de8cb7e
Merge pull request #7832 from wojtek-t/separate_generated_conversion
...
Support manually-created and generated conversion functions
2015-05-06 12:53:46 -04:00
Paul Morie
5bcdecbb6b
Fix v1beta1 typos in v1beta2 conversions
2015-05-06 11:21:39 -04:00
Wojciech Tyczynski
458fec6c99
Generate conversion functions for v1beta3
2015-05-06 16:43:15 +02:00
Daniel Smith
8a47574644
Merge pull request #7468 from simon3z/serialized-reference
...
replica: serialize created-by reference
2015-05-05 16:42:42 -07:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Paul Morie
1625e231dd
Merge pull request #7343 from pweil-/security-context-types
...
Security context - types, kubelet, admission
2015-05-05 16:26:09 -04:00
Federico Simoncelli
37038c4877
replica: serialize created-by reference
...
Fixes #7322
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-05 16:06:41 -04:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Cesar Wong
283049f679
Fix pod exec options
...
Change the command field to an array of strings.
2015-05-05 13:20:08 -04:00
Paul Morie
f6f34d0493
Allow int64 types in API; update swagger spec
2015-05-05 12:15:12 -04:00
Paul Morie
e949a623ff
Change EnvVarSource.FieldPath -> FieldRef and add example
2015-05-04 18:41:09 -04:00
Brian Grant
f7a2a02ebb
Merge pull request #7443 from vishh/comments
...
Explicitly state the lack of support for 'Requests' for the purposes of scheduling
2015-05-04 14:33:13 -07:00
Vishnu Kannan
3b5a90852a
Explicitly state the lack of support for 'Requests' for the purposes of scheduling.
2015-05-04 13:39:11 -07:00
Clayton Coleman
dd8184247e
Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
...
Change the order the different versions of API are registered
2015-05-04 15:01:59 -04:00
Piotr Szczesniak
5845743171
Removed unnecessary closing bracket
2015-05-04 09:42:33 +02:00
Chao Xu
4787c66214
Register the API versions to the DefaultRESTMapper in the order of preferred versions first.
...
This makes kubectl sends requests to URLs in the format defined by the latest API version.
2015-05-01 15:14:15 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Clayton Coleman
1a8845af61
Merge pull request #7490 from smarterclayton/alter_list
...
Do not automatically decode runtime.RawExtension
2015-05-01 16:48:26 -04:00
Brian Grant
0a9a10e997
Merge pull request #7535 from smarterclayton/bad_capitalization
...
Capitalization of KubeProxyVersion wrong in JSON
2015-04-30 12:36:02 -07:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
Wojciech Tyczynski
3b84bae544
Auto-generated conversion not manually edited
2015-04-30 14:05:42 +02:00
Filip Grzadkowski
231284187e
Merge pull request #7431 from wojtek-t/conversion_chains
...
Prepare for chaining autogenerated conversion methods
2015-04-30 09:08:40 +02:00
Clayton Coleman
1042ab32a5
Capitalization of KubeProxyVersion wrong in JSON
2015-04-29 19:52:51 -04:00
Brian Grant
4071868581
Merge pull request #7482 from nikhiljindal/verifyDescription
...
Fixing hooks/description to catch API fields without description tags
2015-04-29 09:56:08 -07:00
Clayton Coleman
12ba4e2452
Do not automatically decode runtime.RawExtension
...
Make clients opt in to decoding objects that are stored
in the generic api.List object by invoking runtime.DecodeList()
with a set of schemes. Makes it easier to handle unknown
schema objects because decoding is in the control of the code.
Add runtime.Unstructured, which is a simple in memory
representation of an external object.
2015-04-29 12:53:07 -04:00
Wojciech Tyczynski
fc6fb0953a
Generate conversions
2015-04-29 16:32:56 +02:00
Paul Morie
8fa21ebd62
Merge pull request #7419 from liggitt/secrets_etcd
...
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-29 09:59:22 -04:00
nikhiljindal
7c99865c94
Fixing hooks/description to catch API fields without description tags
2015-04-28 18:32:15 -07:00
Brian Grant
a4316aa638
Merge pull request #7454 from nikhiljindal/v1
...
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 18:06:57 -07:00
Alex Robinson
3c0b799213
Merge pull request #7446 from liggitt/namespace_conversion
...
Fix typo in namespace conversion
2015-04-28 16:38:10 -07:00
nikhiljindal
c4d7e19c8c
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 16:06:03 -07:00
Jordan Liggitt
ac67fff1cf
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-28 15:00:20 -04:00
Jordan Liggitt
0dbc9c2688
Fix typo in namespace conversion
2015-04-28 12:45:13 -04:00
Paul Morie
2ecb883ff4
Fix omitempty attributes on downward api
2015-04-27 20:48:28 -04:00
Paul Morie
8bf0b03c17
Fix downward API descriptions
2015-04-27 17:46:34 -04:00
Daniel Smith
83093af8b0
Merge pull request #5707 from endocode/kbeecher/etcd_prefix
...
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Tim Hockin
635c393a5a
Merge pull request #6105 from markturansky/yoko_pv_mgr
...
PersistentVolumeClaimBinder
2015-04-27 13:35:44 -07:00
markturansky
beacd8722a
addressed feedback. added opt-in cmd line flag
2015-04-27 15:00:01 -04:00
Paul Morie
7d30f09ebf
Add downward API for environment vars
2015-04-27 14:13:11 -04:00
Daniel Smith
e0e83fa8fe
Merge pull request #7354 from wojtek-t/conversion_improvements
...
Improvements to generator of conversion methods.
2015-04-27 10:27:51 -07:00
markturansky
2fe8ed5358
fixed prefix name in validation
2015-04-27 12:05:12 -04:00
markturansky
a04420e548
Added pending phase for volumes. added defaults for PV/PVC. refactored to better phase transitioning in control loops
2015-04-27 12:05:12 -04:00
markturansky
37d7f3f4f1
Added integration test, fixed a validation issue
2015-04-27 12:05:12 -04:00
markturansky
2cf4e6564b
Added more to README, tweaked pod, added service, fixed validation
2015-04-27 12:05:12 -04:00
Maciej Szulik
cd183bbb72
Fixed validation message when trying to submit incorrect secret
2015-04-27 15:18:32 +02:00
Wojciech Tyczynski
922555f048
Improvements to generator of conversion methods.
2015-04-27 13:33:38 +02:00
Brian Grant
60d7bad147
Merge pull request #7128 from nikhiljindal/fixbeta1tests
...
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Fabio Yeon
0c54673626
Merge pull request #7180 from ddysher/validate-no-dup-ip
...
Validate Node IPs; clean up validation code
2015-04-24 09:36:27 -07:00
Clayton Coleman
ed00dae7c8
Merge pull request #7107 from wojtek-t/conversion_generator
...
Code to automatically generate conversion methods
2015-04-24 08:39:11 -04:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
Wojciech Tyczynski
7f919a44c2
Generate conversions for v1beta3 package.
2015-04-24 09:18:12 +02:00
Deyuan Deng
c73ce1db34
Validate Node IPs; clean up validation code
2015-04-23 21:08:18 -04:00
Tim Hockin
12e4e8f304
Make docs links go through docs.k8s.io
2015-04-23 16:36:27 -07:00
Wojciech Tyczynski
c4a27f5c0f
Generating conversion methods.
2015-04-23 18:26:24 +02:00
Deyuan Deng
401442b024
Fix condition tags
2015-04-22 16:33:22 -04:00
Clayton Coleman
e6e034af4f
Rename PodTemplate.Spec to PodTemplate.Template
2015-04-22 12:54:27 -04:00
Clayton Coleman
10c2ace6bf
Pod Templates
2015-04-22 12:54:25 -04:00
Brian Grant
fc50201f89
Merge pull request #7059 from derekwaynecarr/fixup
...
Improve container resource requirements validation
2015-04-22 07:13:34 -07:00
Clayton Coleman
250a9889f7
Merge pull request #7093 from derekwaynecarr/ref_update
...
Fixup event object reference generation to allow downstream objects
2015-04-21 17:55:02 -04:00
Tim Hockin
fa648c17cb
Merge pull request #7131 from rjnagal/node
...
Convert error strings to proper validation errors.
2015-04-21 14:15:32 -07:00
Rohit Jnagal
bfb4b7280d
Convert error strings to validation errors.
2015-04-21 20:35:46 +00:00
Brian Grant
7977949767
Merge pull request #6593 from derekwaynecarr/object_counts
...
ResourceQuota add object count support for secret and volume claims
2015-04-21 13:16:00 -07:00
derekwaynecarr
3445bd5806
Fixup event object reference generation to allow downstream objects to have an event
2015-04-21 15:31:38 -04:00
Yu-Ju Hong
df2cbd4877
Prioritize deleting the non-running pods when reducing replicas
...
This changes instructs the replication controller to delete replicas in the
order of "unscheduled (pending)", "scheduled (pending)", and "scheduled
(running)" pods. This is less disruptive than deleting random pods.
2015-04-21 10:17:29 -07:00
derekwaynecarr
06eb45fb75
ResourceQuota add object count support for secret and volume claims
2015-04-21 09:49:40 -04:00
Brian Grant
9dcf3e0a33
Merge pull request #7082 from fabioy/api-cs.fix
...
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
Fabio Yeon
81ef0198f4
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 17:28:13 -07:00
Tim Hockin
c320931d6a
Easier fuzzing for volumes
2015-04-20 16:29:52 -07:00
derekwaynecarr
5036289b5e
Improve container resource requirements validation
2015-04-20 15:08:18 -04:00
Clayton Coleman
545a5a865f
List output with differing types should be more resilient
...
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.
Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Fabio Yeon
c6ef2ddf8a
Fix "validate-cluster.sh" to use "kubectl get componentstatus".
2015-04-17 11:59:53 -07:00
Fabio Yeon
951a125751
Add "componentstatus" to API for easier cluster health check.
2015-04-17 11:58:23 -07:00
Clayton Coleman
3bc42f1635
Merge pull request #6573 from kargakis/setup-resource-aliases
...
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis
9d056c6bd8
Support setting up aliases for groups of resources
...
Closes #5278
2015-04-17 16:31:59 +02:00
Clayton Coleman
b3f03b934d
Merge pull request #6869 from csrwng/pod_connect
...
Pod proxy, portforward and exec subresources
2015-04-17 09:49:12 -04:00
Daniel Smith
636d0682d7
Merge pull request #6830 from derekwaynecarr/improve_error_msg
...
Improve error message when name is omitted but generateName is available
2015-04-16 17:21:43 -07:00
Brian Grant
a927c239fe
Merge pull request #6881 from nikhiljindal/errHandle
...
Registering a serviceErrorHandler with go-restful to always return JSON responses
2015-04-16 16:44:17 -07:00
nikhiljindal
f9132dc572
Registering serviceErrorHandler with go-restful
2015-04-16 14:59:44 -07:00
Tim Hockin
c2bacd588d
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
derekwaynecarr
81dcd8c836
Improve error message when name is omitted but generateName is available
2015-04-16 13:06:19 -04:00
Cesar Wong
4da14e9357
Add PodExecOptions and PodProxyOptions versioned resources
...
PodExecOptions represents the URL parameters used to invoke an
exec request on a pod. PodProxyOptions contains the path parameter
passed to a proxy request.
2015-04-16 10:20:17 -04:00
Cesar Wong
49abf9133e
Add Connecter storage interface to API server
...
Connecter is a type of resource that connects a request
coming from the client to an internal request within the cluster.
It will be used for exposing a pod's proxy, exec, and portforward
endpoints.
2015-04-16 10:20:17 -04:00
Daniel Smith
835a87aed2
Merge pull request #6857 from wojtek-t/fix_scheduler_nodes
...
Fix listing nodes in scheduler
2015-04-15 17:05:04 -07:00
Eric Tune
3565a0861c
Merge pull request #6864 from liggitt/generic_405_error
...
Add a more descriptive message for 405 errors
2015-04-15 10:59:17 -07:00
Quinton Hoole
7d9adad916
Merge pull request #6724 from nikhiljindal/beta1
...
Updating test/integration to use testapi.Version everywhere
2015-04-15 10:58:25 -07:00
Brian Grant
775787bb4c
Merge pull request #6849 from nikhiljindal/validation
...
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-15 10:25:54 -07:00
Jordan Liggitt
dde8c7156b
Add a more descriptive message for 405 errors
2015-04-15 11:28:12 -04:00
Wojciech Tyczynski
afb94c43b1
Fix listing nodes in scheduler
2015-04-15 14:26:25 +02:00
nikhiljindal
8874ef9c06
Updating test/integration to use testapi.Version everywhere
2015-04-15 00:00:17 -07:00
nikhiljindal
40842e4471
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-14 23:51:49 -07:00
Quinton Hoole
cd6daae014
Merge pull request #6271 from a-robinson/asynclb
...
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
markturansky
d904e747e3
PVClaim volume plugin
2015-04-14 16:21:29 -04:00
Alex Robinson
9a351e3670
Move validation of load balancers only supporting TCP ports to validation.go.
2015-04-14 18:56:51 +00:00
markturansky
f599aecc6a
Fix spelling typo in comments
2015-04-14 12:46:29 -04:00
Nikhil Jindal
60f0c28fd4
Merge pull request #6725 from smarterclayton/support_subpath_on_getter_with_options
...
Allow subpath on GET for GetterWithOptions
2015-04-13 11:27:41 -07:00
Clayton Coleman
0225d76b6a
Support subpath on GET for GetterWithOptions
...
Allows REST consumers to build paths like:
/api/v1beta3/namespaces/foo/webhookresource/<name>/<encodedsecretinurl>
Also fixes parameter exposure for subresources (was only fixed for
v1beta3).
2015-04-11 11:20:13 -04:00
Dawn Chen
c19437395b
Merge pull request #6702 from ddysher/remove-nodeinfo
...
Remove nodeinfo endpoint from kubelet
2015-04-10 14:54:16 -07:00
Tim Hockin
4a7b0eecbb
Merge pull request #5138 from justinsb/cloud_pd
...
AWS EBS volume support
2015-04-10 13:47:03 -07:00
Daniel Smith
1a2e4f8e1d
Merge pull request #6616 from brendandburns/default
...
Default replica controller selector and labels using pod template.
2015-04-10 13:33:43 -07:00
Justin Santa Barbara
933cf60af7
Style: volumeId -> volumeID
2015-04-10 13:25:44 -07:00
Justin Santa Barbara
7e758fe441
Grammar fix: s/a AWS/an AWS/g
2015-04-10 13:25:43 -07:00