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
nikhiljindal
b99d225d19
Setting PodReadyCondition.LastTransitionTime
2015-09-29 17:23:32 -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
Brian Grant
51a3b80b99
Merge pull request #13372 from thockin/strict-compat-external-ip
...
easier auto-conversion, strict compat with deprecatedPublicIPs
2015-09-25 11:10:28 -07:00
Brian Grant
7bd741b93b
Merge pull request #14495 from derekwaynecarr/improve_quota_validation
...
Ensure ResourceQuota values are non-negative
2015-09-25 11:00:19 -07:00
Brian Grant
ca3ffed823
Merge pull request #14397 from caesarxuchao/StorageVersion-map
...
Remove ExpStorageVersion and add StorageVersions to APIServer struct
2015-09-24 22:41:49 -07:00
Brian Grant
727604cb9b
Merge pull request #14154 from hurf/quantity_add
...
Remove type validation in resource.Quantity.Add
2015-09-24 18:28:01 -07:00
Chao Xu
c449baea46
Remove ExpStorageVersion and Add StorageVersions to APIServer struct
2015-09-24 17:44:59 -07:00
Tim Hockin
f14709b493
Restore deprecatedPublicIPs for compat
...
The v1 API will retain deprecatedPublicIPs, but externalIPs is preferred.
2015-09-24 17:21:07 -07:00
Tim Hockin
fd91d3f0ec
Make patch-up conversions simpler
...
Rather than an "all or nothing" approach to defining a custom conversion
function (which seems destined to cause problems eventually), this is an
attempt to make it possible to call the auto-generated code and then "fix it
up".
Specifically, consider you have a fooBar struct. If you don't define a
conversion for FooBar, you will get a generated function like:
convert_v1_FooBar_To_api_FooBar()
Before this PR, if you define your own conversion function, you get no
generated function. After this PR you get:
autoconvert_v1_FooBar_To_api_FooBar()
...which you can call yourself in your custom function.
2015-09-24 17:21:07 -07:00
Chao Xu
3473212ea5
remove thirdParty API from api/v1/ and api/
2015-09-24 16:31:00 -07: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
2eb60f4326
Merge pull request #14319 from nikhiljindal/deploymentExamplew
...
Adding an example deployment yaml
2015-09-24 13:57:18 -07:00
Eric Tune
33c4c50c1e
Merge pull request #14358 from derekwaynecarr/fix_request_defaulting
...
Default resources.requests only for Pod resources
2015-09-24 13:43:44 -07:00
derekwaynecarr
b29722c728
Ensure ResourceQuota values are non-negative
2015-09-24 10:15:40 -04:00
nikhiljindal
60bd4012ae
Adding a deployment example
2015-09-23 18:41:11 -07:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
feihujiang
4a126e7297
Remove useless todo notes that handle required fields
2015-09-23 17:45:22 +08:00
derekwaynecarr
025f24aa6d
Make requests defaulting only work on pods
2015-09-22 14:11:01 -04:00
k8s-merge-robot
34ef11321c
Merge pull request #14341 from mikedanese/not-ready
...
Auto commit by PR queue bot
2015-09-22 08:53:42 -07:00
k8s-merge-robot
e535e27e82
Merge pull request #14279 from pweil-/ipc-followup
...
Auto commit by PR queue bot
2015-09-22 07:28:07 -07:00
hurf
5cc909afe7
Remove type validation in resource.Quantity.Add
...
The type validation is unnecessary for add and will cause problem.
Type will always keep unchanged after new amount is added.
2015-09-22 21:07:31 +08:00
Mike Danese
edda776b4a
fix validation for notReadyAddress subsets
2015-09-22 01:08:26 -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
k8s-merge-robot
c96c76b729
Merge pull request #13780 from smarterclayton/pod_logs
...
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Brendan Burns
fb9efac68c
Complete initial third party API support in the master
2015-09-21 15:56:36 -07:00
k8s-merge-robot
2e5a3cfbc6
Merge pull request #14240 from caesarxuchao/improve-latet-panic-message-for-v1
...
Auto commit by PR queue bot
2015-09-21 15:11:56 -07:00
k8s-merge-robot
6c30a0e170
Merge pull request #13955 from caesarxuchao/API-discovery
...
Auto commit by PR queue bot
2015-09-21 14:01: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
Chao Xu
1278771b34
let apiserver support api discovery
2015-09-21 12:20:24 -07:00
Chao Xu
9c2202a771
improve the panic message of GroupOrDie
2015-09-21 11:51:48 -07:00
k8s-merge-robot
81ec641f15
Merge pull request #14257 from feihujiang/removeCodeAboutMinionAgain
...
Auto commit by PR queue bot
2015-09-21 11:45:40 -07:00
Paul Weil
20361e33f2
use infra container ns for ipc
2015-09-21 12:47:19 -04:00
k8s-merge-robot
843134885e
Merge pull request #12470 from simon3z/add-host-ipc
...
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
feihujiang
c99172924c
Remove useless code about minion
2015-09-21 14:51:19 +08:00
k8s-merge-robot
6dad530a1f
Merge pull request #12599 from rootfs/fc_volume
...
Auto commit by PR queue bot
2015-09-20 17:20:26 -07:00
gmarek
a5de60f985
Fix swagger docs
2015-09-19 20:16:45 +02:00
k8s-merge-robot
5d67c2ce1f
Merge pull request #12894 from nikhiljindal/PodCondition
...
Auto commit by PR queue bot
2015-09-18 18:59:51 -07:00
Huamin Chen
ed9a1bbd3a
support fibre channel volume
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2015-09-18 19:15:31 -04:00
Tim Hockin
9698e957a6
Merge pull request #12717 from tamnd/fixdockercfg
...
Fix new docker config format for private registries
2015-09-18 14:43:38 -07:00
Federico Simoncelli
f21d9ac9e4
Support pods with containers using host ipc
...
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.
This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com >
2015-09-18 21:13:39 +02:00
nikhiljindal
6523ec142b
Adding more fields to PodCondition
2015-09-18 05:26:13 -07:00
k8s-merge-robot
73d71d6a67
Merge pull request #14096 from mvdan/util-duration
...
Auto commit by PR queue bot
2015-09-18 00:20:43 -07:00
k8s-merge-robot
5577430785
Merge pull request #13852 from hurf/lr_ratio_validation
...
Auto commit by PR queue bot
2015-09-17 21:51:31 -07: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
Daniel Martí
21c7dd42de
Add pkg/api/unversioned.Duration type
...
Similar to pkg/util.Time.
2015-09-17 16:25:46 -07:00
Kris
c5f22a025a
Regenerating everything
2015-09-17 14:09:53 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
36eb7372c8
Merge pull request #13259 from soltysh/job_controller_logic
...
Auto commit by PR queue bot
2015-09-17 13:22:34 -07:00