Commit Graph

4014 Commits (dbd7b186a049afd3e4a1fd0d36190bf944cf5f1a)

Author SHA1 Message Date
Clayton Coleman 28b18f416f Tone down logging in network interface choosing 2015-04-02 01:39:59 -04:00
Clayton Coleman 1233843a1d Add a new generic error that can indicate a server response was underspecified
Allows clients to distinguish between a server that returns us an error we
recognize, and errors that are generic HTTP (due to an intervening proxy)
2015-04-02 01:39:57 -04:00
Tim Hockin c63f4c71ba Remove dead, buggy code 2015-04-01 21:25:49 -07:00
Deyuan Deng d62afa85ff Abstract ismountpoint and use platform mounter for NFS volume 2015-04-01 23:05:02 -04:00
Brian Grant 0e67b299d5 Merge pull request #6325 from rjnagal/node
Remove validation for Capacity. Add default for ExternalID
2015-04-01 18:25:32 -07:00
CJ Cullen 5e6e67ba59 Add an alternative TokenSource to the GCE CloudProvider. 2015-04-01 17:52:30 -07:00
Rohit Jnagal e0ff139279 Remove validation for Capacity as it got moved from Spec to Status.
Also fix breakage from ExternalID validation: Default ExternalID to node name when not specified.
2015-04-02 00:51:52 +00:00
Victor Marmol 8cd8a8f098 Merge pull request #6310 from dchen1107/clean
Small cleanup on api/types.go
2015-04-01 17:37:00 -07:00
Brendan Burns 0cc2056893 Merge pull request #6323 from zmerlynn/merge-release-0.14-to-master
Merge release 0.14.1 to master
2015-04-01 17:05:18 -07:00
Jeff Lowdermilk 412a836bf7 Merge pull request #6322 from dchen1107/cleanup
Using gcr.io/google_containers/pause by default
2015-04-01 16:28:51 -07:00
Zach Loafman e9c7b35896 Merge branch 'release-0.14' into merge-release-0.14-to-master 2015-04-01 16:15:26 -07:00
CJ Cullen eca22d4c82 Fix off-by-one crash in pkg/apiserver/authn.go 2015-04-01 15:53:22 -07:00
Brendan Burns f327e97661 Add a limit to the number of in-flight requests that a server processes. 2015-04-01 15:06:15 -07:00
Dawn Chen db28ca67f6 Using gcr.io/google_containers/pause by default 2015-04-01 14:59:44 -07:00
Zach Loafman 22aac51d18 Kubernetes version v0.14.1-dev 2015-04-01 14:51:20 -07:00
Zach Loafman 77775a61b8 Kubernetes version v0.14.1 2015-04-01 14:51:14 -07:00
Clayton Coleman dec3209229 Merge pull request #6246 from derekwaynecarr/finalize_fix
Fix Namespace Termination
2015-04-01 17:34:56 -04:00
Alex Robinson 2db427a34a Merge pull request #6293 from kargakis/delete-short-msg
Update delete short usage message
2015-04-01 14:20:14 -07:00
Robert Bailey 22d9c67cb7 Merge pull request #6190 from liggitt/client_cert_auth
Add client cert authentication
2015-04-01 14:11:29 -07:00
Dawn Chen 96b0f0a170 Small cleanup on api/types.go 2015-04-01 14:04:17 -07:00
Robert Bailey 32a1c052dc Revert "Configure the kubelet to use HTTPS" 2015-04-01 13:59:31 -07:00
derekwaynecarr c2b670513c Introduce concept of a default limit 2015-04-01 16:31:25 -04:00
Brian Grant 7450da41f1 Merge pull request #6094 from ddysher/remove-reachability
Remove Reachable Condition
2015-04-01 13:16:47 -07:00
Deyuan Deng 6bb9701489 Remove Reachable Condition 2015-04-01 13:56:43 -04:00
Jordan Liggitt c797a91e36 Add client cert authentication 2015-04-01 13:42:26 -04:00
Robert Bailey 58bc792e68 Configure the master to connect to the kubelet using HTTPS. 2015-04-01 09:09:29 -07:00
Paul Morie 0335e350c7 Fix issue 6294: networking e2e should set args, not command 2015-04-01 11:40:23 -04:00
derekwaynecarr b745f51c65 Client must specifiy a resource version on finalize 2015-04-01 11:16:45 -04:00
kargakis 3c09d4d383 Update delete short usage message 2015-04-01 17:14:13 +02:00
Piotr Szczesniak 81683441b9 Merge pull request #6156 from gmarek/retry_loop
Add a retry loop to UpdateStatus in NodeController
2015-04-01 09:16:11 +02:00
Victor Marmol 2de37624e8 Merge pull request #6252 from krousey/string_format_cleanup
Fixing a lot of string formatting issues
2015-03-31 16:57:36 -07:00
Kris Rousey 6904c4d585 Fixing a lot of string formatting issues with regards to:
* Improper format specifier (e.g. %s for bools or %s for ints)
  * More or less parameters than format specifiers
  * Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00
