Commit Graph

42458 Commits

Author SHA1 Message Date
Marek Grabowski
035daa7fbf Merge pull request #8034 from shawnps/patch-7
Fix printf verb
2015-05-11 13:54:16 +02:00
Wojciech Tyczynski
5578dc99e3 Improvements for conversions generator 2015-05-11 12:21:11 +02:00
Jerzy Szczepkowski
36ab4b4c2f Merge pull request #8036 from shawnps/patch-10
Use Errorf in persistent_volume_claim_binder_test.
2015-05-11 11:17:04 +02:00
Paul Morie
cd359ffa73 Refactor volume interfaces to receive pod instead of ObjectReference 2015-05-10 20:12:57 -04:00
Kenjiro Nakayama
c13f457885 Use template to get first column in __kubectl_parse_get() 2015-05-10 23:32:24 +09:00
Kenjiro Nakayama
5a0acecc54 Delete status from displayable resources 2015-05-10 19:28:02 +09:00
Shawn Smith
50f34d013e Use Errorf 2015-05-10 13:23:03 +09:00
Shawn Smith
295286cdc8 Fix printf verb 2015-05-10 13:18:26 +09:00
Shawn Smith
02d136173a Fix unused fmt.Errorf result 2015-05-10 13:17:00 +09:00
Shawn Smith
555ff0d1bc Use Fprintf 2015-05-10 13:14:05 +09:00
Shawn Smith
48927cb209 Fix struct tag 2015-05-10 13:09:13 +09:00
Shawn Smith
97cdd064c8 Fix struct tag 2015-05-10 13:08:25 +09:00
Shawn Smith
8105ac5346 Fix struct tag 2015-05-10 13:06:20 +09:00
Tim Hockin
3aa39d54b6 Service port names are required for multi-port
There is no provision for the first port to be unnamed.  I think I
initially allowed that, but then the Subset struct became a sorted
struct, so the first-ness of the port got lost.  If you have a Service
with one named and one unnamed port, what happens is that the
EndpointController fails to create Endpoints (validation error).
2015-05-09 20:11:48 -07:00
Deyuan Deng
2f7183cba5 Check Pod privileged container 2015-05-09 17:30:35 -04:00
Deyuan Deng
72a563f618 Use error type from docker go-client instead of string 2015-05-09 15:20:45 -04:00
Victor Marmol
9ded52ac79 Merge pull request #7981 from yujuhong/reasons
Record failure reasons for image pulling
2015-05-08 18:00:46 -07:00
Yu-Ju Hong
d185bfd56a Record failure reason for image pulling 2015-05-08 17:37:11 -07:00
Brendan Burns
c9324e6e38 Switch exec to look at exit code not output status. 2015-05-08 16:51:37 -07:00
Prashanth Balasubramanian
4fdd5bc3f3 Ratelimit replica creation 2015-05-08 14:24:25 -07:00
Daniel Smith
b02149d3d2 Merge pull request #7950 from satnam6502/head2
Make the API server deal with HEAD requests via the service proxy
2015-05-08 14:13:21 -07:00
Brendan Burns
7f11585972 Fix validation by moving it into the resource builder.
Also always print an error for unknown field.
2015-05-08 14:00:33 -07:00
Abhi Shah
1014831a4f Merge pull request #7959 from eparis/bash-completions-fun-if-crap
Remove useless bash conditional
2015-05-08 13:33:40 -07:00
deads2k
6498fc1fda remove cmd respect for auth-path 2015-05-08 16:33:33 -04:00
Clayton Coleman
8bbb64cd8b Generated conversion functions 2015-05-08 16:04:03 -04:00
Clayton Coleman
5bcb96dae1 Separate out the master's control loops
These are "Bootstrap Controllers" as distinct from
the controllers in the controller-manager binary - they
are necessary for the cluster to start running.
2015-05-08 16:04:03 -04:00
Abhi Shah
87e85e25f1 Revert "Added ISCSI to PV structs" 2015-05-08 11:31:35 -07:00
Abhi Shah
9b2a0df811 Merge pull request #7734 from markturansky/iscsi_pv2
Added ISCSI to PV structs
2015-05-08 10:55:41 -07:00
Clayton Coleman
e200d5a317 Make PortalIP alloc HA
* Add an allocator which saves state in etcd
* Perform PortalIP allocation check on startup and periodically afterwards

