k8s-merge-robot
140df5f809
Merge pull request #17220 from kargakis/kubectl-scale-deployments
...
Auto commit by PR queue bot
2015-11-30 04:19:58 -08:00
Fabiano Franz
afd56495a1
Pod log location must validate container if provided
2015-11-29 23:20:01 -02:00
mqliang
793cc14c68
remove unnecessary fmt.Printf()
2015-11-26 15:37:32 +08:00
deads2k
8679925847
update RESTMapping API to be properly typed
2015-11-25 14:02:37 -05:00
deads2k
5c4fb5bcbe
make RESTMapper.KindFor
2015-11-25 14:02:37 -05:00
deads2k
6231404682
update decoder to use GroupVersion
2015-11-25 12:14:06 -05:00
k8s-merge-robot
e95e3dec42
Merge pull request #17414 from timstclair/apiserver
...
Auto commit by PR queue bot
2015-11-25 05:28:07 -08:00
Michail Kargakis
99fc35880b
kubectl: Support scaling deployments
...
This commit adds support for using kubectl scale to scale deployments. Makes use of the
deployments/scale endpoint instead of updating deployment.spec.replicas directly.
2015-11-25 11:26:40 +01:00
k8s-merge-robot
431c67710b
Merge pull request #17247 from thockin/airplane_validation_pt3
...
Auto commit by PR queue bot
2015-11-24 18:37:09 -08:00
Wojciech Tyczynski
bf13bef955
Use unversioned.ListOptions in API server.
2015-11-24 14:42:21 +01:00
Tim St. Clair
20ead45af9
Move etcd_util.go to separate package
2015-11-23 11:32:50 -08:00
Tim Hockin
ceee678b29
Rename validation 'New' funcs
2015-11-23 10:01:43 -08:00
Jordan Liggitt
9da769f90d
Match service ports when proxying to services
2015-11-23 10:40:23 -05:00
Tim Hockin
48b49a5cae
s/ValidationErrorList/ErrorList/
2015-11-22 20:13:20 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
k8s-merge-robot
4dbf7c637c
Merge pull request #17163 from wojtek-t/extend_decoder
...
Auto commit by PR queue bot
2015-11-21 08:37:29 -08:00
Chao Xu
32f2ec71a8
Based on @tiran's patch: copy the request ContentLength and TransferEncoding field in proxy
...
@liggitt: Update proxy content-length tests; Copy content-length in generic rest proxy.
2015-11-20 09:57:47 -08:00
Wojciech Tyczynski
8594c20333
Merge pull request #16677 from DirectXMan12/feature/add-scale-validator
...
[WIP] Add Validators for Scale Objects
2015-11-20 12:03:45 +01:00
Timothy St. Clair
02851dd1b7
Removal of fakeClient and shift to storage.Interface for
...
all registry tests.
2015-11-19 10:34:30 -06:00
Solly Ross
e5ef9e1406
Add Validators for Scale Objects
...
This commit introduces a validator for use with Scale updates.
The validator checks that we have > 0 replica count, as well
as the normal ObjectMeta checks (some of which have to be
faked since they don't exist on the Scale object).
2015-11-18 13:53:56 -05:00
Wojciech Tyczynski
d7b098b0e9
Add DecodeParametersInto method to Codec.
2015-11-18 09:56:04 +01:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
k8s-merge-robot
89d7309c88
Merge pull request #16256 from mikedanese/daemon-gls
...
Auto commit by PR queue bot
2015-11-16 07:59:28 -08:00
k8s-merge-robot
961a02a602
Merge pull request #17204 from thockin/airplane-rest-canonicalize
...
Auto commit by PR queue bot
2015-11-13 18:17:18 -08:00
Mike Danese
7a7f31ead1
move daemonset to generalized label selector
2015-11-13 10:31:50 -08:00
Wojciech Tyczynski
a5a8717539
Pass versioner to cacher.
2015-11-13 08:35:28 +01:00
Tim Hockin
35ab5c6234
Add a REST hook for post-validation canonicalize
...
This is a simple hook that only Endpoints uses for now.
2015-11-12 21:13:16 -08:00
Wojciech Tyczynski
3df5d1dbc3
Move storage-related dirs under pkg/storage.
2015-11-12 19:49:32 +01:00
k8s-merge-robot
447fe209ab
Merge pull request #17007 from zhengguoyong/fun_order_consistent
...
Auto commit by PR queue bot
2015-11-10 07:11:16 -08:00
eulerzgy
501c2825cf
Make order of fun consistent
2015-11-10 17:43:54 +08:00
k8s-merge-robot
01fbe64a34
Merge pull request #16777 from zhengguoyong/add_log_warning2
...
Auto commit by PR queue bot
2015-11-09 06:37:39 -08:00
k8s-merge-robot
0abc12ce5a
Merge pull request #16876 from hongchaodeng/fix-16721
...
Auto commit by PR queue bot
2015-11-07 07:31:15 -08:00
k8s-merge-robot
6b7115067d
Merge pull request #16807 from smarterclayton/server_backpressure_on_etcd_down
...
Auto commit by PR queue bot
2015-11-05 21:19:30 -08:00
Hongchao Deng
056536ff83
component status: nil error should return empty string
...
If error is nil, it should return empty string instead of \"nil\".
JSON marshalling will omit empty error in such case.
2015-11-05 18:44:28 -08:00
k8s-merge-robot
5156b93a35
Merge pull request #16576 from hurf/mv_minions
...
Auto commit by PR queue bot
2015-11-05 17:15:17 -08:00
Timothy St. Clair
f6f2f41ab3
Removal of fakeClient from registry/generic/etcd/etcd_test.go in leiu of
...
NewEtcdTestClientServer
2015-11-05 08:28:58 -06:00
k8s-merge-robot
0089235bab
Merge pull request #16776 from feihujiang/moveSubresourcesOfPodToRestPackage
...
Auto commit by PR queue bot
2015-11-04 21:57:31 -08:00
Clayton Coleman
3da15535b6
Provide backpressure to clients when etcd goes down
...
When etcd is down today we don't specifically handle the error involved,
which means clients get a generic 500 error. This commit adds a formal
error type internally for both WatchExpired and EtcdUnreachable, and
then converts them to api/errors before returning to the client. It also
upgrades the client to retry on any 429 or 5xx error that has a
Retry-After header, instead of just 429.
In combination, this allows the apiserver to exert backpressure on
controllers that are hotlooping. Picked 2 seconds by default, but we
could potentially ramp that up even further in a future iteration.
2015-11-04 16:05:12 -05:00
k8s-merge-robot
2842d9476b
Merge pull request #16496 from wojtek-t/switch_cacher_for_other_resources
...
Auto commit by PR queue bot
2015-11-04 03:01:24 -08:00
eulerzgy
287b9e8978
Add warning log
2015-11-04 10:55:43 +08:00
feihujiang
c39faf19f3
Move rest handler of subresources of pod to rest package
2015-11-04 10:23:49 +08:00
Jordan Liggitt
b3157d1445
Ensure HPA has valid resource/name/subresource, validate path segments
2015-11-03 14:46:17 -05:00
Wojciech Tyczynski
030a272db5
Enable cacher for all resources.
2015-11-03 11:55:37 +01:00
k8s-merge-robot
b79379516f
Merge pull request #16584 from wojtek-t/refactor_use_cacher
...
Auto commit by PR queue bot
2015-11-03 01:10:13 -08:00
k8s-merge-robot
990c0184be
Merge pull request #16330 from mikedanese/deploy-ptr
...
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Wojciech Tyczynski
8f385c563f
Refactor code for creating Cacher.
2015-11-02 20:56:46 +01:00
feihujiang
3603b14977
Move service strategy to registry/service package
2015-11-02 19:56:03 +08:00
feihujiang
726def04d5
Make rootscoped resource no namespace selectable field
2015-10-31 10:52:21 +08:00
k8s-merge-robot
cc53619372
Merge pull request #15791 from abutcher/set-service
...
Auto commit by PR queue bot
2015-10-30 06:55:16 -07:00
hurf
3d7dd82bf6
Clean trace of "Minion"
...
Trivial change, remove "minion" in message.
2015-10-30 14:35:08 +08:00
Andrew Butcher
0c4aafaf1e
Update master service ports and type via controller.
2015-10-29 10:56:46 -04:00
Wojciech Tyczynski
9c53f301f1
Merge selectors with ListOptions.
2015-10-29 15:42:57 +01:00
k8s-merge-robot
d5be3635e5
Merge pull request #16273 from wojtek-t/list_options_in_api
...
Auto commit by PR queue bot
2015-10-29 01:57:29 -07:00
Deyuan Deng
638411d744
Wait apiserver in controller manager startup process
2015-10-29 00:15:33 +08:00
Mike Danese
b0a41108af
move deployment PodTemplate to be not a pointer
2015-10-28 00:13:40 -07:00
Wojciech Tyczynski
aa30e38183
Pass resource version to storage List operation.
2015-10-27 10:03:58 +01:00
Mike Danese
8acf01d620
add status subresource for deployment
2015-10-26 00:12:58 -07:00
Janet Kuo
54b743bc05
Change resource "ingress" to "ingresses" in URL path and kubectl
2015-10-25 16:54:25 -07:00
k8s-merge-robot
33dabe00a8
Merge pull request #15766 from feihujiang/supportNamespaceSelectorInAllNamespacesEndpoint
...
Auto commit by PR queue bot
2015-10-24 17:08:34 -07:00
feihujiang
501c76cebb
Support namespace selector in all namespaces endpoint
2015-10-23 14:14:38 +08:00
Saad Ali
76c5e0e553
Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config"
2015-10-22 21:25:38 -07:00
k8s-merge-robot
a6b8e112ac
Merge pull request #12919 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Saad Ali
a47a790356
Merge pull request #15900 from mikedanese/graceterm-1
...
don't gracefully delete terminated pods
2015-10-22 12:37:43 -07:00
Jordan Liggitt
63fb6c07a5
Validate names in BeforeCreate
2015-10-21 14:11:41 -04:00
k8s-merge-robot
a5a917603c
Merge pull request #15837 from feihujiang/removeUselessCodesAboutMinion
...
Auto commit by PR queue bot
2015-10-21 09:05:46 -07:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
k8s-merge-robot
b02b5b9f87
Merge pull request #15460 from feihujiang/refactoringRegistryPodDirectory
...
Auto commit by PR queue bot
2015-10-20 14:40:21 -07:00
Mike Danese
ac686d7536
don't gracefully delete terminated pods
2015-10-20 09:31:20 -07:00
Steve Milner
8da2d4002f
Fixes remaining imports per #15319
2015-10-20 07:13:13 -04:00
Deyuan Deng
151e4b7cb8
Search for port number for service locator
2015-10-19 21:22:59 +08:00
feihujiang
a456b4c424
Remove useless codes about Minion kind
2015-10-19 19:29:45 +08:00
Jerzy Szczepkowski
df732f061a
HorizontalPodAutoscaler API: removal of ResourceConsumption target, introduction of CPU request utilization & other cleanups.
2015-10-16 07:15:50 +02:00
Mike Danese
a7a54cac74
move job to generalized label selector
2015-10-15 07:42:58 -07:00
k8s-merge-robot
351cc2040e
Merge pull request #15491 from derekwaynecarr/ingress_status
...
Auto commit by PR queue bot
2015-10-15 06:04:38 -07:00
k8s-merge-robot
8c753c84eb
Merge pull request #15191 from caesarxuchao/validate-UID
...
Auto commit by PR queue bot
2015-10-15 04:20:24 -07:00
derekwaynecarr
eae56c3b2d
Add status subresource to Ingress
2015-10-14 14:36:29 -04:00
Maciej Szulik
98fa29adfd
Make PodTemplateSpec for Job not a pointer, since it's a required field
2015-10-14 11:37:11 +02:00
Chao Xu
be0754750f
add common fields validation before updaing a resource; make the repair of malformed update request flippable by a flag.
2015-10-13 16:28:32 -07:00
Clayton Coleman
d4cdabf2fc
Connect should be passed a Responder interface
...
For connect handlers that need to respond with a structured error or
structured object, pass an interface that hides the details of writing
an object to the response (error or runtime.Object).
Example use case:
Connect handler that accepts a body input stream, which it streams to a
pod, and then returns a structured object with info about the pod it
just created.
2015-10-13 15:05:14 -04:00
Dawn Chen
0901e5050d
Merge pull request #15371 from timothysc/etcd-contexts
...
New etcd client modifications part 1 (context support)
2015-10-12 16:04:13 -07:00
feihujiang
04aca8489f
Move LogREST into pod/rest package
2015-10-13 06:10:21 +08:00
Dawn Chen
2dd5b2b1d9
Merge pull request #14579 from derekwaynecarr/testing_rc_strategy
...
Add testing to ReplicationController strategy
2015-10-12 14:43:36 -07:00
Dawn Chen
782102d437
Merge pull request #15224 from liggitt/proxy_https
...
Allow specifying scheme when proxying
2015-10-12 14:39:21 -07:00
Dawn Chen
d6ee649cb8
Merge pull request #13722 from feihujiang/returnHttpErrorStatusWhenRetriveErrorStatus
...
APIServer should return error status
2015-10-12 11:42:53 -07:00
derekwaynecarr
3c012db30f
Add status subresource to HorizontalPodAutoscaler
2015-10-12 11:27:56 -04:00
Jordan Liggitt
1043126135
Refactor SSH tunneling, fix proxy transport TLS/Dial extraction
2015-10-12 11:17:01 -04:00
Jordan Liggitt
826459e51e
Allow specifying scheme when proxying
2015-10-12 11:16:53 -04:00
derekwaynecarr
22dd92f626
Add testing to ReplicationController strategy
2015-10-12 11:01:33 -04:00
Timothy St. Clair
2a2a2d79ff
New etcd client modifications part 1 (context support)
...
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
k8s-merge-robot
02ec1fb33c
Merge pull request #13885 from smarterclayton/websocket_exec
...
Auto commit by PR queue bot
2015-10-10 09:52:01 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
f3caff2a79
testapi.Experimental -> testapi.Extensions
2015-10-09 15:15:35 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
feihujiang
8781fc73c1
Server should return error status when retrive error status from other location
2015-10-10 05:26:15 +08:00
Clayton Coleman
363b616908
Expose exec and logs via WebSockets
...
Not all clients and systems can support SPDY protocols. This commit adds
support for two new websocket protocols, one to handle streaming of pod
logs from a pod, and the other to allow exec to be tunneled over
websocket.
Browser support for chunked encoding is still poor, and web consoles
that wish to show pod logs may need to make compromises to display the
output. The /pods/<name>/log endpoint now supports websocket upgrade to
the 'binary.k8s.io' subprotocol, which sends chunks of logs as binary to
the client. Messages are written as logs are streamed from the container
daemon, so flushing should be unaffected.
Browser support for raw communication over SDPY is not possible, and
some languages lack libraries for it and HTTP/2. The Kubelet supports
upgrade to WebSocket instead of SPDY, and will multiplex STDOUT/IN/ERR
over websockets by prepending each binary message with a single byte
representing the channel (0 for IN, 1 for OUT, and 2 for ERR). Because
framing on WebSockets suffers from head-of-line blocking, clients and
other server code should ensure that no particular stream blocks. An
alternative subprotocol 'base64.channel.k8s.io' base64 encodes the body
and uses '0'-'9' to represent the channel for ease of use in browsers.
2015-10-09 14:33:40 -04:00
Mike Danese
73f7242027
rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded
2015-10-08 10:41:22 -07:00
derekwaynecarr
544b453e31
Add replication controller status subresource
2015-10-07 14:39:33 -04:00
k8s-merge-robot
b0d748efb0
Merge pull request #14461 from JanetKuo/kubectl-api-group-cmd
...
Auto commit by PR queue bot
2015-10-07 07:29:10 -07:00
Janet Kuo
57388f9f94
Support kubectl group/resource name
2015-10-06 13:12:32 -07:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
k8s-merge-robot
1b653ce1b8
Merge pull request #14889 from liggitt/honor-skip-validate
...
Auto commit by PR queue bot
2015-10-02 14:29:55 -07:00
k8s-merge-robot
e330b1197e
Merge pull request #14459 from bprashanth/l7_ingress_resource_refactor
...
Auto commit by PR queue bot
2015-10-02 10:20:48 -07:00
Jordan Liggitt
36a721e8b7
Honor InsecureSkipVerify flag
2015-10-02 02:26:04 -04:00
Chao Xu
f4ff0f7683
fix thirdparty API, now the config file of thirdpartyresource also need to group/version instead of version
2015-10-01 12:30:51 -07:00
k8s-merge-robot
014ee7bb06
Merge pull request #14576 from derekwaynecarr/strategy_job_test
...
Auto commit by PR queue bot
2015-10-01 01:13:52 -07:00
Prashanth Balasubramanian
9779bf68ef
Validation
2015-09-29 18:51:24 -07:00
Prashanth Balasubramanian
16921f961a
Ingress registry
2015-09-29 18:51:24 -07:00
Brian Grant
e3abcf7198
Merge pull request #14535 from derekwaynecarr/daemon_sets_status
...
DaemonSets adds a Status subresource
2015-09-25 13:30:55 -07:00
Brian Grant
313918f561
Merge pull request #14148 from brendandburns/perf
...
Add a method for encoding directly to a io.Writer and use it for HTTP
2015-09-25 13:19:58 -07:00
derekwaynecarr
2cb408d21e
Add tests for job strategy
2015-09-25 15:10:43 -04:00
derekwaynecarr
aead9d3291
DaemonSets adds a Status subresource
2015-09-25 12:13:54 -04:00
Brendan Burns
8998219686
Add a method for encoding directly to a io.Writer and use it for HTTPx
2015-09-24 15:52:09 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
50f8f0c782
Merge pull request #14343 from erictune/job-update
...
Job update
2015-09-24 13:54:54 -07:00
Daniel Smith
50a98d8fc0
Fix bug with empty subsets
2015-09-24 10:48:19 -07:00
Eric Tune
95a44be2ef
Job status updates.
...
Added status REST storage.
Added validation for Status Updates.
Changed job controller to update status rather than just job
(which ignores status updates).
2015-09-22 11:39:35 -07:00
k8s-merge-robot
98231d1f68
Merge pull request #14171 from jszczepkowski/deployment-scale
...
Auto commit by PR queue bot
2015-09-22 01:37:41 -07:00
Chao Xu
f1de364a0e
Make latest.AllGroups public; fix thirdPartyResourceDataCreator.New
2015-09-21 22:32:24 -07:00
k8s-merge-robot
de597c8dc4
Merge pull request #13822 from brendandburns/schema-api-2
...
Auto commit by PR queue bot
2015-09-21 19:23:10 -07:00
Brendan Burns
fb9efac68c
Complete initial third party API support in the master
2015-09-21 15:56:36 -07:00
Clayton Coleman
c2e90cd154
Support extended pod logging options
...
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.
Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
k8s-merge-robot
c2f76e4ce7
Merge pull request #14106 from jszczepkowski/hpa-api
...
Auto commit by PR queue bot
2015-09-19 22:23:06 -07:00
Mike Danese
9d1838fb64
only allow updates of parrallelism in jobspec
2015-09-18 11:48:47 -07:00
Jerzy Szczepkowski
53dab136ed
Implemented Scale sub-resource for Deployment.
...
Implemented Scale sub-resource for Deployment.
2015-09-18 13:55:26 +02:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
feihujiang
51f59f3c78
Fix the wrong path of document
2015-09-17 20:38:08 +08:00
Jerzy Szczepkowski
7fcf7f1177
Cleanups in HorizontalPodAutoscaler API.
...
Cleanups in HorizontalPodAutoscaler API: renamed Min/MaxCount to Min/MaxReplicas as Replicas is the proper name used in other objects.
2015-09-17 14:16:43 +02:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
Jeff Lowdermilk
b2c74a7297
Merge pull request #13254 from soltysh/job_controller_kubectl
...
Job resource - kubectl part
2015-09-15 17:45:14 -07:00
Maciej Szulik
1b46bc010a
Job clients, printer and describer
2015-09-15 13:54:51 +02:00
Clayton Coleman
f63fe9c52e
List/Watch on field=metadata.name= across namespaces is broken
...
MatchSingle assumes that namespace is set. That is not correct.
2015-09-14 20:54:31 -04:00
k8s-merge-robot
647288cde1
Merge pull request #13734 from wojtek-t/filter_in_storage
...
Auto commit by PR queue bot
2015-09-14 17:25:40 -07:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
Maciej Szulik
e55c59e8c2
New Job resource
2015-09-11 21:36:20 +02:00
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
k8s-merge-robot
1313e3b14e
Merge pull request #13700 from mikedanese/daemon_set
...
Auto commit by PR queue bot
2015-09-10 10:15:45 -07:00
Mike Danese
bf881f187e
rename expapi.Daemon to expapi.DaemonSet
2015-09-10 08:34:26 -07:00
Wojciech Tyczynski
ed7d6ebd71
Filter List in Storage level to avoid additional copies.
2015-09-10 09:49:50 +02:00
Wojciech Tyczynski
cd1ac360de
Rename "minion" to "node" in few places.
2015-09-09 16:18:23 +02:00
k8s-merge-robot
0f4fa4ed25
Merge pull request #13704 from feihujiang/removeTheRedundantDefiniiteArticle
...
Auto commit by PR queue bot
2015-09-08 23:48:18 -07:00
k8s-merge-robot
0a7921e988
Merge pull request #13538 from brendandburns/thirdparty
...
Auto commit by PR queue bot
2015-09-08 23:17:56 -07:00
Brendan Burns
61f272c8cd
Update the third party data codec to automatically include everything
...
in api.ObjectMeta. Add more tests.
2015-09-08 21:13:06 -07:00
feihujiang
d4a3e30edd
Remove the redundant definite article
2015-09-09 11:40:36 +08:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
Wojciech Tyczynski
2b2d6b677d
Refactor registry tests to reduce dependency on go-etcd.
2015-09-04 09:52:54 +02:00
Wojciech Tyczynski
97b4a64e2c
Refactor registry etcd delete tests
2015-09-03 09:05:17 +02:00
Brendan Burns
395bbc4b1b
Fix the build.
2015-09-02 15:45:44 -07:00
Abhi Shah
1b0cf281e5
Merge pull request #13000 from brendandburns/schema-api-2
...
Add support for dynamic APIs
2015-09-02 13:53:28 -07:00
k8s-merge-robot
345340ba49
Merge pull request #13489 from nikhiljindal/defaultDeployment
...
Auto commit by PR queue bot
2015-09-02 07:59:42 -07:00
Wojciech Tyczynski
781de2f5e3
Merge pull request #13432 from wojtek-t/etcd_test_framework
...
Create registrytest support for etcd test to reduce amount of boilerplate in tests
2015-09-02 11:01:30 +02:00
nikhiljindal
30a58321e8
Adding defaults to Deployment
2015-09-01 23:48:34 -07:00
Wojciech Tyczynski
a4baf4c211
Add registrytest support for etcd tests.
2015-09-02 07:54:34 +02:00
nikhiljindal
d72d08e37e
Stop supporting name field in resourcequota field selector
2015-09-01 13:12:02 -07:00
Derek Carr
a7e47cada2
Merge pull request #12963 from smarterclayton/enable_graceful
...
Enable graceful deletion of pods (7/7)
2015-09-01 15:07:29 -04:00
Brendan Burns
6aa7ce2689
addressed comments.
2015-09-01 12:00:56 -07:00
Wojciech Tyczynski
6dfe5b4b5a
Refactoring of watch etcd tests.
2015-09-01 09:24:16 +02:00
Brendan Burns
d993b8891d
Addressed changes
2015-08-31 21:13:37 -07:00
Brendan Burns
855c7cedcc
Address comments.
2015-08-31 21:13:37 -07:00
Brendan Burns
b196d0f84b
Add support for installing custom object APIs
2015-08-31 21:13:36 -07:00
Brendan Burns
7bfc8b5f37
Add dynamic APIs
2015-08-31 21:13:07 -07:00
k8s-merge-robot
2f9652c7f1
Merge pull request #13349 from nikhiljindal/daemonEtcdTest
...
Auto commit by PR queue bot
2015-08-31 14:54:28 -07:00
nikhiljindal
13ecd8a72c
Adding deployment registry and exposing deployments in master
2015-08-31 10:47:04 -07:00
Clayton Coleman
f9590a33fd
Enable graceful deletion by enabling pods
2015-08-30 18:25:53 -04:00
nikhiljindal
48d6e30c5a
Use testapi.Codec in daemon etcd tests
2015-08-28 22:37:54 -07:00
Wojciech Tyczynski
836be0c432
Refactoring of update etcd tests.
2015-08-28 15:47:40 +02:00
k8s-merge-robot
282bf64dcd
Merge pull request #13181 from mikedanese/daemon_experimental
...
Auto commit by PR queue bot
2015-08-28 01:32:33 -07:00
nikhiljindal
25f2b85041
Deleting unused code
2015-08-27 19:52:47 -07:00
Mike Danese
8460e3913d
move daemon controller to the experimental api
2015-08-27 11:47:35 -07:00
Wojciech Tyczynski
1bd9ff3bc9
Renaming in pkg/registry to reflect reality
2015-08-25 16:25:59 +02:00
Wojciech Tyczynski
61de4fc34d
Refactoring of create etcd tests.
2015-08-24 15:11:00 +02:00
Brendan Burns
5d664892f2
Add a storage implementation for thirdpartyresources.
2015-08-21 17:21:40 -07:00
Jerzy Szczepkowski
46ca41c8e3
Merge pull request #12975 from wojtek-t/switch_cacher_for_pods
...
Switch on Cacher for pods, endpoints and nodes.
2015-08-21 10:28:38 +02:00
Wojciech Tyczynski
ec6556987e
Switch on Cacher for pods, endpoints and nodes.
2015-08-21 09:24:49 +02:00
k8s-merge-robot
44c76d5319
Merge pull request #12957 from smarterclayton/handle_terminating_pods
...
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Saad Ali
264a658afa
Merge pull request #12869 from vishh/daemon-registry-client
...
Daemon registry client
2015-08-20 17:24:11 -07:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
5931cc74cc
Unification refactoring to pkg/registry
2015-08-20 11:17:23 +02:00
Wojciech Tyczynski
d45e41a584
Small refactoring of registry pod tests.
2015-08-20 10:41:29 +02:00
Vishnu Kannan
ec22c2dd82
Address comments.
2015-08-19 14:13:02 -07:00
Wojciech Tyczynski
dcc302ab38
Refactoring of list etcd tests.
2015-08-19 13:56:23 +02: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
Ananya Kumar
4a148f99d6
Add client code
2015-08-18 12:58:50 -07:00
Ananya Kumar
b0679f18bc
Add registry code
2015-08-18 12:58:50 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Robert Bailey
4f856b595d
Merge pull request #9165 from smarterclayton/graceful
...
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Filip Grzadkowski
8d74f610f7
Merge pull request #12659 from mwielgus/horizontal_status
...
HorizontalPodAutoscaler status
2015-08-18 15:30:01 +02: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
Marcin Wielgus
cac7038b3b
HorizontalPodAutoscaler status
2015-08-18 11:46:54 +02:00
Wojciech Tyczynski
6cea2c8940
Prepare for refactoring registry etcd tests
2015-08-18 09:53:23 +02:00
Salvatore Dario Minonne
48018c402c
to fix govet issue
2015-08-13 17:26:43 +02: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
56fb29a83a
Merge pull request #12344 from jszczepkowski/hpa-api
...
Added HorizontalPodAutoscaler object to experimental API.
2015-08-13 10:33:31 +02:00
Piotr Szczesniak
7186b48d48
Merge pull request #12528 from wojtek-t/rewrite_events
...
Rewrite events registry to be generic
2015-08-12 12:02:13 +02:00
Wojciech Tyczynski
2ced08358f
Remove unused registry infrastructure
2015-08-12 11:23:10 +02:00
Wojciech Tyczynski
5de0f11b1d
Unify events registry to be generic.
2015-08-12 11:23:07 +02:00
Jerzy Szczepkowski
baa1612241
Added HorizontalPodAutoscaler object to experimental API.
...
Added HorizontalPodAutoscaler object to experimental API. Related to #12087 .
2015-08-12 11:03:21 +02:00
Salvatore Dario Minonne
6915e2de36
to fix go vet: composite literal uses unkeyed fields
2015-08-12 10:54:58 +02:00
Jerzy Szczepkowski
84af5594b3
Cleanup: "scaler" -> "scale".
...
Cosmetic cleanup: "scaler" replaced with "scale" (the proper name for sub-resource).
2015-08-12 09:14:05 +02:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
CJ Cullen
08334a3f32
Merge pull request #12460 from Huawei-PaaS/issue-build-error
...
Modify the TestCase TestServiceRegistryIPUpdate
2015-08-11 10:15:56 -07:00
Jian Huang
70ce862955
Fix the issue which TestServiceRegistryIPUpdate will randomly run failed.
2015-08-11 17:00:47 +00:00
Wojciech Tyczynski
5ea99310f1
Unify limitrange registry to be generic.
2015-08-11 09:06:44 +02:00
Alex Robinson
42e12f1c5f
Merge pull request #12340 from wojtek-t/rewrite_service_etcd
...
Refactor "service" registry to use standard REST storage (and generic etcd)
2015-08-10 15:38:50 -07: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
Wojciech Tyczynski
79125f460c
Services using standard REST storage
2015-08-10 13:27:44 +02:00
Wojciech Tyczynski
d11ab96446
Extract non-storage operations from service etcd
2015-08-10 13:27:44 +02:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Marcin Wielgus
91584c6b3b
Experimental Scale subresource
2015-08-07 12:00:42 +02:00
Wojciech Tyczynski
871ca7a05f
Merge pull request #12320 from mikedanese/rewrite-pr-issue-links
...
rewrite all links to issues and PRs to k8s links
2015-08-06 09:55:44 +02:00
Wojciech Tyczynski
20e84d2eb1
Remove unused members
2015-08-06 09:00:42 +02:00
Mike Danese
fe6b15ba2f
rewrite all links to issues to k8s links
2015-08-05 21:11:11 -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
Mike Danese
a23ee556ad
Merge pull request #11999 from brendandburns/attach2
...
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Brendan Burns
e8e756a719
Add pod/attach to the APIServer.
2015-07-30 10:55:53 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
99d6b0e9f4
Rename storage interfaces
2015-07-30 10:34:57 +02:00
Wojciech Tyczynski
d17985f1ad
Move StorageInterface to pkg/storage.
2015-07-30 09:32:04 +02:00
Mike Danese
85781b674d
Merge pull request #11968 from brendandburns/flow
...
Optionally limit flow on all upgraded proxy connections
2015-07-29 16:00:43 -07:00
Brendan Burns
99b02bfe73
Add optional throttling to the proxy/exec/attach methods
2015-07-29 13:51:20 -07:00
Wojciech Tyczynski
7ce51db40d
Rename StorageInterface methods
2015-07-29 08:02:13 +02:00
Wojciech Tyczynski
9d943df397
Private EtcdHelper
2015-07-27 09:20:13 +02:00
nikhiljindal
1517b66001
Updating an error to apierror
2015-07-15 16:43:59 -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
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
Jeff Lowdermilk
f0a36b0afd
Make UpgradeAwareProxyHandler use transport.Dial if provided
...
This change is required for the handler to work with sshtunnels.
Without it, `kubectl exec` and `kubectl port-forward` are broken
when an ssh proxy is used (see #9292 ). I manually verified this
fixes that issue, e2e test coming shortly.
2015-07-01 10:56:05 -07:00
Zach Loafman
df753b74ed
Merge pull request #10509 from nikhiljindal/getToPost
...
Support both GET and POST methods in api server for /exec and /portforward
2015-06-30 15:56:31 -07:00
nikhiljindal
4b7f7ce535
Dont return raw etcd errors
2015-06-29 16:18:46 -07:00
nikhiljindal
e0d48d4983
Support both GET and POST methods for /exec and /portforward
2015-06-29 16:01:01 -07:00
Alex Robinson
b758be0daf
Merge pull request #9047 from kazegusuri/allocator_test
...
add unit test for allocator
2015-06-29 14:11:48 -07:00
Alex Robinson
21f750fdc3
Merge pull request #10287 from wojtek-t/changes_to_registry
...
Remove some dead code
2015-06-29 11:02:41 -07:00
Robert Bailey
ed03973ae0
Merge pull request #10269 from nikhiljindal/eventsErrors
...
Returning api/errors from event/rest.go
2015-06-26 17:12:09 -07:00
nikhiljindal
7b56d89e80
Returning api/errors from event
2015-06-26 13:51:55 -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
Maxwell Forbes
11f9fd1dcd
Merge pull request #10074 from nikhiljindal/retryUpdate
...
Allow update without resource version
2015-06-24 10:55:41 -07:00
Wojciech Tyczynski
f6153445f1
Remove dead code
2015-06-24 15:14:33 +02:00
nikhiljindal
221ae4d63b
Allow update without resource version
2015-06-23 00:16:08 -07:00
nikhiljindal
4e02aef87d
Updating the error message to say node instead of minion
2015-06-22 12:52:14 -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
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
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
d96a9a1c0a
Merge pull request #9862 from fgrzadkowski/bump_ectd_client
...
Bump ectd client and fix initializing IP/Port allocators when etcd is not reachable
2015-06-19 14:22:47 -07:00
Filip Grzadkowski
4c0c7dd879
Fix intializing IP/Port allocators when etcd is not reachable.
2015-06-19 21:20:52 +02:00