Brian Grant af858c99e2 Merge pull request #6098 from nikhiljindal/enableInMaster
Enabling v1beta3 api version by default in master
2015-03-31 15:31:18 -07:00
Victor Marmol a78a009877 Merge pull request #6249 from TamerTas/typo
Fix typo in Secrets
2015-03-31 15:14:55 -07:00
Tamer Tas 6c10cf7b98 Fix typo in Secrets 2015-04-01 00:56:20 +03:00
Victor Marmol 44fda1fcd1 Merge pull request #6161 from justinsb/populate_addresses_new_nodes
Make sure we have addresses for newly discovered nodes
2015-03-31 14:46:06 -07:00
Tim Hockin 70b9e56952 Fix a back-compat bug in multi-port services
Yu-Ju changed something just before this went in that exposed this bug.
we did not re-run Travis on my PR.  Bad us.
2015-03-31 14:29:22 -07:00
Brendan Burns 313a365712 Merge pull request #5473 from lavalamp/fix6
Add DeltaFIFO (a controller framework piece)
2015-03-31 13:29:00 -07:00
Victor Marmol c93cd4a0d1 Merge pull request #6225 from cjcullen/cloudprovider
Fix typed-nil passing in cloudprovider/plugins
2015-03-31 13:04:11 -07:00
Justin Santa Barbara 72ee90494e Add unit test 2015-03-31 12:58:29 -07:00
Brian Grant 3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Zach Loafman fc8ba8d77b Merge pull request #6011 from justinsb/aws_specify_zone
Fix AWS region vs zone
2015-03-31 12:26:05 -07:00
Tim Hockin 0a8e2e0b1b Merge pull request #6235 from yujuhong/defaults_tests
defaults_tests: verify defaults when converting to an API object
2015-03-31 12:13:23 -07:00
Yu-Ju Hong 7b0e45a5f5 defaults_tests: verify defaults when converting to an API object
This change verifies that defaults are applied after decoding an versioned
object into an API object.
2015-03-31 11:56:34 -07:00
Tim Hockin e19f4939b1 fix tests broken by stronger validation 2015-03-31 11:13:44 -07:00
CJ Cullen aa91bde375 Fix typed-nil passing in cloudprovider/plugins 2015-03-31 10:32:02 -07:00
Daniel Smith 68287713a0 Add a "delta fifo", which queues up object changes
Test coverage for module at 80%.
2015-03-31 10:25:29 -07:00
Daniel Smith af870b8772 Add proper key error type 2015-03-31 10:25:29 -07:00
Daniel Smith e8cc126a56 Add ListKeys() to FIFO & test 2015-03-31 10:25:29 -07:00
Daniel Smith a8184e81bc Update FIFO documentation 2015-03-31 10:25:29 -07:00
Victor Marmol 9bbf0b1546 Merge pull request #6100 from pmorie/entrypoint
Add control over container entrypoint
2015-03-31 09:58:40 -07:00
Victor Marmol d6d370d8ae Merge pull request #6211 from dchen1107/docker
publish node components version information
2015-03-31 09:47:08 -07:00
Dawn Chen b8de2f00ce kubectl describe nodes id shows node components version info. 2015-03-31 09:32:29 -07:00
Dawn Chen 5b9a6d47e8 publish node components version information 2015-03-31 09:32:29 -07:00
Paul Morie 7628b37d78 Add control over container entrypoint 2015-03-31 12:32:03 -04:00
Tim Hockin b420871a11 fixes from testing 2015-03-31 09:30:56 -07:00
gmarek fa6d5e259f Add a retry loop to UpdateStatus in NodeController 2015-03-31 11:22:02 +02:00
Tim Hockin eeff1b74fb Fixes from feedback and testing 2015-03-30 23:52:37 -07:00
Tim Hockin 186818d787 WIP: Implement multi-port Services 2015-03-30 19:28:11 -07:00
Yifan Gu 7b1ea6b41d kubelet_test: Fix copy bug.
Initialize the slice before copying in verifyUnorderedCalls()
and verifyStringArrayEqualsAnyOrder().
2015-03-30 17:17:42 -07:00
Daniel Smith acd67ebea0 Merge pull request #5535 from saad-ali/fix5327
Make each new instance of kubelet generate a new event channel
2015-03-30 17:05:27 -07:00
Victor Marmol a30859fb03 Merge pull request #6191 from roberthbailey/kubelet-ssl
Configure the kubelet to bind a simple healthz server to a localhost port for monitoring by monit
2015-03-30 15:57:09 -07:00
Victor Marmol a501bd29ad Merge pull request #6189 from sdodson/liveness-probe-logging
Add some logging to kubelet probes
2015-03-30 15:34:47 -07:00
Daniel Smith 83d5c207c9 Merge pull request #6175 from nikhiljindal/proxy
Updating proxy to return 301 to add a "/" at the end for #4958 (attempt 2)
2015-03-30 15:21:46 -07:00
Clayton Coleman 1dc895ee49 Merge pull request #6163 from ncdc/add-ctx-to-rest-prepare
Pass ctx to Validate, ValidateUpdate
2015-03-30 18:13:30 -04:00
Yu-Ju Hong 73452fd26e Merge pull request #6091 from vmarmol/record
Record event when image GC fails.
2015-03-30 15:08:56 -07:00
Andy Goldstein d7c5f427cb Pass ctx to Validate, ValidateUpdate
Pass ctx to Validate/ValidateUpdate. This is useful so strategies can
access data such as the current user.
2015-03-30 17:33:08 -04:00
Scott Dodson 7661a42058 Add some logging to kubelet probes 2015-03-30 17:23:56 -04:00
saadali e0f71cb21f Make each new instance of kubelet generate a new event channel (instead of reusing existing). 2015-03-30 14:22:16 -07:00
Robert Bailey bc8af553a3 Configure the kubelet to bind a simple healthz server to a localhost
port for monitoring by monit. This is in preparation for the standard
kubelet port to switch to SSL only (and eventually to only accepting
connections on the SSL port that present a proper client SSL cert).

