Cesar Wong
8df4758ee9
Pod log subresource
...
Adds a Log subresource to Pod storage. The Log subresource implements
rest.GetterWithOptions and produces a ResourceStreamer resource that
will stream the log output from the pod's host node.
2015-04-07 07:56:24 -04:00
Cesar Wong
efc7f86baf
Add GetterWithOptions and allow stream flushing
...
In addition to Getter interface, API Installer now supports a
GetterWithOptions interface that takes an additional options object when
getting a resource. A flag is now returned from rest.ResourceStreamer
that indicates whether the streamed response should be
flushed when written back to the client. This is to support log
streaming.
2015-04-07 07:46:30 -04:00
Cesar Wong
6dba6aa178
Add PodLogOptions versioned resource
...
PodLogOptions will capture options passed in to retrieve a pod's log.
2015-04-07 07:46:30 -04:00
Cesar Wong
e64d7337b3
Move flushwriter from Kubelet server to a common util package
...
Exposes a Wrap function to wrap a given writer into a writer that
flushes with every write if the writer also implements the io.Flusher
interface.
2015-04-07 07:46:30 -04:00
Cesar Wong
58a1b308c1
Refactor storage return for pod etcd storage
...
Convert the return value of pods rest.NewStorage to a struct.
This will allow returning more storage objects for a pod (sub resources)
without awkwardly adding more return values.
2015-04-07 07:46:30 -04:00
gmarek
751d1d25ff
Add timestamp cache to NodeController
2015-04-07 09:15:35 +02:00
Rohit Jnagal
0400339d01
Merge pull request #6494 from lavalamp/fix2
...
compute query parameter names in the client.
2015-04-06 18:44:45 -07:00
Daniel Smith
44bc29631e
compute query parameter names in the client.
2015-04-06 16:54:26 -07:00
Vish Kannan
be0feddfa5
Merge pull request #5506 from rootfs/dev
...
add iscsi volume plugin
2015-04-06 15:11:44 -07:00
Rohit Jnagal
f2f3da15e1
Merge pull request #6370 from justinsb/aws_config_optional
...
Make AWS configuration file optional (fall-back to metadata service)
2015-04-06 14:29:28 -07:00
Rohit Jnagal
55fe466aca
Merge pull request #6468 from derekwaynecarr/improve_test
...
Improve test case to ensure finalize does desired behavior
2015-04-06 14:27:40 -07:00
Victor Marmol
7716804a0d
Merge pull request #6470 from yifan-gu/get_recent
...
kubelet: Remove GetRecentDockerContainersWithNameAndUUID.
2015-04-06 14:25:59 -07:00
Victor Marmol
3facc53cee
Merge pull request #4842 from jdef/kubelet_bootstrap
...
allow for more easily customized kubelet creation and initialization
2015-04-06 14:20:44 -07:00
Rohit Jnagal
0e10b2a842
Merge pull request #6434 from alml/silent-watcher-close
...
Ignore errors after StreamWatcher is closed
2015-04-06 13:52:11 -07:00
Rohit Jnagal
dbbfac3b54
Merge pull request #6479 from TamerTas/refactor
...
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 13:43:44 -07:00
Huamin Chen
7a82af31de
add iscsi volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-06 16:20:28 -04:00
Brendan Burns
afa0100e27
Copy labels from the service to endpoints that we create.
2015-04-06 13:14:54 -07:00
Tamer Tas
6d84838c0f
Refactor kubectl/cmd/config/getConfigFromFileOrDie
2015-04-06 22:50:07 +03:00
Yifan Gu
a8c02412b2
kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
...
Use the pod status to get the recent stopped containers in
shouldContainerBeRestarted().
2015-04-06 12:43:49 -07:00
Brian Grant
9d9948e3a8
Change "time/Time" to "util.Time", which is what we use in our API for time.
2015-04-06 18:56:56 +00:00
James DeFelice
d194af6b4f
allow for more easily customized kubelet creation and initialization
2015-04-06 18:51:42 +00:00
derekwaynecarr
b1dca3232f
Improve test case to ensure finalize does desired behavior
2015-04-06 13:13:06 -04:00
Daniel Smith
ebb982878f
Merge pull request #6442 from yujuhong/node_watch
...
Fix the kubelet node watch
2015-04-06 09:59:57 -07:00
Rohit Jnagal
bfde7e0735
Merge pull request #6429 from lavalamp/fix
...
Oops, let's be careful about licensing.
2015-04-06 09:20:18 -07:00
Rohit Jnagal
fe735d33ac
Merge pull request #6441 from smarterclayton/hide_already_exists_error
...
Do not log "event already exists" errors
2015-04-06 08:59:46 -07:00
markturansky
ff86ae0705
Fixed RESTCreate/Update interface methods
2015-04-06 08:46:44 -04:00
markturansky
69d1d235cd
Rebased and updated
2015-04-06 08:46:44 -04:00
markturansky
a5ebacb043
changed claimed validation from length check to specific storage check
2015-04-06 08:46:44 -04:00
markturansky
c4a53a23bd
Added validation to prevent mutating Claim.Spec after binding
2015-04-06 08:46:44 -04:00
markturansky
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04:00
David Oppenheimer
c048e6fcbf
Merge pull request #6443 from davidopp/master
...
Remove use of events from NodeController, to temporarily fix #6199
2015-04-04 12:13:48 -07:00
David Oppenheimer
c4a595aa7f
Remove use of events from NodeController, to temporarily fix #6199
2015-04-04 11:56:43 -07:00
Yu-Ju Hong
0e1bd18b3e
Fix the kubelet node watch
2015-04-04 09:59:39 -07:00
Clayton Coleman
aee73d6729
Do not log "event already exists" errors
...
When the server rejects an event because it has already been created, log it
at a very high level (debug) instead of the default level. Duplicate events
typically only occur due to programmer error or failure conditions, so they
can safely be ignored in production environments.
2015-04-04 11:35:56 -04:00
Alexandr Lurye
952ff24f0b
Do not log net.errClosing error when StreamWatcher is stopping.
2015-04-04 05:18:32 +02:00
Yu-Ju Hong
dbd7b186a0
Merge pull request #6338 from smarterclayton/improve_config_error
...
Return a typed error for config validation, and make errors simple
2015-04-03 18:08:15 -07:00
Daniel Smith
78b8f9599f
Fix another license problem.
2015-04-03 17:06:29 -07:00
Daniel Smith
2c93080373
Fix licensing for forked code.
2015-04-03 17:06:24 -07:00
Brian Grant
b0b6418ca3
Merge pull request #6377 from nikhiljindal/kubevtl
...
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Brian Grant
0d95883593
Merge pull request #6027 from ghodss/kube-patch
...
Implement Strategic Merge Patch in apiserver
2015-04-03 15:08:51 -07:00
Brian Grant
8e91097f82
Merge pull request #6423 from lavalamp/fix
...
Fix incorrect reference to name in v1beta3 API.
2015-04-03 14:45:47 -07:00
Yu-Ju Hong
ab13d64255
Merge pull request #6420 from vishh/proxy_logs
...
Updating kube-proxy logging levels to assist debugging.
2015-04-03 14:34:36 -07:00
Brendan Burns
88dbdc4a69
Merge pull request #6203 from brendandburns/qps
...
Add a QPS limiter to the kubernetes client.
2015-04-03 14:24:29 -07:00
Daniel Smith
34b399ca02
Fix incorrect reference to name in v1beta3 API.
2015-04-03 14:10:47 -07:00
Eric Tune
e49424785e
Merge pull request #6380 from roberthbailey/kubelet-ssl
...
Configure the kubelet to use HTTPS (take 2)
2015-04-03 13:43:00 -07:00
Justin Santa Barbara
b61fc222bb
Make AWS configuration file optional (fall-back to metadata service)
2015-04-03 13:42:31 -07:00
Vishnu Kannan
eb1c453a9a
Updating kube-proxy logging levels to assist debugging.
2015-04-03 20:19:52 +00:00
Daniel Smith
0c2d3ffe68
Single-key matching behavior in generic.Matcher
2015-04-03 13:11:21 -07:00
James DeFelice
4d3a9e2203
fixes #6416
2015-04-03 19:13:25 +00:00