Commit Graph

135 Commits (10917084df0df9b45796c129eca4bb149932d93a)

Author SHA1 Message Date
Chao Xu 10917084df experimental.go 2015-10-13 13:22:22 -07:00
k8s-merge-robot de1a9e3167 Merge pull request #15430 from liggitt/fix_tls_config_for
Auto commit by PR queue bot
2015-10-13 06:29:16 -07:00
k8s-merge-robot 2dec0826f7 Merge pull request #15351 from caesarxuchao/fix-14584-1
Auto commit by PR queue bot
2015-10-13 02:19:43 -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
Chao Xu 7817c2312c fix rebase 2015-10-12 13:48:14 -07:00
Chao Xu 910c1fd130 fix exceptions 2015-10-12 13:34:07 -07:00
Chao Xu fe7b85f6ea run goimports 2015-10-12 13:33:13 -07:00
Chao Xu 8654227c08 run grep-sed 2015-10-12 13:33:13 -07:00
Chao Xu 58ed8fd6fe run goimports 2015-10-12 13:33:13 -07:00
Chao Xu 654ceb6e5a run grep-sed 2015-10-12 13:33:13 -07:00
Chao Xu cbb3deb182 run goimports 2015-10-12 13:31:45 -07:00
Chao Xu 50a2c4c643 grep-sed 2015-10-12 13:31:45 -07:00
Dawn Chen 149ca1ec49 Merge pull request #14618 from smarterclayton/refactor_exec
Refactor exec to make attach useful without a client.Config
2015-10-12 11:44:34 -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
k8s-merge-robot 688b7840c5 Merge pull request #14941 from caesarxuchao/fix-ServerAPIVersions
Auto commit by PR queue bot
2015-10-10 10:36:55 -07:00
Jordan Liggitt 0ed6751456 Simplify TLSConfigFor, honor Insecure with client certs 2015-10-10 01:04:02 -04: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
Clayton Coleman 3f1b18fbba Refactor exec to make attach useful without a client.Config
The current executor structure is too dependent on client.Request
and client.Config. In order to do an attach from the server, it needs
to be possible to create an Executor from crypto/tls#TLSConfig and to
bypassing having a client.Request.

Changes:

* remotecommand.spdyExecutor - handles upgrading a request to SPDY and getting a connection
* remotecommand.NewAttach / New - moved to exec / portforward / attach since they handle requests
* Remove request.Upgrade() - it's too coupled to SPDY, and can live with the spdyExecutor
* Add request.VersionedParams(runtime.Object, runtime.ObjectConvertor) to handle object -> query transform
2015-10-09 14:36:46 -04:00
Mike Danese 73f7242027 rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded 2015-10-08 10:41:22 -07:00
Chao Xu efe7d30a64 address lavalamp's comments 2015-10-07 16:19:22 -07:00
derekwaynecarr 544b453e31 Add replication controller status subresource 2015-10-07 14:39:33 -04:00
Janet Kuo 57388f9f94 Support kubectl group/resource name 2015-10-06 13:12:32 -07:00
k8s-merge-robot f0fdfd96a0 Merge pull request #15101 from liggitt/kubelet_bearer_token
Auto commit by PR queue bot
2015-10-06 04:51:32 -07:00
Alex Robinson 7a33a4b0e9 Merge pull request #14296 from technosophos/master
Fix documentation in clientcmd/doc.go.
2015-10-05 16:31:09 -07:00
Jordan Liggitt 120e87277a Add bearer token support for kubelet client config 2015-10-05 15:29:10 -04:00
Alex Robinson 66cbacc9c1 Merge pull request #14967 from liggitt/set_transport_defaults
Add util to set transport defaults
2015-10-05 10:29:32 -07:00
CJ Cullen 49e204cd1e Merge pull request #14566 from erictune/job-e2e
Job e2e
2015-10-02 16:59:14 -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
k8s-merge-robot 1bcdd56cf3 Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
k8s-merge-robot 562ea7160d Merge pull request #14664 from deads2k/fix-prepend
Auto commit by PR queue bot
2015-10-02 03:21:10 -07:00
Jordan Liggitt 2a1286c8f2 Add util to set transport defaults 2015-10-02 02:29:46 -04:00
Chao Xu 6dc99b52dd use http.client in ServerAPIVersions 2015-10-01 16:24:04 -07:00
Chao Xu 6a4c477af7 add a ServerAPIVersions function that visits both /api and /apis, and doesn't require a high-level client 2015-10-01 15:00:33 -07:00
Nikhil Jindal 00ab055fa1 Merge pull request #14893 from caesarxuchao/temp-fix-negotiate-version
temporarily disable warning message in NegotiateVersion
2015-09-30 23:13:39 -07:00
Chao Xu dfdbaec577 temporarily disable warning message in NegotiateVersion 2015-09-30 21:41:26 -07:00
Andy Goldstein ed021fed4c Port forwarding fixes
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.

Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.

Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
Brendan Burns 44a16834d8 Merge pull request #14087 from brendandburns/kubectl
Move the default schema cache to the home directory
2015-09-30 11:30:32 -07:00
eulerzgy 71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
Brendan Burns e827934d78 Merge pull request #12677 from andronat/kubectl_doc_cmd
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
Prashanth Balasubramanian c54e174808 Ingress Client 2015-09-29 18:51:24 -07:00
Eric Tune 3c43c8dfa0 Improve jobs e2e
Remove unnecessary yaml file.

Define 4 specific pod behaviors.
(sleeping for short periods is going to be flaky during automated
testing.  Also, sleep -1 still exits 0)

Don't wait for a certain number of active pods in tests
where the pods terminate after a finite time, since this is racy.

Changed some tests to use pods that run forever, and not wait
for completion.

Added tests with local restarts.

Convert the DeleteOptions to the correct api group.
2015-09-29 17:31:57 -07:00
deads2k 4cc63313e7 fix testclient prepend functions 2015-09-29 08:03:52 -04:00
Brendan Burns afea127a3e Move the default schema cache to the home directory 2015-09-28 16:26:48 -07:00
Eric Tune 293055b38e Always set codec in setExperimentalDefaults
Without this, the Jobs client used by
kubectl had codec type v1.  You would not notice this
on, say, a GET.  But when you tried to do an
Update, which did client-side conversion, then
you would get an error.
2015-09-28 14:36:54 -07:00
Anastasis Andronidis 495433fbb7 client can return swagger schema 2015-09-26 14:25:53 +03:00
derekwaynecarr aead9d3291 DaemonSets adds a Status subresource 2015-09-25 12:13:54 -04:00