deads2k
ab03317d96
support CIDRs in NO_PROXY
2016-03-16 16:22:54 -04:00
Janet Kuo
26bcdb1bd6
Separate GetOldRS and GetNewRS in deployment controller (get and mutate) and deployment util (get only)
2016-03-15 10:23:20 -07:00
harry
f19d59cf35
Move flag into sub pkg
2016-03-14 21:30:38 +08:00
Chao Xu
a6240c1ab8
add FullyLabeledReplicas in Replicaset Status and ReplicationController Status
2016-03-11 23:55:04 -08:00
Brian Grant
d514a65c8d
Merge pull request #22802 from ncdc/httpstream-reset-streams-when-closing-connection
...
Close streams with Reset instead of Close when closing streaming connections
2016-03-11 12:21:19 -08:00
Andy Goldstein
01b33ec330
Close streams with Reset instead of Close when closing streaming connections
...
This ensures that the call to close the underlying streaming connection will execute immediately,
instead of waiting for all streams to gracefully shut down.
2016-03-11 11:28:08 -05:00
harry
5b359213b1
Refactor env into sub pkg
...
Refactor env into sub pkg
2016-03-11 13:52:45 +08:00
Madhusudan.C.S
db48dcf583
ReplicaSetSpec.Template shouldn't be a pointer.
...
PodTemplateSpec should be consistent for all the types in extensions/v1beta1.
See PR #19510 .
2016-03-09 21:24:16 -08:00
Wojciech Tyczynski
46ba2bfc89
Fix fake_handler test in Go 1.6
2016-03-09 14:24:42 +01:00
Michail Kargakis
77097d9a20
kubectl: set maxUnavailable to 1 if both fenceposts resolve to zero
...
Due to rounding down for maxUnavailable, we may end up with rolling updates
that have zero surge and unavailable pods something that 1) is not allowed
as per validation, 2) blocks updates. If we end up in such a situation
set maxUnavailable to 1 on the theory that surge might not work due to
quota.
2016-03-07 13:03:41 +01:00
k8s-merge-robot
8ab8231c20
Merge pull request #22577 from jpiccari/master
...
Auto commit by PR queue bot
2016-03-06 00:18:53 -08:00
k8s-merge-robot
c7a50206c0
Merge pull request #22579 from bprashanth/graceful_rc
...
Auto commit by PR queue bot
2016-03-05 23:42:11 -08:00
Prashanth Balasubramanian
7f5c9bd676
Track deletes in rc manager with a UID expectations cache.
2016-03-05 18:18:18 -08:00
k8s-merge-robot
5dde64c4ec
Merge pull request #22264 from gmarek/scheduler
...
Auto commit by PR queue bot
2016-03-05 15:13:16 -08:00
k8s-merge-robot
e91048ea96
Merge pull request #22392 from janetkuo/retry-update-precondition
...
Auto commit by PR queue bot
2016-03-04 19:21:14 -08:00
Joshua Piccari
f5f83b076a
Improve go report card by fixing typos in comments
2016-03-04 18:30:59 -08:00
Janet Kuo
f666e87217
Filter out inactive pods first when determining if it's available
2016-03-04 16:32:32 -08:00
Janet Kuo
64731e8083
Address comments
2016-03-03 15:56:09 -08:00
Janet Kuo
aae2073a78
Add preconditions to pod/rs update retry func
2016-03-03 14:54:28 -08:00
Brian Grant
ea579d5fab
Merge pull request #22384 from janetkuo/skip-not-found-label
...
When retrying updating RSes and pods, ignore the not found error
2016-03-03 14:20:58 -08:00
k8s-merge-robot
de72b6be1b
Merge pull request #21907 from justinsb/load_balancer_source_ranges
...
Auto commit by PR queue bot
2016-03-03 14:10:47 -08:00
Janet Kuo
75e570832b
Ignore not found error when retrying rs and pods updates
2016-03-03 11:45:55 -08:00
Justin Santa Barbara
cb92133dfa
LB Source Ranges: Move validation into API layer
...
Had to move other things around too to avoid a weird api ->
cloudprovider dependency.
Also adding fixes per code reviews.
(This is a squash of the previously approved commits)
2016-03-03 10:27:17 -05:00
Brian Grant
4b213ed263
Merge pull request #22245 from nikhiljindal/deploymentTimeoutErrors
...
Improving deployment e2e failure error messages
2016-03-01 18:46:13 -08:00
Brian Grant
6deb2612dc
Merge pull request #22243 from nikhiljindal/updatePodWithRetries
...
deployment e2e flake: Fix updatePodWithRetries to get and then immediately try update
2016-03-01 18:44:17 -08:00
nikhiljindal
0dae82f6f1
Improving deployment e2e failure error messages
2016-03-01 17:58:32 -08:00
k8s-merge-robot
57ecc24db5
Merge pull request #22305 from bprashanth/deploy_label
...
Auto commit by PR queue bot
2016-03-01 15:27:09 -08:00
nikhiljindal
b65180c314
Update updatePodWithRetries to get and then update
2016-03-01 14:40:21 -08:00
Prashanth Balasubramanian
b9eb552e07
Update the re-fetched pod with deployment labels.
2016-03-01 11:47:53 -08:00
gmarek
6697834797
Move isMasterNode function to api/helpers
2016-03-01 12:12:38 +01:00
k8s-merge-robot
e7d0f06c4a
Merge pull request #21736 from resouer/check-register
...
Auto commit by PR queue bot
2016-03-01 02:21:56 -08:00
Brian Grant
d0dd4f8a93
Restore expectation timeout to 5 minutes. Fix enqueueDeployment. Pass by reference.
...
Make names of ReplicaSets created by Deployment deterministic for idempotence.
Eliminate use of expectations in Deployment controller.
2016-02-28 07:33:07 +00:00
k8s-merge-robot
6b676edab8
Merge pull request #21409 from fabianofranz/fix_spdy_roundtripper_with_proxy_auth
...
Auto commit by PR queue bot
2016-02-27 04:37:24 -08:00
k8s-merge-robot
f0c0af2561
Merge pull request #20528 from mikedanese/varz
...
Auto commit by PR queue bot
2016-02-27 00:27:18 -08:00
Fabiano Franz
5bffa5b858
SPDY roundtripper support to proxy with Basic auth
2016-02-25 15:54:50 -03:00
Harry Zhang
636e982ecd
Implement checking in predicates
2016-02-25 21:25:36 +08:00
k8s-merge-robot
a7f06905c3
Merge pull request #21185 from fabianofranz/fix_spdy_roundtripper_verify_hostname
...
Auto commit by PR queue bot
2016-02-25 04:45:12 -08:00
k8s-merge-robot
5f86dd1b2f
Merge pull request #21906 from justinsb/util_sets_docstring
...
Auto commit by PR queue bot
2016-02-25 00:24:54 -08:00
Brian Grant
b27edde38d
Merge pull request #21957 from mqliang/deployment-preserve-availability
...
Deployment: preserve availability when maxUnavailability is not 100%
2016-02-24 22:09:54 -08:00
Brian Grant
be6515ca90
Merge pull request #21935 from janetkuo/nil-pointer
...
Fix the nil pointer dereference when counting RS replicas
2016-02-24 21:58:41 -08:00
mqliang
06d57ec7f4
Deployment: preserve availability when maxUnavailability is not 100%
2016-02-25 13:30:06 +08:00
Janet Kuo
069e77d504
Fix the nil pointer dereference when counting RS replicas
2016-02-24 18:27:27 -08:00
Janet Kuo
3ed8426a98
When calculating pod template hash, don't include the hash label
2016-02-24 18:09:59 -08:00
Janet Kuo
96908d6de5
Add more logs
2016-02-24 16:41:36 -08:00
Janet Kuo
082702390a
Fix test flake
2016-02-24 16:41:36 -08:00
Janet Kuo
020ab8813d
Check observed generation only after rs template is labeled in addHashKeyToRSAndPods
2016-02-24 16:41:36 -08:00
Janet Kuo
1d1c6f19b4
Fix the nil pointer dereference in addHashKeyToRSAndPods
2016-02-24 16:41:36 -08:00
Alex Robinson
2b13bc471b
Merge pull request #21892 from jayunit100/backoff-flake-fix
...
fake backoff implementation for speeding up flakey test
2016-02-24 16:26:56 -08:00
Brian Grant
88056edab2
Merge pull request #21902 from janetkuo/deployment-unavailable-replicas
...
Fix the incorrect deployment.status.unavailableReplicas
2016-02-24 14:48:04 -08:00
Brian Grant
0b5edab208
Merge pull request #21857 from nikhiljindal/stopDeployment
...
fix deployment e2e flake: Update DeploymentReaper.Stop to use ObservedGeneration
2016-02-24 14:26:23 -08:00
Mike Danese
5ec02bd021
add http handler to export configuration state
2016-02-24 14:12:28 -08:00
Janet Kuo
062b9f86b9
Fix the incorrect deployment.status.unavailableReplicas
2016-02-24 14:09:49 -08:00
Brian Grant
832bc37ee4
Merge pull request #21713 from janetkuo/deployment-actual-replicas
...
Report actual replicas in deployment status
2016-02-24 13:55:16 -08:00
Justin Santa Barbara
2f0a56103c
Cleanup of docstring for types.go
...
Make it a little clearer what command actually needs to be run!
2016-02-24 14:14:37 -05:00
jay vyas
4097cfe022
fake backoff implementation for speeding up flakey test, fake Clock Test for sleep
2016-02-24 13:50:29 -05:00
nikhiljindal
7e50fa6df0
Update DeploymentReaper.Stop to use ObservedGeneration to remove race condition
2016-02-24 00:09:44 -08:00
k8s-merge-robot
51150a2ac5
Merge pull request #21823 from janetkuo/sort-event-timestamp
...
Auto commit by PR queue bot
2016-02-23 23:35:33 -08:00
Abhi Shah
5f553a218e
Merge pull request #21724 from freehan/imagepull
...
fix cascading backoff
2016-02-23 17:53:35 -08:00
Janet Kuo
82dcc56fe3
Improve log for debug
2016-02-23 17:52:24 -08:00
k8s-merge-robot
cdbbeae3e5
Merge pull request #21486 from fgrzadkowski/docker_ubuntu_fix
...
Auto commit by PR queue bot
2016-02-23 09:48:50 -08:00
harry
b90550de25
Implement check for priority
2016-02-23 11:59:32 +08:00
Minhan Xia
973b01ee29
fix cascading backoff
2016-02-22 18:25:42 -08:00
Janet Kuo
3901423272
Report actual replicas in deployment status
2016-02-22 14:28:28 -08:00
Janet Kuo
4699a6d8a2
Address comments; fix test failure
2016-02-22 10:58:54 -08:00
Janet Kuo
dc78af948e
Address comments; fix incorrect hash
2016-02-22 10:58:54 -08:00
Janet Kuo
0e5da8460d
Address comments
2016-02-22 10:58:54 -08:00
Janet Kuo
14bab2bb3a
Address comments
2016-02-22 10:58:54 -08:00
Janet Kuo
11fdbff97f
Address comments; fix test failures; add e2e tests; update RS's label too
2016-02-22 10:58:54 -08:00
Janet Kuo
da58172283
Ensure Deployment labels adopted ReplicaSets and pods
2016-02-22 10:58:54 -08:00
Janet Kuo
b267ede42c
Address comments
2016-02-19 15:58:33 -08:00
Janet Kuo
6ceb221f8e
Log pods of RS when deployment e2e test fails
2016-02-19 15:55:22 -08:00
Filip Grzadkowski
217d9f38e7
Don't return error when findmnt exits with error.
...
Fixes #21303
2016-02-19 14:09:33 +01:00
k8s-merge-robot
eb45154996
Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
...
Auto commit by PR queue bot
2016-02-18 23:02:05 -08:00
Fabiano Franz
97d106e5ab
Use correct home directory on Windows
2016-02-19 01:41:42 -02:00
nikhiljindal
20ce4aed0e
Adding hostname to groups discovery information
2016-02-18 11:58:11 -08:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
Fabiano Franz
5cc943d3bf
SPDY roundtripper must respect InsecureSkipVerify
2016-02-18 11:48:02 -02:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Janet Kuo
e9262df456
Scale up early when deployment creates new Replica set
2016-02-16 18:05:44 -08:00
mqliang
fcf0d6d720
add GetValueFromIntOrPercent helper funcs
2016-02-15 23:06:02 +08:00
mqliang
d96cdb93c4
move helper funcs to util/deployment.go from util.go
2016-02-15 22:36:48 +08:00
k8s-merge-robot
ee33ed2cf5
Merge pull request #20981 from madhusudancs/labelselector-error-string-fix
...
Auto commit by PR queue bot
2016-02-14 03:14:46 -08:00
mqliang
7be9071584
create some integer min/max function
2016-02-12 11:20:11 +08:00
k8s-merge-robot
9d3633a16d
Merge pull request #20253 from mikedanese/flock
...
Auto commit by PR queue bot
2016-02-10 15:52:26 -08:00
k8s-merge-robot
3b41600e5a
Merge pull request #20929 from thockin/go-vet
...
Auto commit by PR queue bot
2016-02-10 12:13:55 -08:00
Mike Danese
b3172a4ccf
kubelet: add a pidfile
2016-02-10 11:38:50 -08:00
Madhusudan.C.S
525d7a7732
Fix the label selector to selector conversion error string.
...
The message as it is framed right now does not make any sense for the
end users of our system. It might even lead to confusion. So this is
attempt to make the error message less confusing.
2016-02-10 09:43:30 -08:00
Madhusudan.C.S
e7a9f30936
Address review comments.
2016-02-09 15:50:01 -08:00
Tim Hockin
7cab7bd472
fix a few go-vet errors
2016-02-09 13:20:31 -08:00
Madhusudan.C.S
ed7ad6dcf3
Make deployments work.
2016-02-08 21:27:49 -08:00
Madhusudan.C.S
518f08aa7c
Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
...
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.
Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
k8s-merge-robot
8fcc105d6d
Merge pull request #20444 from ncdc/flake/19466
...
Auto commit by PR queue bot
2016-02-08 20:46:03 -08:00
Andy Goldstein
a45247ad2a
Fix exec/attach test flakes
...
Ensure that stream reply frames are enqueued prior to any goaway frames.
2016-02-08 21:33:23 -05:00
k8s-merge-robot
14653d6b5a
Merge pull request #20169 from vishh/20117
...
Auto commit by PR queue bot
2016-02-08 15:25:45 -08:00
k8s-merge-robot
b32078d89b
Merge pull request #20496 from matthewdupre/masquerade-config
...
Auto commit by PR queue bot
2016-02-08 10:49:20 -08:00
gmarek
6b2507485f
Add FakeNeverRateLimitter
2016-02-08 11:06:25 +01:00
Jan Chaloupka
8e270922be
Add unit test for JitterUntil
2016-02-07 21:09:06 +01:00
Jan Chaloupka
3fa290980a
jitter period in each run of Until
...
In order to synchronize the current state of Kubernetes's objects (e.g. pods, containers, etc.),
periodic synch loops are run. When there is a lot of objects to synchronize with,
loops increase communication traffic. At some point when all the traffic interfere cpu usage curve
hits the roof causing 100% cpu utilization.
To distribute the traffic in time, some sync loops can jitter their period in each loop
and help to flatten the curve.
This commit adds JitterUntil function with jitterFactor parameter.
JitterUntil generalizes Until which is a special case for jitterFactor being zero.
2016-02-07 21:09:02 +01:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
Jan Chaloupka
43a47a8234
Move Until, Forever, NeverStop, ForeverTestTimeout from util to wait
2016-02-07 11:38:48 +01:00
Tim Hockin
1e7db4a174
Implement proper cleanup in iptables proxy
2016-02-07 02:42:18 +00:00
Tim Hockin
41ba8ced6d
Dont log errors on proxy leftover cleanup
2016-02-07 02:41:50 +00:00
Janet Kuo
7e9fb97b7d
Remove UniqueLabelKey from deployment spec
2016-02-05 16:21:44 -08:00
Daniel Smith
60cc5d10b7
Merge pull request #20013 from spxtr/fix-ssh
...
Retry SSH connection for E2E log gathering.
2016-02-05 15:52:34 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
Rudi Chiarito
a2d1bb7acf
Add httpHeaders to httpGet liveness probe
...
Also update existing documentation and try to steer users away from 'host'.
Add validation.
2016-02-05 11:20:04 -05:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
Vishnu kannan
df1f164b34
Do not fail container creation if the contaienr exits before applyting
...
oom score adjust.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-04 13:39:19 -08:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
k8s-merge-robot
d4da1ee3ce
Merge pull request #19835 from janetkuo/kubectl-rollout
...
Auto commit by PR queue bot
2016-02-03 17:39:04 -08:00
Joe Finney
7a59683e41
Retry SSH connection for E2E log gathering.
2016-02-03 16:06:02 -08:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
k8s-merge-robot
8d8de2efb4
Merge pull request #19314 from cjcullen/tunnels
...
Auto commit by PR queue bot
2016-02-02 19:46:06 -08:00
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Janet Kuo
442c75045a
Add kubectl rollout undo
2016-02-02 14:20:01 -08:00
k8s-merge-robot
26202fc98a
Merge pull request #18804 from marun/fix-nodeport-services
...
Auto commit by PR queue bot
2016-02-02 14:07:49 -08:00
CJ Cullen
04eb90a5d4
Make tunneler hold tunnels open and healthcheck vs. reopening every 5 minutes.
...
Also add a test for the Update() logic.
Reordered tunnels vs. storage initialization (prevent a nil ptr panic)
2016-02-02 12:00:29 -08:00
Jan Safranek
220163f67d
Fixed races in Cinder volume attach/detach.
...
Add a mutex to guard SetUpAt() and TearDownAt() calls - they should not
run in parallel. There is a race in these calls when there are two pods
using the same volume, one of them is dying and the other one starting.
TearDownAt() checks that a volume is not needed by any pods and detaches the
volume. It does so by counting how many times is the volume mounted
(GetMountRefs() call below).
When SetUpAt() of the starting pod already attached the volume and did not mount
it yet, TearDownAt() of the dying pod will detach it - GetMountRefs() does not
count with this volume.
These two threads run in parallel:
dying pod.TearDownAt("myVolume") starting pod.SetUpAt("myVolume")
| |
| AttachDisk("myVolume")
refs, err := mount.GetMountRefs() |
Unmount("myDir") |
if refs == 1 { |
| | Mount("myVolume", "myDir")
| | |
| DetachDisk("myVolume") |
| start containers - OOPS! The volume is detached!
|
finish the pod cleanup
Also, add some logs to cinder plugin for easier debugging in the future, add
a test and update the fake mounter to know about bind mounts.
2016-02-02 14:38:49 +01:00
k8s-merge-robot
78eaa6635e
Merge pull request #20080 from nagarjung/flocker_feature
...
Auto commit by PR queue bot
2016-02-02 02:45:14 -08:00
k8s-merge-robot
17a5058e83
Merge pull request #19893 from janetkuo/kubectl-rollout-history
...
Auto commit by PR queue bot
2016-02-02 01:13:15 -08:00
Daniel Smith
4a7d70aef1
extend fake clock
2016-02-01 15:36:15 -08:00
Janet Kuo
8fb86a3d3b
Add kubectl rollout history
2016-02-01 15:32:43 -08:00
Maru Newby
a5e00da867
Fix nodeport service compat with default-deny fw
2016-02-01 21:34:30 +00:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
Chao Xu
c72d234bbf
replacing handwritten client in several controllers
2016-01-31 15:42:02 -08:00
Janet Kuo
3396db9510
Add rollback subresource; add rollback logic to deployment controller
2016-01-30 16:00:34 -08:00
Janet Kuo
42f712467e
Use ListOptions when listing RCs in deployment
2016-01-30 12:04:35 -08:00
Janet Kuo
c84a0371a2
Deployment adds version info to its new rc
2016-01-30 12:04:35 -08:00
k8s-merge-robot
deef16d2b3
Merge pull request #19354 from jimmidyson/system-container-fix
...
Auto commit by PR queue bot
2016-01-29 19:13:43 -08:00
Fabio Yeon
eb2c2d1af4
Merge pull request #20111 from fabioy/fix-tmp-tests
...
Add temp directory creation method for tests.
2016-01-29 09:51:12 -08:00
Jimmi Dyson
1c289943f5
Ensure kubelet pid is not moved to system container
2016-01-29 09:30:20 +00:00
Mike Danese
309eac5f7f
update proxy server
2016-01-28 15:46:40 -08:00
Fabio Yeon
4c57ad8379
Merge pull request #19978 from markturansky/typos
...
Fixed spelling typo
2016-01-28 14:01:03 -08:00
Fabio Yeon
7205a160ac
Remove all instances of "/tmp" from unit tests and replace with a common
...
tmp directory creator. Exception is documented.
2016-01-27 16:11:22 -08:00
Filip Grzadkowski
a5a23940bb
Speed up UUID generation.
...
Fixes #19036
Fixes #18608
2016-01-27 15:39:23 +01:00
k8s-merge-robot
d3b869ae14
Merge pull request #17922 from smarterclayton/split_codec
...
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
Nagarjun
39b1874041
Add GetEnvOr() feature to utils Package
2016-01-25 16:08:35 +05:30
Zach Loafman
b25d596a2b
Merge pull request #19630 from mikedanese/fix-test
...
test: make ValidateCount throw an error instead of a log
2016-01-22 11:08:27 -08:00
Clayton Coleman
4a6935b31f
Remaining codec change refactors
2016-01-22 13:27:27 -05:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Zach Loafman
f3a638de31
Merge pull request #16067 from smarterclayton/backoff_conflict
...
Provide a RetryOnConflict helper for client libraries
2016-01-22 10:23:19 -08:00
markturansky
3f292d87ed
fixed spelling typo
2016-01-22 00:15:07 -05:00
Clayton Coleman
6b2f70d553
Provide a JSON and YAML serializer, and a versioning wrapper
...
Add a recognizer that is capable of sniffing content type from data by
asking each serializer to try to decode - this is for a "universal
decoder/deserializer" which can be used by client logic.
Add codec factory, which provides the core primitives for content type
negotiation. Codec factories depend only on schemes, serializers, and
groupversion pairs.
2016-01-22 00:12:49 -05:00
Clayton Coleman
9d5df20efe
jsonpath: Handle interface{}(nil) as empty array
2016-01-21 23:18:31 -05:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
Alex Mohr
d2d349bc84
Merge pull request #19334 from resouer/network
...
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Clayton Coleman
4342fccc0d
Provide a RetryOnConflict helper for client libraries
...
Used like:
var pod *api.Pod
err := client.RetryOnConflict(client.DefaultBackoff, func() (err error) {
pod, err = c.Pods("mynamespace").UpdateStatus(update)
return
})
// err may be conflict
2016-01-20 22:58:16 -05:00
Mike Danese
39c7ea57b0
test: make ValidateCount throw an error instead of a log
...
We can either fix it here or at every callsite. Every callsite is
currently using this method incorrectly.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-19 15:59:32 -08:00
k8s-merge-robot
ad827c6b62
Merge pull request #19573 from madhusudancs/daemonset-update-move-utils
...
Auto commit by PR queue bot
2016-01-17 08:16:11 -08:00
k8s-merge-robot
3816c1798f
Merge pull request #19411 from eparis/boolflag-def-val
...
Auto commit by PR queue bot
2016-01-16 06:23:48 -08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Mike Danese
33c72db59c
Merge pull request #19528 from resouer/strings-util
...
Create strings pkg to fix util issue
2016-01-14 21:19:17 -08:00
harry
7405c7899b
Add strings pkg to hold strings utils
...
Replace funtions with strings pkg
Fix all references and rename the pkg
2016-01-15 12:37:50 +08:00
Mike Danese
82509a46a7
Merge pull request #19585 from smarterclayton/skip_mount
...
Skip format and mount test on windows or mac
2016-01-14 17:03:44 -08:00
Eric Paris
aad4b4477d
Make "BoolFlag" booleans not require =true
2016-01-14 09:07:00 -05:00
k8s-merge-robot
9e97cfc2e8
Merge pull request #14200 from swagiaal/run-fsck-before-format
...
Auto commit by PR queue bot
2016-01-13 22:11:45 -08:00
Clayton Coleman
389d5e48cb
Skip format and mount test on windows or mac
2016-01-12 21:43:50 -05:00
Madhusudan.C.S
4caa8a2c1d
Move pod template hash and label adding util functions to their packages.
...
These utilities are useful outside Deployments as well, for example
in DaemonSets for DaemonSet updates. So move them to their own util
packages.
2016-01-12 16:11:00 -08:00
k8s-merge-robot
0df7e695d4
Merge pull request #19458 from davidopp/notsclose
...
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
k8s-merge-robot
9b106c6e6d
Merge pull request #18058 from mqliang/httpProbe
...
Auto commit by PR queue bot
2016-01-11 23:21:01 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
k8s-merge-robot
170c03a85f
Merge pull request #16354 from mdshuai/valid-supplemental-groups
...
Auto commit by PR queue bot
2016-01-11 00:48:34 -08:00
mdshuai
27934da9cc
Validate uids and gids for securitycontext
2016-01-11 15:17:25 +08:00
k8s-merge-robot
609cdfd267
Merge pull request #19331 from resouer/hash-util
...
Auto commit by PR queue bot
2016-01-09 13:08:01 -08:00
k8s-merge-robot
33085cc2ae
Merge pull request #19238 from therc/master
...
Auto commit by PR queue bot
2016-01-08 04:10:53 -08:00
Isaac Hollander McCreery
791cae90f0
Merge pull request #19350 from brendandburns/oncall
...
Improve error reporting a little in ingress e2e.
2016-01-07 15:51:31 -08:00
Brendan Burns
07b3ab720d
Improve error reporting a little in ingress e2e.
...
Also add Output() to the util/exec Cmd interface.
2016-01-06 15:25:04 -08:00
harry
2a52976983
Use hashutil to hold hash tools
2016-01-06 22:28:58 +08:00
gmarek
93b180e81f
Small cleanup to wait_test.go
2016-01-04 17:11:43 +01:00
Rudi Chiarito
ea56e508f0
Fix: deal properly with tc qdisc show returning "noqueue"
2016-01-03 23:44:18 -05:00
Wojciech Tyczynski
1ad524ac24
Fix wait_test flakes
2016-01-03 09:56:57 +01:00
Wojciech Tyczynski
84e2d6c3d3
Fix TestPoll test
2016-01-02 14:48:30 +01:00
Wojciech Tyczynski
5abdc2e944
Updage auto-generated files
2016-01-01 11:47:29 +01:00
Wojciech Tyczynski
6d33d28de8
Fix wait_test flakes
2015-12-30 14:05:46 +01:00
Chakravarthy Nelluri
fa76de79e5
Add support for flex volume. Flex volume adds support for thirdparty(vendor)
...
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Brendan Burns
ac5c0aaba7
Merge pull request #17883 from jimmidyson/cadvisor-bump-0.19.4
...
Bump cadvisor to fix interface stats bugs & improve performance
2015-12-22 10:34:46 -08:00
Brendan Burns
b6ca92127d
Merge pull request #16980 from jackgr/force_apply
...
Implement conflict detection in strategic merge patch
2015-12-22 10:33:35 -08:00
Mathias Lafeldt
1701cd4a3a
Fix closing bracket in Godoc
2015-12-21 21:36:11 +01:00
Jimmi Dyson
041ab17a67
Bump cadvisor to fix interface stats bugs & improve performance
...
Includes necessary godep upgrades for docker & systemd packages as well as
migrating from docker/libcontainer to opencontainers/runc/libcontainer.
2015-12-21 17:07:21 +00:00
k8s-merge-robot
3c3a24e1d4
Merge pull request #18694 from thockin/airplane_validation_pt7
...
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
k8s-merge-robot
9e8233fc3c
Merge pull request #17398 from janetkuo/deployment-controller-informer
...
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
Tim Hockin
0fecf965b4
Change how one-of blocks are validated
...
I took a hard look at error output and played until I was happier. This now
prints JSON for structs in the error, rather than go's format.
Also made the error message easier to read.
Fixed tests.
2015-12-18 09:42:14 -08:00
Tim Hockin
43ed74748e
Clean up and document validation strings
...
Also add a detail string for Required and Forbidden. Fix tests.
2015-12-18 09:40:50 -08:00
Janet Kuo
1a8f96231a
Add expectation model for pod deletion
2015-12-17 19:29:54 -08:00
Janet Kuo
32d153093e
Fix deployment tests failures; change ResyncPeriod
2015-12-17 19:29:54 -08:00
Janet Kuo
07cecb4148
Add unit test for get old rcs
2015-12-16 23:10:22 -08:00
Janet Kuo
7d4c83d655
Add unit test for get new rc
2015-12-16 23:06:48 -08:00
k8s-merge-robot
3680268c52
Merge pull request #18353 from deads2k/gv-use-constants
...
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
k8s-merge-robot
1f0e46abb8
Merge pull request #16237 from ZJU-SEL/fix-util
...
Auto commit by PR queue bot
2015-12-14 18:41:14 -08:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
Harry Zhang
8fe92c69d2
Update highwatermark
2015-12-14 16:47:47 +08:00
harry zhang
5405a5d98d
Move atomic_value into folder
...
Change pkg to atomic
2015-12-14 05:50:29 +00:00
Jeff Lowdermilk
9c49cdaa6e
Merge pull request #18276 from thockin/airplane_validation_pt6
...
Validation cleanup parts 5 & 6 together
2015-12-11 13:34:37 -08:00
Nikhil Jindal
aaa1fe67f6
Merge pull request #18321 from janetkuo/fix-deployment-getoldrcs
...
Fix bug when getting old RCs of a deployment
2015-12-10 14:22:56 -08:00
Tim Hockin
7fb8f60735
Shorten names for better reading
2015-12-10 11:48:19 -08:00
Tim Hockin
87a35047dd
Move FieldPath and errors to a sub-package
...
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Sami Wagiaalla
c18f342ac6
Use constants for fsck return values
2015-12-08 10:51:12 -05:00
Sami Wagiaalla
10688f1a11
Run fsck before formatting disk
...
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-12-08 10:50:30 -05:00
Janet Kuo
72bd4e8caf
Fix bug when getting new RC of a deployment
2015-12-07 23:57:30 -08:00
Janet Kuo
524ec8b48b
Fix bug when getting old RCs of a deployment
2015-12-07 18:09:51 -08:00
jackgr
b11dec7aec
Implement conflict detection in strategic merge patch.
2015-12-06 17:54:32 -08:00
k8s-merge-robot
810181fb7b
Merge pull request #17278 from ZJU-SEL/fix-nil-tag
...
Auto commit by PR queue bot
2015-12-06 12:52:39 -08:00
Clayton Coleman
9fea762917
Add protobuf preparation objects, guarded by proto tag
2015-12-05 18:15:48 -05:00
k8s-merge-robot
3180b00f6c
Merge pull request #17673 from hongchaodeng/metrics
...
Auto commit by PR queue bot
2015-12-05 05:30:08 -08:00
Janet Kuo
8fb0caa15b
Implement MinReadySeconds for Deployment
2015-12-04 12:58:34 -08:00
k8s-merge-robot
9e896e3416
Merge pull request #16948 from swagiaal/move-formatAndMount
...
Auto commit by PR queue bot
2015-12-04 10:37:33 -08:00
k8s-merge-robot
a5100ef057
Merge pull request #17248 from thockin/airplane_validation_pt4
...
Auto commit by PR queue bot
2015-12-03 16:59:23 -08:00
k8s-merge-robot
13b0fd3cda
Merge pull request #16942 from swagiaal/distinguish-format-and-mount
...
Auto commit by PR queue bot
2015-12-03 10:51:26 -08:00
Hongchao Deng
ba80892cec
Rate limiter: Add Saturation() method
2015-12-03 08:39:35 -08:00
Hongchao Deng
9781a838da
change tickRateLimiter to tokenBucketRateLimiter
2015-12-03 08:39:35 -08:00
Tim Hockin
0fe29232eb
Remove obsolete ErrorList Prefix logic
2015-12-03 08:19:52 -08:00
Tim Hockin
e6df0b1a24
Convert validation to use FieldPath
...
Before this change we have a mish-mash of ways to pass field names around for
error generation. Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.
Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior. At least you
will have to think about field names, which is better than nothing.
It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Tim Hockin
102eced0b1
Introduce a FieldPath type for validation
2015-12-03 08:17:02 -08:00
k8s-merge-robot
3cbfcdcdba
Merge pull request #16810 from lavalamp/go2idl.2
...
Auto commit by PR queue bot
2015-12-03 04:25:08 -08:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00
Daniel Smith
56cae7c719
re-run set-gen
2015-12-02 14:14:50 -08:00
Daniel Smith
ad925dd2e8
Add verification to code gen
2015-12-02 14:14:49 -08:00
Sami Wagiaalla
66c905d63e
Distinguish normal mount from format and mount in SafeFormatAndMount
2015-12-02 11:16:00 -05:00
jhadvig
f7785bcdb4
Typo fix
2015-12-02 13:59:58 +01:00
mqliang
149af2f7a7
remove todo
2015-12-02 13:04:59 +08:00
Wojciech Tyczynski
8343c8ce6c
Pass ListOptions to List() methods.
2015-12-01 15:00:36 +01:00
k8s-merge-robot
8752165fb6
Merge pull request #16853 from jayunit100/backoffresets
...
Auto commit by PR queue bot
2015-11-30 11:39:10 -08:00
harry
477da92002
Move hostIP detection from master to server
...
Add PublicAddress in test files
Move valid public addr into util
2015-11-30 16:17:37 +08:00
harry zhang
121c7046aa
Move parsers into util
2015-11-29 22:15:11 -08:00
k8s-merge-robot
4eb010b1f7
Merge pull request #17694 from hongchaodeng/ratelimit
...
Auto commit by PR queue bot
2015-11-26 13:12:26 -08:00
Clayton Coleman
e9e02bdd50
Review comments
2015-11-26 11:53:38 -05:00
Clayton Coleman
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
jay vyas
7ffaef63d1
Backoff and Randomness additions for use in client utilities
...
Updated String to use int, and int not to panic, and panic to test panic
Format fixes.
2015-11-25 00:01:06 -05: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
k8s-merge-robot
5502aefa01
Merge pull request #17152 from daizuozhuo/jsonpath
...
Auto commit by PR queue bot
2015-11-24 04:45:38 -08:00
Hongchao Deng
13d152a873
RateLimiter: change CanAccept() to TryAccept()
2015-11-23 16:42:53 -08:00
Tim Hockin
ceee678b29
Rename validation 'New' funcs
2015-11-23 10:01:43 -08:00
Tim Hockin
682f2a5a79
Stronger typing for validation ErrorList
2015-11-23 10:01:43 -08:00
Tim Hockin
f8ad75df44
Clarify invalid vs not-supported
2015-11-23 08:07:17 -08:00
Tim Hockin
2c60a97e72
Clean up comments, reorder types
2015-11-23 08:07:17 -08:00
k8s-merge-robot
fb09627514
Merge pull request #17262 from brendandburns/hyperkube
...
Auto commit by PR queue bot
2015-11-23 07:49:34 -08:00
Tim Hockin
bca3780b7f
Remove unused matcher
2015-11-22 20:13:24 -08:00
Tim Hockin
48b49a5cae
s/ValidationErrorList/ErrorList/
2015-11-22 20:13:20 -08:00
Tim Hockin
d64d1fbb3d
s/ValidationError/Error/
2015-11-22 20:12:46 -08:00
Tim Hockin
2a127d089a
s/ValidationErrorType/ErrorType/
2015-11-22 20:12:39 -08:00
Tim Hockin
0ff66da346
Move fielderrors into validation
2015-11-22 20:12:20 -08:00
k8s-merge-robot
48cc84fb09
Merge pull request #16954 from brendandburns/watchdog
...
Auto commit by PR queue bot
2015-11-21 08:06:27 -08:00
Brendan Burns
ce90b83689
Update some flags
2015-11-20 11:47:31 -08:00
Brendan Burns
1dcd250274
Refactor the deadlock detector for testing. Add a test.
2015-11-20 09:35:40 -08:00
mqliang
5bc2560b1f
refactor:move `GetNewRCTemplate()` out of for loop
2015-11-19 13:34:18 +08:00
Dai Zuozhuo
ad5cc8b599
quote interpreted string
2015-11-19 11:15:10 +08:00
Prashanth B
e82277b86a
Merge pull request #17302 from bprashanth/wait_leak
...
Fix timer leak in wait.Poll
2015-11-17 18:35:49 -08:00
k8s-merge-robot
1334401888
Merge pull request #17202 from brendandburns/fix2
...
Auto commit by PR queue bot
2015-11-17 00:49:13 -08:00
k8s-merge-robot
ac0d009522
Merge pull request #16950 from swagiaal/handle-exec-not-found
...
Auto commit by PR queue bot
2015-11-16 23:46:38 -08: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
Prashanth Balasubramanian
eab22ff95a
Fix timer leak in wait.Poll
2015-11-15 16:39:25 -08:00
Tim Hockin
970c045848
Enable iptables kube-proxy by default in master
2015-11-13 18:38:01 -08:00
Brendan Burns
fb576f30c8
Refactor an interface for style
2015-11-13 15:56:27 -08:00
k8s-merge-robot
3d123ba390
Merge pull request #16953 from swagiaal/print-cmd-in-fake-exec
...
Auto commit by PR queue bot
2015-11-13 05:21:20 -08:00
k8s-merge-robot
0dac3e12c5
Merge pull request #16969 from smarterclayton/fix_secret_in_container
...
Auto commit by PR queue bot
2015-11-12 21:26:20 -08:00
Sami Wagiaalla
4d373b133a
Handle executable not found in exec
2015-11-12 13:16:22 -05:00
k8s-merge-robot
706d3a77a9
Merge pull request #16798 from derekwaynecarr/key_compaction
...
Auto commit by PR queue bot
2015-11-12 02:45:15 -08:00
Sami Wagiaalla
d10d81d811
Print unhandeled command in FakeExec
2015-11-11 16:54:23 -05:00
deads2k
e683842359
stop panicing on bad array length
2015-11-09 13:23:16 -05:00
Clayton Coleman
8c1d820435
Secrets in containerized Kubelet get mangled due to 'echo'
...
Change to stream over stdin to 'cat'
2015-11-07 10:53:31 -06:00
derekwaynecarr
6ad7f1a8cb
Add event correlation to client
2015-11-06 16:59:38 -05:00
Brendan Burns
13e68d2a87
Merge pull request #16924 from brendandburns/watchdog
...
Add a deadlock watchdog
2015-11-06 13:14:14 -08:00
Sami Wagiaalla
1880c4eedb
move formatAndMount and diskLooksUnformatted to mount_linux
2015-11-06 15:37:46 -05:00
Brendan Burns
c511db9113
Add a deadlock watchdog
2015-11-06 11:31:44 -08:00
k8s-merge-robot
32956b7dd3
Merge pull request #16829 from mikedanese/until-immediate
...
Auto commit by PR queue bot
2015-11-05 04:51:20 -08:00
k8s-merge-robot
9b60fb0c4f
Merge pull request #16536 from rootfs/fix-mkfs
...
Auto commit by PR queue bot
2015-11-05 01:48:18 -08:00
Mike Danese
8b9809291b
make util.Until return immediately if stop is written inside the loop
2015-11-04 16:55:15 -08:00
Daniel Smith
241551e36e
set-gen example
2015-11-03 15:14:51 -08:00
k8s-merge-robot
c8fe00b94f
Merge pull request #16711 from liggitt/remotecommand_error
...
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
k8s-merge-robot
1b437272ba
Merge pull request #16696 from janetkuo/kubectl-jsonpath
...
Auto commit by PR queue bot
2015-11-03 04:29:28 -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
Jordan Liggitt
ddae749111
Read error from failed upgrade attempts
2015-11-02 22:39:58 -05:00
Janet Kuo
4d92268212
Better error handling for output format when "kubectl config view"
2015-11-02 16:25:52 -08:00
Huamin Chen
a31d23ea0e
don't use ext4 mkfs options for other fs
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-30 11:53:10 -04:00
Sami Wagiaalla
1d352a16b8
Support volume relabling for pods which specify an SELinux label
2015-10-28 09:26:58 -04:00
Mike Danese
b0a41108af
move deployment PodTemplate to be not a pointer
2015-10-28 00:13:40 -07:00
k8s-merge-robot
ec9b493647
Merge pull request #14639 from gmarek/hollow-proxy
...
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
Daniel Smith
6219b50280
Merge pull request #16160 from kargakis/windows-fixes-for-edit
...
edit: Windows fixes
2015-10-27 15:44:26 -07:00
gmarek
5a4e4d4d57
Add a HollowProxy to the HollowNode.
2015-10-27 18:23:29 +01:00
Daniel Smith
fcd99461ff
Merge pull request #16286 from liggitt/wsstream_cpu
...
Avoid CPU hotloop on client-closed websocket
2015-10-26 17:19:20 -07:00
Daniel Smith
b07dd73f26
Merge pull request #16053 from saad-ali/attachDetachMutextFix
...
Fix GCE Cloud/Attach/Detach stability issues
2015-10-26 13:05:27 -07:00
Jordan Liggitt
85379b12ca
Avoid CPU hotloop on client-closed websocket
2015-10-26 14:04:16 -04:00
k8s-merge-robot
275e978b90
Merge pull request #16241 from smarterclayton/fix_flake_stream
...
Auto commit by PR queue bot
2015-10-26 02:54:47 -07:00
k8s-merge-robot
4f17b4b39c
Merge pull request #15961 from ncdc/stream-protocol-negotiation
...
Auto commit by PR queue bot
2015-10-25 07:26:41 -07:00
Clayton Coleman
f79c74e311
Make util/wsstream/stream_test.go not flaky
...
It's hard to manage connection buffers in a deterministic test, ensure
that the error is always consistent and the output is always a subset
of the input
2015-10-24 15:47:57 -04:00
kargakis
73713ce268
edit: Windows fixes
...
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
saadali
19115b2a22
Fix GCE Cloudprovider waitForOp bug and make GCE attach/detach atomic operations.
2015-10-23 11:58:56 -07:00
Andy Goldstein
6fddb0e83a
Add httpstream.Handshake unit test
2015-10-23 14:09:41 -04:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Andy Goldstein
ff9883d9ec
Address code review comments
2015-10-21 21:53:51 -04:00
Andy Goldstein
3d1cafc2c3
Add streaming subprotocol negotiation
...
Add streaming subprotocol negotiation for exec, attach, and port
forwarding. Restore previous (buggy) exec functionality as an
unspecified/unversioned subprotocol so newer kubectl clients can work
against 1.0.x kubelets.
2015-10-21 21:53:51 -04:00
Huamin Chen
3b14135cad
mount returns more verbose message upon error
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-21 11:52:02 -04:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
Cesar Wong
b56d474110
Proxy: do not send X-Forwarded-Host or X-Forwarded-Proto with an empty value
2015-10-16 13:09:51 -04:00
k8s-merge-robot
a3f2ba2e34
Merge pull request #11694 from ncdc/add-spdy-proxy-support
...
Auto commit by PR queue bot
2015-10-15 06:56:15 -07:00
k8s-merge-robot
130e6a7a4d
Merge pull request #15468 from feiskyer/volume-typo-error
...
Auto commit by PR queue bot
2015-10-15 05:08:33 -07:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
Dawn Chen
535246f364
Merge pull request #15396 from derekwaynecarr/kernel_flags
...
Ensure panic_on_oom disabled
2015-10-13 10:24:50 -07:00
derekwaynecarr
0ec36ae210
Ensure panic_on_oom disabled
2015-10-13 11:24:32 -04:00
Dawn Chen
00eb2e7bfc
Merge pull request #15267 from nikhiljindal/deploymentRCSelector
...
Deployment: Fixing the selector for new RC created by deployment
2015-10-12 14:40:30 -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
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
nikhiljindal
6f61326cdb
Fixing the selector for new RC created by deployment
2015-10-12 11:00:29 -07: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
feisky
8ad6b8f035
Fix typo error
2015-10-12 18:57:56 +08: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
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
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
k8s-merge-robot
388159590d
Merge pull request #15014 from ncdc/gh14995-fix-wait-goroutine-leaks
...
Auto commit by PR queue bot
2015-10-09 00:51:46 -07:00
Robert Bailey
f9364da306
Merge pull request #13820 from jackgr/apply_patch
...
Add method to apply strategic merge patch
2015-10-08 12:44:13 -07:00
Piotr Szczesniak
95b293c615
Merge pull request #13516 from samsabed/backoff-image-reason
...
backoff image pulling on failure
2015-10-08 13:05:32 +02:00
jackgr
ddda379b1b
Add method to apply strategic merge patch.
2015-10-07 17:14:11 -07:00
Sam Abed
fdf712cd84
back-off image pull on failure
...
Signed-off-by: Sam Abed <samabed@gmail.com>
2015-10-07 21:12:42 +11:00
Andy Goldstein
7999e72659
Fix potential goroutine leaks in pollers
2015-10-06 14:58:21 -04:00
derekwaynecarr
970c369f31
Kubelet sets kernel overcommit_memory flag
2015-10-06 14:28:46 -04:00
Jordan Liggitt
b9ba3bd7c2
Allow specifying scheme when proxying
2015-10-05 22:12:10 -04:00
Alex Robinson
d481ba7547
Merge pull request #14964 from a-robinson/lbdelete
...
Unrevert #14608 and decrease the latency of GCE load balancer deletions
2015-10-05 16:26:07 -07:00
Alex Robinson
2feb54ce40
Add utility function for errors that runs multiple functions that errors
...
as goroutines, blocks until they're all done executing, and combines the
results into an Aggregate error.
2015-10-05 22:43:19 +00:00
Alex Robinson
52b8c40bfa
Merge pull request #14758 from deads2k/fix-patch
...
make patch handle conflicts gracefully
2015-10-05 14:41:51 -07:00
Steve Milner
6439486512
url.URL.Host now canonical before use in spdy roundtripper.
2015-10-05 16:05:36 -04:00
Alex Robinson
b1461be2e4
Merge pull request #14982 from Huawei-PaaS/fixed_typos_for_proxy
...
Fixed some typos for pkg/proxy
2015-10-05 11:40:03 -07:00
deads2k
05e84fafbe
move HasConflicts to shareable location
2015-10-05 14:37:57 -04:00
Alex Robinson
8f9feb40b9
Merge pull request #14867 from tummychow/no-fielderror-glog
...
Remove glog dependency from fielderrors
2015-10-05 11:32:50 -07: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
1b841d26e7
Merge pull request #14996 from thockin/wait-poll
...
add wait.PollImmediate() and retool wait tests
2015-10-02 16:39:42 -07: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
7007481f00
Merge pull request #14917 from nikhiljindal/deploymentController
...
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
Tim Hockin
1973d233e8
add wait.PollImmediate() and retool wait tests
2015-10-02 11:44:26 -07:00
qiaolei
718d7df276
Fixed some typos
2015-10-03 00:33:35 +08:00
k8s-merge-robot
6ca515c312
Merge pull request #14820 from gmarek/playground
...
Auto commit by PR queue bot
2015-10-02 07:37:45 -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
Jordan Liggitt
2a1286c8f2
Add util to set transport defaults
2015-10-02 02:29:46 -04:00
Jordan Liggitt
36a721e8b7
Honor InsecureSkipVerify flag
2015-10-02 02:26:04 -04:00
nikhiljindal
c6deb442f9
Adding events to deployment
2015-10-01 16:38:08 -07:00
David Oppenheimer
a448b5e154
Merge pull request #14697 from vishh/api-proxy
...
Avoid rewriting URLs in the proxy, if the application is proxy-aware.
2015-10-01 11:54:31 -07:00
tummychow
447c3371a1
Remove glog dependency from fielderrors
2015-10-01 11:02:51 -07:00
gmarek
fc79ce347e
Allow usining FakeOOMAdjuster in Kubelet
2015-10-01 10:55:08 +02:00
Nikhil Jindal
7adb463dd0
Merge pull request #14199 from nikhiljindal/deploymentDescribe
...
Adding a DeploymentDescriber to kubectl
2015-09-30 21:34:24 -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
665a2807ee
Merge pull request #14615 from smarterclayton/bandwidth_fails_on_mac
...
Linux bandwidth test doesn't work on Mac
2015-09-29 19:28:54 -07:00
Andy Goldstein
e73652411e
Add http proxy support for exec/port-forward
...
Add http proxy support for exec/port-forward in SpdyRoundTripper
2015-09-29 15:29:19 -04:00
Vishnu kannan
2788b47059
Avoid rewriting URLs in the proxy, if the application is proxy-aware.
2015-09-28 17:20:03 -07:00
nikhiljindal
153c57ffc8
Adding a DeploymentDescriber to kubectl
2015-09-28 14:21:24 -07:00
liguangbo
12299087da
Change Oom to OOM
2015-09-28 18:18:04 +08:00