Commit Graph

594 Commits

Author SHA1 Message Date
deads2k
eb79e2c859 generated code changes 2016-08-03 08:37:45 -04:00
Eric Chiang
7ec270dce7 *: regenerate all 2016-08-02 13:33:34 -07:00
deads2k
c30690a3bb separate out api group storage registration 2016-08-01 08:26:19 -04:00
k8s-merge-robot
7abc3de621 Merge pull request #29694 from jsafrane/dynprov2-apionly
Automatic merge from submit-queue

Add API for StorageClasses

This is the API objects only required for dynamic provisioning picked apart from the controller logic.

Entire feature is here: https://github.com/kubernetes/kubernetes/pull/29006
2016-07-28 22:00:05 -07:00
k8s-merge-robot
306678f941 Merge pull request #29468 from caesarxuchao/no-omitempty-listitems
Automatic merge from submit-queue

remove the omitempty tag from CertificateSigningRequestList.Items

As a general rule, `Items` should be a required field in all lists. In a followup PR, I'll update the api-convention.md and add a check in the schema registration path to enforce the rule. I need to fix this bug to unblock other work.

@kubernetes/api-review-team cc @bgrant0607-cc
2016-07-28 18:33:11 -07:00
childsb
f5bd7d471e API Changes for StorageClass 2016-07-28 19:01:01 -04:00
deads2k
6f7007afc5 make addition group registration easier 2016-07-25 08:23:24 -04:00
Chao Xu
5d6b671d49 make CertificateSigningRequestList.Items a required field 2016-07-22 13:19:48 -07:00
Wojciech Tyczynski
4d0d115690 Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
deads2k
bfa2ff00b9 generated code changes 2016-07-20 15:11:56 -04:00
joe2far
45922f155b Update swagger spec with changes.. 2016-07-13 15:16:32 +01:00
joe2far
5ead89b5bb Fixed several typos 2016-07-13 15:06:24 +01:00
Cindy Wang
fedc513658 Consolidated examples into storage/ and volume/ folders
Search and replace for references to moved examples

Reverted find and replace paths on auto gen docs

Reverting changes to changelog

Fix bugs in test-cmd.sh

Fixed path in examples README

ran update-all successfully

Updated verify-flags exceptions to include renamed files
2016-07-08 13:34:32 -07:00
Casey Davenport
aeb03d09c4 Update generated swagger spec. 2016-07-07 10:04:46 -07:00
mbohlool
0254679067 Represent unversioned.Time correctly in swagger spec 2016-07-01 23:23:19 -07:00
Jordan Liggitt
993ab1d886 Allow specifying secret data using strings 2016-06-30 16:03:47 -04:00
Girish Kalele
3778ca196e Remove comment about empty selectors 2016-06-28 17:04:24 -07:00
George Tankersley
c9c6fff269 codegen: GENERATE ALL THE THINGS 2016-06-28 12:05:41 -07:00
saadali
e3e919ca20 Add VolumesAttached field to Node Status API 2016-06-19 23:54:02 -07:00
k8s-merge-robot
b9dbe98a74 Merge pull request #26924 from olegshaldybin/pluralize-subject
Automatic merge from submit-queue

Rename RBAC 'subject' to 'subjects'.

Rename RBAC subject field

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-18 14:18:04 -07:00
saadali
542f2dc708 Introduce new kubelet volume manager
This commit adds a new volume manager in kubelet that synchronizes
volume mount/unmount (and attach/detach, if attach/detach controller
is not enabled).

This eliminates the race conditions between the pod creation loop
and the orphaned volumes loops. It also removes the unmount/detach
from the `syncPod()` path so volume clean up never blocks the
`syncPod` loop.
2016-06-15 09:34:08 -07:00
saadali
9b6a505f8a Rename UniqueDeviceName to UniqueVolumeName
Rename UniqueDeviceName to UniqueVolumeName and move helper functions
from attacherdetacher to volumehelper package.
Introduce UniquePodName alias
2016-06-15 09:32:12 -07:00
Eric Chiang
2bf54ac799 regenerated 2016-06-13 15:02:48 -07:00
Oleg Shaldybin
14a60436b2 Regenerate all 2016-06-13 10:15:57 -07:00
k8s-merge-robot
1de4b05442 Merge pull request #25490 from rootfs/rbd-defaults
Automatic merge from submit-queue

