Commit Graph

5073 Commits (5e7a7b9206b8bd24769b7712f071609dfafc4d8d)

Author SHA1 Message Date
Victor Marmol d84aac6498 rkt: Unexport runtime, use Runtime interface 2015-05-04 17:28:02 -07:00
Victor Marmol f012d7f506 Add unsupported version of rkt. 2015-05-04 17:22:45 -07:00
Robert Bailey 5fe07e69b7 Merge pull request #7725 from pmorie/typo
Fix typo in runtime_cache.go
2015-05-04 17:03:42 -07:00
Brian Grant df8521c468 Merge pull request #7592 from pmorie/dapi-example
Rename EnvVarSource.FieldPath -> FieldRef and add example
2015-05-04 17:02:17 -07:00
Victor Marmol de2212983f Refactor rkt into one file.
This will make it easy to add build labels and stub out in non-Linux
builds.
2015-05-04 16:51:31 -07:00
Victor Marmol fe7cb95be6 Merge pull request #7746 from vishh/exec_fix
Fix kubelet's docker RunInContainer implementation
2015-05-04 16:49:57 -07:00
Victor Marmol a32d31d045 Merge pull request #7729 from yujuhong/runtime_up
Kubelet: wait until container runtime is up
2015-05-04 16:02:30 -07:00
Vishnu Kannan ec01265643 Fix docker exec logic. Without this patch, kubelet was not receiving any output from docker exec
and was incorrectly handling the output.
2015-05-04 16:01:32 -07:00
Paul Morie e949a623ff Change EnvVarSource.FieldPath -> FieldRef and add example 2015-05-04 18:41:09 -04:00
Prashanth Balasubramanian faa65cbd20 More reliable updates in rollingupdate 2015-05-04 15:29:30 -07:00
Yu-Ju Hong d231eb6bef Kubelet: wait until container runtime is up
Instead of waiting for the docker client to be up, we wait for the container
runtime to be up.
2015-05-04 15:16:38 -07:00
Victor Marmol b0129089da Merge pull request #7712 from rjnagal/kubelet
Expose pod name as a label on containers.
2015-05-04 14:52:16 -07:00
Fabio Yeon 1709cf0dbb Remove node status from "componentstatuses" call.
The legacy "/validate" behavior remains unchanged.
2015-05-04 14:34:20 -07:00
Brian Grant f7a2a02ebb Merge pull request #7443 from vishh/comments
Explicitly state the lack of support for 'Requests' for the purposes of scheduling
2015-05-04 14:33:13 -07:00
Daniel Smith 16a6fb8ef7 Replace calls to time.After with time.NewTimer for explicit stopping 2015-05-04 14:29:33 -07:00
Nikhil Jindal 2ae13693ab Merge pull request #7675 from cjcullen/cbr0
Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7
2015-05-04 14:23:29 -07:00
Rohit Jnagal 1511dbf0b5 Expose pod name as a label on containers.
Full pod name is exposed under key 'kubernetes.io/pod'.
It helps in introspection by looking at all containers in a pod through
docker ps -a -f label=kubernetes.io/pod=podXXX

We also plan to visualize this in cAdvisor.
2015-05-04 21:20:42 +00:00
Quinton Hoole cd7a0e5a9f Merge pull request #7721 from smarterclayton/fix_ipv4
Select IPv4-only from host interfaces
2015-05-04 14:09:27 -07:00
Vishnu Kannan 3b5a90852a Explicitly state the lack of support for 'Requests' for the purposes of scheduling. 2015-05-04 13:39:11 -07:00
Paul Morie d90689bb71 Fix typo in runtime_cache.go 2015-05-04 16:33:48 -04:00
Clayton Coleman c07896ee35 Merge pull request #7509 from deads2k/deads-has-any
add StringSet.HasAny
2015-05-04 16:21:33 -04:00
Robert Bailey 93a781ff66 Merge pull request #7722 from eparis/minor-bash-fixes
Minor bash update found by shellcheck.net
2015-05-04 13:03:26 -07:00
CJ Cullen a21713a771 Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7 2015-05-04 13:01:35 -07:00
Victor Marmol 90de73ac7a Merge pull request #7536 from rjnagal/node
Add --hostport to run-container.
2015-05-04 12:55:12 -07:00
Victor Marmol 25004014b1 Merge pull request #7703 from pmorie/nsenter-mount
Add NsenterMounter mount implementation
2015-05-04 12:54:02 -07:00
Yu-Ju Hong 7cf7b093a4 Merge pull request #7659 from vmarmol/runtime-switch
Have rkt implement the container Runtime interface
2015-05-04 12:45:16 -07:00
Daniel Smith 36977ecb67 Merge pull request #7643 from bprashanth/rc_status
Requeue rc if a single get/put retry on status.Replicas fails
2015-05-04 12:15:30 -07:00
Clayton Coleman dd8184247e Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
Change the order the different versions of API are registered
2015-05-04 15:01:59 -04:00
Clayton Coleman 82b939760e Merge pull request #7699 from kargakis/make-expose-generic
expose: Create objects in a generic way
2015-05-04 15:01:37 -04:00
Eric Paris 87613eee87 Minor bash update found by shellcheck.net 2015-05-04 14:52:50 -04:00
Clayton Coleman 166021e765 Select IPv4-only from host interfaces 2015-05-04 14:46:00 -04:00
Paul Morie e5521234e4 Add NsenterMounter mount implementation 2015-05-04 14:40:04 -04:00
Zach Loafman 74cc4df81b Merge remote-tracking branch 'upstream/release-0.16' into merge-release-0.16-to-master 2015-05-04 11:37:23 -07:00
Victor Marmol ba7e940a57 Make rkt implement the container Runtime 2015-05-04 11:16:33 -07:00
Victor Marmol e44d9df0f4 Changes to rkt's PortForward to match Runtime API. 2015-05-04 11:16:33 -07:00
Victor Marmol 79fc8bee34 Change GetContainerLogs() signature.
This works for both runtimes. We need to eventually unify the ID scheme
for this method.
2015-05-04 11:16:32 -07:00
Victor Marmol 60a77221f5 Add dummy ListImages and RemoveImage to rkt runtime. 2015-05-04 11:14:54 -07:00
Victor Marmol 2ad933e124 Merge pull request #7674 from yujuhong/enable_runtime
Kubelet: replace DockerManager with the Runtime interface
2015-05-04 11:10:20 -07:00
Zach Loafman 91bc1637a1 Kubernetes version v0.16.2-dev 2015-05-04 10:42:55 -07:00
Zach Loafman 72a6a94840 Kubernetes version v0.16.2 2015-05-04 10:42:44 -07:00
Brendan Burns 3cc25541d1 Fix YAML parsing for v1beta3 objects in the kubelet for file/http 2015-05-04 10:32:21 -07:00
Yu-Ju Hong 1ad4dd7803 Kubelet: replace DockerManager with the Runtime interface
This change instructs kubelet to switch to using the Runtime interface. In order
to do it, the change moves the Prober instantiation to DockerManager.

