Commit Graph

26268 Commits

Author SHA1 Message Date
Justin Santa Barbara
6bdab05d11 Salt: Don't use Salt to start Docker
Starting docker through Salt has always been problematic.  Kubelet or
the babysitter process should start it.  We've kept it around primarily
so we have a `service: docker` node for the Salt DAG.

Instead, we enable (but do not start) the Docker service in Salt.  This
lets us keep the DAG node, but won't start it.

There's another bug in Salt, where watches will start the service even
on `service.enabled`.  So we remove the watches, and move them to our
existing Salt bug-fix script.
2016-03-04 12:07:10 -05:00
Michail Kargakis
b390087a99 kubectl: bring the rolling updater on par with the deployments
During a rolling update for Deployments, the total count of surge pods
is calculated by adding the desired number of pods (deployment.Spec.Replicas)
to maxSurge. During a kubectl rolling update, the total count of surge
pods is calculated by adding the original number of pods (oldRc.Spec.Replicas
via an annotation) to maxSurge. This commit changes this to use desired
replicas.
2016-03-04 18:07:09 +01:00
Justin Santa Barbara
dbff0ef67b Systemd/non-Redhat: Add docker healthcheck script
We do the equivalent of #21727 for systemd systems.

Issue #21731
2016-03-04 12:05:52 -05:00
Justin Santa Barbara
64f1cbaddd Systemd/non-Redhat: Add docker prestart file
We do the equivalent of #21727 for systemd systems.

Issue #21731
2016-03-04 12:05:52 -05:00
Justin Santa Barbara
d074b5ba13 docker systemd file: type->notify, docs->https
This minimizes the changes we make to the official Docker systemd file.
2016-03-04 12:05:52 -05:00
Alex Robinson
29eb6020fb Merge pull request #22074 from a-robinson/images
Update the logging images to parse sub-second docker timestamps.
2016-03-04 09:04:33 -08:00
k8s-merge-robot
18d8e7b756 Merge pull request #22052 from mwielgus/hpa-average
Auto commit by PR queue bot
2016-03-04 08:38:38 -08:00
k8s-merge-robot
2a8ec62e76 Merge pull request #22522 from mwielgus/cm_utils
Auto commit by PR queue bot
2016-03-04 08:01:54 -08:00
k8s-merge-robot
917fb4264d Merge pull request #22461 from jayunit100/skipNodeDiskFill
Auto commit by PR queue bot
2016-03-04 08:01:53 -08:00
k8s-merge-robot
077fff8f4a Merge pull request #22447 from yifan-gu/fix_log
Auto commit by PR queue bot
2016-03-04 08:01:51 -08:00
Dan Williams
bc62096ad5 Clean up host networking plugin checks for docker manager
We can save a docker inspect in podInfraContainerChanged() because
it's only used within the useHostNetwork() block.  We can also
consolidate some code in createPodInfraContainer() because if
the pod uses the host network, no network plugin will be involved.

Finally, in syncPodWithSyncResult() we can consolidate some
conditionals because both hairpin setup and getting the container
IP are only relevant when host networking is *not* being used.

