goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
Avesh Agarwal
d5e135e42c
Fix jsonpath to handle maps with key of nonstring types
2016-03-22 17:32:40 -04:00
Clayton Coleman
3a29e3971b
Improve terminal reuse and attach
...
Currently attach and the editor do not share the same logic for saving
and restoring the terminal, and are not suitable for nesting (when the
caller wants to create something, attach, and then delete something when
the attach is over). This commit moves the interrupt protection logic
to a util package and supports nesting interrupt handlers.
2016-03-21 23:59:58 -04:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
harry
d6e1566509
Refector deadlock into detector pkg
2016-03-21 20:20:05 +08:00
Harry Zhang
a4d04095d0
Refactor crlf & crypto
2016-03-21 20:20:05 +08:00
Harry Zhang
7178fba251
Move crlf.go to sub pkg
2016-03-21 20:20:05 +08:00
harry
343b1927d1
Refactor config map into sub pkg
2016-03-21 14:50:57 +08:00
harry
bc422f077a
Refactor bool_flag into sub pkg
2016-03-21 14:50:57 +08:00
harry
b6924a322a
Refactor cache into util sub pkg
2016-03-21 14:50:57 +08:00
k8s-merge-robot
782ba437f1
Merge pull request #23003 from deads2k/no-proxy-cidr
...
Auto commit by PR queue bot
2016-03-17 14:16:11 -07:00
Wojciech Tyczynski
e610c137c0
Regenerate auto-generated files
2016-03-17 09:30:02 +01:00
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