Commit Graph

1285 Commits (6cff082918a852383b75247dfa75bed9375d2fd8)

Author SHA1 Message Date
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