kubernetes/pkg/util
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
..
atomic Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
bandwidth Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
chmod FSGroup implementation 2015-10-22 16:40:59 -04:00
chown FSGroup implementation 2015-10-22 16:40:59 -04:00
codeinspector Implement checking in predicates 2016-02-25 21:25:36 +08:00
config Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00
configz add http handler to export configuration state 2016-02-24 14:12:28 -08:00
dbus Bump cadvisor to fix interface stats bugs & improve performance 2015-12-21 17:07:21 +00:00
deployment kubectl: set maxUnavailable to 1 if both fenceposts resolve to zero 2016-03-07 13:03:41 +01:00
errors Address comments 2016-03-03 15:56:09 -08:00
exec Improve error reporting a little in ingress e2e. 2016-01-06 15:25:04 -08:00
flock kubelet: add a pidfile 2016-02-10 11:38:50 -08:00
flushwriter Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
hash Use hashutil to hold hash tools 2016-01-06 22:28:58 +08:00
httpstream SPDY roundtripper support to proxy with Basic auth 2016-02-25 15:54:50 -03:00
integer create some integer min/max function 2016-02-12 11:20:11 +08:00
intstr Deployment: preserve availability when maxUnavailability is not 100% 2016-02-25 13:30:06 +08:00
io Remove all instances of "/tmp" from unit tests and replace with a common 2016-01-27 16:11:22 -08:00
iptables fix a few go-vet errors 2016-02-09 13:20:31 -08:00
jsonpath Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
keymutex Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
labels Improve go report card by fixing typos in comments 2016-03-04 18:30:59 -08:00
limitwriter Support extended pod logging options 2015-09-21 15:39:32 -04:00
mount Don't return error when findmnt exits with error. 2016-02-19 14:09:33 +01:00
net LB Source Ranges: Move validation into API layer 2016-03-03 10:27:17 -05:00
node run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
oom Do not fail container creation if the contaienr exits before applyting 2016-02-04 13:39:19 -08:00
parsers Move parsers into util 2015-11-29 22:15:11 -08:00
pod Address comments 2016-03-03 15:56:09 -08:00
procfs Do not fail container creation if the contaienr exits before applyting 2016-02-04 13:39:19 -08:00
proxy Use networking to hold network related pkgs 2016-01-15 13:46:16 +08:00
rand Backoff and Randomness additions for use in client utilities 2015-11-25 00:01:06 -05:00
replicaset Address comments 2016-03-03 15:56:09 -08:00
runtime Track deletes in rc manager with a UID expectations cache. 2016-03-05 18:18:18 -08:00
selinux Bump cadvisor to fix interface stats bugs & improve performance 2015-12-21 17:07:21 +00:00
sets Cleanup of docstring for types.go 2016-02-24 14:14:37 -05:00
slice Move pkg/util.Time to pkg/api/unversioned.Time 2015-09-17 17:51:27 -07:00
strategicpatch Implement conflict detection in strategic merge patch. 2015-12-06 17:54:32 -08:00
strings Add strings pkg to hold strings utils 2016-01-15 12:37:50 +08:00
sysctl Refactor an interface for style 2015-11-13 15:56:27 -08:00
system Move isMasterNode function to api/helpers 2016-03-01 12:12:38 +01:00
testing Remove all instances of "/tmp" from unit tests and replace with a common 2016-01-27 16:11:22 -08:00
validation fix a few go-vet errors 2016-02-09 13:20:31 -08:00
wait Add unit test for JitterUntil 2016-02-07 21:09:06 +01:00
workqueue rewrite go imports 2015-08-05 17:30:03 -07:00
wsstream Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
yaml Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
backoff.go fake backoff implementation for speeding up flakey test, fake Clock Test for sleep 2016-02-24 13:50:29 -05:00
backoff_test.go fake backoff implementation for speeding up flakey test, fake Clock Test for sleep 2016-02-24 13:50:29 -05:00
bool_flag.go Make "BoolFlag" booleans not require =true 2016-01-14 09:07:00 -05:00
cache.go Add cache with multiple shards to decrease lock contention 2015-05-11 15:07:50 +02:00
cache_test.go Add cache with multiple shards to decrease lock contention 2015-05-11 15:07:50 +02:00
clock.go fake backoff implementation for speeding up flakey test, fake Clock Test for sleep 2016-02-24 13:50:29 -05:00
clock_test.go fake backoff implementation for speeding up flakey test, fake Clock Test for sleep 2016-02-24 13:50:29 -05:00
configuration_map.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
crlf.go edit: Windows fixes 2015-10-24 17:06:49 +02:00
crypto.go Use self-signed cert as CA for local-up-cluster.sh 2015-07-24 07:16:07 -07:00
deadlock-detector.go Refactor the deadlock detector for testing. Add a test. 2015-11-20 09:35:40 -08:00
deadlock-detector_test.go Refactor the deadlock detector for testing. Add a test. 2015-11-20 09:35:40 -08:00
diff.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
env.go Add GetEnvOr() feature to utils Package 2016-01-25 16:08:35 +05:30
env_test.go Add GetEnvOr() feature to utils Package 2016-01-25 16:08:35 +05:30
flags.go Use pflag functions instead of ours. 2015-08-20 15:00:55 -07:00
line_delimiter.go Fix up alignment of columns w/ namespaces. 2015-07-09 08:59:32 -07:00
line_delimiter_test.go Fix up alignment of columns w/ namespaces. 2015-07-09 08:59:32 -07:00
logs.go Move Until, Forever, NeverStop, ForeverTestTimeout from util to wait 2016-02-07 11:38:48 +01:00
resource_container_linux.go Ensure kubelet pid is not moved to system container 2016-01-29 09:30:20 +00:00
resource_container_unsupported.go flag controlled RLIMIT_NOFILE for kubelet. 2015-09-22 15:18:34 -07:00
runner.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
runner_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
string_flag.go Replace the auth config file with a kubeconfig file when 2015-05-13 01:03:28 -07:00
template.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
template_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
throttle.go Add FakeNeverRateLimitter 2016-02-08 11:06:25 +01:00
throttle_test.go Add FakeNeverRateLimitter 2016-02-08 11:06:25 +01:00
trace.go Add very simple tracing mechanism for easier debugging of slow requests. 2015-05-26 16:17:18 +02:00
umask.go util: Add util.Umask wrapper 2015-08-06 11:39:29 +02:00
umask_windows.go util: Add util.Umask wrapper 2015-08-06 11:39:29 +02:00
util.go Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
util_test.go Move Until, Forever, NeverStop, ForeverTestTimeout from util to wait 2016-02-07 11:38:48 +01:00
uuid.go Speed up UUID generation. 2016-01-27 15:39:23 +01:00