Note that most of the tests in kubelet_test.go needs to be migrated to
dockertools. For now, we use type assertion to convert the Runtime interface to
DockerManager in most tests.
2015-05-04 10:19:46 -07:00
Paul Morie b538642464 Inject mounter into volume plugins 2015-05-04 11:28:57 -04:00
Wojciech Tyczynski 72f9e940a8 Merge pull request #7694 from nak3/bash-comp-add-label
Add kubectl_label to custom functions in bash completion
2015-05-04 15:11:41 +02:00
kargakis fa42901798 expose: Create objects in a generic way 2015-05-04 14:21:24 +02:00
Wojciech Tyczynski 0e842f0e0b Merge pull request #7695 from fgrzadkowski/cache_metrics
Add metrics to measure cache hit ratio
2015-05-04 13:59:29 +02:00
Kenjiro Nakayama c3485ca85c Add kubectl_label to custom functions of bash completion 2015-05-04 20:57:56 +09:00
Wojciech Tyczynski a020e054d8 Merge pull request #7662 from jlowdermilk/services-printer
Change IP to IP(S) in service columns for kubectl get
2015-05-04 13:35:09 +02:00
Filip Grzadkowski be2b2466f3 Merge pull request #7076 from eparis/bash-5-kubectl-required-flags
annotate required flags for bash_completions
2015-05-04 13:26:11 +02:00
Filip Grzadkowski 6f341eb5ae Add metrics to measure cache hit ratio 2015-05-04 13:20:15 +02:00
Wojciech Tyczynski 9581aa85e9 Merge pull request #7676 from markturansky/fix_nil_ptr
Fixed nil pointer issue in describe when volume is unbound
2015-05-04 10:32:44 +02:00
Piotr Szczesniak 5845743171 Removed unnecessary closing bracket 2015-05-04 09:42:33 +02:00
Wojciech Tyczynski e225a2e777 Merge pull request #7644 from liggitt/conversion_test
Output generated conversion functions/names
2015-05-04 08:17:03 +02:00
Quinton Hoole 83b70c4411 Revert "Revert #7145 now that #7609 is in, and fix the tests that were relying on it" 2015-05-02 23:32:21 -07:00
markturansky 2f5907b504 Fixed nil pointer issue in describe when volume is unbound 2015-05-02 06:49:19 -04:00
Prashanth Balasubramanian 864e12d995 Retry once and requeue on failure to update status.Replicas 2015-05-01 18:10:58 -07:00
Jeff Lowdermilk b447dc0c54 Merge pull request #7635 from a-robinson/length
Revert #7145 now that #7609 is in, and fix the tests that were relying on it
2015-05-01 17:48:41 -07:00
Alex Robinson a047250b53 Change the cloud provider TCPLoadBalancerExists function to GetTCPLoadBalancer,
which returns the IP/DNS address of the load balancer, enabling more
intelligent reconciliation in the service controller.
2015-05-01 17:42:23 -07:00
Daniel Smith 4a6ab7fd36 Merge pull request #7597 from eparis/copyright
Use generic copyright holder name in license boilerplate
2015-05-01 17:01:39 -07:00
Brendan Burns 508eb309f8 Merge remote-tracking branch 'upstream/release-0.16' into merge-release-0.16-to-master 2015-05-01 16:55:34 -07:00
Jeff Lowdermilk cd9e7fbc4f Change IP to IP(S) in service columns for kubectl get 2015-05-01 16:47:21 -07:00
Rohit Jnagal 9cbfb0c3f9 Add --hostport to run-container.
This helps as a starting point to show a single-machine container.
Its easier to use this as an example to show where host port mapping breaks and move on to
services.
2015-05-01 23:45:03 +00:00
Brendan Burns 28d727a0c8 Kubernetes version v0.16.1-dev 2015-05-01 16:33:53 -07:00
Brendan Burns b933dda536 Kubernetes version v0.16.1 2015-05-01 16:33:40 -07:00
Victor Marmol c5a86387a4 Merge pull request #7657 from yujuhong/docker_runtime
Removes RunPod in the Runtime interface
2015-05-01 16:09:44 -07:00
Prashanth Balasubramanian 20de8c93b7 Fix rollingupdate --image
(cherry picked from commit c8ea0c27e9)

Conflicts:
	docs/kubectl.md
	pkg/kubectl/cmd/rollingupdate.go
