Commit Graph

8147 Commits (c569c091356e1ccf4bc76beddfdb7b78fc085106)

Author SHA1 Message Date
Victor Marmol c93b44ffb5 Merge pull request #5692 from smarterclayton/zealous_pod_logging
Reduce probe logging level
2015-03-20 07:46:04 -07:00
Justin Santa Barbara d8a2d0300b (Re)add dependency on ELB functionality of goamz 2015-03-20 07:04:49 -07:00
Wojciech Tyczynski 7a7e64331c Kubelet file read both ContainerManifest and Pod 2015-03-20 12:09:09 +01:00
Filip Grzadkowski a48e9af28d Add documentation explaining there must be at least one container in a Pod 2015-03-20 11:10:30 +01:00
Wojciech Tyczynski c5d8c391fb Refactor kubelet/config to share code 2015-03-20 09:40:52 +01:00
Zach Loafman 407d1fec45 Both @satnam6502 and E2E tests confirm: This code is no longer needed
Deletion is wonderful. The only weird thing was where to put the
message about the proxy URLs. Satnam suggested kubectl clusterinfo,
which seemed like a good option to put at the end of cluster turn-up.
2015-03-19 22:23:11 -07:00
Victor Marmol fc8f4411ef Correct documentation about stats arguments. 2015-03-19 22:11:04 -07:00
Clayton Coleman 6918a4d32e Replace automatic YAML decoding with opt-in YAML decoding
Base codecs no longer automically handle YAML.  Instead, clients
must convert to JSON first via yaml.ToJSON and runtime.YAMLDecoder.
2015-03-20 00:03:56 -04:00
Clayton Coleman 71abc99dbe Expose a ToJSON and runtime.YAMLDecoder helper
Enables clients to optionally handle YAML
2015-03-20 00:03:56 -04:00
Clayton Coleman 022c103699 Update RollingUpdater to use resource.Builder
Remove last usage of ResourceFromFile
2015-03-20 00:03:54 -04:00
Clayton Coleman 1b1866d836 Invalid JSON in examples and tests 2015-03-20 00:02:03 -04:00
Clayton Coleman 84ab8f7254 Reduce probe logging level
Too chatty for normal operation
2015-03-19 23:06:21 -04:00
Victor Marmol a8f2cee8c5 Merge pull request #5681 from justinsb/ulimit_kubeproxy
Raise the file ulimit for kube-proxy for init.d systems
2015-03-19 19:06:36 -07:00
Victor Marmol b6d2cf4b3e Merge pull request #5685 from yujuhong/pod_status
Kubelet: per-pod workers should avoid grabbing the pod array lock
2015-03-19 18:54:36 -07:00
Yu-Ju Hong 0d0fb5f07b Kubelet: per-pod workers should avoid grabbing the pod array lock
Per-pod worker syncs the pod and container status, and write the pod status in
the pod status cache. Given that it already owns a copy of the pod, it can
bypass the additional pod lookup step completely. This change adds a new
generatePodStatusByPod() method to achieve this. In general, per-pod worker
should avoid accessing the internal pod array completely, as this would may
lead to high contention.

This change also changes the return type of GetPodByFullName to reflect the
name, and consolidates GetPodByFullName() and GetPodByName().
2015-03-19 18:25:41 -07:00
Brian Grant 699dc96c7b Merge pull request #5085 from smarterclayton/allow_graceful_delete
Support graceful deletion of resources
2015-03-19 17:58:31 -07:00
Clayton Coleman 015bc3b7bd Remove global map from healthz
It currently is impossible to use two healthz handlers on different
ports in the same process.  This removes the global variables in favor
of requiring the consumer to specify all health checks up front.
2015-03-19 19:49:44 -04:00
Justin Santa Barbara 60a07e972b Raise the file ulimit for kube-proxy for init.d systems 2015-03-19 19:36:13 -04:00
Justin Santa Barbara 6fec242f89 Format ephemeral disks with btrfs, put Docker storage on there
Docker's default storage has severe bugs with older (stable) kernels.

