Commit Graph

281 Commits

Author SHA1 Message Date
Clayton Coleman
02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Tim Hockin
16a33318b7 Use a valid address for swagger 2015-08-18 21:50:27 -07: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
71d10c6c7a Update swagger 2015-08-18 09:08:44 -04: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
Wojciech Tyczynski
5de0f11b1d Unify events registry to be generic. 2015-08-12 11:23:07 +02:00
Kris Rousey
565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07: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
Wojciech Tyczynski
5ea99310f1 Unify limitrange registry to be generic. 2015-08-11 09:06:44 +02: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
Paul Weil
e490c20c22 add non-root directive to SC and kubelet checking 2015-08-10 13:30:34 -04:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Ananya Kumar
ef1e576810 Add support for request 2015-08-05 19:00:19 -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
Brendan Burns
51757f6552 Add parameters for interactive containers. Useful with kubectl attach. 2015-07-31 21:41:58 -07:00
Brendan Burns
e8e756a719 Add pod/attach to the APIServer. 2015-07-30 10:55:53 -07:00
Mike Danese
59611d7160 Merge pull request #10426 from csrwng/api_versioned_options
API Server: Use versioned objects for GET and CONNECT operations
2015-07-29 15:35:04 -07:00
Cesar Wong
a84fa79a01 Use versioned objects for GET and CONNECT operations 2015-07-28 13:43:23 -04:00
David Oppenheimer
2236fee028 Fix link to node selector documentation. 2015-07-24 23:04:59 -07:00
Chao Xu
44c4f54acf update api/swagger-spec/ 2015-07-24 18:08:05 -07:00
nikhiljindal
2f946b7aee Stop allowing unnamespaced POST for namespaced objects 2015-07-24 12:03:19 -07:00
Tim Hockin
1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Max Forbes
7a3891e5f8 Add ServiceAccount as an alias for ServiceAccountName 2015-07-16 15:48:49 -07:00
nikhiljindal
dda71bdc7b Add namespace to nickname to prevent dup swagger nicknames 2015-07-14 13:41:13 -07:00
Janet Kuo
9c3c23686f Embed doc URLs in swagger document 2015-07-07 14:23:52 -07:00
Tim Hockin
3caf3ccad2 make API descriptions use releases.k8s.io 2015-07-04 13:32:22 -07:00
Zach Loafman
df753b74ed Merge pull request #10509 from nikhiljindal/getToPost
Support both GET and POST methods in api server for /exec and /portforward
2015-06-30 15:56:31 -07:00
nikhiljindal
e0d48d4983 Support both GET and POST methods for /exec and /portforward 2015-06-29 16:01:01 -07:00
Tim Hockin
025f728e50 Fix 'a' vs 'an' 2015-06-28 20:51:36 -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
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
Tim Hockin
ff91fef26b Hopefully make NodePort docs clearer 2015-06-25 10:46:15 -07:00
nikhiljindal
6c6398edaa Update the path param name to namespace instead of namespaces 2015-06-24 13:45:49 -07:00
Jeff Lowdermilk
2418173784 Merge pull request #9963 from smarterclayton/add_options_to_proxy
OPTIONS should be passed through the proxy
2015-06-22 10:36:25 -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
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
Clayton Coleman
e7aedf297f Update Swagger doc 2015-06-19 14:37:10 -04:00
Jordan Liggitt
68a8a25494 Rename pod.spec.serviceAccount -> pod.spec.serviceAccountName for v1 2015-06-18 22:38:00 -04:00
Satnam Singh
1d7f70a531 Merge pull request #9991 from nikhiljindal/dupPost
Do not register cross namespace actions with subresources in path
2015-06-18 15:33:37 -07:00
Satnam Singh
de457c3e49 Merge pull request #9962 from smarterclayton/type_patch
Give PATCH operations a better output in Swagger
2015-06-18 14:31:49 -07:00
nikhiljindal
d3d579f59d Do not register cross namespace actions with subresources in path 2015-06-18 13:50:38 -07:00
nikhiljindal
b527b00d7b Fix path parameter swagger validation errors 2015-06-18 10:43:13 -07:00
Clayton Coleman
21d6feb665 Update swagger doc 2015-06-18 13:34:44 -04:00
Saad Ali
2a228bf45e Merge pull request #9898 from nikhiljindal/trace
Stop supporting TRACE proxy requests
2015-06-17 15:55:03 -07:00
nikhiljindal
34a0bccd2e Stop supporting TRACE proxy requests 2015-06-16 14:07:40 -07:00
Brendan Burns
07b5930a70 Remove the redirect verb. 2015-06-15 15:39:06 -07:00
nikhiljindal
784e408ab4 Adding subresource to swagger route docs 2015-06-09 10:20:45 -07:00
Brendan Burns
b68ddbaf75 Don't pretty-print by default. Saves an allocation (or more) and a copy. 2015-06-08 21:31:58 -07:00
nikhiljindal
a89d2da249 Adding a script to verify that swagger spec is updated 2015-06-08 04:04:57 -07:00
Quinton Hoole
8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
markturansky
2829fadfad PV Recycling API 2015-06-04 15:39:34 -04:00
RichieEscarez
91907f66a7 Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" "RestartPolicyNever" with "Always" "OnFailure" "Never" 2015-06-03 13:35:35 -07:00
Chao Xu
66e4f7b053 add v1 swagger-spec; update existing swagger-spec 2015-06-01 16:16:20 -07: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
nikhiljindal
c0e26d2f38 Modify update-swagger-spec to stop generating v1beta1,2 spec 2015-05-29 13:39:01 -07: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
7c2817d268 Update swagger 2015-05-18 17:22:00 -07:00
Tim Hockin
65833e42c4 rename CapabilityType Capability 2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f Rename AccessMode to PersistentVolumeAccessMode 2015-05-18 17:21:30 -07:00
nikhiljindal
be6e79ec11 Updating swagger spec 2015-05-18 13:10:58 -07:00
derekwaynecarr
8216332611 Kubelet kills a pod that exceeds ActiveDeadlineSeconds 2015-05-15 16:33:37 -04: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 Weil
5e5b904e8c update swagger 2015-05-05 13:52:45 -04:00
Paul Morie
f6f34d0493 Allow int64 types in API; update swagger spec 2015-05-05 12:15:12 -04:00
Deyuan Deng
401442b024 Fix condition tags 2015-04-22 16:33:22 -04:00
Clayton Coleman
7f1f0cd233 Add swagger pod template output 2015-04-22 12:54:28 -04:00
Clayton Coleman
d9161a1f41 Update swagger spec 2015-04-11 11:20:22 -04:00
Brendan Burns
8694f6f550 Add return types to PUT, POST and PATCH methods.
Also add return types for proxy and redirect handlers.
2015-04-09 20:17:05 -07:00
Clayton Coleman
66ec02f773 Update swagger spec 2015-04-07 10:50:21 -04:00
Huamin Chen
7a82af31de add iscsi volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
Brian Grant
9d9948e3a8 Change "time/Time" to "util.Time", which is what we use in our API for time. 2015-04-06 18:56:56 +00:00
Brian Grant
b1a9e81e1f Removed ancient api doc files. 2015-04-02 17:20:34 +00:00
Tim Hockin
79c4cfba0c update swagger 2015-04-02 08:33:09 -07:00
Deyuan Deng
6bb9701489 Remove Reachable Condition 2015-04-01 13:56:43 -04:00
Tim Hockin
eeff1b74fb Fixes from feedback and testing 2015-03-30 23:52:37 -07:00
Tim Hockin
186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
nikhiljindal
9b718ff557 Updating swagger-spec with the latest go-restful code 2015-03-25 11:34:33 -07:00
nikhiljindal
620844bcb3 Updating swagger spec 2015-03-25 11:24:08 -07:00
nikhiljindal
b1959fd14c Updating swagger spec as per the latest go-restful code 2015-03-16 23:32:37 -07:00
nikhiljindal
1bc7d3e37c Updating swagger spec with changes due to PR#5407 2015-03-12 23:23:41 -07:00
Ravi Sankar Penta
b0efb7a061 Updated swagger spec 2015-03-12 14:30:00 -07:00
nikhiljindal
8c3f728aa6 Adding http:// prefix to the swagger WebServicesURL to prevent basePath validation errors 2015-03-11 16:52:45 -07:00
Yu-Ju Hong
0524d6479d v1beta3: fields that cannot be updated are marked "cannot be udpated" 2015-03-11 10:10:08 -07:00
Alex Mohr
da9622a6d7 Revert "Revert "Deleting old sample JSON; moving those in use; updating referenc..." 2015-03-09 14:44:14 -07:00
Alex Mohr
44b9b7aea5 Revert "Deleting old sample JSON; moving those in use; updating references" 2015-03-09 14:18:40 -07:00
MikeJeffrey
4da6d413be Deleting old sample JSON; moving those in use; updating references 2015-03-06 17:24:45 -08:00
nikhiljindal
339341ea97 Updating swagger spec by running hack/update-swagger-spec.sh 2015-02-23 20:35:16 -08:00
Prashanth Balasubramanian
ec298733c7 Modify nginx port to avoid collision with api server 2015-02-11 10:23:31 -08:00
nikhiljindal
fe27529d7e Adding static swagger spec and a script to update it 2015-02-05 12:00:28 -08:00
Tim Hockin
a480794efc Tighten validation of Name and Namespace 2015-01-27 17:04:59 -05:00
Clayton Coleman
9a998350f0 Some examples do not pass extended validation 2014-11-10 11:33:31 -05:00
Brian Grant
bb7ac11eaa Remove bogus API documentation. 2014-11-06 00:27:09 +00:00
derekwaynecarr
f3859394ab Update schemas for api docs 2014-10-01 10:57:50 -04:00
Brian Grant
31a0daae36 Add containerPort to service schema. Regenerate HTML. Add instructions for how to view HTML. 2014-08-20 22:17:10 +00:00
Vojtech Vitek (V-Teq)
ce4fcc4ad8 Fix typo in API
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com>
2014-08-08 13:16:10 +02:00
Amy Unruh
f9bbddf892 minor docs/error msg cleanup 2014-08-06 15:43:27 -07:00
MikeJeffrey
5c324098a9 Regenerating kubernetes.html 2014-08-01 14:09:12 -07:00
MikeJeffrey
4d223eefa2 Mark container.name as required in manifest schema 2014-07-30 16:01:33 -07:00
Brendan Burns
3723eb7629 Add kind and apiVersion to guestbook example. 2014-07-24 22:13:43 -07:00
Brendan Burns
bf5ae4bb9d Fork API types. 2014-07-24 21:47:08 -07:00
Clayton Coleman
044779126b Add unit tests for example syntax
Tests api/examples, examples, and any embedded json in readme.
2014-07-23 15:18:55 -04:00
Brendan Burns
41c6680943 add http health checks. 2014-07-09 12:01:43 -07:00
Yuki Yugui Sonoda
df388ef485 Fixes a syntax error of api/examples/service.json 2014-07-08 16:27:58 +09:00
Daniel Smith
0ee696c9c4 Merge pull request #337 from proppy/manifest-schema
api/doc: add manifest schema
2014-07-02 13:58:53 -07:00
Johan Euphrosine
adda08827b api/doc/manifest-schema: move required attribute before properties 2014-07-02 11:21:21 -07:00
Johan Euphrosine
292eed7cd5 api/doc: add manifest schema 2014-07-01 23:32:59 -07:00
Tim Hockin
9affd6d260 Fix examples to set manifest ID and version
Part 4 in a series of changes towards data validation.
2014-06-30 16:16:06 -07:00
Brendan Burns
b25f950362 Use etcd compare and swap to update the list of pods, to remove a race. 2014-06-27 11:09:36 -07:00
Daniel Smith
f666131b5a Fix schema, regen docs 2014-06-19 14:55:17 -07:00
Daniel Smith
64b419072f Fix one more service example 2014-06-19 13:31:42 -07:00
Daniel Smith
cfce408266 Rename ReplicasInSet to ReplicaSelector 2014-06-19 13:31:42 -07:00
Daniel Smith
ee02cb2bf8 Update api sources. Still need to regen documentation. 2014-06-19 13:31:42 -07:00
Daniel Smith
246db91cb5 Merge pull request #135 from brendandburns/lb
Add load balancing support to services.
2014-06-17 18:40:42 -07:00
Brendan Burns
2759b2367f Add load balancing support to services. 2014-06-17 12:37:39 -07:00
Brian Grant
0a05574463 Use ADD rather than VOLUME in order to work with remote containers. 2014-06-17 18:14:00 +00:00
Brian Grant
20cc10b5b0 Dockerized raml2html and regenerated kubernetes.html. 2014-06-17 17:11:19 +00:00
Uri Sarid
0ef752aa00 Remove unnecessary application/json properties
Since the default mediaType is declared at the root level, you can omit the explicit application/json media types for any body. DRY!
2014-06-10 22:43:04 -07:00
Brendan Burns
5cb4444176 Task -> Pod #4, the final chapter 2014-06-08 23:00:12 -07:00
Brendan Burns
6018497174 Task -> Pod part #3 2014-06-08 22:38:45 -07:00
Brendan Burns
d05a3f1f8d Task -> Pod, more API changes. 2014-06-08 21:52:49 -07:00
Brendan Burns
0cd3b1c9a2 Task -> Pod in api documentation. 2014-06-08 21:50:46 -07:00
Brendan Burns
66e2575f2b More Task -> Pod 2014-06-08 21:43:17 -07:00
Joe Beda
2c4b3a562c First commit 2014-06-06 16:40:48 -07:00