2015-05-01 15:28:23 -07:00
Chao Xu 4787c66214 Register the API versions to the DefaultRESTMapper in the order of preferred versions first.
This makes kubectl sends requests to URLs in the format defined by the latest API version.
2015-05-01 15:14:15 -07:00
Yu-Ju Hong ae1b24f07f Merge pull request #7652 from vmarmol/runtime-switch
Kubelet: Add container runtime option.
2015-05-01 14:50:30 -07:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Yu-Ju Hong 4fe3366b04 Removes RunPod in the Runtime interface
SyncPod subsumes RunPod, so the latter is no longer needed.
After this change, DockerManager implements the Runtime interface.
2015-05-01 14:47:04 -07:00
Victor Marmol d9d61c3511 Kubelet: Add container runtime option. 2015-05-01 14:26:54 -07:00
Victor Marmol e3fc039eaa Merge pull request #7611 from yifan-gu/rkt_syncPod
kubelet/rkt: Add SyncPod() to rkt.
2015-05-01 14:26:11 -07:00
Clayton Coleman 1a8845af61 Merge pull request #7490 from smarterclayton/alter_list
Do not automatically decode runtime.RawExtension
2015-05-01 16:48:26 -04:00
Jordan Liggitt 26caf9e0de Output generated conversion functions/names 2015-05-01 16:28:08 -04:00
Yifan Gu 1b77615deb kubelet/rkt: Add SyncPod() to rkt. 2015-05-01 13:02:05 -07:00
Yu-Ju Hong ee473edd45 Merge pull request #7610 from vmarmol/runtime-syncpod
Add SyncPod() to DockerManager and use it in Kubelet
2015-05-01 12:22:39 -07:00
Quinton Hoole c68723e7f9 Merge pull request #7628 from bprashanth/rc_ttl
Update expiration timeout based on observed latencies
2015-05-01 11:42:22 -07:00
Victor Marmol 3b9eba2c1b Add SyncPod() to DockerManager and use in Kubelet.
This allows us to abstract away the logic of syncing a pod by the
runtime. It will allow other runtimes to perform their own sync as well.
2015-05-01 11:03:08 -07:00
Victor Marmol bb8ee5b0db Add lifecycle tests from kubelet_test to lifecycle. 2015-05-01 11:02:10 -07:00
Victor Marmol 7a737892f5 Extract out interface for GetPods().
This will remove the circular import with dockertools for
DockerManager. Eventually, this will be Runtime.
2015-05-01 11:02:10 -07:00
Alex Robinson 890ff7b4aa Revert #7145 now that #7609 is in, and fix the tests that were relying on it. 2015-05-01 10:49:23 -07:00
Vish Kannan cadfde0bd1 Merge pull request #7277 from guenter/cgroup-parent
Add --cgroup_parent flag to Kubelet to set the parent cgroup for pods
2015-05-01 10:24:58 -07:00
Jeff Lowdermilk ec9942e995 Merge pull request #7540 from bprashanth/rollingupdate
Fix rolling update --image
2015-05-01 10:07:46 -07:00
Alex Robinson eab6020e16 Merge pull request #7609 from brendandburns/lb
Truncate GCE load balancer names to 63 chars
2015-05-01 09:52:49 -07:00
Yu-Ju Hong f74fab4e56 Merge pull request #7603 from vmarmol/runtime-syncpod-api
Add SyncPod() and remove Kill/Run InContainer().
2015-05-01 09:41:50 -07:00
Prashanth Balasubramanian a8fdf3d78b Update expiration timeout based on observed latencies 2015-05-01 08:53:51 -07:00
Victor Marmol 6316b485ad Add SyncPod() and remove Kill/Run InContainer().
SyncPod allows us to abstract away how a pod is started and updated. It
also simplifies what the runtime has to implement.
2015-05-01 00:32:29 -07:00
Yifan Gu 3751ecc766 kubelet/container: Move ShouldContainerBeRestarted() to runtime. 2015-04-30 22:55:25 -07:00
Yifan Gu 428652bdc7 kubelet/rkt: Add KillPod() and GetPodStatus() for rkt. 2015-04-30 18:32:32 -07:00
Victor Marmol 03b5c32576 Merge pull request #7553 from yifan-gu/rkt_runner
kubelet/rkt: Add RunInContainer()/ExecInContainer()/PortForward().
2015-04-30 18:31:08 -07:00
Yifan Gu 9ce568a142 kubelet/rkt: Add GetPods() for rkt. 2015-04-30 18:00:18 -07:00
Brendan Burns 40549dc083 Truncate GCE load balancer names to 63 chars 2015-04-30 17:54:11 -07:00
Yifan Gu 1636fd2e1c kubelet/rkt: Add RunPod() for rkt. 2015-04-30 17:31:35 -07:00
Yifan Gu 2e4be0bcf1 kubelet/rkt: Add RunInContainer()/ExecInContainer()/PortForward(). 2015-04-30 17:25:16 -07:00
Victor Marmol 262c34e7db Merge pull request #7543 from yifan-gu/pod_manifest
kubelet/rkt: Add routines for converting kubelet pod to rkt pod.
2015-04-30 17:18:19 -07:00
Clayton Coleman aa810e4e88 Merge pull request #7467 from brendandburns/qps
Augment describe to search for matching things if it doesn't match the original resource.
2015-04-30 20:17:34 -04:00
Victor Marmol 3235799595 Merge pull request #7601 from yujuhong/kill_container
Add KillContainerInPod in DockerManager
2015-04-30 17:05:00 -07:00
Victor Marmol df8490f52f Merge pull request #7555 from yifan-gu/rkt_pod_info
kubelet/rkt: Add podInfo.
2015-04-30 17:04:51 -07:00
Yu-Ju Hong b37f23f1eb Add KillContainerInPod in DockerManager
This changes adds one of the functions that DockerManager needs to implement
the Runtime interface.
2015-04-30 16:23:39 -07:00
Victor Marmol 441a4e6f30 Merge pull request #7578 from yujuhong/docker_manager
Add image-related methods to DockerManager
2015-04-30 16:16:39 -07:00
Victor Marmol a94aeb27fa Merge pull request #7586 from yujuhong/container_info
Remove more docker references in kubelet
2015-04-30 16:16:23 -07:00
Yifan Gu 7e8afc7c96 kubelet/rkt: Add routines for converting kubelet pod to rkt pod. 2015-04-30 15:24:47 -07:00
Clayton Coleman f41e03ce9f Merge pull request #7582 from smarterclayton/example_typo
Correct the capitalization of KubeProxyVersion
2015-04-30 18:20:10 -04:00
Victor Marmol 0e89d65563 Merge pull request #7545 from yifan-gu/getlog
Getlog
2015-04-30 15:15:44 -07:00
Victor Marmol 57cc1218ca Merge pull request #7549 from yifan-gu/rkt_gc
Rkt gc
2015-04-30 15:15:07 -07:00
Alex Robinson f3352d96e6 Merge pull request #7595 from a-robinson/typo
Fix typo in kubelet prober code
2015-04-30 14:42:18 -07:00
Yifan Gu 01841a8c19 kubelet/rkt: Add podInfo.
podInfo reprensents the state of rkt pods.
It is used to for reporting the pod and container status to kubelet.
2015-04-30 14:39:10 -07:00
Vish Kannan 1dead9c670 Merge pull request #6400 from ddysher/nfs-volume-mounter
Implement Mount interface using mount(8) and umount(8)
2015-04-30 14:00:56 -07:00
Yu-Ju Hong 644ec0dbfb Remove ErrNoKubeletContainers
We no longer use it.
2015-04-30 13:35:21 -07:00
Yu-Ju Hong 83c599e4d4 Add image-related methods to DockerManager
This change is part of the efforts to make DockerManager implement the Runtime
interface.

