Commit Graph

4959 Commits

Author SHA1 Message Date
Nikhil Jindal
6bf5acd109 Merge pull request #8044 from pmorie/pod-volume-injection
Refactor volume interfaces to receive pod instead of ObjectReference
2015-05-11 10:11:00 -07:00
Vish Kannan
b7289b606e Merge pull request #7786 from thockin/ports
Service port names are required for multi-port
2015-05-11 09:46:02 -07:00
Victor Marmol
307d677e06 Merge pull request #8022 from ddysher/kubelet-privilege
Check Pod privileged container
2015-05-11 09:01:58 -07:00
Paul Morie
14243d3bd6 Fix typo in nsenter_mount.go 2015-05-11 11:41:01 -04:00
Eric Paris
630aed6db1 Merge pull request #8016 from nak3/delete-empty-first-column-lines
Use template to get first column in __kubectl_parse_get()
2015-05-11 10:01:13 -05:00
Clayton Coleman
2e3c40b5c2 Merge pull request #7774 from kargakis/load-object-for-more-safety
expose: Load input object for increased safety
2015-05-11 10:16:20 -04:00
Clayton Coleman
382623f3fa Merge pull request #7896 from wojtek-t/generated_calling_manual
Improments to conversion methods generator
2015-05-11 10:15:32 -04:00
Clayton Coleman
8755ea8ec9 Merge pull request #7704 from smarterclayton/parallel_allocator
Use etcd to allocate PortalIPs instead of in-mem
2015-05-11 09:56:10 -04:00
Marek Grabowski
16a76f1bd3 Merge pull request #8028 from shawnps/patch-1
Fix struct tag
2015-05-11 14:00:18 +02:00
Marek Grabowski
141e6977d6 Merge pull request #8029 from shawnps/patch-2
Fix struct tag
2015-05-11 13:59:56 +02:00
Marek Grabowski
a0a68b0581 Merge pull request #8031 from shawnps/patch-4
Fix struct tag
2015-05-11 13:58:48 +02:00
Marek Grabowski
c28a83f264 Merge pull request #8032 from shawnps/patch-5
Use Fprintf
2015-05-11 13:57:46 +02:00
Marek Grabowski
01457a92af Merge pull request #8033 from shawnps/patch-6
Fix unused fmt.Errorf result
2015-05-11 13:55:07 +02:00
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
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
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
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
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
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
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
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