correction on rbd volume object and defaults

- add `omitempty` to `RBDPool RadosUser Keyring SecretRef ReadOnly`
- move defaults from `pkg/volume/rbd/rbd.go` to `pkg/api/v1/defaults.go`

addressing #18885
2016-06-06 13:02:22 -07:00
k8s-merge-robot
dfe5de3bcb Merge pull request #25731 from Pensu/master
Automatic merge from submit-queue

Adding version.Info in apiserver.go

Fixes #17176
2016-06-06 12:06:32 -07:00
Huamin Chen
4b4048a084 correction on rbd volume object and defaults
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-06 17:27:47 +00:00
Peeyush Gupta
1a9f7e9a0c Adding version.Info in apiserver.go 2016-06-06 14:15:24 +05:30
nikhiljindal
1b6e8f97d9 Running hack/update-swagger-spec.sh 2016-06-03 11:21:29 -07:00
Saad Ali
9dbe943491 Attach/Detach Controller Kubelet Changes
This PR contains Kubelet changes to enable attach/detach controller control.
* It introduces a new "enable-controller-attach-detach" kubelet flag to
  enable control by controller. Default enabled.
* It removes all references "SafeToDetach" annoation from controller.
* It adds the new VolumesInUse field to the Node Status API object.
* It modifies the controller to use VolumesInUse instead of SafeToDetach
  annotation to gate detachment.
* There is a bug in node-problem-detector that causes VolumesInUse to
  get reset every 30 seconds. Issue https://github.com/kubernetes/node-problem-detector/issues/9
  opened to fix that.
2016-06-02 16:47:11 -07:00
k8s-merge-robot
5288a255f4 Merge pull request #25567 from gmarek/validate
Automatic merge from submit-queue

Add Controller field to OwnerReference

cc @davidopp
2016-05-31 14:21:38 -07:00
gmarek
778b1df717 Add Controller to api/meta 2016-05-31 20:21:05 +02:00
gmarek
a6dd89d797 Add Controller field to OwnerReference 2016-05-31 15:33:35 +02:00
Paul Morie
acfcb73533 Regen for pv selector 2016-05-31 09:32:23 -04:00
k8s-merge-robot
a550cf16b9 Merge pull request #25826 from freehan/svcsourcerange
Automatic merge from submit-queue

promote sourceRange into service spec

@thockin  one more for your pile

I will add docs at `http://releases.k8s.io/HEAD/docs/user-guide/services-firewalls.md`

cc: @justinsb 

Fixes: #20392
2016-05-28 02:20:13 -07:00
Chao Xu
a518a14221 generated 2016-05-26 14:33:54 -07:00
Minhan Xia
466bc3831b update all 2016-05-26 11:59:53 -07:00
Eric Chiang
36ecec58f0 regenerate all 2016-05-25 14:26:09 -07:00
Avesh Agarwal
1931931494 Downward API implementation for resources limits and requests 2016-05-24 12:22:35 -04:00
Abitha Palaniappan
11397654b6 Adding volume plugin to api/v1 and updating auto-generated files 2016-05-21 12:53:03 -07:00
Jan Chaloupka
e3aa900d52 Regenerate swagger, api, conversion and other code that needs to be regenerated 2016-05-18 16:12:55 +02:00
Clayton Coleman
6cc6d29339
Generated code for init containers 2016-05-17 00:29:52 -04:00
Matt Liggett
f5e8d41431 Finish implementing policy API.
Registry implementation and addition to the master.
2016-05-13 17:27:58 -07:00
k8s-merge-robot
399b086620 Merge pull request #23684 from luxas/auto_label_arch
Automatic merge from submit-queue

Automatically add node labels beta.kubernetes.io/{os,arch}

Proposal: #17981
As discussed in #22623:
> @davidopp: #9044 says cloud provider but can also cover platform stuff.

Adds a label `beta.kubernetes.io/platform` to `kubelet` that informs about the os/arch it's running on.
Makes it easy to specify `nodeSelectors` for different arches in multi-arch clusters.