The change also modifies the interface slightly to work with existing
code, and aggregates the type converting functions to convert.go.
2015-04-30 13:27:52 -07:00
Alex Robinson faa3292bb3 Fix typo in kubelet prober code. 2015-04-30 13:17:10 -07:00
Yu-Ju Hong 2f7b951140 Remove more docker references in kubelet
This change also renames TrimRuntimePrefixFromImage to TrimRuntimePrefix to
better reflect that the usage is not limited to images (e.g. ID).
2015-04-30 13:16:11 -07:00
Victor Marmol 2c381a6f6f Merge pull request #7550 from yifan-gu/rkt_pull
Rkt pull
2015-04-30 13:09:14 -07:00
Clayton Coleman 32dfd3e07b Correct the capitalization of KubeProxyVersion 2015-04-30 15:43:14 -04:00
Brian Grant 0a9a10e997 Merge pull request #7535 from smarterclayton/bad_capitalization
Capitalization of KubeProxyVersion wrong in JSON
2015-04-30 12:36:02 -07:00
Brian Grant 2d37650c65 Merge pull request #7530 from mbforbes/nodeExternal
Make nodes report their external IP rather than the master's.
2015-04-30 12:29:45 -07:00
CJ Cullen 015c0656a6 Merge pull request #7568 from yujuhong/rm_getcontainers
Remove GetContainers from Runtime interface
2015-04-30 12:01:58 -07:00
Prashanth Balasubramanian c8ea0c27e9 Fix rollingupdate --image 2015-04-30 11:28:18 -07:00
Yu-Ju Hong 11be6811b3 Merge pull request #7563 from vmarmol/runtime-pre
Move lifecycle handlers to their own subpackage
2015-04-30 11:22:58 -07:00
Clayton Coleman d03b5299f9 Merge pull request #7432 from piosz/termination_notice
Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
2015-04-30 13:55:51 -04:00
Tobi Knaup b96c4046a8 Add --cgroup_root flag to Kubelet to set the parent cgroup for all pods.
Implements #6991.
2015-04-30 10:32:27 -07:00
Yifan Gu ca4643ef31 kubelet/rkt: Add GetContainerLogs() for rkt. 2015-04-30 10:31:31 -07:00
Yifan Gu 488f49a216 kubelet/rkt: Add GarbageCollection to rkt runtime. 2015-04-30 10:29:38 -07:00
CJ Cullen b11f07be7a Merge pull request #7541 from csrwng/fix_bool_conversion
Handle conversion of boolean query parameters with a value of "false"
2015-04-30 10:14:54 -07:00
Yifan Gu 01693c8233 kubelet/rkt: Add PullImage()/IsImagePresent() to rkt runtime. 2015-04-30 10:01:24 -07:00
Yu-Ju Hong 176fc9b9c6 Remove GetContainers from Runtime interface
This function is no longer considered needed.
2015-04-30 09:33:23 -07:00
Yu-Ju Hong de32785e2e Merge pull request #7532 from vmarmol/runtime-images
Add image-related methods to Runtime interface.
2015-04-30 09:30:59 -07:00
Victor Marmol 5bd2e6d37f Merge pull request #7552 from rjnagal/kubectl
Fix typo in 'kubectl expose' examples.
2015-04-30 09:19:37 -07:00
Piotr Szczesniak 11a2dc496f Added TerminationGracePeriod field to PodSpec and grace-period flag to kubectl stop
Those are changes which touch users required by Termination Notice