Also standardize the formatting of the monit config files a bit.
2015-03-30 14:20:30 -07:00
Victor Marmol 795cd38ef4 Merge pull request #6178 from derekwaynecarr/fix_self_link_list
Fix self link in listing items in a namespace
2015-03-30 13:50:38 -07:00
Tim Hockin c03b0ecb6d Merge pull request #6123 from a-robinson/proxy
Fix bug in kube-proxy of not updating iptables rules if a service's public IPs change
2015-03-30 13:44:04 -07:00
Alex Robinson 151b871eff Fix bug in kube-proxy of not updating iptables rules if a service's
public IPs change, and add tests to catch the bug.
2015-03-30 20:39:59 +00:00
derekwaynecarr 265a0e3ca4 Listing items in a namespace should always include the namespace in the URL 2015-03-30 16:05:40 -04:00
Scott Dodson de87048def Fix comment typo probeContainerReadiness 2015-03-30 15:54:05 -04:00
nikhiljindal 4c4a084a92 Updating proxy to return 301 to add a / at the end 2015-03-30 12:12:49 -07:00
nikhiljindal 478b7d5edf Repurposing enableV1beta3 to disableV1beta3 in master config to enable v1beta3 by default 2015-03-30 11:50:10 -07:00
Eric Paris 3e0cdff97c Merge pull request #6171 from zmerlynn/release-0.14
Release 0.14
2015-03-30 13:20:35 -05:00
Zach Loafman 2ad77fd9e5 Kubernetes version v0.14.0-dev 2015-03-30 11:03:04 -07:00
Zach Loafman 575bf6dcd0 Kubernetes version v0.14.0 2015-03-30 11:02:57 -07:00
Victor Marmol de35c8f2af Record event when image GC fails. 2015-03-30 10:32:51 -07:00
Victor Marmol 83c729d12f Merge pull request #6113 from erictune/fix_kubectl
Fix kubectl
2015-03-30 09:59:42 -07:00
Federico Simoncelli 0e60374346 nodes: record an event on NodeReady changes
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-30 12:01:09 -04:00
Justin Santa Barbara 527d3f1f99 Make sure we have addresses for newly discovered nodes 2015-03-30 08:51:33 -07:00
Victor Marmol d5ce931f0b Merge pull request #6069 from simon3z/kubelet-reboot-logic
node: move the reboot detection logic to kubelet
2015-03-30 08:45:37 -07:00
Victor Marmol ff03b721fe Merge pull request #6160 from justinsb/aws_dont_list_until_ready
Don't list AWS instances until they are actually ready
2015-03-30 08:34:54 -07:00
Justin Santa Barbara 63f63aa9de Don't list AWS instances until they are actually ready 2015-03-30 08:06:18 -07:00
Victor Marmol 3490e67ff9 Merge pull request #6117 from brendandburns/api3
Add params for the proxy when installing the API, this fixes some swagger validation errors.
2015-03-30 08:02:27 -07:00
Federico Simoncelli fe2d1f6762 node: move the reboot detection logic to kubelet
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-30 09:33:07 -04:00
Federico Simoncelli 604e0ad328 kubelet: move getNodeReference logic into a function
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-30 09:33:00 -04:00
Brendan Burns ee0d71aac6 Fix up parameter handling. Also handle type mapping between Go and JSON 2015-03-27 21:43:16 -07:00
Brendan Burns d70d2d20cd Add params for the proxy when installing the API. 2015-03-27 21:43:16 -07:00
Victor Marmol b9499b8c5b Merge pull request #6126 from ghodss/reduce-some-kubectl-spacing
Reduce some tab spacing in kubectl
2015-03-27 18:34:36 -07:00
Dawn Chen 296fafa955 Merge pull request #6129 from yujuhong/container_status
Kubelet: allow docker to examine terminated container
2015-03-27 18:18:18 -07:00
Sam Ghods f8d8b09a0a Reduce some tab spacing in kubectl 2015-03-27 18:05:20 -07:00
Yu-Ju Hong 3ad0e22cdd Kubelet: allow docker to examine terminated container
Removing the if statement so that docker can continue returning the status of
terminated containers.
2015-03-27 18:04:50 -07:00
Victor Marmol 3bc933645b Merge pull request #6083 from jlowdermilk/fix-log
Fix kubectl log for single-container pods
2015-03-27 17:51:33 -07:00
Yu-Ju Hong 372c5c9f3a Kubelet: set host field in the pending pod status
Otherwise, the apiserver would reject the update.
2015-03-27 17:26:47 -07:00
Daniel Smith 93a82c30d9 Revert "Updating proxy to return 301 to add a "/" at the end for #4958" 2015-03-27 15:59:40 -07:00
Eric Tune 8bf104503c Fix nil pointer when validating in kubectl. 2015-03-27 15:49:51 -07:00