Commit Graph

13639 Commits

Author SHA1 Message Date
Mike Danese
a663d3b1f3 mock LookupIP to speedup nodecontroller_test on some runtimes 2015-03-04 10:27:45 -08:00
Tim Hockin
fdea7252a4 Merge pull request #5001 from brendandburns/api3
Embed VolumeSource in v1beta3 and internal.
2015-03-04 09:50:14 -08:00
Eric Tune
662189ebc2 Merge pull request #4967 from jlowdermilk/kubeconfig
Simplify generating kubeconfig with embeded cert data
2015-03-04 08:38:43 -08:00
Eric Tune
fd8361edf2 Merge pull request #5021 from justinsb/log_kubelet_internalerror
Log HTTP InternalServerErrors in the kubelet
2015-03-04 08:22:15 -08:00
Eric Tune
2ec257eb49 Merge pull request #5023 from justinsb/fix_typo_in_test
Fix typo in test
2015-03-04 08:12:08 -08:00
Clayton Coleman
17f7dd8d6d Only insert outputversion as a preferred mapping type if no error occurs
Some types will be looked up based on their internal type, which is passed
directly to RESTMapping(). RESTMapping() will search the entire version
list if no external types are passed, but OutputVersionMapper was bypassing
that because the default type was always present.

Change OutputVersionMapper to collapse empty versions, and when no external
type is specified, try with the preferred version and then try without.
2015-03-04 10:48:05 -05:00
Clayton Coleman
a97635e643 Use IsListType instead of checking ItemPtr in resourcebuilder 2015-03-04 10:48:05 -05:00
Clayton Coleman
b799e8cd3a Enumerate all versions when looking for an output conversion
Ensures that all objects can be printed, even if they don't
match output-version (because they are only implemented in
a newer API version).
2015-03-04 10:48:05 -05:00
Clayton Coleman
a52b0f2619 Switch List/Watch to ListPredicate/WatchPredicate 2015-03-04 10:48:05 -05:00
Justin Santa Barbara
7725cd23ec Fix typo in test 2015-03-04 10:10:08 -05:00
Derek Carr
cb1e044a60 Merge pull request #4923 from lavalamp/fix4
Allow reflector to do full resync periodically
2015-03-04 09:58:03 -05:00
Justin Santa Barbara
b681a45fb6 Log HTTP InternalServerErrors in the kubelet
Otherwise we just get a stack trace and no message
2015-03-04 09:48:44 -05:00
Brendan Burns
fb90b56bf6 Embed VolumeSource in v1beta3 and internal. 2015-03-04 02:25:40 -08:00
Brendan Burns
f8dd4fcac5 Change the service port defaulting to be more sane. 2015-03-04 02:00:24 -08:00
Clayton Coleman
576bbb565e Stop logging stack traces for 4xx requests 2015-03-03 21:14:57 -05:00
Clayton Coleman
3beea3b660 Skip types that are not registered on an API version 2015-03-03 21:14:57 -05:00
Clayton Coleman
bf4ab78ce9 Stop round trip testing in latest 2015-03-03 21:14:56 -05:00
Fabio Yeon
c38c6f0dad Fix the etcd version check and have it return the version string. 2015-03-03 16:59:00 -08:00
Clayton Coleman
3d52aac13c genericetcd.Etcd should test resourceVersion
Also fix that Update was returning AlreadyExists instead of
NotFound (when create is disabled) and that Update when CreateOnUpdate
was true was not populating the returned object.

Added more tests
2015-03-03 19:54:43 -05:00
Deyuan Deng
53e17f0fa5 Move Node.ExternalID to CloudNodes() 2015-03-03 19:37:46 -05:00
derekwaynecarr
8150649cf3 nodecontroller sync cloud was not setting external id in all code paths 2015-03-03 16:39:06 -05:00
Jeff Lowdermilk
6e704d174d Simplify generating kubeconfig with embeded cert data 2015-03-03 12:18:07 -08:00
Satnam Singh
709476cb5b Merge pull request #4657 from piosz/kubectl
Added new command clusterinfo to kubectl
2015-03-03 11:34:17 -08:00
Piotr Szczesniak
e92192d379 Added new command clusterinfo to kubectl
This is first version of the command. It prints IPs of master and cluster
services. Should be improved once generalized labels are implemented #341.

It requires label kubernet.io/cluster-service=true set for cluster services.