Addresses #6804
2015-04-30 18:00:33 +02:00
Victor Marmol 238b3c6f4e Move lifecycle handlers to its own sub package.
This will allow injecting it into the runtimes.
2015-04-30 08:47:23 -07:00
Victor Marmol 4db5127073 Make HttpGetter a shared Kubelet type. 2015-04-30 08:47:23 -07:00
Clayton Coleman dd976a27fb Merge pull request #7560 from wojtek-t/conversion_test
Test whether auto-generated conversions weren't manually edited
2015-04-30 11:39:56 -04:00
Victor Marmol 037295ac4c Merge pull request #7533 from yujuhong/get_containers
Clean up dockertools/manager.go and add more unit tests
2015-04-30 08:38:27 -07:00
Victor Marmol 946dac4f7c Merge pull request #7465 from yifan-gu/split_rkt
kubelet/rkt: Add basic rkt runtime routines.
2015-04-30 08:37:24 -07:00
Victor Marmol 0a6584cafe Merge pull request #7487 from njuicsgz/master
readinessProbe calls livenessProbe.Exec.Command which cause "invalid memory address or nil pointer dereference".
2015-04-30 08:36:54 -07:00
Yu-Ju Hong baaea11cd5 Merge pull request #7520 from vmarmol/runtime-pull
Add RuntimeHooks to abstract Kubelet logic
2015-04-30 08:33:19 -07:00
Clayton Coleman e637cd66e8 Merge pull request #7559 from fgrzadkowski/perf
Add a simple cache for objects stored in etcd.
2015-04-30 11:27:01 -04:00
Wojciech Tyczynski 6d00e336a6 Merge pull request #7546 from smarterclayton/get_urls_from_request
Expose URL() on Request to allow building URLs
2015-04-30 16:05:16 +02:00
Cesar Wong f72ee1f72b Handle conversion of boolean query parameters with a value of "false" 2015-04-30 09:26:06 -04:00
Wojciech Tyczynski 3b84bae544 Auto-generated conversion not manually edited 2015-04-30 14:05:42 +02:00
Wojciech Tyczynski c455600784 Merge pull request #7557 from piosz/kubectl
Added displaying external IPs to kubectl cluster-info
2015-04-30 13:48:55 +02:00
Filip Grzadkowski 15e9bfd9ae Add a simple cache for objects stored in etcd. 2015-04-30 12:08:56 +02:00
Piotr Szczesniak cfc73878b9 Added displaying external IPs to kubectl cluster-info
Fixes #7521
2015-04-30 10:47:58 +02:00
Gao Zheng b445afdf11 Merge remote-tracking branch 'upstream/master' 2015-04-30 15:42:14 +08:00
Akram Ben Aissi a788002d0d Port forward now listens on IPv4 and IPv6 localhost address
- Tries to listen 127.0.0.1 and the given port
- Tries to listen [::1] and the given port
- If both of them fails port-forward fails
- If at least one succeeds, port-forward listens on the corresponding interface and displays a warning for the other
- If both succeeds, port-portfward listens on both the interfaces
2015-04-30 09:17:41 +02:00
Filip Grzadkowski 231284187e Merge pull request #7431 from wojtek-t/conversion_chains
Prepare for chaining autogenerated conversion methods
2015-04-30 09:08:40 +02:00
Rohit Jnagal 0a8b136ee6 Fix typo in 'kubectl expose' examples. 2015-04-30 06:02:16 +00:00
Clayton Coleman 53ca1fcc7a Expose URL() on Request to allow building URLs
The client/Request type is the appropriate place to build
URLs, this allows callers to generate URLs for providing to
others (such as SelfLinks or relative links to objects).
2015-04-29 23:27:13 -04:00
Jeff Lowdermilk 6f5e08114a Merge pull request #7407 from brendandburns/recovery2
Support recovery for anonymous roll outs
2015-04-29 20:08:23 -07:00
Gao Zheng 95f2d1378f change probe.runner to probe.Runner as based 2015-04-30 10:36:38 +08:00
Gao Zheng 74975eff03 Fixes issue #7352
readinessProbe calls livenessProbe.Exec.Command which cause
"invalid memory address or nil pointer dereference".
2015-04-30 10:19:49 +08:00
Yu-Ju Hong 919d78281f Clean up dockertools/manager.go and add more unit tests.
This change refactors the GetPods function and add some basic unit tests.
We should start migrating docker specific tests from kubelet_test to
manager_test.go.
2015-04-29 18:32:52 -07:00
Victor Marmol 090d0c95fa Remove ImagePull metric in Kubelet.
There is an equivalent metric from our Docker metrics and this one is
harder to maintain with the RuntimeHooks.
2015-04-29 17:12:03 -07:00
Yifan Gu 305345efe1 kubelet/rkt: Add basic rkt runtime routines. 2015-04-29 17:09:32 -07:00
Victor Marmol 2a01a2c7e9 Use RuntimeHooks in Kubelet.
Used in functionality that will be moved to the runtimes.
2015-04-29 17:06:49 -07:00
Victor Marmol 61d51243c5 Add RuntimeHooks interface and Kubelet implementation.
This interface will be used to inject functionality and logic into the
runtimes that should be shared accross runtimes.
2015-04-29 17:06:49 -07:00
Brendan Burns 83cbd0cf4c Add recovery for anonymous rollouts. 2015-04-29 16:53:30 -07:00
Clayton Coleman 1042ab32a5 Capitalization of KubeProxyVersion wrong in JSON 2015-04-29 19:52:51 -04:00
Brendan Burns 3a8a98c319 Augment describe to search for matching things if it doesn't match the original resource 2015-04-29 16:47:10 -07:00
Yu-Ju Hong d81ecc58f8 Adapt pod killing and cleanup for generic container runtime
This change removes docker-specifc code in killUnwantedPods. It
also instructs the cleanup code to move away from interacting with
containers directly. They should always deal with the pod-level
abstraction if at all possible.
2015-04-29 16:08:09 -07:00
Yu-Ju Hong ba1140a54f Merge pull request #7480 from vmarmol/runtime-syncpod
Move ComputePodChanges to the Docker runtime
2015-04-29 16:05:20 -07:00
Victor Marmol 4d09b79529 Add image-related methods to Runtime interface.
This includes RemoveImage() and ListImages().
2015-04-29 16:00:36 -07:00
Max Forbes e1c2e6b4b1 Make nodes report their external IP rather than the master's. 2015-04-29 15:44:25 -07:00
Jeff Lowdermilk 9fd8cbae64 Merge pull request #7510 from eparis/cobra-rebase
Cobra rebase
2015-04-29 15:08:41 -07:00
Victor Marmol 293828c93c Merge pull request #7515 from brendandburns/kubelet
Fix YAML parsing for v1beta3 objects in the kubelet for file/http
2015-04-29 14:31:49 -07:00
Victor Marmol 209b4fcbef Merge pull request #6718 from vishh/sys_oom1
Adding system oom events from kubelet
2015-04-29 14:29:38 -07:00
Victor Marmol fe4600ba17 Move ComputePodChanges to DockerManager.
This logic is specific to the Docker runtime. This move is the first
step towards making syncPod() runtime-agnostic.
2015-04-29 14:00:37 -07:00
deads2k f258717f26 add StringSet.HasAny 2015-04-29 16:55:43 -04:00
Yu-Ju Hong 134e585195 Merge pull request #7479 from vmarmol/runtime-prefactor
Move Prober to its own subpackage
2015-04-29 13:53:35 -07:00
CJ Cullen 182f47ee3d Revert "Add a simple cache for objects stored in etcd" 2015-04-29 12:06:52 -07:00
Brendan Burns 48d269e6ab Fix YAML parsing for v1beta3 objects in the kubelet for file/http 2015-04-29 11:38:36 -07:00
Vishnu Kannan 020950fd0f Adding events for system ooms.
Kubelet will continuously watch for system OOMs and generate events whenever it
encounters a system OOM.
2015-04-29 11:19:11 -07:00
Victor Marmol f38c607285 Move Prober to its own subpackage.
This will allow it to be reused by the runtimes.
2015-04-29 10:11:28 -07:00
Yu-Ju Hong 33b8f487f6 Merge pull request #7449 from vmarmol/runtime-network-plugins
Move network plugin TearDown to DockerManager
2015-04-29 10:09:58 -07:00
Victor Marmol 02231ea75d Merge pull request #7503 from jsafrane/devel/fix-volume-rm
Fixed kubelet deleting data from volumes on stop (#7317).
2015-04-29 10:01:16 -07:00
Brian Grant 4071868581 Merge pull request #7482 from nikhiljindal/verifyDescription
Fixing hooks/description to catch API fields without description tags
2015-04-29 09:56:08 -07:00
Clayton Coleman 12ba4e2452 Do not automatically decode runtime.RawExtension
Make clients opt in to decoding objects that are stored
in the generic api.List object by invoking runtime.DecodeList()
with a set of schemes. Makes it easier to handle unknown
schema objects because decoding is in the control of the code.

Add runtime.Unstructured, which is a simple in memory
representation of an external object.
2015-04-29 12:53:07 -04:00
Daniel Smith 4d2f7a38c2 Merge pull request #6866 from bprashanth/rc_watch_pods
RcManager watches pods and RCs instead of polling every 10s
2015-04-29 09:10:55 -07:00
Daniel Smith 2802b18b0a Merge pull request #7288 from fgrzadkowski/perf
Add a simple cache for objects stored in etcd
2015-04-29 09:00:33 -07:00
Eric Paris a17a26643b Update kube to support new pflag/cobra 2015-04-29 11:26:30 -04:00
Victor Marmol dfadc10fcb Merge pull request #7488 from yifan-gu/get_container_logs
kubelet/container: Add GetContainerLogs to runtime interface.
2015-04-29 08:24:20 -07:00
Victor Marmol 38831237b2 Merge pull request #7477 from yifan-gu/refactor_runonce
kubelet: Refactor isPodRunning() in runonce.go
2015-04-29 08:24:09 -07:00
Victor Marmol fc918cc896 Merge pull request #7466 from yifan-gu/refactor_kube
kubelet/container: Update the runtime interface.
2015-04-29 08:23:50 -07:00
Victor Marmol 587d5a6b85 Merge pull request #7408 from vishh/kubelet_namespace
Set the default namespace for events to be "default"
2015-04-29 08:23:27 -07:00
Deyuan Deng 6897095e56 Change mount.Interface.Mount to exec('mount'), instead of syscall 2015-04-29 10:46:32 -04:00
Wojciech Tyczynski fc6fb0953a Generate conversions 2015-04-29 16:32:56 +02:00
Wojciech Tyczynski 8eca76298f Improvements to conversions generator. 2015-04-29 16:32:31 +02:00
Paul Morie 8fa21ebd62 Merge pull request #7419 from liggitt/secrets_etcd
Convert Secret registry to use update/create strategy, allow filtering by Type
2015-04-29 09:59:22 -04:00
Filip Grzadkowski 016e20167b Add a simple cache for objects stored in etcd. 2015-04-29 13:14:31 +02:00
Piotr Szczesniak 9272fe2aea Updated kubectl cluster-info to show v1beta3 addresses
Fixes #7016
2015-04-29 10:54:36 +02:00
Jan Safranek 9b9e98a22f Fixed kubelet deleting data from volumes on stop (#7317).
We must not clear the pod directory in killUnwantedPods(), volumes are still
mounted there at this time. There already is cleanupOrphanedPodDirs(),
called later in the SyncPods() sequence, which should remove these pod
directories.
2015-04-29 10:41:19 +02:00
Brendan Burns fc76242f4a Kubernetes version v0.16.0-dev 2015-04-28 21:20:33 -07:00
Brendan Burns 2cea8f22b3 Kubernetes version v0.16.0 2015-04-28 21:20:12 -07:00
Yifan Gu fb1c55aa11 kubelet/container: Add GetContainerLogs to runtime interface. 2015-04-28 20:26:16 -07:00
nikhiljindal 7c99865c94 Fixing hooks/description to catch API fields without description tags 2015-04-28 18:32:15 -07:00
Brian Grant a4316aa638 Merge pull request #7454 from nikhiljindal/v1
Cloning v1beta3 as v1 and exposing it in the apiserver
2015-04-28 18:06:57 -07:00
Yifan Gu ba1389de3c kubelet/container: Update the runtime interface.
Make some of them (RunInContainer, ExecInContainer, etc) to have
same function signatures as current docker and rkt implementation.
2015-04-28 17:55:41 -07:00
Yifan Gu c848fa447d kubelet: Refactor isPodRunning() in runonce.go
Replace InspectContainer() with generic GetPodStatus().
2015-04-28 17:44:13 -07:00
Victor Marmol 787d42d50b Move network plugin teardown to DockerManager.
This teardown is Docker-specific and will let us also do the setup in
the manager in future cleanups.
2015-04-28 16:58:54 -07:00
Victor Marmol de0957ccb1 Create Kubelet types package for common shared types. 2015-04-28 16:57:45 -07:00
Alex Robinson 3c0b799213 Merge pull request #7446 from liggitt/namespace_conversion
Fix typo in namespace conversion
2015-04-28 16:38:10 -07:00
Vishnu Kannan 820d0f3e83 Adding a 'PastEventf' method to EventRecorder interface. This will be
useful for recording the timestamp of events that happened in the past.
2015-04-28 16:13:29 -07:00
Vishnu Kannan 2f68cddbd2 Adding events API to cadvisor interface. 2015-04-28 16:13:29 -07:00
Vishnu Kannan 84e2c36cf7 Set namespace of events to "default" if the involved object does not have
any namespace set.
2015-04-28 16:08:16 -07:00
nikhiljindal c4d7e19c8c Cloning v1beta3 as v1 and exposing it in the apiserver 2015-04-28 16:06:03 -07:00
Fabio Yeon 45f85dbf06 Merge pull request #7404 from nikhiljindal/handleIndex
Updating handleIndex to return 404 for invalid server URL
2015-04-28 15:51:04 -07:00
Brendan Burns e1256c0802 Make delete actually stop resources by default.
Refactor for shared code.
2015-04-28 14:36:43 -07:00
Prashanth Balasubramanian 7592dabeba RcManager uses informers 2015-04-28 13:45:15 -07:00
Jordan Liggitt ac67fff1cf Convert Secret registry to use update/create strategy, allow filtering by Type 2015-04-28 15:00:20 -04:00
Robert Bailey 4304b1d24a Set the 'WWW-Authenticate' header on 401 responses when basic
auth is enabled. This is required for basic auth to work with
web browsers.
2015-04-28 11:00:05 -07:00
Robert Bailey 6d85dcb4a0 Add support for HTTP basic auth to the kube-apiserver. 2015-04-28 10:33:51 -07:00
Alex Robinson 4c0c04f247 Merge pull request #7424 from thockin/print-named-endpt-ports
Print named ports in 'describe service'
2015-04-28 10:07:38 -07:00
Jordan Liggitt 0dbc9c2688 Fix typo in namespace conversion 2015-04-28 12:45:13 -04:00
Jeff Lowdermilk 4045dedc99 Merge pull request #7279 from brendandburns/update
Further implementation of rolling-update, add rename
2015-04-28 09:31:28 -07:00
Dawn Chen af5d017911 Merge pull request #7386 from vmarmol/rkt-pull-image
Kubelet: Factor out and remove pullImageAndRunContainer
2015-04-28 09:28:16 -07:00
Dawn Chen 1de4c45115 Merge pull request #7401 from vmarmol/rkt-kill-pod
Kubelet: Move killPod() logic to DockerManager's KillPod()
2015-04-28 09:25:12 -07:00
Alex Robinson f2b9b673ca Merge pull request #7409 from pmorie/downward-api
Fix omitempty attributes on downward api
2015-04-28 08:40:39 -07:00
Wojciech Tyczynski 56a7b91e54 Merge pull request #7429 from kargakis/expose-fix
Fix getting services in expose cmd
2015-04-28 15:55:21 +02:00
Wojciech Tyczynski 43e59162f1 Merge pull request #7430 from fgrzadkowski/master_metrics
Add summary metrics to apiserver for easier debugging and future use in performance tests
2015-04-28 15:53:52 +02:00
Filip Grzadkowski c1c24f645c Add summary metrics to apiserver for easier debugging and future use in performance tests 2015-04-28 14:27:18 +02:00
kargakis e6ee32a6c6 Fix getting services in expose cmd 2015-04-28 14:45:05 +03:00
Wojciech Tyczynski 534a2fd27c Merge pull request #7171 from ravigadde/master
Node controller change to use field selector
2015-04-28 13:14:11 +02:00
Marek Grabowski 7a122a42d4 Merge pull request #7040 from justinsb/aws_nodeaddresses
AWS: Return public & private addresses in GetNodeAddresses
2015-04-28 10:56:50 +02:00
Tim Hockin eea949b3a3 Print named ports in 'describe service'
Also in 'describe service'.  This got missed in all the multiport work.
2015-04-27 22:17:51 -07:00
Sam Ghods 5ceebb4a5f Add error message to log of docker error 2015-04-27 21:49:46 -07:00
Brendan Burns 591d98b6b2 Add replication controller renaming as a cleanup option. 2015-04-27 20:38:20 -07:00
Alex Robinson 45d8c97b0b Merge pull request #7413 from pmorie/typo
Fix typo in provider.go
2015-04-27 19:09:07 -07:00
Dawn Chen 4b79e5a3db Merge pull request #7403 from vmarmol/rkt-deps
Remove DockerPrefix references in Kubelet.
2015-04-27 19:05:43 -07:00
Paul Morie b3a613c6c3 Fix typo in provider.go 2015-04-27 21:42:45 -04:00
Tim Hockin 0c611370e0 Merge pull request #7281 from thockin/flag-word-separators
Make flags accept - or _ between words
2015-04-27 18:11:58 -07:00
Paul Morie 2ecb883ff4 Fix omitempty attributes on downward api 2015-04-27 20:48:28 -04:00
Victor Marmol 6b0db76e85 Move killPod() logic to DockerManager KillPod().
This moved Docker specific logic there and allows it to align with the
runtime API. There is still a pod infra container reference in the
function due to network plugins. We can handle this in the Kubelet since
we'll need to be explicit in stating that the network plugin will not
work in a non-Docker runtime.
2015-04-27 17:15:37 -07:00
Dawn Chen 5ea5fff586 Merge pull request #7391 from vmarmol/rkt-portforward
Add PortForward to runtime API.
2015-04-27 17:10:37 -07:00
nikhiljindal f864195a5b Returning 404 on invalid server URL 2015-04-27 16:15:52 -07:00
Brian Grant 734663f8d8 Merge pull request #7394 from pmorie/downward-api
Fix downward API descriptions
2015-04-27 16:09:11 -07:00
Victor Marmol 42a2059a5d Remove DockerPrefix references in Kubelet.
Makes this usage generic and usable by other runtimes.
2015-04-27 15:55:13 -07:00
Victor Marmol 1d6913779b Use kubecontainer.Pod instead of api.Pod in KillPod.
We don't need the full api.Pod and the uses today use kubecontainer.Pod.
2015-04-27 15:36:06 -07:00
Victor Marmol 3082bb291c Remove pullImageAndRunContainer().
Relevant logic is now in shared helpers.
2015-04-27 15:13:11 -07:00
Victor Marmol b232eef5f7 Move image PullPolicy logic to pullImage().
This will allow us to remove the Docker-specific logic in
pullImageAndRunContainer() and re-use pullImage() in other runtimes.
2015-04-27 15:13:11 -07:00
Tim Hockin a3d45fada8 Change flags to use dashes in help 2015-04-27 15:11:03 -07:00
Tim Hockin 6694eff020 Use pflags word separators to make - and _ equiv. 2015-04-27 15:10:52 -07:00
Dawn Chen aa487b7cab Merge pull request #7382 from vmarmol/rkt-deps
Move Docker-specific log handling to DockerManager.
2015-04-27 15:10:14 -07:00
Victor Marmol 3a61421711 Add PortForward to runtime API. 2015-04-27 14:56:32 -07:00
Paul Morie 8bf0b03c17 Fix downward API descriptions 2015-04-27 17:46:34 -04:00
Daniel Smith 83093af8b0 Merge pull request #5707 from endocode/kbeecher/etcd_prefix
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Tim Hockin 635c393a5a Merge pull request #6105 from markturansky/yoko_pv_mgr
PersistentVolumeClaimBinder
2015-04-27 13:35:44 -07:00
Victor Marmol 7404b7019c Move Docker-specific log handling to DockerManager.
Eases the separation of Docker-specific code into the Docker-specific
runtime.
2015-04-27 13:10:10 -07:00
Brian Grant 2648ae86d6 Merge pull request #6739 from pmorie/downward-api
Env var sources / downward API
2015-04-27 12:46:00 -07:00
Ravi Gadde 4b5f851520 Node controller change to use field selector 2015-04-27 12:12:13 -07:00
markturansky beacd8722a addressed feedback. added opt-in cmd line flag 2015-04-27 15:00:01 -04:00
Paul Morie 7d30f09ebf Add downward API for environment vars 2015-04-27 14:13:11 -04:00
Victor Marmol 0c52f7b6a5 Move CreatePodInfraContainer to DockerManager.
This will allow us to start making it an implementation detail of the
Docker runtime.
2015-04-27 11:07:38 -07:00
Daniel Smith e0e83fa8fe Merge pull request #7354 from wojtek-t/conversion_improvements
Improvements to generator of conversion methods.
2015-04-27 10:27:51 -07:00
markturansky 2fe8ed5358 fixed prefix name in validation 2015-04-27 12:05:12 -04:00
markturansky a04420e548 Added pending phase for volumes. added defaults for PV/PVC. refactored to better phase transitioning in control loops 2015-04-27 12:05:12 -04:00
markturansky 37d7f3f4f1 Added integration test, fixed a validation issue 2015-04-27 12:05:12 -04:00
markturansky 2cf4e6564b Added more to README, tweaked pod, added service, fixed validation 2015-04-27 12:05:12 -04:00
markturansky b634f17ca7 Refactored to DeltaFifo 2015-04-27 12:05:12 -04:00
markturansky 49883e7d01 Edited README 2015-04-27 12:05:12 -04:00
markturansky e1b885c9ad narrowed client interface to allow easier testing. added PVC deletion test case. 2015-04-27 12:05:12 -04:00
markturansky f26df6a983 renamed exported symbol for pvOrderedIndex, added locks, remove go routine for sync funcs 2015-04-27 12:05:12 -04:00
markturansky 6c6aab60ab goformatted 2015-04-27 12:05:12 -04:00
markturansky fb412e47e4 Addressed feedback, improved flow and comments 2015-04-27 12:05:11 -04:00
markturansky 242567460d PersistentVolumeClaimBinder implementation 2015-04-27 12:05:11 -04:00
Maciej Szulik cd183bbb72 Fixed validation message when trying to submit incorrect secret 2015-04-27 15:18:32 +02:00
Wojciech Tyczynski 922555f048 Improvements to generator of conversion methods. 2015-04-27 13:33:38 +02:00
Chris Moos 36e3ec9c1f Fix crash in kubelet when persistent volume claim is not bound.
While testing #6105 ran into this issue, kubelet crashed because
controller had not yet bound the claim to a volume.
2015-04-25 12:38:18 -07:00
Yifan Gu 6c98b9daee kubelet/metrics: Move instrumented_docker.go to dockertools.
This can solve the circular import problem when we move the
kubelet.pullImage to kubelet/metrics or kubelet/container package.
2015-04-24 22:03:11 -07:00
Brendan Burns f40c793b37 Address a couple of TODO's in the recent rolling update change. 2015-04-24 16:47:37 -07:00
Victor Marmol d0288f7143 Merge pull request #7301 from yujuhong/no_resurrection
Kubelet: filter out terminated pods in SyncPods
2015-04-24 16:17:06 -07:00
Brian Grant 7330ced1fe Merge pull request #7268 from brendandburns/qps
First part of improved rolling update, allow dynamic next replication controller generation.
2015-04-24 16:11:07 -07:00
Yu-Ju Hong b0e6926f67 kubelet: filter out terminated pods in SyncPods
Once a pod reaches a terminated state (whether failed or succeeded), it should
not transit out ever again. Currently, kubelet relies on examining the dead
containers to verify that the container has already been run. This is fine
in most cases, but if the dead containers were garbage collected, kubelet may
falsely concluded that the pod has never been run. It would then try to restart
all the containers.

This change eliminates most of such possibilities by pre-filtering out the pods
in the final states before sending updates to per-pod workers.
2015-04-24 15:28:03 -07:00
Brendan Burns 217e6ff0d0 First part of improved rolling update, allow dynamic next replication controller generation. 2015-04-24 15:19:00 -07:00
Victor Marmol 270d8aec8b Raise cAdvisor stats cache to 2m.
This used to be 60ns which was a bug from when we switched from number
of stats to duration. Seems like the type was silently
converted/ignored.
2015-04-24 14:44:13 -07:00
Robert Bailey 0f22b6fc4d Merge pull request #7251 from a-robinson/tp
Move load balancer host / target pool reconciliation to the service controller
2015-04-24 13:17:54 -07:00
Eric Tune 8a76cbf3d0 Merge pull request #7293 from ashcrow/apiserver_authz_tests
Added basic apiserver authz tests.
2015-04-24 13:05:45 -07:00
Clayton Coleman 9d0042e760 Merge pull request #7238 from csrwng/use_log_subresource
Switch kubelet log command to use pod log subresource
2015-04-24 15:16:50 -04:00
Alex Robinson 5d9564b1cc Improve GCE's implementation of UpdateTCPLoadBalancer to only make the
update calls if anything has changed.
2015-04-24 18:44:19 +00:00
Alex Robinson 6ae8e40d3d Move the logic for reconciling the host targets of external load balancers
from the node controller to the service controller before impending changes
to the node controller make it not fit there anymore.
2015-04-24 18:44:04 +00:00
Steve Milner 1acbfba576 Added basic apiserver authz tests. 2015-04-24 14:38:34 -04:00
Brian Grant 60d7bad147 Merge pull request #7128 from nikhiljindal/fixbeta1tests
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Cesar Wong 556faa4590 Switch kubelet log command to use pod log subresource 2015-04-24 14:04:51 -04:00
Fabio Yeon 0c54673626 Merge pull request #7180 from ddysher/validate-no-dup-ip
Validate Node IPs; clean up validation code
2015-04-24 09:36:27 -07:00
Robert Bailey 137c90738e Merge pull request #7289 from kazegusuri/logging
lower log level on recovering from panic
2015-04-24 09:22:46 -07:00
Victor Marmol e654abde97 Merge pull request #7271 from yifan-gu/run
kubelet/dockertools: Move RunContainer into container runtime.
2015-04-24 07:46:22 -07:00
Masahiro Sano 7c371ee36e lower log level on recovering from panic 2015-04-24 22:09:14 +09:00
Clayton Coleman 9f753c2592 Merge pull request #5909 from mfojtik/iowatcher
Suppress 'use of closed network connection' error in iowatcher
2015-04-24 08:56:40 -04:00
Clayton Coleman ed00dae7c8 Merge pull request #7107 from wojtek-t/conversion_generator
Code to automatically generate conversion methods
2015-04-24 08:39:11 -04:00
Michal Fojtik 1d496a030e Suppress 'use of closed network connection' error in iowatcher
Signed-off-by: Michal Fojtik <mfojtik@redhat.com>
2015-04-24 14:32:00 +02:00
Wojciech Tyczynski 159a58ddfb Merge pull request #7169 from fgrzadkowski/requests_by_clients
Break request metrics in apiserver by client.
2015-04-24 13:37:50 +02:00
Filip Grzadkowski 8b755c805b Break request metrics in apiserver by client. 2015-04-24 13:16:14 +02:00
Karl Beecher a7623ca6cc Adds ability to define a prefix for etcd paths
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.

Refs: #3476
2015-04-24 12:12:39 +02:00
nikhiljindal dcc368c781 Removing more references to v1beta1 from pkg/ 2015-04-24 00:45:17 -07:00
Wojciech Tyczynski 7f919a44c2 Generate conversions for v1beta3 package. 2015-04-24 09:18:12 +02:00
Deyuan Deng c73ce1db34 Validate Node IPs; clean up validation code 2015-04-23 21:08:18 -04:00
David Oppenheimer 7505bed054 Merge pull request #7270 from thockin/docslinks
Make docs links go through docs.k8s.io
2015-04-23 17:18:51 -07:00
David Oppenheimer ee11832d71 Merge pull request #7263 from lavalamp/fix4
fix watch of single object
2015-04-23 17:09:59 -07:00
Brian Grant 24cad22a88 Merge pull request #6674 from kargakis/error-on-invalid-label-spec
Tighten label parsing
2015-04-23 16:41:52 -07:00
Yifan Gu b5a1b32aa4 kubelet/dockertools: Move RunContainer into container runtime.
Also removed ContainerRunner interface.
2015-04-23 16:40:37 -07:00
Tim Hockin 12e4e8f304 Make docs links go through docs.k8s.io 2015-04-23 16:36:27 -07:00