Use btrfs to bypass those issues.
2015-03-19 19:23:29 -04:00
Tim Hockin 1cbde2c5c7 Merge pull request #5664 from calfonso/nfs_mount_plugin
Addresses cross compile for syscall.Unmount by delegating to Mount.
2015-03-19 16:19:01 -07:00
CJ Cullen 98925b4271 Merge pull request #5679 from thockin/fix_windows
Make net plugins build on non-unix
2015-03-19 16:17:51 -07:00
Tim Hockin 4ee6eb8c73 Make net plugins build on non-unix 2015-03-19 16:15:33 -07:00
CJ Cullen bec527f886 Merge pull request #5680 from GoogleCloudPlatform/revert-5678-revert-5069-network_hooks
Revert "Revert "[WIP] southbound networking hooks in kubelet""
2015-03-19 16:15:07 -07:00
CJ Cullen 7ddcecfd1c Revert "Revert "[WIP] southbound networking hooks in kubelet"" 2015-03-19 16:14:13 -07:00
Zach Loafman 1dd4600eb6 Merge pull request #5678 from GoogleCloudPlatform/revert-5069-network_hooks
Revert "[WIP] southbound networking hooks in kubelet"
2015-03-19 16:08:53 -07:00
Zach Loafman b5d1e538df Revert "[WIP] southbound networking hooks in kubelet" 2015-03-19 16:08:08 -07:00
Tim Hockin 1ce5dda691 Merge pull request #5069 from rajatchopra/network_hooks
[WIP] southbound networking hooks in kubelet
2015-03-19 15:03:53 -07:00
CJ Cullen f6d8d5f800 Merge pull request #5522 from fabioy/expose-label.fix
Add "--labels" option to the "expose" kubectl command.
2015-03-19 14:40:15 -07:00
Rajat Chopra 7857aa7751 kubelet networking plugin 2015-03-19 14:15:52 -07:00
Chris Alfonso 9d0c9e7dc3 Addresses cross compile for syscall.Unmount by delegating to Mount. 2015-03-19 16:46:14 -04:00
Jerzy Szczepkowski c0ff504ad3 Merge pull request #5501 from jszczepkowski/kubelet-spechost
Running resource predicate on kubelet.
2015-03-19 21:34:27 +01:00
Clayton Coleman 2f16ed26f4 Merge pull request #5662 from derekwaynecarr/fix_build
Disable the nfs plugin because it does not cross-compile
2015-03-19 16:28:12 -04:00
derekwaynecarr 396f802318 Disable the nfs plugin because it does not cross-compile during release builds 2015-03-19 16:11:15 -04:00
Clayton Coleman 428d2263e5 Graceful deletion of resources
This commit adds support to core resources to enable deferred deletion
of resources.  Clients may optionally specify a time period after which
resources must be deleted via an object sent with their DELETE. That
object may define an optional grace period in seconds, or allow the
default "preferred" value for a resource to be used. Once the object
is marked as pending deletion, the deletionTimestamp field will be set
and an etcd TTL will be in place.

Clients should assume resources that have deletionTimestamp set will
be deleted at some point in the future.  Other changes will come later
to enable graceful deletion on a per resource basis.
2015-03-19 15:33:32 -04:00
Victor Marmol 6f6485909e Merge pull request #5598 from wojtek-t/kubelet_http_read_pod
Kubelet read pods from http
2015-03-19 11:49:28 -07:00
Tim Hockin 9bc2b0c2db Merge pull request #4601 from calfonso/nfs_mount_plugin
NFSMount storage plugin for kubelet.
2015-03-19 11:19:12 -07:00
Victor Marmol 84ee72d4a7 Merge pull request #5631 from dchen1107/podstatus
Remove PodIP from ContainerStatus
2015-03-19 11:03:10 -07:00
Wojciech Tyczynski c512c549a1 Kubelet http read both ContainerManifest and Pod 2015-03-19 18:57:00 +01:00
Dawn Chen 4910be6dcb Remove PodIP from ContainerStatus 2015-03-19 10:42:01 -07:00
Chris Alfonso 1a45e37d17 NFSMount storage plugin for kubelet.
* If you want to test this out when an actual NFS export a good place
 to start is by running the NFS server in a container:

docker run -d --name nfs --privileged cpuguy83/nfs-server /tmp

More detail can be found here:
https://github.com/cpuguy83/docker-nfs-server
2015-03-19 13:37:38 -04:00
Jeff Grafton d845d49dc6 Merge pull request #5437 from lhuard1A/libvirt-coreos_kubeconfig
Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it
2015-03-19 10:18:03 -07:00
Vish Kannan 407af7b883 Merge pull request #5656 from lhuard1A/libvirt-coreos_etcd-HA
libvirt-coreos: make kube-apiserver connect to all the etcd nodes of the cluster
2015-03-19 09:59:08 -07:00
Vish Kannan 577be8d524 Merge pull request #5648 from kargakis/godeps
bump(github.com/matttproud/golang_protobuf_extensions/ext)
2015-03-19 09:52:35 -07:00
CJ Cullen 2e7356bca7 Merge pull request #5534 from bprashanth/generic_storage_interface
Add a GenericRESTStorage interface
2015-03-19 09:35:06 -07:00
CJ Cullen eaf35b89b7 Merge pull request #5641 from gosharplite/patch-1
Fix master ip error.
2015-03-19 09:31:37 -07:00
CJ Cullen 80914498e4 Merge pull request #5610 from jlowdermilk/kubectl-flags
Declare kubectl validate flag once
2015-03-19 09:26:10 -07:00
Lénaïc Huard f9d718675a libvirt-coreos: make kube-apiserver connect to all the etcd nodes of the cluster 2015-03-19 17:13:41 +01:00
Vish Kannan f56e8cbfda Merge pull request #5651 from sub-mod/v1beta3_cluster
update grafana v1beta3 yaml files
2015-03-19 09:00:14 -07:00
Vish Kannan 53c3b16663 Merge pull request #5633 from satnam6502/network
Reduce pod usage for network e2e test
2015-03-19 08:43:29 -07:00
Yu-Ju Hong c2c958be05 Merge pull request #5609 from fgrzadkowski/empty_pods
Validate that there is at least one container in the pod
2015-03-19 08:37:44 -07:00