Also expose methods in master for downstream components to handle IP allocation
/ master registration themselves.
2015-05-08 13:34:16 -04:00
Satnam Singh
220e754f3e Make the API server deal with HEAD requests 2015-05-08 10:33:51 -07:00
Yu-Ju Hong
170f426fb6 Don't use the first token uname -n as the hostname
This change partially reverts the change made in #7910, which takes only the
first token of `uname -n` as the hostname.
2015-05-08 10:09:06 -07:00
Eric Paris
d28660ae49 Remove useless bash conditional
bash just returns the last return code, why are we testing and then
doing the same?
2015-05-08 12:22:07 -04:00
Yifan Gu
7e9ba26103 kubelet: Add container runtime option for rkt. 2015-05-07 23:39:37 -07:00
Yifan Gu
8b1174a3a7 kubelet/container: Move pty*.go to container runtime package.
This makes the labeld pty wrapper available for both container runtime.
2015-05-07 23:36:47 -07:00
kargakis
93dc839b19 Load input object for increased safety 2015-05-08 03:17:54 +02:00
markturansky
6cdec4c093 rebased and updated 2015-05-07 20:54:35 -04:00
Abhi Shah
589154a557 Merge pull request #7821 from lavalamp/deleteEndpoints
Add old endpoint cleanup function
2015-05-07 16:54:41 -07:00
Victor Marmol
65bd04fc51 Merge pull request #7916 from yifan-gu/rkt_rm_label
kubelet/rkt: Remove build label.
2015-05-07 16:24:32 -07:00
Abhi Shah
7b1e9adb47 Merge pull request #7620 from brendandburns/fix
Support recovery from in the middle of a rename.
2015-05-07 16:04:26 -07:00
Clayton Coleman
f2b6c41345 Merge pull request #7715 from csrwng/exec_portfw_client
Update Exec and Portforward client to use pod subresource
2015-05-07 18:57:10 -04:00
markturansky
4c9eac6c3d Added ISCSI to PV structs 2015-05-07 18:13:03 -04:00
Victor Marmol
5074e98ee9 Merge pull request #7910 from yujuhong/hostname
Use the full hostname for mirror pod name.
2015-05-07 14:43:16 -07:00
Abhi Shah
42aa4ead7e Merge pull request #7564 from markturansky/nfs_pv
Added NFS to PV structs
2015-05-07 13:51:40 -07:00
Yifan Gu
41f8c79490 kubelet/rkt: Remove build label.
As we removed the linux specific dependency, now rkt can be built
on other platforms as well.
2015-05-07 13:42:05 -07:00
Victor Marmol
ecf8348609 Revert "kubelet: Add container runtime option for rkt." 2015-05-07 13:01:37 -07:00
Yu-Ju Hong
ab5e0e0b5c Use the full hostname for mirror pod name.
This change appends the full hostname to the mirror pod name (instead of taking
the first token) so that if the hostname is overriden, we'd not be creating
unncessary name conflicts. An example would be that a user overrides the
hostnames to be "127.0.0.1" and "127.0.0.2", and both of them were resolved to
"127" for the mirror pod name suffix.

Also, because `uname -n` could return a FQDN or not, this change takes only
the first token of it as the hostname for consistency.
2015-05-07 12:59:49 -07:00
Victor Marmol
3d0f54f1f6 Merge pull request #7900 from yifan-gu/rkt_switch
kubelet: Add container runtime option for rkt.
2015-05-07 12:22:31 -07:00
Cesar Wong
d954c31b22 Update Exec and Portforward client to use pod subresource 2015-05-07 14:25:14 -04:00
Cesar Wong
619332d58e Utility to convert versioned runtime objects to a set query parameters
JSON struct tags are used as parameter names, fields that do not have
the omitempty marker are always included.
2015-05-07 14:25:14 -04:00
Daniel Smith
6ab51f3bc0 Merge pull request #7668 from bprashanth/scheduling_minions
Scheduler ignores nodes that are in a bad state
2015-05-07 10:58:02 -07:00