Mike Danese
a6d1b87336
fix roundtrip bug and add expapi to round trip serialization tests
2015-08-20 13:58:03 -07:00
Paul Morie
1e7b510a14
Remove internal API descriptions
2015-08-20 16:21:47 -04:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
62199f7cd3
Merge pull request #12911 from wojtek-t/refactor_etcd_test_2
...
Refactoring of list etcd tests.
2015-08-20 10:03:39 +02:00
Saad Ali
082ea838c5
Merge pull request #12779 from Huawei-PaaS/issue/clean_govet_error
...
Clean the static check errors (Go vet)
2015-08-19 14:59:05 -07:00
Wojciech Tyczynski
dcc302ab38
Refactoring of list etcd tests.
2015-08-19 13:56:23 +02:00
Jian Huang
c350d325e9
Solve Static Check Error
2015-08-19 13:38:56 +08:00
Tim Hockin
86f4535871
Check loopback and link-local multicast endpoints
...
Previously we just disallowed link-local (unicast). This disallows loopback
and link-local multicast.
2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Clayton Coleman
89f1f3b1b8
Alter graceful deletion to not use TTL
...
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.
Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Wojciech Tyczynski
6cea2c8940
Prepare for refactoring registry etcd tests
2015-08-18 09:53:23 +02:00
Robert Bailey
736945faba
Merge pull request #12831 from thockin/nodeport-optional
...
Make nodePort optional in v1 API
2015-08-17 16:27:17 -07:00
Tim Hockin
75941afab2
Make nodePort optional in v1 API
2015-08-17 15:44:37 -07:00
Paul Morie
8ddef45679
Fix issue 10587; update SecurityContext godoc
2015-08-17 11:23:11 -04:00
Brendan Burns
a9580a0ad0
Merge pull request #12595 from smarterclayton/add_pod_status_ip
...
Add status.podIP as a valid downward API target
2015-08-14 20:29:50 -07:00
Brendan Burns
9cc5156b69
Merge pull request #12685 from eparis/goimports
...
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Clayton Coleman
01f3785426
Add status.podIP as a valid downward API target
...
Getting the public IP a container is supposed to use is O(hard),
and usually involves ugly gyrations in python or with interfaces.
Using the downward API means that the IP Kube is announcing to
other endpoints is also visible inside the container for pods to
identify themselves.
2015-08-14 17:51:55 -04:00
Brendan Burns
b29311ba2b
Merge pull request #11781 from brendandburns/schema-api
...
RFC: Add initial plugin schema types.
2015-08-14 09:44:12 -07:00
Eric Paris
8f3577e5d2
Do not use goimports in hack/update-generated-conversions.sh
...
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8
Convert generated-deep-copies to use golang.org/x/tools/imports
...
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Brendan Burns
1055eed9b6
Add initial storage types to the Kubernetes API
2015-08-13 09:25:02 -07:00
Jerzy Szczepkowski
f09a08d15a
Refactoring of get etcd tests.
...
Refactoring of get etcd tests: introudced new generic resttest, TestGet; Converted all etcd tests to use it.
2015-08-13 12:14:04 +02:00
Wojciech Tyczynski
4516eeba81
Merge pull request #12594 from liggitt/status_field
...
Limit field errors to a single field name
2015-08-13 08:35:02 +02:00
CJ Cullen
59da05efdf
Merge pull request #12405 from uluyol/kubectlexp
...
Add experimental api support to kubectl
2015-08-12 14:24:56 -07:00
Muhammed Uluyol
93b14c9a5d
Document the relationship between groups, versions, kinds, and resources. Link
...
to appropriate issues for multiple api group support.
2015-08-12 11:29:05 -07:00
Jordan Liggitt
d7a50c4778
Limit field errors to a single field name
2015-08-12 14:10:26 -04:00
Piotr Szczesniak
eb01d49783
Merge pull request #12556 from uluyol/copynilinterface
...
Properly handle nil interfaces in DeepCopy.
2015-08-12 09:54:02 +02:00
Piotr Szczesniak
1df0267f4a
Merge pull request #12551 from eparis/underscore-to-dash
...
Update code and docs to use - in flag names instead of _
2015-08-12 07:16:31 +02:00
Muhammed Uluyol
bc8bc37282
Properly handle nil interfaces in DeepCopy.
...
Running reflect.ValueOf(X) where X is a nil interface will return
a zero Value. We cannot get the type (because no concrete type is
known) and cannot check if the Value is nil later on due to the way
reflect.Value works. So we should handle this case by immediately
returning nil. We cannot type-assert a nil interface to another
interface type (as no concrete type is assigned), so we must add
another check to see if the returned interface is nil.
2015-08-11 17:59:32 -07:00
Muhammed Uluyol
567bb15432
Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign.
2015-08-11 17:12:24 -07:00
Muhammed Uluyol
fab367230f
Add experimental API support to kubectl
2015-08-11 16:49:55 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Eric Paris
5aa495cdad
Update code to use - in flag names instead of _
2015-08-11 16:31:52 -04:00
Filip Grzadkowski
3f7b54cbdb
Merge pull request #11669 from pweil-/sc-nonroot
...
add non-root directive to SC and kubelet checking
2015-08-11 10:30:53 +02:00
Alex Robinson
785ccf4a74
Merge pull request #12005 from JanetKuo/kubectl-describe-allocatedresource
...
Make kubectl describe node include allocated resource
2015-08-10 18:08:04 -07:00
Alex Robinson
33178dce96
Merge pull request #12496 from nikhiljindal/portDescription
...
Fixing a typo in port swagger description
2015-08-10 14:10:48 -07:00
nikhiljindal
a698acd3c8
Fixing a typo in port swagger description
2015-08-10 13:32:46 -07:00
Janet Kuo
0ac6dba3f4
Make kubectl describe node include allocated resource
2015-08-10 13:25:59 -07:00
Paul Weil
e490c20c22
add non-root directive to SC and kubelet checking
2015-08-10 13:30:34 -04:00
Marek Grabowski
5f9cefc1d8
Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
...
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
d239d51f3a
Merge pull request #12414 from krousey/versioned_codec
...
Adding a way to decode to a specified version.
2015-08-10 16:32:36 +02:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Satnam Singh
bee48f4ce5
Merge pull request #12035 from AnanyaKumar/requests
...
Add support for request
2015-08-07 14:27:34 -07:00
Kris Rousey
6e64a63a84
Adding a way to decode to a specified version.
...
This is largely needed as a way to get a versioned client without
requiring everyone to switch to versioned types at once.
2015-08-07 14:16:24 -07:00
Dr. Stefan Schimanski
79e54c2679
Add unit tests for RepackSubsets to take pod UID into consideration
2015-08-07 08:32:49 +02:00
Dr. Stefan Schimanski
55daf3b80e
Don't wrongly identify endpoint addresses only due to equal IP
...
Before this patch the endpoint IP was used to identify endpoint addresses. This
leads to wrong unification of endpoints of different pods having the same IP (e.g.
non container IP in case of Mesos). This patch takes the EndpointAddress.targetRef.UID
into consideration as well.
2015-08-07 08:31:59 +02:00
AnanyaKumar
d9b85652ae
Add Daemon API
2015-08-06 13:15:19 -07:00
Dawn Chen
536313c82c
Merge pull request #9472 from deads2k/expose-name-validation
...
expose common name validation methods
2015-08-06 10:51:51 -07:00
Mike Danese
fe6b15ba2f
rewrite all links to issues to k8s links
2015-08-05 21:11:11 -07:00
Ananya Kumar
ef1e576810
Add support for request
2015-08-05 19:00:19 -07:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Manan Saraf
b2ebfeef25
Fixed empty name error and also changed tests
2015-08-04 14:09:42 -07:00
Alex Mohr
366b382901
Merge pull request #10200 from caesarxuchao/resthandler-validate-version
...
verify and default APIVersion in createHandler, verify APIVersion in UpdateResource
2015-08-04 13:09:31 -07:00
Alex Mohr
867f9b22c5
Merge pull request #12119 from brendandburns/fix
...
Auto commit by PR queue bot
2015-08-03 20:47:42 -07:00
Alex Mohr
3d2d99c6fd
Merge pull request #12007 from brendandburns/stdin
...
Auto commit by PR queue bot
2015-08-03 19:28:16 -07:00
Chao Xu
664d20c572
Add DecodeIntoWithSpecifiedVersionKind() to Decoder interface.
...
The function validate/default the body with the passed in apiVersion and Kind.
It's called in createHandler and UpdateResource
2015-08-03 15:30:00 -07:00
Chao Xu
18d32751fd
improve the error message of update pod
2015-08-02 13:41:53 -07:00
Brendan Burns
7ad8307926
Set some default values and add some additional comments for clarity.
2015-07-31 22:00:30 -07:00
Brendan Burns
51757f6552
Add parameters for interactive containers. Useful with kubectl attach.
2015-07-31 21:41:58 -07:00
Paul Morie
5cfab10c1e
Remove description tag from internal API types
2015-07-31 17:17:53 -04:00
Mike Danese
a23ee556ad
Merge pull request #11999 from brendandburns/attach2
...
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Mike Danese
739fc1a572
Merge pull request #11914 from nikhiljindal/missingSwagger
...
Swagger validation: stop ignoring unknown fields
2015-07-31 10:42:18 -07:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Mike Danese
51a7a38f67
Merge pull request #12020 from wojtek-t/move_to_storage
...
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Clayton Coleman
0f9fdcafea
Revert "Revert "Improve conversion to support multiple packages""
...
This reverts commit 94a387d5d1
.
2015-07-30 15:15:14 -04:00
Brendan Burns
e8e756a719
Add pod/attach to the APIServer.
2015-07-30 10:55:53 -07:00
Mike Danese
94a387d5d1
Revert "Improve conversion to support multiple packages"
2015-07-30 10:51:40 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
nikhiljindal
8cdd403d9d
stricter swagger validation
2015-07-29 22:25:09 -07:00
Clayton Coleman
1d41f5ac75
Update generated conversions
2015-07-29 17:07:14 -04:00
Clayton Coleman
487fe2d116
Update deep copies
2015-07-29 17:06:55 -04:00
Mike Danese
60ac834563
Merge pull request #10652 from JanetKuo/kubectl-o-name
...
Add '-o name' to mutations
2015-07-29 09:46:10 -07:00
Brendan Burns
a546a2979c
Merge pull request #11726 from caesarxuchao/fix-types-link
...
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
Daniel Smith
b1e6b87a5f
Merge pull request #11829 from markturansky/validate_access_modes
...
Add validation for AccessModes
2015-07-27 16:14:38 -07:00
Janet Kuo
0e42d0699a
Add '-o name' to mutations
2015-07-27 14:06:53 -07:00
deads2k
d73faa8272
expose common name validation methods
2015-07-27 13:12:28 -04:00
markturansky
0a0af48e51
added validation for AccessModes
2015-07-27 13:02:16 -04:00
David Oppenheimer
2236fee028
Fix link to node selector documentation.
2015-07-24 23:04:59 -07:00
Chao Xu
aa758e64f7
update the links in pkg/api/types.go
2015-07-24 18:08:05 -07:00
Chao Xu
cbeed829b7
update the links in v1/types.go
2015-07-24 18:08:05 -07:00
Mike Danese
ae1c8e55ef
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
...
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese
db179e4cf4
Merge pull request #10346 from jhadvig/comment_fix
...
Fix NewNotFound method name in comments
2015-07-24 08:08:57 -07:00
Mike Danese
7a60a7c264
Merge pull request #11773 from jayunit100/etc-comment
...
Update comments to remove etcd specificity and minion term
2015-07-24 08:00:21 -07:00
Vish Kannan
1a908a272e
Merge pull request #11076 from nikhiljindal/apiError
...
Updating apiserver to not return 500 when a service without pods is proxied
2015-07-23 18:03:07 -07:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Vish Kannan
136d53466a
Merge pull request #10892 from nikhiljindal/beta1
...
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
jayunit100
6ca376fd12
Update comments to remove etcd specificity and minion / list term.
2015-07-23 17:41:44 -04:00
Mike Danese
a558edf036
Revert "Revert "Move rand string func to util for reuse""
...
This reverts commit acebe24bf3
.
2015-07-22 15:01:28 -07:00
Paul Morie
1df80e3a6a
Make copy_test.go failures easier to debug
2015-07-22 13:11:10 -04:00
Max Forbes
7a3891e5f8
Add ServiceAccount as an alias for ServiceAccountName
2015-07-16 15:48:49 -07:00
nikhiljindal
1517b66001
Updating an error to apierror
2015-07-15 16:43:59 -07:00
Rohit Jnagal
d61d272beb
Merge pull request #10974 from brendandburns/lakesong
...
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00
Zach Loafman
6ea0c2b3b7
Fix gofmt from #11084
...
(cherry picked from commit 63c73a58a5
)
2015-07-10 17:14:12 -07:00
Brendan Burns
2f47b3ed11
add spec.host as a synonym for spec.nodeName in v1
2015-07-10 15:16:48 -07:00
Brendan Burns
a8f02e5472
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 14:35:29 -07:00
Victor Marmol
edaa1a69e5
Merge pull request #10525 from nikhiljindal/delbeta3
...
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
nikhiljindal
c465a50891
Stop exposing v1beta3 by default
2015-07-08 15:27:41 -07:00
nikhiljindal
fc4da6844e
removing references to pre v1beta3 apis
2015-07-08 13:51:43 -07:00
Janet Kuo
9c3c23686f
Embed doc URLs in swagger document
2015-07-07 14:23:52 -07:00
Yu-Ju Hong
d675cbfc71
Merge pull request #10690 from thockin/version-api-descriptions
...
Version API descriptions
2015-07-06 17:41:10 -07:00
Brendan Burns
988aa6fdf6
Move things into a 'kube-system' namespace.
2015-07-06 15:08:23 -07:00
Tim Hockin
3caf3ccad2
make API descriptions use releases.k8s.io
2015-07-04 13:32:22 -07:00
jhadvig
7df1d33204
Fix NewNotFound method name in comments
2015-07-02 12:41:12 +02:00
Zach Loafman
e5670c104d
Merge pull request #10604 from nikhiljindal/v1
...
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
nikhiljindal
274792d7bb
Stop exposing v1beta3 by default
2015-07-01 14:38:02 -07:00
Zach Loafman
9db58ff2b2
Merge pull request #10632 from nikhiljindal/revert-etcderrors
...
Revert "Merge pull request #10246 from nikhiljindal"
2015-07-01 13:06:18 -07:00
Zach Loafman
0edd827c1c
Merge pull request #10566 from markturansky/pvspec_desc
...
Removed extraneous json descriptions from internal types
2015-07-01 12:00:31 -07:00
nikhiljindal
d82d5d11a7
Revert "Merge pull request #10246 from nikhiljindal"
...
This reverts commit a902a2f014
, reversing
changes made to 7df8d76a93
.
2015-07-01 11:07:18 -07:00
Zach Loafman
502103cdc6
Merge pull request #10453 from satnam6502/fix-es
...
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
nikhiljindal
2e9e46dd08
Updating scripts to use v1 instead of v1beta3
2015-07-01 00:23:16 -07:00
Zach Loafman
1715505d6b
Merge pull request #10538 from marekbiskup/typo-hypen
...
correct typo
2015-06-30 23:11:11 -07:00
CJ Cullen
12553c9b91
Fix errors test
2015-06-30 16:43:33 -07:00
Zach Loafman
a902a2f014
Merge pull request #10246 from nikhiljindal/minionPrefix
...
Return api/errors instead of raw etcd errors
2015-06-30 15:47:58 -07:00
markturansky
c39be4bc74
Removed extraneous json desc
2015-06-30 15:28:12 -04:00
Tim Hockin
15766bfbbc
Don't repeat field name in errors
2015-06-30 11:58:21 -07:00
Satnam Singh
4e58e001da
Change port names to avoid validation failure
2015-06-30 10:56:20 -07:00
Marek Biskup
88c70d2ae0
correct typo
2015-06-30 11:23:48 +02:00
nikhiljindal
4b7f7ce535
Dont return raw etcd errors
2015-06-29 16:18:46 -07:00
Tim Hockin
025f728e50
Fix 'a' vs 'an'
2015-06-28 20:51:36 -07:00
Tim Hockin
08f66f04d6
Fix error message
2015-06-28 14:49:38 -07:00
Robert Bailey
6b97ac0880
Merge pull request #10131 from thockin/svc-docs
...
Hopefully make NodePort docs clearer
2015-06-26 21:50:46 -07:00
Robert Bailey
f9db614f95
Merge pull request #10234 from mikedanese/rolling-update-weird
...
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Robert Bailey
54a3ebef3c
Merge pull request #10315 from nikhiljindal/invalidValue
...
Updating the "invalid value" error message to include the list of valid values
2015-06-26 10:46:59 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Maxwell Forbes
712f303350
Merge pull request #9736 from sdminonne/bug_fix2
...
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Steve Kuznetsov
3008ff6150
Changed HTTPGetAction to allow user-defined schemes
2015-06-25 16:59:12 -04:00
nikhiljindal
3b3ee0ed77
Improving an error message
2015-06-25 13:08:09 -07:00
Mike Danese
f79736d767
make replicas a pointer in v1beta3 api
2015-06-25 11:53:18 -07:00
Tim Hockin
ff91fef26b
Hopefully make NodePort docs clearer
2015-06-25 10:46:15 -07:00
Maxwell Forbes
655179dcfb
Merge pull request #10264 from mikedanese/ca-token
...
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
fc349fdd47
Merge pull request #10060 from nikhiljindal/scopeParamPath
...
Updating the path param name to "namespace" instead of "namespaces"
2015-06-25 09:56:15 -07:00
Maxwell Forbes
28946766a3
Merge pull request #9807 from krousey/container_manifest
...
Removing ContainerManifest
2015-06-24 17:55:29 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
nikhiljindal
6c6398edaa
Update the path param name to namespace instead of namespaces
2015-06-24 13:45:49 -07:00
Kris Rousey
d13421e084
Removing ContainerManifest
2015-06-24 11:31:34 -07:00
nikhiljindal
221ae4d63b
Allow update without resource version
2015-06-23 00:16:08 -07:00
Salvatore Dario Minonne
4b13faa346
To add validation for service ports when defined as string (fixing issue #9734 )
2015-06-22 17:21:51 +02:00
Anastasis Andronidis
101739a6be
Added Reason in PodStatus
2015-06-21 17:05:34 +02:00
Satnam Singh
b964f3c911
Merge pull request #9739 from bprashanth/sno
...
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Satnam Singh
3591a543d1
Merge pull request #9919 from liggitt/port_protocol_validation
...
Validate port protocol case strictly
2015-06-19 15:18:03 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Satnam Singh
078e85cfdb
Merge pull request #10076 from caesarxuchao/pr/9966/head
...
based on #9966 : fix annoying 'please check...' messages; remove v1beta1&2 ref
2015-06-19 11:56:47 -07:00
Satnam Singh
f02c685532
Merge pull request #10007 from feihujiang/improveCreateSchemaValidate
...
improve kubectl create --validate, aggregate errors and handle requir…
2015-06-19 11:43:44 -07:00
Jordan Liggitt
68a8a25494
Rename pod.spec.serviceAccount -> pod.spec.serviceAccountName for v1
2015-06-18 22:38:00 -04:00
Chao Xu
5673f73378
fix the left pre V1 field names in 290c4618c331f4f30a278af520121ff35
2015-06-18 18:44:55 -07:00
Satnam Singh
59a96f1028
Merge pull request #9688 from liggitt/validate_pod_spec
...
Validate service account name in pod spec
2015-06-18 17:18:09 -07:00
Satnam Singh
0f81a65f74
Merge pull request #10019 from feihujiang/deleteTodoNotes
...
Delete TODO notes
2015-06-18 15:53:10 -07:00
Clayton Coleman
93f921b677
Swagger output for PATCH can be more strongly typed
2015-06-18 13:04:20 -04:00
feihujiang
a7b22e3773
Delete TODO notes (The syntax here is the reverse of the (old, new) pattern in most other validation. Fix this.)
2015-06-18 20:13:17 +08:00
feihujiang
d5fcd9f153
improve kubectl create --validate, aggregate errors and handle require fields
2015-06-18 16:22:09 +08:00
Saad Ali
9da215e085
Merge pull request #9897 from derekwaynecarr/limit_range_validation
...
Add LimitRange range validation
2015-06-17 17:20:18 -07:00
markturansky
0a6b7b61ec
Changed PVClaimVolumeSource name to match other volume names
2015-06-17 16:17:49 -04:00
Saad Ali
641f8d47d3
Merge pull request #9828 from caesarxuchao/remove-testdata-v1beta1
...
remove pkg/api/validation/testdata/v1beta1/*
2015-06-17 11:36:03 -07:00
derekwaynecarr
2518d8c0fc
Add LimitRange range validation
2015-06-17 10:24:31 -04:00
Jordan Liggitt
2b840279d9
Validate service account name in pod spec
2015-06-16 21:09:01 -04:00
Jordan Liggitt
ee4cd972e0
Validate port protocol case strictly
2015-06-16 20:28:11 -04:00
Saad Ali
0aae358d2d
Merge pull request #9835 from caesarxuchao/remove-testapi-nsQuery
...
Update pkg/api/testapi because namespace is always in the path now
2015-06-16 14:54:36 -07:00
Chao Xu
a309d3e652
Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2
2015-06-16 14:12:03 -07:00
Saad Ali
d6b50d5602
Merge pull request #9823 from caesarxuchao/remove-PodContainerInfo
...
remove PodContainerInfo from api/types.go
2015-06-16 13:38:53 -07:00
Chao Xu
d9e8939ae4
remove pkg/api/validation/testdata/v1beta1/*
2015-06-15 16:20:14 -07:00
Chao Xu
3815b4c985
remove PodContainerInfo from api/types.go
2015-06-15 15:04:37 -07:00
Fabio Yeon
4e6bd63256
Merge pull request #9597 from mikedanese/fix-swagger-validate-panic
...
fix panic in kubectl --validate when no apiVersion is passed
2015-06-15 13:05:11 -07:00
Fabio Yeon
b65c321a87
Merge pull request #9772 from feihujiang/noKindErrorMessage
...
make the kind not registered in versions error message more precise
2015-06-15 10:26:58 -07:00
Filip Grzadkowski
cdc5034ce4
Fix error message for missing imagePullPolicy
2015-06-15 16:02:32 +02:00
feihujiang
ad4f22bf6a
improve kubectl error message when an object with kind not registered in versions
2015-06-15 09:18:28 +08:00
Daniel Smith
9423f80d20
fix test bug & conversion bug
2015-06-12 13:55:10 -07:00
Daniel Smith
47294dd326
Revert "Revert "Test Service creation -> endpoint generation latency""
...
This reverts commit 654857114e
.
2015-06-11 18:34:31 -07:00
Abhi Shah
b556285661
Merge pull request #9550 from feihujiang/validationFailure
...
remove useless glog.Infof
2015-06-10 14:45:10 -07:00
Mike Danese
2bbb78d50a
actually return validation errors instead of just creating them
2015-06-10 12:45:10 -07:00
Brendan Burns
654857114e
Revert "Test Service creation -> endpoint generation latency"
2015-06-09 21:24:00 -07:00
feihujiang
5867b5ce6b
remove useless glog.Infof
2015-06-10 11:02:28 +08:00
krousey
1c58d2a766
Merge pull request #9354 from lavalamp/logSpam
...
Test Service creation -> endpoint generation latency
2015-06-09 15:51:26 -07:00
krousey
d7f7d84a5e
Merge pull request #9387 from jsdir/9340-signature
...
Improve signature consistency for ValidateObjectMetaUpdate
2015-06-09 10:20:18 -07:00
feihujiang
37abe11f8a
kubetcl create --validate crashes when no apiVersion or kind is provided
2015-06-09 10:38:43 +08:00
Daniel Smith
aa9bdcbc4a
add missing endpoints field label conversion function
2015-06-08 16:23:21 -07:00
Jason Sommer
aa892b7143
Replace meta with new
2015-06-08 17:06:56 -05:00
Jason Sommer
d59a8ff7f8
Improve signature consistency for ValidateObjectMetaUpdate
...
Fixes #9340
Signed-off-by: Jason Sommer <jsdirv@gmail.com>
2015-06-08 02:56:38 -05:00
Quinton Hoole
6ff203e9da
Merge pull request #9280 from caesarxuchao/make-v1-preferred
...
Make v1 the preferred api version
2015-06-05 15:23:14 -07:00
Quinton Hoole
8b01ecb53a
Merge pull request #9024 from markturansky/recyc_controllers
...
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Quinton Hoole
8f55d9e619
Merge pull request #9317 from nikhiljindal/podnodeName
...
Updating StatusDetails.ID to Name in internal API
2015-06-05 11:23:09 -07:00
nikhiljindal
7cc50448e3
Updating StatusDetails.ID to Name in internal API
2015-06-05 07:17:02 -07:00
Yifan Gu
f197a9db4e
kubelet: Minor refactors.
...
Remove some TODOs.
Unexport DockerManager.Puller and DockerManager.PodInfraContainerImage.
Add "docker" for all "go-dockerclient" imports.
2015-06-04 16:08:45 -07:00
Chao Xu
1605fc7347
fix unit tests
2015-06-04 15:09:47 -07:00
Chao Xu
dfc77f7883
make v1 the preferred api version
2015-06-04 15:08:56 -07:00
markturansky
2829fadfad
PV Recycling API
2015-06-04 15:39:34 -04:00
Chao Xu
0a7dc87b05
address nikhiljindal's comments in #9225
2015-06-04 10:20:29 -07:00
Chao Xu
c1ba3f21d5
remove outdated test from latest_test.go
2015-06-04 09:39:05 -07:00
Brian Grant
656fa7bea1
Merge pull request #9225 from caesarxuchao/add-v1-tests-general
...
Add v1 tests
2015-06-03 22:18:21 -07:00
Brian Grant
ab1e3cc789
Merge pull request #9215 from RichieEscarez/8977_restartpolicy
...
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" …
2015-06-03 22:16:11 -07:00
Chao Xu
2ee8eb67a9
remove import of v1beta3 package in api/conversion_test.go
2015-06-03 16:50:40 -07:00
Chao Xu
cb123dc957
in api/testapi/testapt_test.go, remove tests for v1beta1, add tests for v1
2015-06-03 16:48:05 -07:00
RichieEscarez
91907f66a7
Replaced instances of "RestartPolicyAlways" "RestartPolicyOnFailure" "RestartPolicyNever" with "Always" "OnFailure" "Never"
2015-06-03 13:35:35 -07:00
Chao Xu
115823ff1b
add v1 to serialization_test.go
2015-06-03 13:22:01 -07:00
Brian Grant
be4a501e25
Merge pull request #9099 from derekwaynecarr/improve_quota_describe_output
...
Fix bug in quota describe output
2015-06-03 13:14:30 -07:00
derekwaynecarr
6968a4e0df
Improve quota describe output
2015-06-03 15:16:24 -04:00
Tim Hockin
1aa9b0b86a
Don't allow link-local Endpoints
2015-06-03 11:40:04 -07:00
Chao Xu
3358f37871
remove imports of v1 in latest_test.go
2015-06-02 17:27:57 -07:00
Chao Xu
89c8949e78
add v1 to hack/test-integration.sh
2015-06-02 14:55:45 -07:00
Chao Xu
ff6947625d
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-02 14:55:45 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Brian Grant
3f07503cea
Merge pull request #9103 from liggitt/omitempty_service_account
...
fix omitempty on PodSpec.ServiceAccount in v1beta3
2015-06-02 10:41:11 -07:00
Jordan Liggitt
870be9768a
fix omitempty on service account in v1beta3
2015-06-02 01:31:06 -04:00
Clayton Coleman
72ee028cab
Gracefully delete pods from the Kubelet
...
This commit wires together the graceful delete option for pods
on the Kubelet. When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default. The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.
When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker. When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Rohit Jnagal
25e63e737a
Merge pull request #9014 from caesarxuchao/image-omitempty
...
make the Container.Image field optional in v1
2015-05-29 16:32:30 -07:00
Rohit Jnagal
fdefd120c1
Merge pull request #8980 from caesarxuchao/Remove_TemplateRef
...
remove ReplicationControllerSpec.TemplateRef
2015-05-29 14:53:25 -07:00
Chao Xu
74f66b3c96
make the Container.Image field optional
2015-05-29 13:12:35 -07:00
Chao Xu
0798ea9ff7
remove ReplicationControllerSpec.TemplateRef from v1beta3/types.go and v1/types.go for now
2015-05-28 17:41:47 -07:00
Chao Xu
2f6e5e2e08
Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go
2015-05-28 17:18:24 -07:00
Tim Hockin
da78ab6b63
Merge pull request #8740 from thockin/nix-portal
...
Rename "portalIP" to "clusterIP"
2015-05-28 16:52:02 -07:00
Kris Rousey
22b2c68c02
Update go-restful to get stable sorting in spec
...
This reverts commit 4a7071e7f7
.
2015-05-28 16:43:13 -07:00
Tim Hockin
9a49e8155f
Update generated code
2015-05-28 16:28:18 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
4a7071e7f7
Revert "Update go-restful to get stable sorting in spec"
2015-05-28 16:04:11 -07:00
Tim Hockin
32bb3ae8f1
Merge pull request #7775 from simon3z/cloud-provider-id
...
api: add the ProviderID attribute to NodeSpec
2015-05-28 15:54:00 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Tim Hockin
72c2e3b8a1
Merge pull request #8944 from krousey/go-restful_update
...
Update go-restful to get stable sorting in spec
2015-05-28 15:29:43 -07:00
Tim Hockin
1087c12e63
Merge pull request #8909 from wojtek-t/fix_example_selflinks
...
Fix selfLinks in test examples to v1beta3
2015-05-28 15:01:02 -07:00
Tim Hockin
6fbaefdced
Merge pull request #8897 from pweil-/reduce-merge-logging
...
reduce merge logging
2015-05-28 15:00:45 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Kris Rousey
05eaaa99e1
Update go-restful to get stable sorting in spec
2015-05-28 13:40:23 -07:00
Federico Simoncelli
2a89428d44
api: add the ProviderID attribute to NodeSpec
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:01:58 -04:00
Wojciech Tyczynski
22f7f05135
Fix selfLinks in examples
2015-05-28 16:47:53 +02:00
Wojciech Tyczynski
33318f0162
Use generated DeepCopy methods.
2015-05-28 09:03:27 +02:00
Paul Weil
ae981b73a3
reduce merge logging
2015-05-27 19:12:04 -04:00
markturansky
60b9652500
added generated deep copy funcs
2015-05-27 13:58:29 -04:00
markturansky
d338a7eaea
rebased and added 'omitempty' to new volumes
2015-05-27 13:21:48 -04:00
markturansky
e15fd2b0e7
normalized omitempty across volumes for all versions
2015-05-27 13:13:19 -04:00
markturansky
f7ede60045
normalized json tags across volumes
2015-05-27 13:12:40 -04:00
Tim Hockin
b8a808b1ae
Merge pull request #8592 from RichieEscarez/5057_restartpolicy_default
...
5057 restartpolicy default
2015-05-27 09:40:34 -07:00
Tim Hockin
a15c69798b
Merge pull request #8582 from deads2k/add-pull-secrets-to-service-account
...
add pull secrets to service accounts
2015-05-27 08:40:46 -07:00
Tim Hockin
57df04ed72
Merge pull request #8149 from pmorie/container-env-resolution
...
Expand variables in containers' env, cmd, args
2015-05-27 08:37:02 -07:00
Tim Hockin
d0249aac75
Merge pull request #8133 from markturansky/iscsi_pv2
...
added ISCSI volume plugin to PersistentVolumeSource
2015-05-27 08:36:37 -07:00
Paul Morie
8b338860aa
Make kubelet expand var refs in cmd, args, env
2015-05-27 00:13:57 -04:00
Wojciech Tyczynski
e7dbac53cb
Generate DeepCopy methods
2015-05-26 21:17:11 +02:00
Wojciech Tyczynski
b2280db724
Deep-copy functions autogeneration.
2015-05-26 21:16:26 +02:00
Marek Grabowski
f5a3f7d17f
Merge pull request #8721 from smarterclayton/incorrect_description
...
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-25 10:50:44 +02:00
Clayton Coleman
3db9f0528a
Description of ImagePullPolicy wrong in v1(beta3)
2015-05-22 19:35:26 -04:00
Justin Santa Barbara
ada6882373
Add conversions for CreateExternalLoadBalancer for v1beta1 and v1beta2
2015-05-22 19:26:54 -04:00
Justin Santa Barbara
19c0d82edc
Include the actual failing value in a validation error message
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
a271771341
Richer errors for validation
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
9255770068
Fix a few occurences of old language (e.g. visibility -> ServiceType)
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042
Add ServiceType = NodePort; wire everything up
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
3bb2fe2425
Create port allocator, based on IP allocator mechanism
...
Including some refactoring of IP allocator
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462
Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
...
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
2197c8da5a
Add NodePort to ServicePort
...
We prevent it from being set by validation
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Dawn Chen
677a4aa1a7
Merge pull request #8164 from cjcullen/cloudprovider
...
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
markturansky
77c39edcc9
rebased and regenerated conversions
2015-05-22 15:18:48 -04:00
markturansky
5b23fc39b2
added ISCSI volume plugin to PersistentVolumeSource
2015-05-22 15:18:20 -04:00
Dawn Chen
434a9ff57b
Merge pull request #8552 from thockin/rc-default-1
...
Change v1 API to default RC replicas to 1
2015-05-22 11:10:01 -07:00
deads2k
590bd048a5
add pull secrets to service accounts
2015-05-22 14:05:19 -04:00
RichieEscarez
0076c181c7
Edited to add the default restart policy (always) to clarify value if RestartPolicy is not set.
...
Generated new .json output for Swagger UI
Added the api/v1/v1.json file to the hack/update-swagger-spec.sh script so it gets updated and built.
Fixes #5057
Reverting last change: Deleted line for building v1 api from the build file update-swagger-ui.sh and deleted the output file from build (v1.json).
2015-05-22 10:03:12 -07:00
Tim Hockin
fd07de6ed6
Change v1 API to default RC replicas to 1
2015-05-21 12:40:59 -07:00
Huamin Chen
4a800fd10e
add rados block device(rbd) volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00
Derek Carr
9b1fb6dca1
Merge pull request #8233 from csrwng/connect_adm_ctrl
...
Admission control to prevent exec on privileged pods
2015-05-21 14:35:28 -04:00
Cesar Wong
328b1d0817
Add admission control to the Connect method in the API Server
...
The resource passed to admission control is a ConnectRequest object
which includes additional information about the current request.
2015-05-21 13:54:45 -04:00
Wojciech Tyczynski
de0a1d179f
Fix ordering of conversion methods.
2015-05-21 19:41:48 +02:00
Dawn Chen
0710976d43
Merge pull request #8490 from thockin/diff-proto
...
Allow same-hostport-different-protocol
2015-05-21 09:16:16 -07:00
Dawn Chen
ad47b2d29d
Merge pull request #8483 from liggitt/etcd_test
...
Update generic etcd tests for cluster-scoped objects
2015-05-21 09:13:44 -07:00
Dawn Chen
9f4fb35c16
Merge pull request #8472 from nikhiljindal/statusName
...
v1: Updating StatusDetails.ID to Name
2015-05-21 09:12:42 -07:00
CJ Cullen
bf646abf8d
Revert "Revert "Modify nodes to register directly with the master.""
...
This reverts commit c53786ab31
.
2015-05-20 14:21:03 -07:00
Quinton Hoole
c53786ab31
Revert "Modify nodes to register directly with the master."
2015-05-20 13:47:51 -07:00
nikhiljindal
e92a42b57f
Renaming StatusDetails.ID to Name
2015-05-20 11:35:38 -07:00
Yu-Ju Hong
8f62dd2451
Merge pull request #8482 from smarterclayton/serialization_wrong
...
Serialization of 'IP' in endpoints should be 'ip'
2015-05-19 12:02:19 -07:00
Tim Hockin
97abc19810
Merge pull request #8299 from thockin/import-names
...
rename imported pkgs for readability
2015-05-19 12:01:57 -07:00
Eric Tune
1f4172d23c
Merge pull request #6949 from roberthbailey/node-register
...
Modify nodes to register directly with the master.
2015-05-19 11:29:43 -07:00
Tim Hockin
cb49843ccb
Merge pull request #8140 from vishh/namespace
...
Update Namespace names to follow DNS label format
2015-05-19 11:25:32 -07:00
Tim Hockin
70c94fad6d
Don't rename api imports in conversions
2015-05-19 11:21:21 -07:00
Tim Hockin
d689ba9b01
Rename versioned pkg imports in defaults tests
2015-05-19 11:18:55 -07:00
Vishnu Kannan
d10af89493
Updating namespaces to be DNS labels instead of DNS names.
2015-05-19 11:09:09 -07:00
Daniel Smith
181124bc9b
Merge pull request #7974 from deads2k/attach-pull-secrets-to-pods
...
Attach pull secrets to pods
2015-05-19 10:26:39 -07:00
Tim Hockin
711fa2f2c6
fix
2015-05-19 10:17:53 -07:00
Tim Hockin
c7bf373d98
Allow same-hostport-different-protocol
2015-05-19 10:00:35 -07:00
Robert Bailey
01467e0bb8
Modify nodes to register directly with the master.
...
- Delete nodes when they are no longer ready and don't exist in the
cloud provider.
- Label each node with it's hostname.
- Add flag to skip node registration.
- Add a test for registering an existing node.
2015-05-19 09:55:07 -07:00
Brian Grant
2c81050e6f
Merge pull request #8457 from davidopp/master
...
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-19 07:43:21 -07:00
deads2k
5458f05679
create LocalObjectReference
2015-05-19 08:39:46 -04:00
David Oppenheimer
44b1e1ca0c
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-18 23:32:06 -07:00
Jordan Liggitt
a6401fa433
Update generic etcd tests for cluster-scoped objects
2015-05-18 23:17:51 -04:00
Clayton Coleman
2e8b7f9797
Serialization of 'IP' should be 'ip'
...
CamelCase rules are "initialsUpperCase"
2015-05-18 22:56:12 -04:00
Brian Grant
03535478a2
Merge pull request #8440 from thockin/api-type-names
...
Rename a few API types (non-breaking change)
2015-05-18 18:48:16 -07:00
Tim Hockin
65833e42c4
rename CapabilityType Capability
2015-05-18 17:21:30 -07:00
Tim Hockin
fd22f48f5b
rename StorageType StorageMedium
2015-05-18 17:21:30 -07:00
Tim Hockin
f66ca25d9f
Rename AccessMode to PersistentVolumeAccessMode
2015-05-18 17:21:30 -07:00
Tim Hockin
a548d542db
Rename AffinityType to ServiceAffinity
2015-05-18 17:21:30 -07:00
Wojciech Tyczynski
9a93206774
Script for automatically generate conversions.
2015-05-19 02:17:58 +02:00
deads2k
0c14e0cbdb
add pull secret references to pods
2015-05-18 16:18:16 -04:00
Wojciech Tyczynski
d7834f5033
Merge pull request #8414 from pweil-/dedupe-sc
...
remove deprecated fields from v1 types
2015-05-18 12:57:38 -07:00
Daniel Smith
c27999da07
Merge pull request #7966 from deads2k/add-dockercfg-secrets
...
add dockercfg secret types
2015-05-18 11:24:02 -07:00
Victor Marmol
45874d5f76
Merge pull request #5547 from gmarek/client3
...
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Paul Weil
ad4e4c90ce
remove deprecated fields from v1 types
2015-05-18 14:07:36 -04:00
Victor Marmol
bf912e0d82
Merge pull request #8338 from nikhiljindal/omitEmpty
...
Fixing the omitempty tag
2015-05-18 08:39:47 -07:00
deads2k
be0f2d2930
add dockercfg secret types
2015-05-18 08:25:27 -04:00
deads2k
d404a17f0a
allow leading dots in secret keys
2015-05-18 08:17:58 -04:00
nikhiljindal
0ce0150bde
Fixing the omitempty tag
2015-05-15 19:29:14 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
derekwaynecarr
8216332611
Kubelet kills a pod that exceeds ActiveDeadlineSeconds
2015-05-15 16:33:37 -04:00
gmarek
27d660d0ac
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-15 10:57:46 +02:00
Victor Marmol
8bc3e5121f
Merge pull request #8188 from krousey/deep_copy
...
Changing the implementation of DeepCopy to use reflection
2015-05-14 18:25:30 -07:00
Kris Rousey
4d031abc16
Changing the implementation of DeepCopy to use reflection instead of Gob encode/decode.
2015-05-14 13:46:31 -07:00
Filip Grzadkowski
61b1c975af
Merge pull request #8172 from wojtek-t/deep_copy_generator
...
Create DeepCopy benchmarks
2015-05-14 20:07:49 +02:00
Victor Marmol
07b8b79696
Merge pull request #8247 from kazegusuri/fix-struct-field-tag
...
Fix struct field tag
2015-05-14 10:36:34 -07:00
Masahiro Sano
bccafcb97b
fix struct field tag
2015-05-14 22:29:11 +09:00
Wojciech Tyczynski
b52a4e60fc
Fix convertion generator for manually written ones
2015-05-14 13:51:34 +02:00
Wojciech Tyczynski
b00020884c
DeepCopy benchmarks
2015-05-14 09:43:21 +02:00
Tim Hockin
2f59aa4f25
Somewhat better error messages for common formats
...
Clearer strings with examples.
2015-05-13 13:59:16 -07:00
Tim Hockin
b429e89251
Spec qualified names (label keys) more tightly
...
It can be a (DNS_SUBDOMAIN/)?label, but we were validating it
incorrectly before.
2015-05-13 13:59:16 -07:00
Daniel Smith
25d32ee513
Merge pull request #7939 from nikhiljindal/latest
...
Adding an env variable to specify the list of supported API versions
2015-05-13 13:36:43 -07:00
markturansky
6b29c569ff
regen again
2015-05-13 14:46:47 -04:00
markturansky
fd3f7b2a98
rebased and regen conversions
2015-05-13 14:09:48 -04:00
markturansky
0191574f7e
Bi-directional bind between pv.Spec.ClaimRef and pvc.Spec.VolumeName
2015-05-13 14:05:21 -04:00
nikhiljindal
8b278202fe
Updating the code to set the latest version based on KUBE_LATEST_API_VERSION env flag
2015-05-13 10:53:00 -07:00
Wojciech Tyczynski
c2f2faeb07
Generate conversion methods for v1 api.
2015-05-13 14:20:59 +02:00
Brian Grant
572b819944
Merge pull request #8052 from dkorn/PodConditions
...
Inconsistency in api terminology of pod conditions
2015-05-12 11:03:59 -07:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
dkorn
25ada0e118
Inconsistency in api terminology of pod conditions
...
While nodes returns the "conditions" key in api requests, pods returns
"Condition". Also, from pods states docs it seems that the right
terminology should be "conditions".
Fixes #8038
2015-05-12 10:52:52 +03:00
feihujiang
4bb594b34d
Duplicate service port name can't be validated
...
Duplicate service port name can't be validated
Duplicate service port name can't be validated
Duplicate service port name can't be validated
2015-05-12 15:18:27 +08:00
Victor Marmol
43029345f9
Merge pull request #7973 from dchen1107/podstatus
...
Add kubectl log --previous support to view last terminated container log
2015-05-11 17:08:45 -07:00
Jordan Liggitt
0955808668
ServiceAccountTokens controller
2015-05-11 17:18:05 -04:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
Nikhil Jindal
2cc8696425
Merge pull request #7919 from brendandburns/kubectl
...
Fix validation by moving it into the resource builder.
2015-05-11 10:20:14 -07:00
Dawn Chen
ffa5947010
Introduce Previous as PodLogOptions
2015-05-11 10:14:22 -07:00
Vish Kannan
b7289b606e
Merge pull request #7786 from thockin/ports
...
Service port names are required for multi-port
2015-05-11 09:46:02 -07:00
Clayton Coleman
382623f3fa
Merge pull request #7896 from wojtek-t/generated_calling_manual
...
Improments to conversion methods generator
2015-05-11 10:15:32 -04:00
Clayton Coleman
8755ea8ec9
Merge pull request #7704 from smarterclayton/parallel_allocator
...
Use etcd to allocate PortalIPs instead of in-mem
2015-05-11 09:56:10 -04:00
Marek Grabowski
16a76f1bd3
Merge pull request #8028 from shawnps/patch-1
...
Fix struct tag
2015-05-11 14:00:18 +02:00
Marek Grabowski
141e6977d6
Merge pull request #8029 from shawnps/patch-2
...
Fix struct tag
2015-05-11 13:59:56 +02:00
Wojciech Tyczynski
5578dc99e3
Improvements for conversions generator
2015-05-11 12:21:11 +02:00
Shawn Smith
48927cb209
Fix struct tag
2015-05-10 13:09:13 +09:00
Shawn Smith
97cdd064c8
Fix struct tag
2015-05-10 13:08:25 +09:00
Shawn Smith
8105ac5346
Fix struct tag
2015-05-10 13:06:20 +09:00
Tim Hockin
3aa39d54b6
Service port names are required for multi-port
...
There is no provision for the first port to be unnamed. I think I
initially allowed that, but then the Subset struct became a sorted
struct, so the first-ness of the port got lost. If you have a Service
with one named and one unnamed port, what happens is that the
EndpointController fails to create Endpoints (validation error).
2015-05-09 20:11:48 -07:00
Brendan Burns
7f11585972
Fix validation by moving it into the resource builder.
...
Also always print an error for unknown field.
2015-05-08 14:00:33 -07:00
Clayton Coleman
8bbb64cd8b
Generated conversion functions
2015-05-08 16:04:03 -04:00
Abhi Shah
87e85e25f1
Revert "Added ISCSI to PV structs"
2015-05-08 11:31:35 -07:00
Abhi Shah
9b2a0df811
Merge pull request #7734 from markturansky/iscsi_pv2
...
Added ISCSI to PV structs
2015-05-08 10:55:41 -07:00
Clayton Coleman
e200d5a317
Make PortalIP alloc HA
...
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards
Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
markturansky
6cdec4c093
rebased and updated
2015-05-07 20:54:35 -04:00
Abhi Shah
7b1e9adb47
Merge pull request #7620 from brendandburns/fix
...
Support recovery from in the middle of a rename.
2015-05-07 16:04:26 -07:00
markturansky
4c9eac6c3d
Added ISCSI to PV structs
2015-05-07 18:13:03 -04:00
Brendan Burns
63cbc715dd
Support recovery from in the middle of a rename.
2015-05-07 10:39:15 -07:00
markturansky
dc0b49d960
rebased and updated
2015-05-07 13:33:52 -04:00
markturansky
68ce264a6d
Added NFS to PV structs
2015-05-07 12:38:27 -04:00
Wojciech Tyczynski
156795f298
Update conversion functions
2015-05-07 09:27:58 +02:00
Clayton Coleman
b60a90c3f4
Merge pull request #7718 from csrwng/create_sub_name
...
API Server - pass path name in context of create request for subresource
2015-05-06 15:42:03 -04:00
Cesar Wong
fd65427e28
API Server - pass path name in context of create request for subresource
...
Allows a REST storage for a subresource to obtain name in path from
request.
2015-05-06 13:40:18 -04:00
Clayton Coleman
800de8cb7e
Merge pull request #7832 from wojtek-t/separate_generated_conversion
...
Support manually-created and generated conversion functions
2015-05-06 12:53:46 -04:00
Paul Morie
5bcdecbb6b
Fix v1beta1 typos in v1beta2 conversions
2015-05-06 11:21:39 -04:00
Wojciech Tyczynski
458fec6c99
Generate conversion functions for v1beta3
2015-05-06 16:43:15 +02:00
Daniel Smith
8a47574644
Merge pull request #7468 from simon3z/serialized-reference
...
replica: serialize created-by reference
2015-05-05 16:42:42 -07:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Paul Morie
1625e231dd
Merge pull request #7343 from pweil-/security-context-types
...
Security context - types, kubelet, admission
2015-05-05 16:26:09 -04:00
Federico Simoncelli
37038c4877
replica: serialize created-by reference
...
Fixes #7322
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-05 16:06:41 -04:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Cesar Wong
283049f679
Fix pod exec options
...
Change the command field to an array of strings.
2015-05-05 13:20:08 -04:00
Paul Morie
f6f34d0493
Allow int64 types in API; update swagger spec
2015-05-05 12:15:12 -04:00
Paul Morie
e949a623ff
Change EnvVarSource.FieldPath -> FieldRef and add example
2015-05-04 18:41:09 -04:00
Brian Grant
f7a2a02ebb
Merge pull request #7443 from vishh/comments
...
Explicitly state the lack of support for 'Requests' for the purposes of scheduling
2015-05-04 14:33:13 -07:00
Vishnu Kannan
3b5a90852a
Explicitly state the lack of support for 'Requests' for the purposes of scheduling.
2015-05-04 13:39:11 -07:00
Clayton Coleman
dd8184247e
Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
...
Change the order the different versions of API are registered
2015-05-04 15:01:59 -04:00
Piotr Szczesniak
5845743171
Removed unnecessary closing bracket
2015-05-04 09:42:33 +02:00
Chao Xu
4787c66214
Register the API versions to the DefaultRESTMapper in the order of preferred versions first.
...
This makes kubectl sends requests to URLs in the format defined by the latest API version.
2015-05-01 15:14:15 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Clayton Coleman
1a8845af61
Merge pull request #7490 from smarterclayton/alter_list
...
Do not automatically decode runtime.RawExtension
2015-05-01 16:48:26 -04:00
Brian Grant
0a9a10e997
Merge pull request #7535 from smarterclayton/bad_capitalization
...
Capitalization of KubeProxyVersion wrong in JSON
2015-04-30 12:36:02 -07:00
Piotr Szczesniak
11a2dc496f
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
...
Those are changes which touch users required by Termination Notice
Addresses #6804
2015-04-30 18:00:33 +02:00
Wojciech Tyczynski
3b84bae544
Auto-generated conversion not manually edited
2015-04-30 14:05:42 +02:00
Filip Grzadkowski
231284187e
Merge pull request #7431 from wojtek-t/conversion_chains
...
Prepare for chaining autogenerated conversion methods
2015-04-30 09:08:40 +02:00
Clayton Coleman
1042ab32a5
Capitalization of KubeProxyVersion wrong in JSON
2015-04-29 19:52:51 -04:00
Brian Grant
4071868581
Merge pull request #7482 from nikhiljindal/verifyDescription
...
Fixing hooks/description to catch API fields without description tags
2015-04-29 09:56:08 -07:00
Clayton Coleman
12ba4e2452
Do not automatically decode runtime.RawExtension
...
Make clients opt in to decoding objects that are stored
in the generic api.List object by invoking runtime.DecodeList()
with a set of schemes. Makes it easier to handle unknown
schema objects because decoding is in the control of the code.
Add runtime.Unstructured, which is a simple in memory
representation of an external object.
2015-04-29 12:53:07 -04:00
Wojciech Tyczynski
fc6fb0953a
Generate conversions
2015-04-29 16:32:56 +02:00
Paul Morie
8fa21ebd62
Merge pull request #7419 from liggitt/secrets_etcd
...
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-29 09:59:22 -04:00
nikhiljindal
7c99865c94
Fixing hooks/description to catch API fields without description tags
2015-04-28 18:32:15 -07:00
Brian Grant
a4316aa638
Merge pull request #7454 from nikhiljindal/v1
...
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 18:06:57 -07:00
Alex Robinson
3c0b799213
Merge pull request #7446 from liggitt/namespace_conversion
...
Fix typo in namespace conversion
2015-04-28 16:38:10 -07:00
nikhiljindal
c4d7e19c8c
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 16:06:03 -07:00
Jordan Liggitt
ac67fff1cf
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-28 15:00:20 -04:00
Jordan Liggitt
0dbc9c2688
Fix typo in namespace conversion
2015-04-28 12:45:13 -04:00
Paul Morie
2ecb883ff4
Fix omitempty attributes on downward api
2015-04-27 20:48:28 -04:00
Paul Morie
8bf0b03c17
Fix downward API descriptions
2015-04-27 17:46:34 -04:00
Daniel Smith
83093af8b0
Merge pull request #5707 from endocode/kbeecher/etcd_prefix
...
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Tim Hockin
635c393a5a
Merge pull request #6105 from markturansky/yoko_pv_mgr
...
PersistentVolumeClaimBinder
2015-04-27 13:35:44 -07:00
markturansky
beacd8722a
addressed feedback. added opt-in cmd line flag
2015-04-27 15:00:01 -04:00
Paul Morie
7d30f09ebf
Add downward API for environment vars
2015-04-27 14:13:11 -04:00
Daniel Smith
e0e83fa8fe
Merge pull request #7354 from wojtek-t/conversion_improvements
...
Improvements to generator of conversion methods.
2015-04-27 10:27:51 -07:00
markturansky
2fe8ed5358
fixed prefix name in validation
2015-04-27 12:05:12 -04:00
markturansky
a04420e548
Added pending phase for volumes. added defaults for PV/PVC. refactored to better phase transitioning in control loops
2015-04-27 12:05:12 -04:00
markturansky
37d7f3f4f1
Added integration test, fixed a validation issue
2015-04-27 12:05:12 -04:00
markturansky
2cf4e6564b
Added more to README, tweaked pod, added service, fixed validation
2015-04-27 12:05:12 -04:00
Maciej Szulik
cd183bbb72
Fixed validation message when trying to submit incorrect secret
2015-04-27 15:18:32 +02:00
Wojciech Tyczynski
922555f048
Improvements to generator of conversion methods.
2015-04-27 13:33:38 +02:00
Brian Grant
60d7bad147
Merge pull request #7128 from nikhiljindal/fixbeta1tests
...
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Fabio Yeon
0c54673626
Merge pull request #7180 from ddysher/validate-no-dup-ip
...
Validate Node IPs; clean up validation code
2015-04-24 09:36:27 -07:00
Clayton Coleman
ed00dae7c8
Merge pull request #7107 from wojtek-t/conversion_generator
...
Code to automatically generate conversion methods
2015-04-24 08:39:11 -04:00
Karl Beecher
a7623ca6cc
Adds ability to define a prefix for etcd paths
...
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.
Refs: #3476
2015-04-24 12:12:39 +02:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
Wojciech Tyczynski
7f919a44c2
Generate conversions for v1beta3 package.
2015-04-24 09:18:12 +02:00
Deyuan Deng
c73ce1db34
Validate Node IPs; clean up validation code
2015-04-23 21:08:18 -04:00
Tim Hockin
12e4e8f304
Make docs links go through docs.k8s.io
2015-04-23 16:36:27 -07:00
Wojciech Tyczynski
c4a27f5c0f
Generating conversion methods.
2015-04-23 18:26:24 +02:00
Deyuan Deng
401442b024
Fix condition tags
2015-04-22 16:33:22 -04:00
Clayton Coleman
e6e034af4f
Rename PodTemplate.Spec to PodTemplate.Template
2015-04-22 12:54:27 -04:00
Clayton Coleman
10c2ace6bf
Pod Templates
2015-04-22 12:54:25 -04:00
Brian Grant
fc50201f89
Merge pull request #7059 from derekwaynecarr/fixup
...
Improve container resource requirements validation
2015-04-22 07:13:34 -07:00
Clayton Coleman
250a9889f7
Merge pull request #7093 from derekwaynecarr/ref_update
...
Fixup event object reference generation to allow downstream objects
2015-04-21 17:55:02 -04:00
Tim Hockin
fa648c17cb
Merge pull request #7131 from rjnagal/node
...
Convert error strings to proper validation errors.
2015-04-21 14:15:32 -07:00
Rohit Jnagal
bfb4b7280d
Convert error strings to validation errors.
2015-04-21 20:35:46 +00:00
Brian Grant
7977949767
Merge pull request #6593 from derekwaynecarr/object_counts
...
ResourceQuota add object count support for secret and volume claims
2015-04-21 13:16:00 -07:00
derekwaynecarr
3445bd5806
Fixup event object reference generation to allow downstream objects to have an event
2015-04-21 15:31:38 -04:00
Yu-Ju Hong
df2cbd4877
Prioritize deleting the non-running pods when reducing replicas
...
This changes instructs the replication controller to delete replicas in the
order of "unscheduled (pending)", "scheduled (pending)", and "scheduled
(running)" pods. This is less disruptive than deleting random pods.
2015-04-21 10:17:29 -07:00
derekwaynecarr
06eb45fb75
ResourceQuota add object count support for secret and volume claims
2015-04-21 09:49:40 -04:00
Brian Grant
9dcf3e0a33
Merge pull request #7082 from fabioy/api-cs.fix
...
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
Fabio Yeon
81ef0198f4
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 17:28:13 -07:00
Tim Hockin
c320931d6a
Easier fuzzing for volumes
2015-04-20 16:29:52 -07:00
derekwaynecarr
5036289b5e
Improve container resource requirements validation
2015-04-20 15:08:18 -04:00
Clayton Coleman
545a5a865f
List output with differing types should be more resilient
...
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.
Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Fabio Yeon
c6ef2ddf8a
Fix "validate-cluster.sh" to use "kubectl get componentstatus".
2015-04-17 11:59:53 -07:00
Fabio Yeon
951a125751
Add "componentstatus" to API for easier cluster health check.
2015-04-17 11:58:23 -07:00
Clayton Coleman
3bc42f1635
Merge pull request #6573 from kargakis/setup-resource-aliases
...
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis
9d056c6bd8
Support setting up aliases for groups of resources
...
Closes #5278
2015-04-17 16:31:59 +02:00
Clayton Coleman
b3f03b934d
Merge pull request #6869 from csrwng/pod_connect
...
Pod proxy, portforward and exec subresources
2015-04-17 09:49:12 -04:00
Daniel Smith
636d0682d7
Merge pull request #6830 from derekwaynecarr/improve_error_msg
...
Improve error message when name is omitted but generateName is available
2015-04-16 17:21:43 -07:00
Brian Grant
a927c239fe
Merge pull request #6881 from nikhiljindal/errHandle
...
Registering a serviceErrorHandler with go-restful to always return JSON responses
2015-04-16 16:44:17 -07:00
nikhiljindal
f9132dc572
Registering serviceErrorHandler with go-restful
2015-04-16 14:59:44 -07:00
Tim Hockin
c2bacd588d
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
derekwaynecarr
81dcd8c836
Improve error message when name is omitted but generateName is available
2015-04-16 13:06:19 -04:00
Cesar Wong
4da14e9357
Add PodExecOptions and PodProxyOptions versioned resources
...
PodExecOptions represents the URL parameters used to invoke an
exec request on a pod. PodProxyOptions contains the path parameter
passed to a proxy request.
2015-04-16 10:20:17 -04:00
Cesar Wong
49abf9133e
Add Connecter storage interface to API server
...
Connecter is a type of resource that connects a request
coming from the client to an internal request within the cluster.
It will be used for exposing a pod's proxy, exec, and portforward
endpoints.
2015-04-16 10:20:17 -04:00
Daniel Smith
835a87aed2
Merge pull request #6857 from wojtek-t/fix_scheduler_nodes
...
Fix listing nodes in scheduler
2015-04-15 17:05:04 -07:00
Eric Tune
3565a0861c
Merge pull request #6864 from liggitt/generic_405_error
...
Add a more descriptive message for 405 errors
2015-04-15 10:59:17 -07:00
Quinton Hoole
7d9adad916
Merge pull request #6724 from nikhiljindal/beta1
...
Updating test/integration to use testapi.Version everywhere
2015-04-15 10:58:25 -07:00
Brian Grant
775787bb4c
Merge pull request #6849 from nikhiljindal/validation
...
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-15 10:25:54 -07:00
Jordan Liggitt
dde8c7156b
Add a more descriptive message for 405 errors
2015-04-15 11:28:12 -04:00
Wojciech Tyczynski
afb94c43b1
Fix listing nodes in scheduler
2015-04-15 14:26:25 +02:00
nikhiljindal
8874ef9c06
Updating test/integration to use testapi.Version everywhere
2015-04-15 00:00:17 -07:00
nikhiljindal
40842e4471
Updating api/validation/schema_test to test testapi.Version rather than just v1beta1
2015-04-14 23:51:49 -07:00
Quinton Hoole
cd6daae014
Merge pull request #6271 from a-robinson/asynclb
...
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
markturansky
d904e747e3
PVClaim volume plugin
2015-04-14 16:21:29 -04:00
Alex Robinson
9a351e3670
Move validation of load balancers only supporting TCP ports to validation.go.
2015-04-14 18:56:51 +00:00
markturansky
f599aecc6a
Fix spelling typo in comments
2015-04-14 12:46:29 -04:00
Nikhil Jindal
60f0c28fd4
Merge pull request #6725 from smarterclayton/support_subpath_on_getter_with_options
...
Allow subpath on GET for GetterWithOptions
2015-04-13 11:27:41 -07:00
Clayton Coleman
0225d76b6a
Support subpath on GET for GetterWithOptions
...
Allows REST consumers to build paths like:
/api/v1beta3/namespaces/foo/webhookresource/<name>/<encodedsecretinurl>
Also fixes parameter exposure for subresources (was only fixed for
v1beta3).
2015-04-11 11:20:13 -04:00
Dawn Chen
c19437395b
Merge pull request #6702 from ddysher/remove-nodeinfo
...
Remove nodeinfo endpoint from kubelet
2015-04-10 14:54:16 -07:00
Tim Hockin
4a7b0eecbb
Merge pull request #5138 from justinsb/cloud_pd
...
AWS EBS volume support
2015-04-10 13:47:03 -07:00
Daniel Smith
1a2e4f8e1d
Merge pull request #6616 from brendandburns/default
...
Default replica controller selector and labels using pod template.
2015-04-10 13:33:43 -07:00
Justin Santa Barbara
933cf60af7
Style: volumeId -> volumeID
2015-04-10 13:25:44 -07:00
Justin Santa Barbara
7e758fe441
Grammar fix: s/a AWS/an AWS/g
2015-04-10 13:25:43 -07:00
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
Justin Santa Barbara
95b68ae0b0
Rename pdName -> volumeId for AWS persistent volumes
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
edf0292d4a
Add initial support for Volumes to AWS
2015-04-10 13:25:42 -07:00
Deyuan Deng
868e05ce96
Remove nodeinfo endpoint from kubelet
2015-04-10 15:47:32 -04:00
derekwaynecarr
8364055f0f
Improve validation and fix not throwing an error during ns delete
2015-04-10 11:41:28 -04:00
Brendan Burns
fded23a777
Default replica controller nodeSelector using pod template.
...
Add default labels from pod if not present.
2015-04-09 20:50:37 -07:00
Tim Hockin
4661cedf4a
Merge pull request #5709 from gmarek/client5
...
Add validation for Endpoint
2015-04-09 15:13:45 -07:00
Paul Morie
cfb15e22d8
Fix serialization for v1beta[12] container Command
2015-04-09 15:17:00 -04:00
Daniel Smith
c72dc15e8e
Merge pull request #6614 from brendandburns/validate
...
Add Validate in addition to ValidateUpdate to validation for most resources.
2015-04-09 10:24:57 -07:00
Brendan Burns
5d4f1cf8da
Add Validate in addition to ValidateUpdate to validation for most resources.
2015-04-08 20:15:49 -07:00
nikhiljindal
08d9e244f7
Removing some references to v1beta1 from test code
2015-04-08 17:28:06 -07:00
gmarek
c20efb6bae
Add validation for Endpoints
2015-04-08 20:12:07 +02:00
Piotr Szczesniak
007e6d9ff9
Removed TODO comment from ContainerStatuses in PodInfo
...
Fixes #6551
2015-04-08 14:39:41 +02:00
gmarek
72182735b9
Remove Node Controllers ability to pull status from Kubelet
2015-04-08 09:44:42 +02:00
Vishnu Kannan
f4f08c3378
Fix duplicate fuzz config.
2015-04-07 23:29:24 +00:00
Vish Kannan
c1ef9be261
Merge pull request #6174 from rootfs/wip-gluster
...
implement glusterfs volume plugin
2015-04-07 09:21:33 -07:00
Brian Grant
530fe89726
Merge pull request #6411 from gmarek/schedulable
...
Remove Schedulable Condition. Only Unschedulable bit from Spec will be used.
2015-04-07 08:38:30 -07:00
gmarek
ef56dca6b6
Remove ConditionSchedulable
2015-04-07 17:01:07 +02:00
Huamin Chen
a278ceeb0a
implement glusterfs volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
Cesar Wong
efc7f86baf
Add GetterWithOptions and allow stream flushing
...
In addition to Getter interface, API Installer now supports a
GetterWithOptions interface that takes an additional options object when
getting a resource. A flag is now returned from rest.ResourceStreamer
that indicates whether the streamed response should be
flushed when written back to the client. This is to support log
streaming.
2015-04-07 07:46:30 -04:00
Cesar Wong
6dba6aa178
Add PodLogOptions versioned resource
...
PodLogOptions will capture options passed in to retrieve a pod's log.
2015-04-07 07:46:30 -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
markturansky
a5ebacb043
changed claimed validation from length check to specific storage check
2015-04-06 08:46:44 -04:00
markturansky
c4a53a23bd
Added validation to prevent mutating Claim.Spec after binding
2015-04-06 08:46:44 -04:00
markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
Yu-Ju Hong
dbd7b186a0
Merge pull request #6338 from smarterclayton/improve_config_error
...
Return a typed error for config validation, and make errors simple
2015-04-03 18:08:15 -07:00
Brian Grant
b0b6418ca3
Merge pull request #6377 from nikhiljindal/kubevtl
...
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Brian Grant
0d95883593
Merge pull request #6027 from ghodss/kube-patch
...
Implement Strategic Merge Patch in apiserver
2015-04-03 15:08:51 -07:00
Daniel Smith
34b399ca02
Fix incorrect reference to name in v1beta3 API.
2015-04-03 14:10:47 -07:00
Sam Ghods
2c977db1b3
Implement Strategic Merge Patch in apiserver
2015-04-03 11:51:02 -07:00
Prashanth Balasubramanian
5903f6ff39
Register field conversion function under the right type name
2015-04-02 18:37:28 -07:00
Prashanth B
620af16892
Merge pull request #6097 from derekwaynecarr/limit_range_default_value
...
Limit range supporting a default resource limits value
2015-04-02 16:04:09 -07:00
Brian Grant
414be101b6
Merge pull request #6352 from piosz/api
...
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Wojciech Tyczynski
6b08958264
Kubelet watching only its own Node
2015-04-02 18:39:59 +02:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00
Clayton Coleman
323a44e54a
Make kubectl errors even more user-friendly
...
Omit glog prefix when v < 2, show multiline errors for configuration
problems, add new generic messages for server errors that hide some
complexity that is not relevant for users.
2015-04-02 01:40:15 -04:00
Clayton Coleman
1233843a1d
Add a new generic error that can indicate a server response was underspecified
...
Allows clients to distinguish between a server that returns us an error we
recognize, and errors that are generic HTTP (due to an intervening proxy)
2015-04-02 01:39:57 -04:00
Brian Grant
0e67b299d5
Merge pull request #6325 from rjnagal/node
...
Remove validation for Capacity. Add default for ExternalID
2015-04-01 18:25:32 -07:00
Rohit Jnagal
e0ff139279
Remove validation for Capacity as it got moved from Spec to Status.
...
Also fix breakage from ExternalID validation: Default ExternalID to node name when not specified.
2015-04-02 00:51:52 +00:00
Victor Marmol
8cd8a8f098
Merge pull request #6310 from dchen1107/clean
...
Small cleanup on api/types.go
2015-04-01 17:37:00 -07:00
Clayton Coleman
dec3209229
Merge pull request #6246 from derekwaynecarr/finalize_fix
...
Fix Namespace Termination
2015-04-01 17:34:56 -04:00
Dawn Chen
96b0f0a170
Small cleanup on api/types.go
2015-04-01 14:04:17 -07:00
derekwaynecarr
c2b670513c
Introduce concept of a default limit
2015-04-01 16:31:25 -04:00
Deyuan Deng
6bb9701489
Remove Reachable Condition
2015-04-01 13:56:43 -04:00
derekwaynecarr
b745f51c65
Client must specifiy a resource version on finalize
2015-04-01 11:16:45 -04:00
Victor Marmol
2de37624e8
Merge pull request #6252 from krousey/string_format_cleanup
...
Fixing a lot of string formatting issues
2015-03-31 16:57:36 -07:00
Kris Rousey
6904c4d585
Fixing a lot of string formatting issues with regards to:
...
* Improper format specifier (e.g. %s for bools or %s for ints)
* More or less parameters than format specifiers
* Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00
Victor Marmol
a78a009877
Merge pull request #6249 from TamerTas/typo
...
Fix typo in Secrets
2015-03-31 15:14:55 -07:00
Tamer Tas
6c10cf7b98
Fix typo in Secrets
2015-04-01 00:56:20 +03:00
Tim Hockin
70b9e56952
Fix a back-compat bug in multi-port services
...
Yu-Ju changed something just before this went in that exposed this bug.
we did not re-run Travis on my PR. Bad us.
2015-03-31 14:29:22 -07:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Tim Hockin
0a8e2e0b1b
Merge pull request #6235 from yujuhong/defaults_tests
...
defaults_tests: verify defaults when converting to an API object
2015-03-31 12:13:23 -07:00
Yu-Ju Hong
7b0e45a5f5
defaults_tests: verify defaults when converting to an API object
...
This change verifies that defaults are applied after decoding an versioned
object into an API object.
2015-03-31 11:56:34 -07:00
Tim Hockin
e19f4939b1
fix tests broken by stronger validation
2015-03-31 11:13:44 -07:00
Paul Morie
7628b37d78
Add control over container entrypoint
2015-03-31 12:32:03 -04:00
Tim Hockin
b420871a11
fixes from testing
2015-03-31 09:30:56 -07: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
Clayton Coleman
1dc895ee49
Merge pull request #6163 from ncdc/add-ctx-to-rest-prepare
...
Pass ctx to Validate, ValidateUpdate
2015-03-30 18:13:30 -04:00
Andy Goldstein
d7c5f427cb
Pass ctx to Validate, ValidateUpdate
...
Pass ctx to Validate/ValidateUpdate. This is useful so strategies can
access data such as the current user.
2015-03-30 17:33:08 -04:00
Eric Tune
8bf104503c
Fix nil pointer when validating in kubectl.
2015-03-27 15:49:51 -07:00
Brian Grant
f0da47b2dd
Merge pull request #5763 from smarterclayton/get_input_parameters_versioned
...
Expose versioned query parameters and make watch an operation on List
2015-03-27 14:35:23 -07:00
Brian Grant
c9ad322ba9
Merge pull request #5831 from smarterclayton/add_more_errors
...
Add more specific error handling and handle generic errors more effectively
2015-03-27 14:17:11 -07:00
Brian Grant
a765236653
Merge pull request #5939 from thockin/plural_endpoints_31_endpt_subsets
...
Implement multi-port endpoints
2015-03-27 14:15:15 -07:00
Clayton Coleman
aa44d29d10
Updated documentation and adjusted field names
2015-03-27 17:08:59 -04:00
Tim Hockin
8ae203825b
Implement multi-port endpoints
...
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}. To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets. This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).
This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.
This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.
This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Clayton Coleman
eb0eff69fe
Move watch to being a resthandler resource and expose it on LIST
...
GET /pods?watch=true&resourceVersion=10
will now function equivalent to GET /watch/pods.
2015-03-27 15:03:58 -04:00
Clayton Coleman
1618c39a46
Convert List query parameters via object conversion
...
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
Dawn Chen
87db1c9007
Rename DockerVerstion to ContainerRuntimeVersion for rocket support
2015-03-27 11:04:48 -07:00
Dawn Chen
086bb1ac09
Add node components version to API
2015-03-27 11:04:47 -07:00
Brian Grant
a4bf91c8c0
Merge pull request #5690 from satnam6502/failputnover
...
Give better error message for PUTs with no resource version
2015-03-27 07:12:56 -07:00
Piotr Szczesniak
768c733bed
Merge pull request #5971 from bprashanth/rc_watch_fields
...
Add the ability to watch fields of a replication controller
2015-03-27 10:19:41 +01:00
Vish Kannan
f2c7dda6da
Merge pull request #6026 from dchen1107/clean
...
kubectl describe nodes id reports related events
2015-03-26 17:39:21 -07:00
Dawn Chen
f662d7d11c
Kubelet reports node related events with empty namespace for now.
2015-03-26 16:30:23 -07:00
Clayton Coleman
30358e8b04
Add more specific error handling and handle generic errors more effectively
...
The client library should type more generic errors from the server.
2015-03-26 17:30:13 -04:00
Tim Hockin
0f36c68244
Add REST PrepareForUpdate() hook
...
As per discussion with @snmarterclayton. I implemented this for most
types in the "obvious" way. I am not sure how to implement
this for a couple types, though.
2015-03-26 13:48:41 -07:00
Tim Hockin
b2687c1a84
rename ResetBeforeCreate to PrepareForCreate
2015-03-26 13:48:34 -07:00
Brian Grant
3b0db99692
Merge pull request #5915 from piosz/api
...
Changed PodInfo to be a list
2015-03-26 12:46:50 -07:00
Piotr Szczesniak
78871ca508
changed json names
2015-03-26 20:11:48 +01:00
Prashanth Balasubramanian
b0068d05f8
Add the ability to watch fields of an rc
2015-03-26 11:01:56 -07:00
Dawn Chen
8ac0cf39b1
Merge pull request #5989 from gmarek/capacity_to_status
...
Move Capacity from NodeSpec to NodeStatus
2015-03-26 10:11:23 -07:00
Tamer Tas
d5a66845b9
Minor typo
2015-03-26 16:46:51 +02:00
gmarek
5a11748018
Move Capacity from NodeSpec to NodeStatus
2015-03-26 15:28:48 +01:00
Piotr Szczesniak
31901ed9d0
Changed PodInfo to be a list
...
This change is to make API consistent with our convention.
Fixes #3622
2015-03-26 10:15:25 +01:00
Satnam Singh
cd05c8b9bc
Give better error message for PUTs with no resource version
2015-03-25 15:52:48 -07:00
Rohit Jnagal
49ff04765b
Add validation for node creation.
2015-03-25 21:55:03 +00:00
Federico Simoncelli
afbf401464
nodeinfo: add boot id system information
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-25 15:06:53 -04:00
Masahiro Sano
c49af0b7cb
port minion registry to generic etcd
2015-03-26 02:44:35 +09:00
Clayton Coleman
367284b63b
Merge pull request #5767 from kazegusuri/endpoints_storage
...
port endpoints to generic etcd
2015-03-25 11:32:01 -04:00
markturansky
f762b303ad
PersistentVolume & PersistentVolumeClaim API types
2015-03-25 10:09:25 -04:00
Wojciech Tyczynski
c8e89bc717
Merge pull request #5853 from fgrzadkowski/better_errors
...
Improve error message for invalid pod spec update
2015-03-25 14:31:13 +01:00
Masahiro Sano
410e11c305
port endpoints to generic etcd
2015-03-25 22:15:19 +09:00
Filip Grzadkowski
7085a0cb44
Merge pull request #5508 from fgrzadkowski/validate_ips
...
Validate Service.Spec.publicIPs to be a valid IP that is not a localhost
2015-03-25 12:11:29 +01:00
Derek Carr
cfb6f1199b
Merge pull request #5851 from smarterclayton/support_input_streams
...
Support input streams being returned by the APIserver
2015-03-24 22:41:24 -04:00
Brian Grant
d75291dbe7
Merge pull request #5838 from nikhiljindal/clientTests
...
Updating unit tests so that they pass with v1beta3 api
2015-03-24 17:30:50 -07:00
Abhi Shah
f1872d36cf
Merge pull request #5814 from vmarmol/net-host
...
Add HostNetworking container option to API.
2015-03-24 15:55:27 -07:00
David Oppenheimer
30c3583900
Merge pull request #5806 from ddysher/condition-rename
...
Rename ConditionFull->ConditionTrue, ConditionNone->ConditionFalse
2015-03-24 15:50:11 -07:00
Tim Hockin
e1a66ad015
Merge pull request #5398 from markturansky/volume_access_modes
...
Add GetAccessModes to volume plugin interface
2015-03-24 15:16:01 -07:00
Victor Marmol
2a0793c155
Add HostNetworking container option to API.
...
This allows a container to run within the same networking namespace as
the host. This will be locked down by default using a flag on the master
and nodes (similar to how privileged is handled today).
2015-03-24 14:40:28 -07:00
Deyuan Deng
ca68f4a9d1
Rename ConditionFull->ConditionTrue, ConditionNone->ConditionFalse
2015-03-24 17:28:59 -04:00
Clayton Coleman
319f5b280a
Not all Kinds should be registered to RESTMapper
2015-03-24 17:25:45 -04:00
Clayton Coleman
fc3609fb5b
Allow InputStreams to be returned by requests
...
Add additional metadata to restful services.
2015-03-24 17:25:45 -04:00
Tim Hockin
064b7dec42
Merge pull request #5807 from pmorie/secret_volume_ref
...
Change secret volume plugin reference to name
2015-03-24 14:18:35 -07:00
markturansky
5fa07f57b6
Removed PersistentVolumeSource and FindPersistentPluginBySpec func
2015-03-24 16:26:33 -04:00
markturansky
111f3d5120
Add GetAccessModes to volume plugin interface
2015-03-24 16:02:39 -04:00
nikhiljindal
7e3b7f9673
Updating unit tests so that they pass with v1beta3 api
2015-03-24 12:13:53 -07:00
Paul Morie
e40ba109a1
Change SecretVolumeSource to use a secret name instead of ObjRef
2015-03-24 13:58:41 -04:00
Clayton Coleman
aee9bdd69a
Merge pull request #5805 from liggitt/node_proxy
...
Improve ResourceLocation API, allow proxy to use authenticated transport
2015-03-24 13:01:54 -04:00
Clayton Coleman
97560c409f
Merge pull request #5554 from derekwaynecarr/namespace_controller
...
Namespace Controller to support Namespace Termination
2015-03-24 12:59:00 -04:00
Filip Grzadkowski
b74b203da2
Improve error message for invalid pod spec update
2015-03-24 17:11:16 +01:00
Clayton Coleman
0902ffd70e
Merge pull request #5746 from bprashanth/rc_genericetcd_interface
...
Migrate replication controllers to generic etcd
2015-03-24 11:45:59 -04:00
Jordan Liggitt
a75b501821
Improve ResourceLocation API, allow proxy to use authenticated transport
2015-03-24 11:11:34 -04:00
Saad Ali
2a88c77522
Merge pull request #5809 from dchen1107/podstatus
...
Introduced LastTerminateState to ContainerStatus
2015-03-24 07:42:24 -07:00
derekwaynecarr
29c491ef2e
Namespace.Spec.Finalizer support
2015-03-24 10:36:06 -04:00
Filip Grzadkowski
6bc1e2ef40
Add validation error explanation for long annotations.
2015-03-24 11:01:26 +01:00
Filip Grzadkowski
24eb1a08f3
Validate Service.Spec.publicIPs to be a valid IP that is not a localhost
2015-03-24 10:48:46 +01:00
Prashanth Balasubramanian
ef6601646d
Migrate replication controllers to generic etcd
2015-03-23 17:59:25 -07:00
Robert Bailey
5c40bd61e4
Merge pull request #5794 from thockin/gcepd_name
...
Rename the JSON for GCEPersistentDisk, fix examples
2015-03-23 17:12:32 -07:00
Dawn Chen
fdfec4db2d
Introduced LastTerminateState
2015-03-23 13:54:46 -07:00
Tim Hockin
7ce59d9bc7
Rename the JSON for GCEPersistentDisk in internal
...
I know the internal JSO tags are slated for death. Until then, make them
correct. Also fix some examples of v1b3 conversions that did not rename the
JSON field.
2015-03-23 13:54:00 -07:00
Clayton Coleman
d46087db50
Move REST* interfaces into pkg/api/rest
...
Dependency chain is now api -> api/rest -> apiserver. Makes the
interfaces much cleaner to read, and cleans up some inconsistenties
that crept in along the way.
2015-03-23 16:52:21 -04:00
Clayton Coleman
d19aac80ea
Merge pull request #5533 from smarterclayton/burn_yaml_with_fire
...
Burn YAML with fire (kind of)
2015-03-23 13:45:52 -04:00
Clayton Coleman
65425f690c
Move field errors to pkg/util/fielderrors
...
Allows pkg/api to take a reference to labels.Selector and fields.Selector
2015-03-22 17:43:34 -04:00
Dawn Chen
7a6490f572
Merge pull request #5729 from thockin/plural_endpoints_30_restart
...
Rename Service.ContainerPort to TargetPort in v1b3
2015-03-20 14:37:46 -07:00
Tim Hockin
4375376e9c
Rename Service.ContainerPort to TargetPort in v1b3
...
Fix all callers and examples. Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Abhishek Gupta
b0c23c1046
Headless Services: Adding option to specify None for PortalIP
2015-03-20 12:10:03 -07:00
Filip Grzadkowski
a48e9af28d
Add documentation explaining there must be at least one container in a Pod
2015-03-20 11:10:30 +01:00
Clayton Coleman
6918a4d32e
Replace automatic YAML decoding with opt-in YAML decoding
...
Base codecs no longer automically handle YAML. Instead, clients
must convert to JSON first via yaml.ToJSON and runtime.YAMLDecoder.
2015-03-20 00:03:56 -04:00
Clayton Coleman
428d2263e5
Graceful deletion of resources
...
This commit adds support to core resources to enable deferred deletion
of resources. Clients may optionally specify a time period after which
resources must be deleted via an object sent with their DELETE. That
object may define an optional grace period in seconds, or allow the
default "preferred" value for a resource to be used. Once the object
is marked as pending deletion, the deletionTimestamp field will be set
and an etcd TTL will be in place.
Clients should assume resources that have deletionTimestamp set will
be deleted at some point in the future. Other changes will come later
to enable graceful deletion on a per resource basis.
2015-03-19 15:33:32 -04:00
Tim Hockin
9bc2b0c2db
Merge pull request #4601 from calfonso/nfs_mount_plugin
...
NFSMount storage plugin for kubelet.
2015-03-19 11:19:12 -07:00
Dawn Chen
4910be6dcb
Remove PodIP from ContainerStatus
2015-03-19 10:42:01 -07:00
Chris Alfonso
1a45e37d17
NFSMount storage plugin for kubelet.
...
* If you want to test this out when an actual NFS export a good place
to start is by running the NFS server in a container:
docker run -d --name nfs --privileged cpuguy83/nfs-server /tmp
More detail can be found here:
https://github.com/cpuguy83/docker-nfs-server
2015-03-19 13:37:38 -04:00
Filip Grzadkowski
f89f91b7bd
Validate that there is at least one container in the pod
2015-03-19 12:31:53 +01:00
Victor Marmol
9586b39bb7
Merge pull request #5555 from fgrzadkowski/sync_pod_status
...
Periodically update pod status from kubelet.
2015-03-18 10:14:07 -07:00
Filip Grzadkowski
1a352b74ba
Periodically update pod status from kubelet.
2015-03-18 12:11:39 +01:00
gmarek
a3b137ce8e
Cleanup of validation.go
2015-03-18 08:59:35 +01:00
Jeff Lowdermilk
faab509a23
Merge pull request #5543 from you-n-g/master
...
add get available versions commmand
2015-03-17 17:34:33 -07:00
Victor Marmol
668e2dbcd8
Merge pull request #5502 from wojtek-t/completely_remove_bound_pods
...
Remove BoundPod type from source code
2015-03-17 08:09:50 -07:00
Young
97b647207e
add get available versions commmand
2015-03-17 13:51:18 +00:00
Filip Grzadkowski
18b728ff44
Revert "Periodically update pod status from kubelet."
2015-03-17 13:51:45 +01:00
Wojciech Tyczynski
e6d188fca8
Remove BoundPod structure
2015-03-17 10:27:41 +01:00
Victor Marmol
009737e69e
Merge pull request #5205 from fgrzadkowski/sync_pod_status
...
Periodically update pod status from kubelet.
2015-03-16 17:04:31 -07:00
Brian Grant
2f9a41b898
Merge pull request #5233 from brendandburns/labels
...
Make label and field selector query strings versionable.
2015-03-16 16:01:37 -07:00
Filip Grzadkowski
336525a27d
Periodically update pod status from kubelet.
2015-03-16 23:03:03 +01:00
Derek Carr
1291401c2e
Merge pull request #5516 from smarterclayton/add_ttl_to_helper
...
Add TTL support to etcd_helper in preparation for graceful delete
2015-03-16 17:14:35 -04:00
Victor Marmol
bdc1981eb5
Merge pull request #5433 from wojtek-t/remove_bound_pods
...
Remove BoundPods from Kubelet
2015-03-16 13:38:24 -07:00
Clayton Coleman
bddef32193
Prepare EtcdHelper to extract more data from Node
...
In order to support graceful deletion, the resource object will
need access to the TTL value in etcd. Also, in the future we
may want to get the creation index (distinct from modifiedindex)
and expose it to clients. Change EtcdResourceVersioner to be
more type specific (objects vs lists) and provide a default
implementation that relies on the internal API convention.
Also, rename etcd_tools.go to etcd_helper.go and split a few
things up.
2015-03-16 15:33:50 -04:00
Wojciech Tyczynski
5d95e9e671
Remove BoundPods from Kubelet
2015-03-16 19:17:21 +01:00
Jeff Lowdermilk
e37fd2a84d
Merge pull request #5477 from dchen1107/clean
...
Convert RestartPolicy to string for v1beta3.
2015-03-16 10:23:52 -07:00
derekwaynecarr
2d13dfaf13
Improvements to namespace registry to align with pod model
2015-03-16 10:16:28 -04:00
Dawn Chen
34e9c82c70
Convert RestartPolicy to string for v1beta3.
...
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Eric Tune
e214802e45
Merge pull request #5460 from derekwaynecarr/eliminate_resource_quota_usage
...
Eliminate resource quota usage
2015-03-13 16:10:26 -07:00
Dawn Chen
0cc2b62b4a
Merge pull request #5265 from ddysher/kubelet-post-status
...
kubelet post node status to master
2015-03-13 15:29:22 -07:00
Victor Marmol
efcde725cc
Merge pull request #5166 from thockin/tmpfs
...
Add tmpfs support as a flag on emptyDir
2015-03-13 14:48:52 -07:00
Daniel Smith
b02412f44e
Merge pull request #5443 from bprashanth/rc_validation
...
Add an rc strategy, start delta validating updates
2015-03-13 13:52:19 -07:00
derekwaynecarr
799e3fa9cc
Eliminate ResourceQuotaUsage in favor of ResourceQuota status
2015-03-13 16:52:09 -04:00
derekwaynecarr
df5744ad8f
ResourceQuota should have labels in v1beta1 and v1beta2
2015-03-13 16:52:08 -04:00
Tim Hockin
caca5e7358
Add tmpfs support to EmptyDir
...
# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate
#
# Your commit will be aborted unless you regenerate docs.
COMMIT_BLOCKED_ON_GENDOCS
2015-03-13 13:36:13 -07:00
Prashanth Balasubramanian
6193608e9b
Add an rc strategy, start delta validating updates
2015-03-13 13:09:03 -07:00
Brendan Burns
cf68593fc2
Merge pull request #5228 from justinsb/aws_lb_string
...
Change cloud provider CreateTCPLoadBalancer to return endpoint as string
2015-03-13 12:16:26 -07:00
Brian Grant
7d72b64f60
Merge pull request #5200 from nikhiljindal/eventConverter
...
Adding conversion functions for event field selectors
2015-03-12 16:31:57 -07:00
Brian Grant
98fedf6b2e
Merge pull request #5407 from nikhiljindal/newSwagger
...
Updating go-restful to the latest version
2015-03-12 16:26:16 -07:00
nikhiljindal
b2276b5d4b
Updating pkg/api/validation/ to consider swagger.items as object and not array
2015-03-12 16:04:11 -07:00
Nikhil Jindal
d9249a26e0
Merge pull request #5175 from thockin/plural_services_10
...
Make testing service validation easier
2015-03-12 15:48:37 -07:00
Ravi Sankar Penta
f6ecec5880
Allow admin user to explicitly unschedule the node
...
Setting Unschedulable on the node will not touch any existing pods
on the node but will block scheduling of new pods on the node.
2015-03-12 14:27:27 -07:00
nikhiljindal
790a8bbd23
Adding conversion functions for event field selectors
2015-03-12 14:10:51 -07:00
Brendan Burns
266234f3b9
Make label and field selector query strings versionable.
2015-03-12 12:24:07 -07:00
Wojciech Tyczynski
9f2f10d6db
Make scheduler to watch PodSpec.Host instead Status.Host
2015-03-12 13:38:58 +01:00
Yu-Ju Hong
0524d6479d
v1beta3: fields that cannot be updated are marked "cannot be udpated"
2015-03-11 10:10:08 -07:00
Deyuan Deng
9982aaa960
kubelet post node status to master
2015-03-10 23:17:36 -04:00
Federico Simoncelli
daed0af3b5
api: return endpoints target object references
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 18:32:53 -04:00
Brian Grant
827a92316c
Merge pull request #5251 from derekwaynecarr/namespace_lifecycle
...
Add a NamespacePhase to Namespace
2015-03-10 15:21:07 -07:00
Brian Grant
9aa744925e
Merge pull request #5030 from simon3z/nodeinfo
...
Add support for fetching node collected information
2015-03-10 14:05:41 -07:00
Paul Morie
a486ab078f
Fix selfLink issues in integration test
2015-03-10 14:40:16 -04:00
Brian Grant
a5ecfbfe42
Merge pull request #5185 from smarterclayton/ignore_creation_timestamp
...
Ignore changes to creation timestamp from clients on update
2015-03-10 11:21:13 -07:00
derekwaynecarr
7de138a9bb
Add a NamespacePhase to Namespace
2015-03-10 14:11:54 -04:00
Brian Grant
6062e14313
Merge pull request #5220 from nikhiljindal/camelCaseFieldSelectors
...
Changing v1beta3 field selectors to be camelCased
2015-03-10 09:35:03 -07:00
Federico Simoncelli
644d775bc1
kubelet: retport system info in node information
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 10:11:02 -04:00
Federico Simoncelli
1b18440f35
kubelet: add GetNodeInfo implementation
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 10:11:01 -04:00
Tomek Kulczynski
243a3ae315
Change field names from cidr to podCIDR in json
2015-03-10 12:48:34 +01:00
Justin Santa Barbara
5d36d3cdbe
Change cloud provider CreateTCPLoadBalancer to return endpoint as string
...
Some load balancers (particularly AWS ELB) define the public endpoint
as a hostname (instead of using IP addresses).
This is a partial fix for #5224 ; there will also be some proxy work.
2015-03-09 20:35:13 -07:00
nikhiljindal
916ca9cc68
Changing v1beta3 field selectors to be camelCased
2015-03-09 18:01:01 -07:00
Brian Grant
7b72d9539f
Merge pull request #5054 from smarterclayton/switch_to_sub_bindings
...
Make Pod binding a subresource (and be generic to other types)
2015-03-09 16:41:26 -07:00
Alex Mohr
37bfb0d7cf
Merge pull request #5159 from brendandburns/coverage
...
Expand test coverage in master.
2015-03-09 13:26:37 -07:00
Clayton Coleman
dfc19185f5
Add a subbindings resource as /pods/{name}/binding
...
Allows POST to create a binding as a child. Also refactors internal
and v1beta3 Binding to be more generic (so that other resources can
support Bindings).
2015-03-09 15:37:19 -04:00
Jeff Lowdermilk
d8bbda2558
Merge pull request #5016 from brendandburns/kubecfg
...
Differentiate between server error messages and client error messages in kubectl
2015-03-09 12:29:51 -07:00
Daniel Smith
2a7be5619a
Merge pull request #5116 from justinsb/skip_duplicate_node_address
...
Don't allow duplicate values in NodeAddresses
2015-03-09 11:59:54 -07:00
Clayton Coleman
42ff28c1a2
Merge pull request #5150 from vishh/issue_3628_1
...
Add json description to v1beta3 API.
2015-03-09 14:38:23 -04:00
Rohit Jnagal
8798b0ae14
Merge pull request #5158 from thockin/use_fuzz_no_custom
...
Use new gofuzz features
2015-03-09 10:13:46 -07:00
Clayton Coleman
d016f478e0
Ignore changes to creation timestamp from clients on update
...
CreationTimestamp is not an authoritative field (like UID) so mismatches
can be safely ignored.
2015-03-09 12:04:35 -04:00
Tim Hockin
0b888e8673
Make testing service validation easier
...
Part of multi-port services.
If people like this, we could start to apply this pattern elsewhere.
TL;DR: don't redefine objects over and over changing one thing each
time. Instead provide a func that mutates a base object to test facets
of validation. Much easier to read and to update.
2015-03-08 21:41:37 -07:00
Brendan Burns
7c654a3d1b
Expand test coverage in master, kubectl/cmd/util, pkg/registry/resourcequota, and api/rest.
2015-03-07 15:24:39 -08:00
Brendan Burns
f505a33998
Differentiate between server error messages and client error messages in kubectl
2015-03-07 11:39:23 +01:00
Tim Hockin
fd1e49ce2f
Use new gofuzz features
2015-03-07 00:04:14 -08:00
Vishnu Kannan
28aef4ba53
Add json description to v1beta3 API.
2015-03-06 23:53:35 +00:00
Brian Grant
a858c7423e
Merge pull request #5070 from vishh/issue_3628
...
Adding description to some of the v1beta3 objects.
2015-03-06 14:49:11 -08:00
Brian Grant
f557837d43
Merge pull request #5066 from vmarmol/man
...
Adding links to relevant docs from API types.
2015-03-06 14:46:43 -08:00
Vishnu Kannan
bd83093b0b
Adding description to some of the v1beta3 objects.
2015-03-06 21:50:50 +00:00
Daniel Smith
b0f49449e1
Merge pull request #4985 from thockin/gofuzz
...
Update gofuzz dep
2015-03-06 10:19:01 -08:00
Tim Hockin
ca265c5705
Merge pull request #4898 from gmarek/client2
...
Loosen label and annotation validation and related tests
2015-03-06 09:14:24 -08:00
Tim Hockin
f9e2df3a10
Define semantic equal for time
2015-03-06 08:21:39 -08:00
Tim Hockin
b3304c49ad
Use deep spew in serialization test & go obj diff
2015-03-06 08:21:10 -08:00
Brendan Burns
2700871b04
Merge pull request #5013 from smarterclayton/misc_fixup
...
Small cleanups to a number of client behaviors
2015-03-06 15:41:34 +01:00
Brendan Burns
de669b5435
Merge pull request #5058 from bprashanth/resourceVersion_doc
...
Clarify resourceVersion documentation
2015-03-06 15:41:12 +01:00
Brendan Burns
2263d86a7b
Merge pull request #5073 from yujuhong/immutable
...
v1beta1/v1beta2: fields that cannot be updated are marked immutable
2015-03-06 15:40:43 +01:00
gmarek
bb8a4f5ed3
apply comments
2015-03-06 08:23:22 +01:00
gmarek
726a5af075
Loosen label and annotation validation and related tests
2015-03-06 08:23:22 +01:00
Daniel Smith
3ef3777192
Make unexported fields panic (informatively)
...
...Also fix some incorrect calls to semantic.DeepEqual, and a bug where
it returned true incorrectly.
2015-03-05 21:40:37 -08:00
Prashanth Balasubramanian
1ed3f7ffcd
Clarify documentation around resourceVersion
2015-03-05 20:57:22 -08:00
Yu-Ju Hong
823ea36cb1
v1beta1/v1beta2: fields that cannot be updated are marked "cannot be udpated"
2015-03-05 18:05:13 -08:00
Justin Santa Barbara
bf031fb082
Don't allow duplicate values in NodeAddresses
2015-03-05 16:40:28 -08:00
Brian Grant
4624d116f3
Merge pull request #5061 from thockin/docs1
...
Better docs for Services and public IPs.
2015-03-05 11:52:38 -08:00
Brian Grant
9fcb48cab6
Merge pull request #4434 from ddysher/node-hostip
...
Node addresses
2015-03-05 10:33:15 -08:00
Tim Hockin
af37dc0e16
Better docs for Services and public IPs.
...
Fixes #2738
2015-03-04 22:13:57 -08:00
Tim Hockin
4cb46825f2
Fix VolumeSource inline in JSON
2015-03-04 15:53:32 -08:00
Victor Marmol
c422213f54
Adding links to relevant docs from API types.
...
Partially addresses #3606 .
2015-03-04 15:12:09 -08:00
Deyuan Deng
9b0af8df63
Node addresses
2015-03-04 16:47:31 -05:00
Brian Grant
ce908368a8
Merge pull request #5053 from yujuhong/readonly
...
v1beta1/v1beta2: consistent description for all read-only fields
2015-03-04 13:22:13 -08:00
Yu-Ju Hong
ea1c5a7ec1
v1beta1/v1beta2: consistent description for all read-only fields
...
Some fields are populated by system on creation. Such fields should have
consistent description indicating that this is read-only.
2015-03-04 13:08:19 -08:00
Brendan Burns
fb90b56bf6
Embed VolumeSource in v1beta3 and internal.
2015-03-04 02:25:40 -08:00
Clayton Coleman
bf4ab78ce9
Stop round trip testing in latest
2015-03-03 21:14:56 -05:00
Brian Grant
841b6f6970
Merge pull request #4936 from thockin/plural_24_default_dest_port
...
Change the v1b3 default for service ContainerPort
2015-03-03 11:01:01 -08:00
Brian Grant
fca9fd68c7
Merge pull request #4779 from smarterclayton/status_endpoints
...
Minimal status mutation change
2015-03-03 11:00:02 -08:00
Tim Hockin
5aadd6ecae
Change the v1b3 default for service ContainerPort
...
In v1b1 and v1b2 we choose the "first defined port" if you do not specify a
ContainerPort. I am proposing that v1b3 just assume the ContainerPort is the
same as the service port unless explicitly provided. This leaves named ports
for now, but that is under discussion on its own.
This is strictly compatible, though to implement this we have to leave the
internal objects with the looser behavior until v1b[12] die. This also adds a
link dependency so that when we DO kill v1b[12] the endpoints controller will
blow up, prompting a fix.
2015-03-03 09:40:18 -08:00
Daniel Smith
c4822dc060
Revert "Revert "Adding converter functions to convert field label selectors to internal version before matching""
...
This reverts commit 5f35a67002
.
2015-03-02 15:00:09 -08:00
Clayton Coleman
0ac49d77a0
TCPSocket could not be used as it was not checked in validation
...
Attempting to use it gave the error "must register one handler".
Added more tests for it.
2015-03-02 15:27:11 -05:00
Zach Loafman
4937008ae0
Revert "TCPSocket could not be used as it was not checked in validation"
2015-03-02 11:14:27 -08:00
Brendan Burns
c7cbc5c991
Merge pull request #4883 from smarterclayton/fix_tcpsocket_validation
...
TCPSocket could not be used as it was not checked in validation
2015-03-02 10:53:48 -08:00
Brendan Burns
fe973461f5
Merge pull request #4916 from thockin/plural_21_endpoints
...
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Brendan Burns
3168f165ab
Merge pull request #4927 from thockin/plural_22_endpoints
...
Add defaults for HTTGetAction.Path & test actions
2015-03-02 10:52:55 -08:00
Tim Hockin
532c39c336
Add defaults for HTTGetAction.Path & test actions
...
The comment says optional - this makes it optional. Test handler actions.
2015-03-01 21:23:18 -08:00
Clayton Coleman
3d290089ae
Minimal status mutation change
...
PUT /api/v1beta3/namespaces/default/pods/foo/status
{
"metadata": {...}, // allowed for valid values
"spec": {}, // ignored
"status": {...}, // allowed, except for Host
}
Exposes the simplest possibly change. Needs a slight refactoring
to RESTUpdateStrategy to split merging which can be done in a
follow up.
2015-03-01 22:35:17 -05:00
Clayton Coleman
d3a5a48d00
TCPSocket could not be used as it was not checked in validation
...
Attempting to use it gave the error "must register one handler".
Added more tests for it.
2015-03-01 22:31:57 -05:00
Zach Loafman
5f35a67002
Revert "Adding converter functions to convert field label selectors to internal version before matching"
2015-02-28 11:42:49 -08:00
Tim Hockin
ea548b8260
Rename type Port to ContainerPort
...
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-27 21:05:59 -08:00
nikhiljindal
48e7945f65
Versioning the field selectors
2015-02-27 16:10:59 -08:00
Federico Simoncelli
a450da4fd0
cloudprovider: add instance id to NodeSpec
...
Sometimes for external applications it is important to identify the
cloud instance of the nodes. Until this patch there was no contract
that the node name returned by List was also the unique identifier of
the cloud instance. This new API ensures that an external application
can reliably retrieve the relevant instance id of the nodes.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Mike Danese
5267127af1
api: rename conditionkind -> conditiontype
2015-02-23 22:13:21 -08:00
Daniel Smith
650f6cb826
Revert "Multi-port Endpoints"
2015-02-23 13:53:21 -08:00
Tim Hockin
eed36455a7
Merge pull request #4653 from thockin/secret_fixups
...
Secrets fixups
2015-02-23 13:49:19 -08:00
Daniel Smith
502f040129
Merge pull request #4712 from thockin/plural_30_endpoints
...
Multi-port Endpoints
2015-02-23 13:48:37 -08:00
Daniel Smith
dec46ad9cb
Merge pull request #4702 from smarterclayton/always_return_endpoints
...
Endpoints should not be omitempty for ease of client use
2015-02-23 13:47:46 -08:00
Tim Hockin
3e7248f0f4
comments on base64-ness of secrets
2015-02-23 12:40:06 -08:00
Tim Hockin
607b736a3f
Rename volume source types to be consistent.
2015-02-23 12:39:57 -08:00
Tim Hockin
8bdfc352ce
minor fixups as I review secrets
2015-02-23 12:39:47 -08:00
Tomek Kulczynski
09c955f94e
Add node's IP range cidr to NodeSpec
2015-02-23 19:47:50 +01:00
Clayton Coleman
7a3405fded
Endpoints should not be omitempty for ease of client use
2015-02-23 13:18:31 -05:00
Tim Hockin
160f288832
Implement multi-port Endpoints
...
This is a part of multi-port services.
2015-02-22 09:35:12 -08:00
Tim Hockin
e0fd83096c
Rename type Port to ContainerPort
...
Sadly I had to do this by hand - I just could not get gorename to fix up
users of it.
2015-02-21 22:26:38 -08:00
Brendan Burns
9829128a75
Merge pull request #4580 from thockin/plural_20_endpoints
...
Part 2 of plural ports: make endpoints a struct
2015-02-20 15:42:19 -08:00
derekwaynecarr
3d6085e692
Add doc in types
2015-02-20 16:48:28 -05:00
Victor Marmol
51941b0974
Merge pull request #4668 from markturansky/no_list_get
...
Remove unused helper method from ResourceList
2015-02-20 09:54:05 -08:00
markturansky
1faa2fcea7
removed unused helper method from ResourceList
2015-02-20 11:29:30 -05:00
Andy Goldstein
5bd0e9ab05
Add streaming command execution & port forwarding
...
Add streaming command execution & port forwarding via HTTP connection
upgrades (currently using SPDY).
2015-02-20 09:57:02 -05:00
Tim Hockin
ae0062d001
Part 2 of plural ports: make endpoints a struct
...
Includes conversions for v1b[12] and tests and fixups for call sites.
2015-02-18 19:54:15 -08:00
Tim Hockin
34eaa0dbd6
Part 1 of plural ports: Add protocol to Endpoints
...
This makes it easier to make the second step, which is moving endpoints
to a struct instead of a string.
2015-02-18 18:58:04 -08:00
Brian Grant
1ba1c1c4a8
Merge pull request #4541 from yujuhong/lies
...
Remove obsolete comments in types.go
2015-02-18 17:05:56 -08:00
Yu-Ju Hong
be4ca11f38
Remove obsolete comments in types.go
2015-02-18 16:14:30 -08:00
Eric Tune
af67829eca
Merge pull request #4515 from pmorie/secrets_wip
...
Secret volume plugin iteration 1
2015-02-18 15:57:31 -08:00
Mike Danese
dd1548347d
add descriptions to PodCondition struct tags
2015-02-18 13:29:56 -08:00
Paul Morie
a42ff94c8f
Add secret volume plugin and e2e test
2015-02-18 16:27:44 -05:00
Paul Morie
fb001ada21
Secret API resource
2015-02-18 11:54:56 -05:00
Brian Grant
76edde3c23
Merge pull request #4451 from mikedanese/validate-probe
...
add validation for api.Probe
2015-02-17 09:56:52 -08:00
Brian Grant
d37977feb2
Merge pull request #4465 from smarterclayton/allow_validation_error_filtering
...
Allow ValidationErrorList to be filtered
2015-02-17 09:44:11 -08:00
Brian Grant
2fe026e5a9
Merge pull request #4466 from mikedanese/probe-defaults
...
move api.Probe timeout default to central defaults
2015-02-17 09:43:30 -08:00
Mike Danese
f7df9b9d37
add validation for api.Probe
2015-02-16 21:56:03 -08:00
Clayton Coleman
619f3a6804
Allow ValidationErrorList to be filtered
...
Expose basic filters on an error list to ignore certain error types.
This can be used by client code to ignore errors on common schema
types like "metadata.name" or the NotFound error type.
2015-02-16 17:45:54 -05:00
Clayton Coleman
72da3b4424
Move rest.Pods to pkg/registry/pod/rest.go
2015-02-16 10:09:28 -05:00
Mike Danese
4ba8ecd1fb
move api.Probe timeout default to central defaults
2015-02-15 23:44:55 -08:00
Clayton Coleman
c977a45864
Merge pull request #4419 from smarterclayton/expand_generic_resources
...
Expand the generic registry
2015-02-13 13:53:20 -05:00
Clayton Coleman
abe8adc2e2
Expose new REST strategy methods for Pods
2015-02-13 12:12:50 -05:00
Jordan Liggitt
083ce268e0
Put user in context, map requests to context above resthandler layer
2015-02-12 20:58:04 -05:00
Jordan Liggitt
ec66e5147e
Add user helper methods to context
2015-02-12 20:44:20 -05:00
Saad Ali
cdb93a7c46
Merge pull request #4387 from smarterclayton/rename_try_again_later
...
Rename TryAgainLater status code to ServerTimeout
2015-02-12 12:23:57 -08:00
Clayton Coleman
c24f4a24b4
Rename TryAgainLater status code to ServerTimeout
2015-02-12 15:01:12 -05:00
Alex Robinson
60ab9904d5
Merge pull request #4371 from a-robinson/port
...
Add extra explanation of the purpose of service's ContainerPort field to the API comments.
2015-02-12 11:45:45 -08:00
Alex Robinson
3301f19a8a
Add extra explanation of the purpose of service's ContainerPort field to
...
the API comments. We were asked about this in issue #4332 .
2015-02-12 19:37:58 +00:00
Saad Ali
42f04587d0
Merge pull request #4363 from yujuhong/defaulting_tests
...
Add defaulting tests for API v1beta2 and v1beta3
2015-02-12 07:56:23 -08:00
Yu-Ju Hong
4bce52a5f6
Add defaulting tests for API v1beta2 and v1beta3
...
This commit also add more tests in v1beta1/defaults_test.go
2015-02-11 16:08:52 -08:00
Clayton Coleman
79cb93002e
Remove asynchronous channel on RESTStorage interfaces
2015-02-11 16:26:07 -05:00
Clayton Coleman
d167c11b59
Remove layers of indirection between apiinstaller and resthandler
...
Make the RESTHandler feel more go-restful, set the stage for adding
new types of subresource collections.
2015-02-11 16:26:06 -05:00
Clayton Coleman
dce4cd8b1d
Merge pull request #3613 from derekwaynecarr/namespace_as_kind
...
Namespace as kind
2015-02-10 14:49:58 -05:00
derekwaynecarr
0bd0e12bbc
Add support for Namespace as Kind
...
Add example for using namespaces
2015-02-10 09:50:50 -05:00
derekwaynecarr
151be7773c
Rename api.Namespace to api.NamespaceValue to avoid name collision
2015-02-10 09:44:29 -05:00
Mike Danese
27dfebed98
api changes to support readiness.
2015-02-09 18:27:46 -08:00
Brian Grant
e27d534b87
Merge pull request #4262 from vishh/api_resources
...
Rename ResourceRequirementSpec to ResourceRequirements.
2015-02-09 17:26:05 -08:00
Vishnu Kannan
d0524d4778
Rename ResourceRequirementSpec to ResourceRequirements.
2015-02-09 23:19:38 +00:00
Deyuan Deng
55b9944cfe
Remove pods from failed node
2015-02-09 17:50:24 -05:00
Marek Grabowski
72a066a992
Add more information to Validator error messages.
2015-02-09 18:07:09 +01:00
Brendan Burns
31ce2a9411
Adjust replication controller validation to be more flexible about
...
read/write volumes.
Update docs to reflect reality as it is implemented.
2015-02-06 14:58:21 -08:00
Dawn Chen
05de54249f
Merge pull request #4191 from simon3z/master
...
api: add image's id to ContainerStatus
2015-02-06 09:35:44 -08:00
Federico Simoncelli
e01df69565
api: add image's id to ContainerStatus
...
Sometimes for external applications it is important to identify
exactly what images are running. Since tags can be moved to point
to newer builds this information can be used to identify old images
running.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-06 09:01:14 -05:00
saadali
79cbcf918e
Modify Event struct to allow compressing multiple recurring events in to a single event.
...
# *** ERROR: *** Some API files are missing the required field descriptions
# Add description tags to all non-inline fields in the following files:
# pkg/api/v1beta1/types.go
# pkg/api/v1beta2/types.go
#
# Your commit will be aborted unless you fix these.
# COMMIT_BLOCKED_ON_DESCRIPTION
2015-02-05 21:50:29 -08:00