Follow up cl after discussion in #4417.
2015-03-03 20:14:24 +01:00
Brian Grant
841b6f6970 Merge pull request #4936 from thockin/plural_24_default_dest_port
Change the v1b3 default for service ContainerPort
2015-03-03 11:01:01 -08:00
Brian Grant
fca9fd68c7 Merge pull request #4779 from smarterclayton/status_endpoints
Minimal status mutation change
2015-03-03 11:00:02 -08:00
Tim Hockin
5aadd6ecae Change the v1b3 default for service ContainerPort
In v1b1 and v1b2 we choose the "first defined port" if you do not specify a
ContainerPort.  I am proposing that v1b3 just assume the ContainerPort is the
same as the service port unless explicitly provided.  This leaves named ports
for now, but that is under discussion on its own.

This is strictly compatible, though to implement this we have to leave the
internal objects with the looser behavior until v1b[12] die.  This also adds a
link dependency so that when we DO kill v1b[12] the endpoints controller will
blow up, prompting a fix.
2015-03-03 09:40:18 -08:00
Daniel Smith
fbf45e8a39 Merge pull request #4946 from bprashanth/kubectl_retry
Retry resizing replication controllers in kubectl
2015-03-03 08:54:11 -08:00
Prashanth Balasubramanian
1970c2d201 Retry resizing replication controllers in kubectl 2015-03-02 20:26:41 -08:00
Brendan Burns
2bbc59e81e Kubernetes version v0.12.0-dev 2015-03-02 20:04:35 -08:00
Brendan Burns
ecca42643b Kubernetes version v0.12.0 2015-03-02 20:04:24 -08:00
Victor Marmol
71e545bf81 Merge pull request #4970 from dchen1107/podstatus
Hide POD container from end users
2015-03-02 17:15:24 -08:00
Dawn Chen
dad365fb2b Hide POD container from end users 2015-03-02 17:03:28 -08:00
Daniel Smith
1fdf749211 fix e2e failure 2015-03-02 15:03:56 -08:00
Daniel Smith
c4822dc060 Revert "Revert "Adding converter functions to convert field label selectors to internal version before matching""
This reverts commit 5f35a67002.
2015-03-02 15:00:09 -08:00
David Oppenheimer
32523f8a52 Merge pull request #4674 from abhgupta/abhgupta-dev
Configuring scheduler via json configuration file
2015-03-02 14:43:25 -08:00
Brian Grant
97d7e7e2c2 Merge pull request #4819 from mikedanese/validate-api-version
Validate api version in kubectl --patch and --override
2015-03-02 14:04:18 -08:00
Zach Loafman
00ca7352ee Merge pull request #4955 from smarterclayton/fix_tcpsocket_validation
TCPSocket could not be used as it was not checked in validation
2015-03-02 13:45:25 -08:00
Dawn Chen
93c0052263 Merge pull request #4952 from rjnagal/kubectl
Add capacity information to 'kubectl describe minion'
2015-03-02 13:09:52 -08:00
Mike Danese
25fac68ec4 validate api version in kubectl --patch and --override. 2015-03-02 13:00:45 -08:00
Clayton Coleman
0ac49d77a0 TCPSocket could not be used as it was not checked in validation
Attempting to use it gave the error "must register one handler".
Added more tests for it.
2015-03-02 15:27:11 -05:00
Rohit Jnagal
c63f4635a4 Add capacity information to 'kubectl describe minion' 2015-03-02 19:51:30 +00:00
Zach Loafman
4937008ae0 Revert "TCPSocket could not be used as it was not checked in validation" 2015-03-02 11:14:27 -08:00
Brendan Burns
c7cbc5c991 Merge pull request #4883 from smarterclayton/fix_tcpsocket_validation
TCPSocket could not be used as it was not checked in validation
2015-03-02 10:53:48 -08:00
Brendan Burns
fe973461f5 Merge pull request #4916 from thockin/plural_21_endpoints
Rename type Port to ContainerPort
2015-03-02 10:53:32 -08:00
Brendan Burns
3168f165ab Merge pull request #4927 from thockin/plural_22_endpoints
Add defaults for HTTGetAction.Path & test actions
2015-03-02 10:52:55 -08:00
Brendan Burns
843fa71f2b Merge pull request #4938 from tkulczynski/opfix
Fix waiting for GCE Operations
2015-03-02 10:47:46 -08:00
Abhishek Gupta
a04e600f16 Added test cases 2015-03-02 10:00:20 -08:00
Vish Kannan
445fd56739 Merge pull request #4810 from fgrzadkowski/disable_pod_status_probes
Add flag to control probing pods statuses from kubelets.
2015-03-02 09:52:05 -08:00
Filip Grzadkowski
86b1c90097 Add flag to control probing pods statuses from kubelets. 2015-03-02 16:06:14 +01:00