Commit Graph

1006 Commits (5e7a7b9206b8bd24769b7712f071609dfafc4d8d)

Author SHA1 Message Date
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
Justin Santa Barbara c7c969564a Add missing conversion for v1beta2 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 9711e771c5 Rename AWSPersistentDisk -> AWSElasticBlockStore, aws-pd -> aws-ebs
Per comments from @markturansky - thanks!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara b3666ed08c Add AWSPersistentDisk to fuzzer 2015-04-10 13:25:43 -07:00
Justin Santa Barbara 2e91fdd2fd Fixup merge mistakes 2015-04-10 13:25:43 -07:00