```console
$ kubectl get no --show-labels
NAME        STATUS    AGE       LABELS
127.0.0.1   Ready     1m        beta.kubernetes.io/platform=linux-amd64,kubernetes.io/hostname=127.0.0.1
$ kubectl describe no
Name:			127.0.0.1
Labels:			beta.kubernetes.io/platform=linux-amd64,kubernetes.io/hostname=127.0.0.1
CreationTimestamp:	Thu, 31 Mar 2016 20:39:15 +0300
```
@davidopp @vishh @fgrzadkowski @thockin @wojtek-t @ixdy @bgrant0607 @dchen1107 @preillyme
2016-05-13 13:25:34 -07:00
k8s-merge-robot
ef885d05eb Merge pull request #21675 from soltysh/job_template
Automatic merge from submit-queue

Added JobTemplate, a preliminary step for ScheduledJob and Workflow

@sdminonne as promised, sorry it took this long 😊 
@erictune fyi though it does not have to be in for 1.2

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/21675)
<!-- Reviewable:end -->
2016-05-11 02:40:58 -07:00
Maciej Szulik
df11a51b64 Generated changes for batch/v2alpha1 2016-05-10 22:40:22 +02:00
Chao Xu
a013351ba3 remove extra quotation mark that breaks API docs 2016-05-10 13:29:55 -07:00
Lucas Käldström
0b6b723575 Run hack/update-all.sh 2016-05-10 20:39:25 +03:00
k8s-merge-robot
f2f3b49f58 Merge pull request #22575 from MikaelCluseau/wip-issue-20466
Automatic merge from submit-queue

Add subPath to mount a child dir or file of a volumeMount

Allow users to specify a subPath in Container.volumeMounts so they can use a single volume for many mounts instead of creating many volumes. For instance, a user can now use a single PersistentVolume to store the Mysql database and the document root of an Apache server of a LAMP stack pod by mapping them to different subPaths in this single volume.

Also solves https://github.com/kubernetes/kubernetes/issues/20466.
2016-05-08 08:45:15 -07:00
k8s-merge-robot
3ee833ca3b Merge pull request #25006 from liggitt/third-party-root-scope
Automatic merge from submit-queue

Make ThirdPartyResource a root scoped object

ThirdPartyResource (the registration of a third party type) belongs at the cluster scope. It results in resource handlers installed in every namespace, and the same name in two namespaces collides (namespace is ignored when determining group/kind).

ThirdPartyResourceData (an actual instance of that type) is still namespace-scoped.

This PR moves ThirdPartyResource to be a root scope object. Someone previously using ThirdPartyResource definitions in alpha should be able to move them from namespace to root scope like this:

setup (run on 1.2):
```
kubectl create ns ns1

echo '{"kind":"ThirdPartyResource","apiVersion":"extensions/v1beta1","metadata":{"name":"foo.example.com"},"versions":[{"name":"v8"}]}' | kubectl create -f - --namespace=ns1

echo '{"kind":"Foo","apiVersion":"example.com/v8","metadata":{"name":"MyFoo"},"testkey":"testvalue"}' | kubectl create -f - --namespace=ns1
```

export:
```
kubectl get thirdpartyresource --all-namespaces -o yaml > tprs.yaml
```