More specifically, putting the dm.determineContainerIP() call
into the !useHostNetwork() block is OK since if no network plugin
was called to set the container up, it makes no sense to call
the network plugin to retrieve the IP address that it did not
handle.  The CNI plugin even calls back into the docker manager
to GetContainerIP() which grabs the IP from docker, which will
always be "" for host networked containers anyway.
2016-03-04 09:27:14 -06:00
Marcin Wielgus
0a7e344d49 CustomMetric support in autoscaling utils 2016-03-04 15:50:55 +01:00
k8s-merge-robot
49f438bfac Merge pull request #21972 from olivierlemasle/fix-21746
Auto commit by PR queue bot
2016-03-04 06:00:18 -08:00
k8s-merge-robot
d931dab80e Merge pull request #21889 from swagiaal/unix-user-id
Auto commit by PR queue bot
2016-03-04 06:00:16 -08:00
k8s-merge-robot
09313b0847 Merge pull request #22254 from vmware/vsphere-pod-cidr-fix
Auto commit by PR queue bot
2016-03-04 04:17:44 -08:00
Vladimir Rutsky
3a0c97d180 add missing comma in JSON 2016-03-04 14:51:06 +03:00
k8s-merge-robot
6a6fcc8c2b Merge pull request #22432 from piosz/hpa-e2e
Auto commit by PR queue bot
2016-03-04 03:45:33 -08:00
k8s-merge-robot
b45bf88105 Merge pull request #22513 from gmarek/density
Auto commit by PR queue bot
2016-03-04 03:12:52 -08:00
k8s-merge-robot
0e3469dce3 Merge pull request #22183 from pmorie/config-quota
Auto commit by PR queue bot
2016-03-04 03:12:51 -08:00
Wojciech Tyczynski
3b4ce5ed33 Merge pull request #22515 from wojtek-t/move_scalability_to_dedicated_project
Move scalability suite to dedicated project
2016-03-04 11:34:32 +01:00
k8s-merge-robot
1b9abdc920 Merge pull request #22510 from gmarek/proxy
Auto commit by PR queue bot
2016-03-04 02:29:37 -08:00
k8s-merge-robot
130c67f1b0 Merge pull request #22474 from bprashanth/local-up
Auto commit by PR queue bot
2016-03-04 02:29:36 -08:00
k8s-merge-robot
51befb8c1b Merge pull request #22465 from goltermann/master
Auto commit by PR queue bot
2016-03-04 02:29:34 -08:00
k8s-merge-robot
18160741d4 Merge pull request #22429 from wojtek-t/fix_update_codecgen
Auto commit by PR queue bot
2016-03-04 02:29:33 -08:00
k8s-merge-robot
40778f3d2c Merge pull request #22194 from chbatey/testify-for-aws-provider
Auto commit by PR queue bot
2016-03-04 02:29:32 -08:00
k8s-merge-robot
0ff7186138 Merge pull request #22321 from WeixuZhuang/unit
Auto commit by PR queue bot
2016-03-04 02:29:31 -08:00
Wojciech Tyczynski
d3cfbea30e Move scalability suite to dedicated project 2016-03-04 11:23:58 +01:00
Piotr Szczesniak
60430ca1fb Added HPA lightweight e2e test 2016-03-04 11:23:07 +01:00
gmarek
43a8f04193 Add a comment explaining the necessary scale for Density test 2016-03-04 11:05:20 +01:00
Wojciech Tyczynski
965de9098f Fix update codecgen 2016-03-04 10:42:06 +01:00
feihujiang
892e3a349a Mark generic top level prefix proxy deprecated 2016-03-04 17:39:08 +08:00
k8s-merge-robot
17b5ac4808 Merge pull request #22440 from gmarek/more_flake
Auto commit by PR queue bot
2016-03-04 01:28:34 -08:00
gmarek
633d2cdfc1 Add a workaround for hanging proxy in nodeProxyRequest 2016-03-04 10:27:41 +01:00
k8s-merge-robot
ffd5bbaae2 Merge pull request #22504 from gmarek/master
Auto commit by PR queue bot
2016-03-04 01:09:42 -08:00
gmarek
7f3c490519 Print running pods before SchedulerPredicates tests 2016-03-04 09:50:33 +01:00
k8s-merge-robot
679e27c157 Merge pull request #22500 from mesosphere/jdef_multi_bugfix
Auto commit by PR queue bot
2016-03-04 00:32:28 -08:00
k8s-merge-robot
527c0270c8 Merge pull request #22475 from caseydavenport/remove-calico-fedora
Auto commit by PR queue bot
2016-03-04 00:32:27 -08:00
Prashanth B
a1118b2e72 Merge pull request #22503 from bprashanth/rc_logs
Add some logging around deletion timestamps for RC scaling.
2016-03-04 00:15:24 -08:00
gmarek
030f5d073d Relax thresholds for cluster saturation time 2016-03-04 09:07:52 +01:00
James DeFelice
954e25465d fix several bugs:
- properly remove the leading non-flag args from the command line before passing the rest to the executor
  - fix missed "add" after "delete" in merge() when objects are identical
  - properly test for tombstone instead of *api.Node in delete handler
  - basic tests for node registrator
2016-03-04 07:35:13 +00:00
Prashanth Balasubramanian
c61bf4d665 Add some logging around deletion timestamps for RC scaling. 2016-03-03 23:10:37 -08:00
k8s-merge-robot
6d690d3f8a Merge pull request #21904 from justinsb/salt_docker_install_fix
Auto commit by PR queue bot
2016-03-03 22:07:14 -08:00
k8s-merge-robot
220b681768 Merge pull request #22495 from huang195/remove_unused_timing_constants
Auto commit by PR queue bot
2016-03-03 21:33:03 -08:00
k8s-merge-robot
258eac505f Merge pull request #21400 from derekwaynecarr/namespace_deletion_discovery
Auto commit by PR queue bot
2016-03-03 21:33:01 -08:00
Brian Grant
26851bab08 Merge pull request #22418 from caesarxuchao/ignore-notfound-etcd
Ignore NotFound error in generic etcd's Delete()
2016-03-03 21:10:26 -08:00
k8s-merge-robot
c8038a7751 Merge pull request #22311 from vishh/22198
Auto commit by PR queue bot
2016-03-03 20:55:20 -08:00
k8s-merge-robot
6418a9b278 Merge pull request #22473 from spxtr/pr-yaml
Auto commit by PR queue bot
2016-03-03 20:19:07 -08:00
k8s-merge-robot
601104f201 Merge pull request #22472 from caesarxuchao/log-nodecontroller
Auto commit by PR queue bot
2016-03-03 20:19:06 -08:00
k8s-merge-robot
3af6566ab3 Merge pull request #22463 from huang195/add_kubelet_kubeconfig_flag
Auto commit by PR queue bot
2016-03-03 20:19:05 -08:00
k8s-merge-robot
e3304e6a1d Merge pull request #21773 from matthughes/patch-2
Auto commit by PR queue bot
2016-03-03 20:19:04 -08:00