Commit Graph

4044 Commits

Author SHA1 Message Date
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
Daniel Smith
d137e7b62d Merge pull request #6048 from nikhiljindal/proxy
Updating proxy to return 301 to add a "/" at the end for #4958
2015-03-27 15:49:10 -07:00
Brian Grant
f0da47b2dd Merge pull request #5763 from smarterclayton/get_input_parameters_versioned
Expose versioned query parameters and make watch an operation on List
2015-03-27 14:35:23 -07:00
Brian Grant
6dd8f73266 Merge pull request #5919 from sdminonne/labels_req
Adding method  to labels.Selector to add Requirement
2015-03-27 14:30:09 -07:00
nikhiljindal
2fff606a6f Updating proxy to return 301 to add a / at the end 2015-03-27 14:29:18 -07:00
Brian Grant
c9ad322ba9 Merge pull request #5831 from smarterclayton/add_more_errors
Add more specific error handling and handle generic errors more effectively
2015-03-27 14:17:11 -07:00
Brian Grant
a765236653 Merge pull request #5939 from thockin/plural_endpoints_31_endpt_subsets
Implement multi-port endpoints
2015-03-27 14:15:15 -07:00
Clayton Coleman
aa44d29d10 Updated documentation and adjusted field names 2015-03-27 17:08:59 -04:00
Tim Hockin
8ae203825b Implement multi-port endpoints
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}.  To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets.  This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).

This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.

This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.

This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Jeff Lowdermilk
243de3a472 Fix kubectl log for single-container pods 2015-03-27 12:26:00 -07:00
Clayton Coleman
870da687d0 Add more extensive tests to apiserver for variations in version
Formalize v1beta1 and v1beta3 style APIs in our test cases.
2015-03-27 15:03:58 -04:00
Clayton Coleman
eb0eff69fe Move watch to being a resthandler resource and expose it on LIST
GET /pods?watch=true&resourceVersion=10

will now function equivalent to GET /watch/pods.
2015-03-27 15:03:58 -04:00
Clayton Coleman
1618c39a46 Convert List query parameters via object conversion
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
Brian Grant
70e0fad28c Merge pull request #5951 from dchen1107/docker
Add node components version to API
2015-03-27 11:30:44 -07:00
Dawn Chen
87db1c9007 Rename DockerVerstion to ContainerRuntimeVersion for rocket support 2015-03-27 11:04:48 -07:00
Dawn Chen
086bb1ac09 Add node components version to API 2015-03-27 11:04:47 -07:00
Jeff Lowdermilk
803086c2c6 Merge pull request #6034 from thockin/target_port_flag
Alias --container-port to --target-port in kubectl
2015-03-27 09:56:33 -07:00
Victor Marmol
e4fc45c26f Merge pull request #6054 from fgrzadkowski/fix_pod_status
Do not fail pod status update if failed to get host IP
2015-03-27 09:10:44 -07:00
Victor Marmol
4ed3346587 Merge pull request #6039 from yifan-gu/readiness
kubelet: Add container readiness manager.
2015-03-27 09:04:00 -07:00
Justin Santa Barbara
c1337cbaeb Make some of the more repetitive AWS tests table-driven 2015-03-27 07:31:16 -07:00
Brian Grant
a4bf91c8c0 Merge pull request #5690 from satnam6502/failputnover
Give better error message for PUTs with no resource version
2015-03-27 07:12:56 -07:00