Brendan Burns
d8f48290e9
Add a flag to disable legacy APIs
2015-05-11 16:09:25 -07:00
Victor Marmol
1465475401
Merge pull request #8079 from yifan-gu/rm_command_runner
...
kubelet/container: Move prober.ContainerCommandRunner to container.
2015-05-11 16:05:25 -07:00
Jeff Lowdermilk
ac87ed6516
Merge pull request #8064 from deads2k/death-to-auth-path
...
eliminate auth-path
2015-05-11 15:41:41 -07:00
Yifan Gu
7831b7da72
kubelet/container: Move prober.ContainerCommandRunner to container.
...
Also include the ContainerCommandRunner in Runtime interface, but
still keep the ContainerCommandRunner interface for testability.
2015-05-11 15:32:51 -07:00
Yu-Ju Hong
3f791db886
Kubelet: remove unused getHostFieldLabel function
2015-05-11 14:39:22 -07:00
Jordan Liggitt
92bd58ede6
ServiceAccount e2e/integration tests
2015-05-11 17:18:06 -04:00
Jordan Liggitt
db1f0dc906
JWT token generation/verification
2015-05-11 17:18:06 -04:00
Jordan Liggitt
6e570732f5
ServiceAccounts controller
2015-05-11 17:18:05 -04:00
Jordan Liggitt
0955808668
ServiceAccountTokens controller
2015-05-11 17:18:05 -04:00
Jordan Liggitt
53d55f4192
Add ServiceAccount API type, client
2015-05-11 17:18:05 -04:00
Jordan Liggitt
6e1e7dbb24
Add ServiceAccountToken SecretType
2015-05-11 17:18:05 -04:00
Yu-Ju Hong
8b3130b112
Merge pull request #7980 from yifan-gu/fix_kubelet_tests
...
kubelet: Fix racy kubelet tests.
2015-05-11 14:09:44 -07:00
Dawn Chen
86479cc56c
Add support to pull log for last terminated container
2015-05-11 12:54:04 -07:00
Clayton Coleman
ecbca9eb17
Allow v1beta3 to POST events to all namespaces
...
A namespaced resource that supports ALL may allow creation
on the root (all namespaces) collection, thus adding POST
here.
We need to better formalize the definition of calls on namespaced
resources at the root scope, so Storage objects that do not support
that call pattern can do so at definition time and reject those
calls.
2015-05-11 15:51:05 -04:00
Clayton Coleman
84d1f19016
Subresources should be in their parent rest scope
...
A subresource like "Binding" does not necessarily have
to have a namespace. The RESTScope of a subresource
should always be its parent resource.
2015-05-11 15:51:05 -04:00
Clayton Coleman
b2a2ce0bb3
Legacy scope naming should NEVER set namespace for root
...
... resources.
2015-05-11 15:51:04 -04:00
Clayton Coleman
964bc8afda
Verify namespace is not set on root objects
2015-05-11 15:51:04 -04:00
Yifan Gu
85b453091b
kubelet: Add tests for fakePodWorkders.
2015-05-11 12:50:33 -07:00
Yifan Gu
52af792852
kubelet: Fix racy kubelet tests.
...
Add fakePodWorkders to run syncPod() in serial for testing.
2015-05-11 12:50:33 -07:00
Victor Marmol
65cf37ab6d
Merge pull request #8069 from yujuhong/runcontainer
...
Kubelet: minor cleanups
2015-05-11 12:34:33 -07:00
kargakis
69a96f3ea1
resize: Use Resize method
2015-05-11 21:12:49 +02:00
Nikhil Jindal
0da12c1ba9
Merge pull request #7869 from bprashanth/rc_rl
...
Rate limit replica creation
2015-05-11 11:24:02 -07:00
Yu-Ju Hong
a9c9505206
Use VirtualSize of the docker image as the image size
2015-05-11 11:03:47 -07:00
Yu-Ju Hong
3599d81ef1
Remove some docker references
2015-05-11 11:03:47 -07:00
Yu-Ju Hong
3487a165b8
Unexport DockerManager.RunContainer
2015-05-11 11:03:41 -07:00
Paul Morie
e2dd95a8b3
Make nfs volume plugin use injected mounter
2015-05-11 13:36:36 -04:00
Piotr Szczesniak
12e44ff8a9
Added label kubernetes.io/name to cluster services
...
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Nikhil Jindal
2cc8696425
Merge pull request #7919 from brendandburns/kubectl
...
Fix validation by moving it into the resource builder.
2015-05-11 10:20:14 -07:00
Nikhil Jindal
48dfad6701
Merge pull request #8050 from fgrzadkowski/cache
...
Add cache with multiple shards to decrease lock contention
2015-05-11 10:18:34 -07:00
Dawn Chen
ffa5947010
Introduce Previous as PodLogOptions
2015-05-11 10:14:22 -07:00
Dawn Chen
ecaf0874b2
Introduce --previous option to kubectl log
2015-05-11 10:14:22 -07:00
Nikhil Jindal
9c0fdc7afd
Merge pull request #8039 from nak3/delete-status
...
Delete status from displayable resources
2015-05-11 10:11:42 -07:00
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
Clayton Coleman
6ba6af2d1c
ServiceIP allocation test is flaky
...
Choose a possible IP out of a list, instead of assuming it
can't be chosen randomly.
2015-05-11 13:05:56 -04: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
Piotr Szczesniak
aa116e2033
Implemented first version of load test
...
As for now it creates a bunch of Replication Controllers and play with them
Partially addresses #3139
2015-05-11 16:40:59 +02:00
deads2k
19784dbc4f
remove auth-path from kubeconfig
2015-05-11 10:40:23 -04: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
deads2k
2ecb0ebd73
make the dockerkeyring handle mutiple matching credentials
2015-05-11 09:54:03 -04:00
Filip Grzadkowski
50de4d0081
Add cache with multiple shards to decrease lock contention
2015-05-11 15:07:50 +02: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
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