remove namespaced kind registrations (this shouldn't remove the data of that type, which is another possible issue):
```
kubectl delete -f tprs.yaml
```

... upgrade ...

re-register the custom types at the root scope:
```
kubectl create -f tprs.yaml
```

Additionally, pre-1.3 clients that expect to read/write ThirdPartyResource at a namespace scope will not be compatible with 1.3+ servers, and 1.3+ clients that expect to read/write ThirdPartyResource at a root scope will not be compatible with pre-1.3 servers.
2016-05-06 20:50:35 -07:00
Mikaël Cluseau
4c2dc566ac VolumeMount.SubPath: API change. 2016-05-06 15:40:10 +11:00
Chao Xu
4562a26d34 generated changes 2016-05-04 21:54:55 -07:00
Jordan Liggitt
e41d504739 Move ThirdPartyResource to root scoped object 2016-04-30 01:06:07 -04: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
Abhishek Shah
8a3ed48808 Added Hostname and Subdomain field to Pod.Spec 2016-04-28 10:56:56 -07:00
jianhuiz
fdfe42ea44 move install of version handler to genericapiserver 2016-04-27 10:21:08 -07:00
Clayton Coleman
668fae253f Generated spec and docs 2016-04-22 11:07:33 -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
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
Prashanth Balasubramanian
0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
Clayton Coleman
6586074e88 Update API docs 2016-04-20 12:13:09 -04:00
Chakravarthy Nelluri
f53bc4ebe0 Flexvolume: Add support for multiple secrets 2016-04-15 02:40:38 -07:00
nikhiljindal
b30756f428 Updating generated swagger spec 2016-04-14 18:06:24 -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
Erick Fejta
2b00328530 Update swagger specs 2016-04-13 18:41:38 -07:00
goltermann
696423e044 Vet fixes, mostly pass lock by value errors. 2016-04-06 11:27:40 -07:00
Tommy Murphy
4d22c2fd6a IngressTLS: allow secretName to be blank for SNI routing 2016-03-28 21:25:54 -04:00
Chao Xu
31b425b3a1 add delete precondition 2016-03-25 11:21:39 -07:00
Brendan Burns
87a1635c93 Machine generated stuff 2016-03-22 14:41:37 -07:00
k8s-merge-robot
a7f1466556 Merge pull request #19577 from caesarxuchao/expose-swagger-for-discovery-types
Auto commit by PR queue bot
2016-03-17 12:50:17 -07:00
nikhiljindal
98b22588de Generating swagger spec 2016-03-16 17:49:57 -07:00
Chao Xu
051865adb7 run update-all.sh 2016-03-15 16:44:06 -07:00
Chao Xu
9bdd30fdf1 make fullyLabeledReplicas optional in rc and rs status 2016-03-15 15:10:55 -07:00
Chao Xu
a6240c1ab8 add FullyLabeledReplicas in Replicaset Status and ReplicationController Status 2016-03-11 23:55:04 -08: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
AdoHe
5fdfc4bde3 fix can not export service bug 2016-03-05 11:23:50 -05:00
k8s-merge-robot
a435537e27 Merge pull request #21966 from madhusudancs/scale-deployment-replicaset
Auto commit by PR queue bot
2016-03-04 14:40:10 -08:00
Madhusudan.C.S
fa0794098f Define etcd storage methods for replicationcontrollers/scale subresource.
Also register replicationcontrollers/scale subresource. Along with
registering the resource, also specify the cross-group override for the
subresource since Scale belongs belongs to autoscaling/v1 but
ReplicationController belongs to api/v1.
2016-03-04 11:02:37 -08:00
Madhusudan.C.S
9e99f9fa0e Register scale subresource for Deployments and ReplicaSets.
Define etcd registry methods for scale subresource in Deployments and
ReplicaSets. Register them with the API server.
2016-03-04 11:01:36 -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
Piotr Szczesniak
205e3e607d Added default cpu target for HPA 2016-03-02 09:38:26 +01:00
Chao Xu
7a85d54d4e fix links 2016-02-29 13:27:29 -08:00
Tim Hockin
56be551416 Validate volume paths do not have ':' 2016-02-29 13:22:45 -08:00
derekwaynecarr
d02c8dcd2e Generated code for ResourceQuota API change 2016-02-26 20:34:14 -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
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
2afcc7d165 Regenerate 2016-02-25 09:28:07 -08:00
Jordan Liggitt
b502b8f6a1 Restore service port validation compatibility with 1.0/1.1 2016-02-23 21:27:44 -05:00
kargakis
6506d76f76 update-all changes for deployment's observedGeneration 2016-02-23 19:42:35 +01:00
kargakis
2cb37f3500 update generation api comments 2016-02-23 19:30:33 +01:00
Eric Tune
b4d454e9d5 Autogenerate. 2016-02-19 09:48:03 -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
gmarek
6ac6aeb793 Update swagger specs 2016-02-19 14:57:04 +01: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
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
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
Madhusudan.C.S
6023d2075c Auto-generated docs and specs. 2016-02-17 15:10:53 -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
feihujiang
e85253916f Support the subresource of node proxy 2016-02-16 17:02:45 +08:00
Piotr Szczesniak
e96515f590 Autogenerated conversions, deep copies, types 2016-02-15 21:39:00 +01:00
Paul Morie
8323bb1727 Regen for ConfigMap volume 2016-02-14 16:28:59 -05: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
Janet Kuo
2874f30c05 Enable Deployments by default 2016-02-12 12:29:14 -08:00
Chao Xu
6aa23e4e49 refacotr update-api-reference-docs.sh 2016-02-10 16:46:59 -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
Huamin Chen
d7e4b826b9 support Azure File Service volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
Paul Weil
619ccb7023 don't enable psp by default and fix comment 2016-02-08 08:56:52 -05:00
Madhusudan.C.S
48c4173f5f Enable ReplicaSets in e2e tests. 2016-02-06 03:46:17 -08:00
k8s-merge-robot
6b20879a7f Merge pull request #20142 from bprashanth/ing_tls
Auto commit by PR queue bot
2016-02-05 15:07:09 -08:00
Nikhil Jindal
4606d1408b Merge pull request #20532 from nikhiljindal/genericServerAPIs
Moving /apis handler to generic api server
2016-02-05 13:13:57 -08:00
Prashanth Balasubramanian
c56bebf594 Basic TLS support. 2016-02-05 11:00:04 -08: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
nikhiljindal
d267ab5f92 Moving /apis handler to generic server 2016-02-04 17:58:13 -08:00
Michael Schmidt
92d814725b add generated code 2016-02-01 22:31:44 +01:00
Chao Xu
90b4662d8d Add services/status path, and let the service controller uses Services.UpdateStatus() 2016-01-31 12:39:45 -08:00
Paul Morie
f2d1a20178 Regen for ConfigMap API move 2016-01-28 17:17:24 -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
d7d601b2fc Merge pull request #18876 from erictune/dynamic-job
Auto commit by PR queue bot
2016-01-25 08:06:22 -08:00
Eric Tune
53ee76fe1a Support Work Queue jobs with variable parallelism
When job.spec.completions is nil, only
one task needs to succeed for the job to succeed,
and parallelism can be scaled freely during runtime.

Added tests.

Release Note:

This causes two minor changes to the API.

First, unset parallelism previously was defaulted to be
equal to completions.  Now it always defaults to 1 if unset.

Second, having parallelism=N and completions unset would previously
be defaulted to 1 completion and N parallelism.
(this is not something we expect people to do, though)
Now, no defaulting occurs in that case, and the job's
behavior is different (any completion causes success).
2016-01-22 14:57:51 -08:00
Clayton Coleman
3262d8efd8 GENERATED: all 2016-01-22 13:27:28 -05:00
feihujiang
50b6d3819f Fix a small error comment in nodecondition type 2016-01-22 10:21:16 +08:00
Paul Morie
394a7bb4d0 Regen for secrets in env 2016-01-18 12:32:32 -05:00
Paul Morie
17c8c8f9fc Regenerate for configMap in env 2016-01-14 10:40:56 -05:00
k8s-merge-robot
c059dfdb9b Merge pull request #18712 from pmorie/config-kubectl
Auto commit by PR queue bot
2016-01-13 13:51:29 -08:00
Daniel Smith
a4442c916f Merge pull request #19324 from sdminonne/bug_fix
to fix comment for apis.extensions.JobCondition
2016-01-12 10:42:24 -08:00
Salvatore Dario Minonne
172d7ee32c to fix comment for apis.extensions.JobCondition 2016-01-11 11:07:50 +01:00
harry
3a9de6ee56 Updated generated code and docs 2016-01-08 17:13:02 +08:00
Paul Morie
adc04924a0 Regenerate for ConfigMap in master/kubectl 2016-01-06 09:28:08 -05:00
nikhiljindal
87ce093c77 Moving API registration logic to generic api server 2015-12-30 14:22:14 -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
Eric Tune
1752cf22d4 Merge pull request #17940 from soltysh/job_deadline
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Maciej Szulik
327c104460 Added ActiveDeadlineSeconds to jobs, allowing failing a job after
exceeding allowed time.
2015-12-17 15:26:42 +01:00
deads2k
9fda7f1812 update StatusDetails to handle Groups 2015-12-17 09:14:12 -05:00
k8s-merge-robot
46c2df3e05 Merge pull request #17483 from brendandburns/kubectl5
Auto commit by PR queue bot
2015-12-16 21:57:33 -08:00
Brendan Burns
2efcccf981 Add a server side export facility 2015-12-16 15:01:13 -08:00
nikhiljindal
2d952aaa87 Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -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
Paul Morie
e757fac2f5 Regenerate for volume info changes 2015-12-14 14:19:51 -05:00
Wojciech Tyczynski
f28bb68d8c Support collection deletion in apiserver. 2015-12-10 09:46:25 +01: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
Salvatore Dario Minonne
80575c3093 renaming PodSelector to LabelSelector 2015-12-04 09:49:08 +01:00
Nikhil Jindal
2fcf157512 Merge pull request #17990 from nikhiljindal/updateGoRestful
Updating go restful
2015-12-02 15:59:27 -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
nikhiljindal
b915375f06 Updating swagger spec 2015-11-30 17:08:45 -08:00
Clayton Coleman
af7e7f146d Generated code 2015-11-26 11:53:36 -05:00
Avesh Agarwal
c053290e04 This commit regenerates docs. 2015-11-24 09:59:54 -05:00
Tim St. Clair
e4eff4bd6b Fix typo: s/recieve/receive/ 2015-11-19 19:23:40 -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
nikhiljindal
44e35581ce Running update-swagger-spec 2015-11-03 17:32:11 -08:00
Nikhil Jindal
34cbe48736 Merge pull request #16690 from nikhiljindal/apiDeclNotFound
Fixing missing swagger spec for apis/extensions
2015-11-03 14:36:31 -08:00
deads2k
fd1c8e096a eliminate cross-namespace HPA escalation attack 2015-11-03 08:05:26 -05:00
nikhiljindal
326d333777 Fixing and running update-swagger-spec 2015-11-02 14:28:39 -08:00
Janet Kuo
54b743bc05 Change resource "ingress" to "ingresses" in URL path and kubectl 2015-10-25 16:54:25 -07:00
Wojciech Tyczynski
aa57f607f6 Update auto-generated files 2015-10-24 13:29:37 +02:00
Paul Morie
3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Paul Morie
393e2bc019 Inline some SecurityContext fields into PodSecurityContext 2015-10-21 19:01:17 -04:00
Sami Wagiaalla
030f882f06 Add Support for supplemental groups 2015-10-20 12:44:32 -04: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
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
d6223a8bf4 update swagger 2015-10-16 10:24:39 -07:00
Piotr Szczesniak
52d8527761 Migrate hpa e2e tests to the new API
Fixed the issue with enabling HPA
2015-10-16 11:06:47 +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
nikhiljindal
39e461b7f9 Updating swagger spec to include the new extension resources that are enabled by default 2015-10-15 14:26:37 -07:00
Chao Xu
7554331185 update swagger 2015-10-12 13:34:07 -07:00
derekwaynecarr
544b453e31 Add replication controller status subresource 2015-10-07 14:39:33 -04: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
Chao Xu
4927cec3be fix groups exposes at apis/ 2015-10-01 18:32:42 -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
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
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
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
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
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
k8s-merge-robot
cd37cd7c0a Merge pull request #12507 from nikhiljindal/swaggerValid
Auto commit by PR queue bot
2015-09-19 23:26:17 -07:00
gmarek
a5de60f985 Fix swagger docs 2015-09-19 20:16:45 +02:00
Huamin Chen
ed9a1bbd3a support fibre channel volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-18 19:15:31 -04:00
nikhiljindal
4ee799e181 Fixing swagger spec 2015-09-18 12:26:21 -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
Kris
c5f22a025a Regenerating everything 2015-09-17 14:09:53 -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
3b221fb074 Merge pull request #14049 from brendandburns/apiserver2
Auto commit by PR queue bot
2015-09-17 12:32:26 -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
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
Brendan Burns
3153c25ad5 Remove an asterix from the path parameter 2015-09-15 20:38:49 -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
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
Abhishek Shah
44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -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
markturansky
b6feefbd9f fixed empty PV/C lists by removing omitempty 2015-09-04 09:51:17 -04:00
Brendan Burns
2df5010834 Merge branch 'sdminonne-container_sidecar' 2015-09-02 10:42:08 -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
Sreekanth Pothanis
f5da6b34ce Cinder Volume Plugin 2015-08-30 19:56:27 -07:00
Prashanth B
52f7833cd3 Revert "Revert "LimitRange updates for Resource Requirements Requests"" 2015-08-28 09:26:36 -07:00
Piotr Szczesniak
6e05b9e3a3 Revert "LimitRange updates for Resource Requirements Requests" 2015-08-27 10:50:50 +02:00
derekwaynecarr
8fbe4645e3 Add fields to LimitRange object 2015-08-24 15:18:45 -04:00
Anastasis Andronidis
10747841a0 move type documentation from tags to comments 2015-08-22 03:24:35 +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
Abhishek Shah
b6b8e99393 External IPs support. 2015-08-20 16:10:01 -07:00
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