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