Commit Graph

26359 Commits

Author SHA1 Message Date
k8s-merge-robot
a435537e27 Merge pull request #21966 from madhusudancs/scale-deployment-replicaset
Auto commit by PR queue bot
2016-03-04 14:40:10 -08:00
Joshua Piccari
01e2d8c115 Fix typo in developer guide README.md 2016-03-04 14:36:37 -08:00
derekwaynecarr
f0bfbcedcd Bump timeout time for e2e node test services 2016-03-04 17:07:35 -05:00
Andy Goldstein
156c1f3c5d Test jobs/hpas in storage update 2016-03-04 17:05:39 -05:00
Janet Kuo
59b1f5b8b5 Log contents of pods on creation/update/deletion in controllers 2016-03-04 13:57:34 -08:00
Abhi Shah
a75c0a3cf0 Merge pull request #22555 from yujuhong/revert_retries
Revert "Set timeout for accessing credential provider's URL"
2016-03-04 13:55:41 -08:00
Kris
dbde4fd798 Move the discovery client to its own package 2016-03-04 13:44:52 -08:00
Abhi Shah
c47564f00b Merge pull request #22542 from timstclair/heapster
Use the summary_api with heapster by default
2016-03-04 13:37:52 -08:00
Dawn Chen
fd10ca2f45 Enable --log-level=info for docker daemons for jenkins jobs and e2e tests except soak-continuous. 2016-03-04 13:31:42 -08:00
Eric Paris
082cdd5ad4 hack/e2e-node-test should not assume ginkgo installed
It should use the version we build.
2016-03-04 16:28:35 -05:00
Abhishek Shah
a3c00aadd5 Specify hostname, subdomain via annotation on podspec.
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Avesh Agarwal
be06003e6b Fix kubectl sort-by metadata issue.
Internal types are not supposed to have json metadata (though in kubernetes
they do) as it is true with openshift types. That means sort-by must work
on versioned objects for sorting, otherwise it produces "error: metadata
is not found" error if it sorts internal types without json metadata.

This PR converts internal types objects to versioned objects and sort-by
sorts them correctly without medata error, and then it prints
corresponding internal objects in sorted order.
2016-03-04 16:14:45 -05:00
Abhi Shah
4e00333f9b Merge pull request #21910 from madhusudancs/scale-register-rc-override
Register scale subresource for replicationcontrollers in api/v1.
2016-03-04 12:54:12 -08:00
Abhi Shah
df05c5ae7d Merge pull request #22253 from bprashanth/kubedns
Wait on Kubernetes service in DNS pod
2016-03-04 12:50:05 -08:00
k8s-merge-robot
bf2a33f831 Merge pull request #22548 from wojtek-t/switch_to_us_central
Auto commit by PR queue bot
2016-03-04 12:42:32 -08:00
k8s-merge-robot
f7c11b755b Merge pull request #22533 from spxtr/restrict-updater
Auto commit by PR queue bot
2016-03-04 12:42:30 -08:00
k8s-merge-robot
1b64d6b3fd Merge pull request #22530 from mwielgus/rcconfig
Auto commit by PR queue bot
2016-03-04 12:42:29 -08:00
Yu-Ju Hong
fd7e323cc6 Revert "Set timeout for accessing credential provider's URL"
This reverts commit 9d3806bceb.
2016-03-04 12:37:30 -08:00
Janet Kuo
b45dce5aff Interpret etcd not found error on a update 2016-03-04 12:06:13 -08:00
Wojciech Tyczynski
113e0496c7 Move scalability jobs to us-central from us-east 2016-03-04 20:31:59 +01:00
Jeff Lowdermilk
6c4c033d5a Use new bucket for ci cloud sdk 2016-03-04 11:27:52 -08:00
Andy Zheng
242b9977c7 Remove manifest copies from Trusty support
This change revises the way to provide kube-system manifests for clusters on Trusty. Originally, we maintained copies of some manifests under cluster/gce/trusty/kube-manifests, which is not scalable and hard to maintain. With this change, clusters on Trusty will use the same source of manifests as ContainerVM. This change also fixes some minor problems such as shell variables and comments to meet the style guidance better.
2016-03-04 11:16:49 -08:00
Madhusudan.C.S
fa0794098f Define etcd storage methods for replicationcontrollers/scale subresource.
Also register replicationcontrollers/scale subresource. Along with
registering the resource, also specify the cross-group override for the
subresource since Scale belongs belongs to autoscaling/v1 but
ReplicationController belongs to api/v1.
2016-03-04 11:02:37 -08:00
Madhusudan.C.S
9e99f9fa0e Register scale subresource for Deployments and ReplicaSets.
Define etcd registry methods for scale subresource in Deployments and
ReplicaSets. Register them with the API server.
2016-03-04 11:01:36 -08:00
Abhi Shah
4d599ea309 Merge pull request #22261 from gmarek/kube-up
kube-up for GCE chooses master size based on number of nodes
2016-03-04 10:55:12 -08:00
Abhi Shah
f9c4b3db1e Merge pull request #22493 from andyzheng0831/enhance
Fix a breakage of kubelet in Trusty
2016-03-04 10:50:03 -08:00
Abhi Shah
bfe4896b00 Merge pull request #22043 from roberthbailey/cluster-name
Add the GCE cluster name to instance metadata
2016-03-04 10:43:39 -08:00
Abhi Shah
05ba8ca7fa Merge pull request #22170 from metmajer/master
Pass through EXTRA_DOCKER_OPTS.
2016-03-04 10:40:17 -08:00
Tim St. Clair
1d90394bf6 Use the summary_api with heapster by default 2016-03-04 10:37:00 -08:00
Vishnu kannan
c54ba12faa Update node status to include the absense of cpu hardcapping.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-04 10:33:56 -08:00
Joe Finney
81c3b98f6a Restrict update-jenkins-jobs to run on the master node only. 2016-03-04 10:15:29 -08:00
Eric Paris
f334fc4179 Remove all docs which are moving to http://kubernetes.github.io
All .md files now are only a pointer to where they likely are on the new
site.

All other files are untouched.
2016-03-04 12:49:17 -05:00
Marcin Wielgus
a13843cddb Add volumes, volumemounts and host ports to rcconfig in e2e utils 2016-03-04 18:38:10 +01:00
Abhi Shah
a20258efae Merge pull request #22492 from vishh/heapster-update
Update heapster to v0.20.0.alpha11
2016-03-04 09:27:01 -08:00
Abhi Shah
de18fdbdbe Merge pull request #22528 from kubernetes/revert-22016-discbreak
Revert "Move discovery client to its own package"
2016-03-04 09:25:38 -08:00
Abhi Shah
b25a48d605 Revert "Move discovery client to its own package" 2016-03-04 09:24:54 -08:00
k8s-merge-robot
57670edc15 Merge pull request #22345 from fgrzadkowski/hpa_events
Auto commit by PR queue bot
2016-03-04 09:18:21 -08:00
Abhi Shah
627edd2588 Merge pull request #22016 from krousey/discbreak
Move discovery client to its own package
2016-03-04 09:17:46 -08:00
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