Paul Morie
cfb15e22d8
Fix serialization for v1beta[12] container Command
2015-04-09 15:17:00 -04:00
Prashanth Balasubramanian
5234c2dc82
Fix RunUntil and stop leaking watch channel on etcd error
2015-04-09 11:03:30 -07:00
Vish Kannan
2215a64567
Merge pull request #6571 from kargakis/describe-fix
...
describe: Support resource type/name syntax
2015-04-09 10:54:24 -07:00
Dawn Chen
554efa642c
Merge pull request #6636 from ncdc/fix-flakey-portforward-test
...
Fix flakey port forward test
2015-04-09 10:49:06 -07:00
Daniel Smith
6a86608634
Merge pull request #6625 from wojtek-t/list_minions_supports_labels
...
ListMinions support for selectors
2015-04-09 10:30:08 -07:00
Victor Marmol
40acaef454
Merge pull request #6607 from yujuhong/mirror_update
...
Kubelet: recreate mirror pod if the static pod changes
2015-04-09 10:29:55 -07:00
Daniel Smith
c72dc15e8e
Merge pull request #6614 from brendandburns/validate
...
Add Validate in addition to ValidateUpdate to validation for most resources.
2015-04-09 10:24:57 -07:00
Andy Goldstein
c07e98b7f5
Fix flakey port forward test
...
Only simulate data for the data stream, not for the error stream too.
Fixes #6529
2015-04-09 13:18:51 -04:00
Yifan Gu
b868f421e0
kubelet: Move pod infra container image setting to dockertools.
2015-04-09 09:53:07 -07:00
Jeff Lowdermilk
ca6f1a1bc7
Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
...
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
Wojciech Tyczynski
0e5b478b4d
ListMinions support for selectors
2015-04-09 14:22:09 +02:00
gmarek
ccc56d3c3c
Update NodeStatus use subresources.
2015-04-09 14:07:40 +02:00
Piotr Szczesniak
c1dd881f48
Added events back to Node Controller
...
It reverts @davidopp temp fix #6443 .
Fixes #6199 .
2015-04-09 10:37:07 +02:00
Brendan Burns
5d4f1cf8da
Add Validate in addition to ValidateUpdate to validation for most resources.
2015-04-08 20:15:49 -07:00
Vish Kannan
b12d75d0ee
Merge pull request #6610 from markturansky/fifos_typos
...
Fixed typos in FIFO comments
2015-04-08 18:08:42 -07:00
Vish Kannan
3a3d860448
Merge pull request #6609 from yifan-gu/fix_getpodstatus
...
kubelet/DockerManager: Fix returning empty error from GetPodStatus().
2015-04-08 18:08:11 -07:00
Vish Kannan
844e375ceb
Merge pull request #6603 from nikhiljindal/encoder
...
Removing some references to v1beta1 from test code
2015-04-08 18:06:32 -07:00
Yu-Ju Hong
d7cf294c99
Kubelet: recreate mirror pod if the static pod changes
...
If a static pod changes, delete the corresponding mirror pod. When kubelet
could not see mirror pod from the API server update, it'd attemp to create a
new mirror pod with up-to-date specs.
2015-04-08 18:06:21 -07:00
markturansky
e5f280b79e
fixed typos
2015-04-08 21:00:48 -04:00
Yifan Gu
d4513c2890
kubelet/DockerManager: Fix returning empty error from GetPodStatus().
2015-04-08 17:55:30 -07:00
nikhiljindal
08d9e244f7
Removing some references to v1beta1 from test code
2015-04-08 17:28:06 -07:00
Daniel Smith
43ec88fda5
Merge pull request #6179 from bprashanth/ts_ttl_scheduler
...
Modeler uses a ttl store for assumed pods
2015-04-08 15:25:05 -07:00
Clayton Coleman
4a31da0808
Merge pull request #6579 from deads2k/deads-fix-stream
...
make .Stream handle error status codes
2015-04-08 18:21:06 -04:00
Prashanth Balasubramanian
a7864aa230
Scheduler uses TTLStore for assumed pods
2015-04-08 15:01:04 -07:00
Vish Kannan
43949b41d4
Merge pull request #6586 from dchen1107/podstatus
...
small cleanup by removing useless generatePodStatus
2015-04-08 14:59:23 -07:00
Vish Kannan
094cbcc6fe
Merge pull request #6074 from derekwaynecarr/reflector_last_sync_resource_version
...
Expose last sync resource version on reflector
2015-04-08 14:56:33 -07:00
Dawn Chen
914616a195
Merge pull request #6592 from vishh/kubelet_logging
...
Improve kubelet logging around startup.
2015-04-08 14:35:53 -07:00
David Oppenheimer
4ffc2aad21
Merge pull request #6146 from kazegusuri/node_client_label
...
List in NodesInterface takes label selector
2015-04-08 14:22:53 -07:00
derekwaynecarr
9df41301f0
Expose last sync resource version
2015-04-08 17:09:06 -04:00
Vishnu Kannan
2b5cad6acf
Improve kubelet logging around startup. This might help detect any lockup issues during startup.
2015-04-08 21:02:15 +00:00
Brian Grant
c4cbc9bc46
Merge pull request #6581 from nikhiljindal/v1beta3
...
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 14:01:57 -07:00
Dawn Chen
b6d846aea5
small cleanup by removing useless generatePodStatus
2015-04-08 13:38:06 -07:00
nikhiljindal
fe60be3179
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 13:08:13 -07:00
gmarek
c20efb6bae
Add validation for Endpoints
2015-04-08 20:12:07 +02:00
deads2k
dbda3f7303
make .Stream handle error status codes
2015-04-08 13:52:16 -04:00
Andy Goldstein
4c1cba5312
Don't use command pipes for exec/port forward
...
Switch to passing the streams for Stdin/Stdout/Stderr instead of using
StdinPipe() etc because the pipes are incompatible with Run()/Wait().
2015-04-08 13:42:42 -04:00
Yifan Gu
4b945e7218
kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
...
Add unit tests to test the restart behaviour under different
restart policy.
2015-04-08 09:44:23 -07:00
Yifan Gu
ddf323ee00
kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
...
Always call GetPodStatus().
2015-04-08 09:44:23 -07:00
Yifan Gu
6103b144e0
kubelet: Remove GetRecentDockerContainersWithNameAndUUID().
...
Use the pod status to get the recent stopped containers in
shouldContainerBeRestarted().
2015-04-08 09:44:23 -07:00
Nikhil Jindal
f5c66ade0a
Merge pull request #6568 from piosz/doc_fix
...
Removed TODO comment from ContainerStatuses in PodInfo
2015-04-08 08:55:15 -07:00
Masahiro Sano
d04cc5ced4
List in NodesInterface takes label selector
2015-04-08 23:41:27 +09:00
kargakis
a8987b661a
describe: Support resource type/name syntax
...
This makes `kubectl describe` resource syntax consistent with `kubectl delete`
2015-04-08 16:03:22 +02:00
Piotr Szczesniak
007e6d9ff9
Removed TODO comment from ContainerStatuses in PodInfo
...
Fixes #6551
2015-04-08 14:39:41 +02:00
Wojciech Tyczynski
8a5c76356c
Revert "Stop the bleeding for #6059"
...
This reverts commit 6be09c5e97
.
2015-04-08 13:29:29 +02:00
gmarek
72182735b9
Remove Node Controllers ability to pull status from Kubelet
2015-04-08 09:44:42 +02:00
Daniel Smith
c1390a0836
version field selector field names in the client
2015-04-07 16:59:57 -07:00
Rohit Jnagal
71e7079aea
Merge pull request #6543 from vishh/fix_fuzzer
...
Fix duplicate fuzz config.
2015-04-07 16:44:59 -07:00
Vishnu Kannan
f4f08c3378
Fix duplicate fuzz config.
2015-04-07 23:29:24 +00:00
Tim Hockin
f2c8decffe
Clarify network-related flags in the master
...
Rename and rejigger flags to make it more obvious what is happening. Change
the default listen from ChooseHostInterface() to 0.0.0.0.
2015-04-07 15:55:51 -07:00
Quinton Hoole
c670071e87
Revert "kubelet: Remove GetRecentDockerContainersWithNameAndUUID."
2015-04-07 14:25:10 -07:00
Clayton Coleman
bb137f0bba
Merge pull request #6534 from deads2k/deads-kubeconfig-cmd-factory
...
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 17:02:20 -04:00
Derek Carr
6eb54e73e0
Merge pull request #5270 from lavalamp/fix7
...
Controller framework
2015-04-07 16:58:09 -04:00
David Oppenheimer
8599564c96
Merge pull request #6535 from davidopp/master
...
Change default Kubelet NodeStatusUpdateFrequency from 2s to 10s.
2015-04-07 13:37:03 -07:00
Nikhil Jindal
842b9d8d3a
Merge pull request #6493 from smarterclayton/make_client_pluggable
...
Make the client.Fake more powerful by standardizing how the fake loads data
2015-04-07 12:48:27 -07:00
David Oppenheimer
d8aa57872a
Change default Kubelet NodeStatusUpdateFrequency from 2s to 10s.
2015-04-07 12:36:09 -07:00
Victor Marmol
cb0850d7cf
Merge pull request #6527 from yujuhong/remove_unused
...
Remove unused code in kubelet/server_test.go
2015-04-07 12:30:39 -07:00
Vish Kannan
5ced09a06f
Merge pull request #6519 from markturansky/typo_fix
...
Fixed typo
2015-04-07 12:15:56 -07:00
Clayton Coleman
51db3bd654
Create a new testclient package that can be backed by disk files
...
Standardize how our fakes are used so that a test case can use a
simpler mechanism for providing large, complex data sets, as well
as represent queries over time.
2015-04-07 14:56:15 -04:00
Yu-Ju Hong
d6b4633432
Remove unused code in kubelet/server_test.go
...
The code creates a channel and a go routine waiting for update, which is never
used by any test. Remove the unused code.
2015-04-07 11:55:19 -07:00
deads2k
6344cf3c3a
refactor to move kubectl.cmd.Factory to kubect/cmd/util
2015-04-07 14:43:50 -04:00
David Oppenheimer
402bf60366
Merge pull request #6214 from gmarek/move_consts_to_flags
...
Move NodeController constants to flags
2015-04-07 11:31:11 -07:00
Victor Marmol
ef3cdb2f18
Merge pull request #6491 from yifan-gu/depreciate_getkubeletdockercontainers
...
kubelet: Refactor RunInContainer/ExecInContainer/PortForward.
2015-04-07 11:00:16 -07:00
markturansky
8f24fbc40c
fixed typo
2015-04-07 12:38:09 -04:00
Vish Kannan
c1ef9be261
Merge pull request #6174 from rootfs/wip-gluster
...
implement glusterfs volume plugin
2015-04-07 09:21:33 -07:00
Clayton Coleman
31b7f75c60
Merge pull request #6516 from ncdc/fix-exec-portforward-proxy-resource
...
Fix exec/portforward minions->nodes
2015-04-07 11:47:46 -04:00
Derek Carr
27c12d5160
Merge pull request #6473 from markturansky/yoko_pv_client
...
Added PVClaim status subresource
2015-04-07 11:39:58 -04:00
Brian Grant
530fe89726
Merge pull request #6411 from gmarek/schedulable
...
Remove Schedulable Condition. Only Unschedulable bit from Spec will be used.
2015-04-07 08:38:30 -07:00
Brian Grant
6e93d37fb9
Merge pull request #6232 from smarterclayton/minor_fixes_to_watch_swagger
...
Improve the output of the swagger API for watch events
2015-04-07 08:33:59 -07:00
Clayton Coleman
7ebceafee9
Merge pull request #6515 from you-n-g/master
...
RunCreate don't need the cmd arg any more
2015-04-07 11:10:08 -04:00
gmarek
ef56dca6b6
Remove ConditionSchedulable
2015-04-07 17:01:07 +02:00
Clayton Coleman
7a6b2ec227
Improve the output of the swagger API for watch events
...
Stopgap to improve this prior to converting watch resources to
versioned objects.
2015-04-07 10:46:19 -04:00
Andy Goldstein
1c92133b77
Fix exec/portforward minions->nodes
...
Exec and port forward weren't working with v1beta3 because they were
proxying minions. Change minions to nodes. This appears to work with
v1beta1 and v1beta2 as well.
2015-04-07 09:48:46 -04:00
Young
ad3712d07c
RunCreate don't need the cmd arg any more
2015-04-07 21:39:48 +08:00
Huamin Chen
a278ceeb0a
implement glusterfs volume plugin
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-04-07 09:14:39 -04:00
deads2k
06c9dbd32f
add example for default view serialization
2015-04-07 08:07:24 -04:00
deads2k
5c4b6583e4
fix kubectl config view to respect serialization formats
2015-04-07 08:07:24 -04:00
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
321a81047c
Move NodeController constants to flags
2015-04-07 12:33:03 +02: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
Yifan Gu
ba1ad9fad2
kubelet: Refactor RunInContainer/ExecInContainer/PortForward.
...
Replace GetKubeletDockerContainers() with findContainer().
2015-04-06 17:14:46 -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
markturansky
4e528a847a
added PVClaim status subresource
2015-04-06 14:42:22 -04: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
Brendan Burns
3f98ac07c2
Add a QPS limiter to the kubernetes client.
2015-04-03 11:58:51 -07:00
Sam Ghods
2c977db1b3
Implement Strategic Merge Patch in apiserver
2015-04-03 11:51:02 -07:00
Quinton Hoole
fd966b7950
Merge pull request #6194 from quinton-hoole/2015-03-24-rollingupdate
...
Retry replication controller rolling updates on version mismatch.
2015-04-03 11:17:41 -07:00
Wojciech Tyczynski
9d432850a4
Merge pull request #6409 from fgrzadkowski/measure_client
...
Add latency metrics to REST client
2015-04-03 14:59:27 +02:00
Filip Grzadkowski
4c50767c80
Add metrics to REST client
2015-04-03 14:42:06 +02:00
Piotr Szczesniak
8bc9f5fef7
Added rate limiting to pod deletion
...
Fixes #6228
2015-04-03 06:58:59 +02:00
Prashanth Balasubramanian
5903f6ff39
Register field conversion function under the right type name
2015-04-02 18:37:28 -07:00
Quinton Hoole
40e2eae5b4
Retry replication controller rolling updates on version mismatch.
...
When kubectl does rolling updates of replication controllers, retry updates that
fail due to version mismatches (caused by concurrent updates by other clients).
These failed rolling updates were causing intermittent e2e test failures
(e.g. issue 5821)
2015-04-02 17:53:34 -07:00
Sam Ghods
ca18e86877
Make naming of kubectl subcommands consistent
2015-04-02 16:14:53 -07:00
Prashanth B
620af16892
Merge pull request #6097 from derekwaynecarr/limit_range_default_value
...
Limit range supporting a default resource limits value
2015-04-02 16:04:09 -07:00
Saad Ali
e0cbe3853b
Merge pull request #6290 from simon3z/fix-event-update
...
event: fallback to creations when update fails
2015-04-02 16:03:21 -07:00
Prashanth B
3fe4224b6c
Merge pull request #6314 from bparees/tokenbucket
...
add a blocking accept method to RateLimiter
2015-04-02 16:01:17 -07:00
Quinton Hoole
4a2000c4aa
Merge pull request #6207 from brendandburns/server
...
Add a limit to the number of in-flight requests that a server processes.
2015-04-02 15:46:54 -07:00
Daniel Smith
cc5ef8c5ad
make undelta store use go's implementatio inheritance mechanism
2015-04-02 15:31:19 -07:00
Vish Kannan
ee98731a2a
Merge pull request #6269 from ddysher/extend-mount
...
Abstract IsMountPoint and improve FakeMounter
2015-04-02 15:29:38 -07:00
Daniel Smith
8ee9ee9920
add ListKeys method to Store
2015-04-02 15:26:39 -07:00
Daniel Smith
3fe17b93cf
Begin a controller framework.
2015-04-02 15:25:58 -07:00
Dawn Chen
67c1678e7e
Merge pull request #6378 from yujuhong/docker_manager
...
RFC: Kubelet: a step towards to better encapsulation of docker functions
2015-04-02 14:22:26 -07:00
Daniel Smith
6be09c5e97
Stop the bleeding for #6059
2015-04-02 13:54:10 -07:00
Jeff Lowdermilk
96bdee8c28
Merge pull request #6312 from brendandburns/services
...
Make expose use introspection to grab the port value if possible.
2015-04-02 13:32:50 -07:00
Yu-Ju Hong
d01bc660b5
Kubelet: a step towards to better encapsulation of docker functions
...
We want to stop leaking more docker details into kubelet, and we also want to
consolidate some of the existing docker interfaces/structs. This change creates
DockerManager as the new home of some functions in dockertools/docker.go. It
also absorbs containerRunner. In addition, GetDockerPodStatus is renamed to
GetPodStatus with the entire pod passed to it so that it is simialr to the what
is defined in the container Runtime interface.
Eventually, DockerManager should implement the container Runtime interface, and
integrate DockerCache with a flag to turn on/off caching. Code in kubelet.go
should not be using docker client directly.
2015-04-02 13:26:39 -07:00
Brian Grant
414be101b6
Merge pull request #6352 from piosz/api
...
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Brendan Burns
674efe6de8
Make expose use introspection to grab the port value if possible.
...
Also improve service printing to include public IP addresses.
2015-04-02 13:08:47 -07:00
Ben Parees
70be667cf8
add a blocking accept method to RateLimiter
2015-04-02 14:33:18 -04:00
Robert Bailey
4488ff95a2
Create an insecure (http) read-only port on the kubelet so that
...
heapster can collect metrics. Update the heapster config to
point to the non-secured port.
2015-04-02 10:45:49 -07:00
Robert Bailey
f15e34a1bf
Revert "Merge pull request #6309 from GoogleCloudPlatform/revert-6243-kubelet-ssl"
...
This reverts commit 96a0a0d618
, reversing
changes made to 2af9b54147
.
2015-04-02 10:44:37 -07:00
Victor Marmol
f8f14b1cc1
Merge pull request #6349 from wojtek-t/node_watch_fields
...
Kubelet watching only its own Node object
2015-04-02 10:20:39 -07:00
Daniel Smith
c25a1be03a
Merge pull request #6345 from thockin/equalities_bug
...
Remove dead, buggy code
2015-04-02 10:09:44 -07:00
Wojciech Tyczynski
6b08958264
Kubelet watching only its own Node
2015-04-02 18:39:59 +02:00
Brendan Burns
67003f323a
Merge pull request #6356 from deads2k/deads-parse-error
...
abac policy file parsing bug
2015-04-02 09:28:59 -07:00
Brendan Burns
fdf7ccbcfe
Merge pull request #6361 from vmarmol/describe
...
Include ContainerStatus in "describe pod".
2015-04-02 09:23:21 -07:00
Victor Marmol
657bc33500
Include ContainerStatus in "describe pod".
...
Fixes #6076 .
2015-04-02 08:51:41 -07:00
deads2k
00fc17e690
abac policy file parsing bug
2015-04-02 11:13:20 -04:00
Victor Marmol
1065302bf4
Merge pull request #6327 from mikedanese/readiness-probe-busted
...
Fix readiness probe
2015-04-02 07:54:47 -07:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00
Mike Danese
32c7de290c
fix readiness probe
2015-04-02 06:56:34 -07:00
Federico Simoncelli
8849cf21d3
event: fallback to creation when update fails
...
Updating may fail because the item was removed from apiserver. This
patch makes sure to retry using creation instead of update.
Fixes #6289
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-04-02 09:15:01 -04:00
Federico Simoncelli
f78301c5ab
kubelet: log offline event message recording
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-04-02 09:07:32 -04:00
Federico Simoncelli
b276132e21
event: improve logging on recording failure
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-04-02 09:07:32 -04:00
Clayton Coleman
323a44e54a
Make kubectl errors even more user-friendly
...
Omit glog prefix when v < 2, show multiline errors for configuration
problems, add new generic messages for server errors that hide some
complexity that is not relevant for users.
2015-04-02 01:40:15 -04:00
Clayton Coleman
9b5b27a12e
Return a typed error for config validation, and make errors simple
...
Will allow clients to determine when the configuration is bad.
2015-04-02 01:40:00 -04:00
Clayton Coleman
28b18f416f
Tone down logging in network interface choosing
2015-04-02 01:39:59 -04:00
Clayton Coleman
1233843a1d
Add a new generic error that can indicate a server response was underspecified
...
Allows clients to distinguish between a server that returns us an error we
recognize, and errors that are generic HTTP (due to an intervening proxy)
2015-04-02 01:39:57 -04:00
Tim Hockin
c63f4c71ba
Remove dead, buggy code
2015-04-01 21:25:49 -07:00
Deyuan Deng
d62afa85ff
Abstract ismountpoint and use platform mounter for NFS volume
2015-04-01 23:05:02 -04:00
Brian Grant
0e67b299d5
Merge pull request #6325 from rjnagal/node
...
Remove validation for Capacity. Add default for ExternalID
2015-04-01 18:25:32 -07:00
CJ Cullen
5e6e67ba59
Add an alternative TokenSource to the GCE CloudProvider.
2015-04-01 17:52:30 -07:00
Rohit Jnagal
e0ff139279
Remove validation for Capacity as it got moved from Spec to Status.
...
Also fix breakage from ExternalID validation: Default ExternalID to node name when not specified.
2015-04-02 00:51:52 +00:00
Victor Marmol
8cd8a8f098
Merge pull request #6310 from dchen1107/clean
...
Small cleanup on api/types.go
2015-04-01 17:37:00 -07:00
Brendan Burns
0cc2056893
Merge pull request #6323 from zmerlynn/merge-release-0.14-to-master
...
Merge release 0.14.1 to master
2015-04-01 17:05:18 -07:00
Jeff Lowdermilk
412a836bf7
Merge pull request #6322 from dchen1107/cleanup
...
Using gcr.io/google_containers/pause by default
2015-04-01 16:28:51 -07:00
Zach Loafman
e9c7b35896
Merge branch 'release-0.14' into merge-release-0.14-to-master
2015-04-01 16:15:26 -07:00
CJ Cullen
eca22d4c82
Fix off-by-one crash in pkg/apiserver/authn.go
2015-04-01 15:53:22 -07:00
Brendan Burns
f327e97661
Add a limit to the number of in-flight requests that a server processes.
2015-04-01 15:06:15 -07:00
Dawn Chen
db28ca67f6
Using gcr.io/google_containers/pause by default
2015-04-01 14:59:44 -07:00
Zach Loafman
22aac51d18
Kubernetes version v0.14.1-dev
2015-04-01 14:51:20 -07:00
Zach Loafman
77775a61b8
Kubernetes version v0.14.1
2015-04-01 14:51:14 -07:00
Clayton Coleman
dec3209229
Merge pull request #6246 from derekwaynecarr/finalize_fix
...
Fix Namespace Termination
2015-04-01 17:34:56 -04:00
Alex Robinson
2db427a34a
Merge pull request #6293 from kargakis/delete-short-msg
...
Update delete short usage message
2015-04-01 14:20:14 -07:00
Robert Bailey
22d9c67cb7
Merge pull request #6190 from liggitt/client_cert_auth
...
Add client cert authentication
2015-04-01 14:11:29 -07:00
Dawn Chen
96b0f0a170
Small cleanup on api/types.go
2015-04-01 14:04:17 -07:00
Robert Bailey
32a1c052dc
Revert "Configure the kubelet to use HTTPS"
2015-04-01 13:59:31 -07:00
derekwaynecarr
c2b670513c
Introduce concept of a default limit
2015-04-01 16:31:25 -04:00
Brian Grant
7450da41f1
Merge pull request #6094 from ddysher/remove-reachability
...
Remove Reachable Condition
2015-04-01 13:16:47 -07:00
Deyuan Deng
6bb9701489
Remove Reachable Condition
2015-04-01 13:56:43 -04:00
Jordan Liggitt
c797a91e36
Add client cert authentication
2015-04-01 13:42:26 -04:00
Robert Bailey
58bc792e68
Configure the master to connect to the kubelet using HTTPS.
2015-04-01 09:09:29 -07:00
Paul Morie
0335e350c7
Fix issue 6294: networking e2e should set args, not command
2015-04-01 11:40:23 -04:00
derekwaynecarr
b745f51c65
Client must specifiy a resource version on finalize
2015-04-01 11:16:45 -04:00
kargakis
3c09d4d383
Update delete short usage message
2015-04-01 17:14:13 +02:00
Piotr Szczesniak
81683441b9
Merge pull request #6156 from gmarek/retry_loop
...
Add a retry loop to UpdateStatus in NodeController
2015-04-01 09:16:11 +02:00
Victor Marmol
2de37624e8
Merge pull request #6252 from krousey/string_format_cleanup
...
Fixing a lot of string formatting issues
2015-03-31 16:57:36 -07:00
Kris Rousey
6904c4d585
Fixing a lot of string formatting issues with regards to:
...
* Improper format specifier (e.g. %s for bools or %s for ints)
* More or less parameters than format specifiers
* Not calling a formatting function when it should have (e.g. Error() instead of Errorf())
2015-03-31 16:47:10 -07:00
Brian Grant
af858c99e2
Merge pull request #6098 from nikhiljindal/enableInMaster
...
Enabling v1beta3 api version by default in master
2015-03-31 15:31:18 -07:00
Victor Marmol
a78a009877
Merge pull request #6249 from TamerTas/typo
...
Fix typo in Secrets
2015-03-31 15:14:55 -07:00
Tamer Tas
6c10cf7b98
Fix typo in Secrets
2015-04-01 00:56:20 +03:00
Victor Marmol
44fda1fcd1
Merge pull request #6161 from justinsb/populate_addresses_new_nodes
...
Make sure we have addresses for newly discovered nodes
2015-03-31 14:46:06 -07:00
Tim Hockin
70b9e56952
Fix a back-compat bug in multi-port services
...
Yu-Ju changed something just before this went in that exposed this bug.
we did not re-run Travis on my PR. Bad us.
2015-03-31 14:29:22 -07:00
Brendan Burns
313a365712
Merge pull request #5473 from lavalamp/fix6
...
Add DeltaFIFO (a controller framework piece)
2015-03-31 13:29:00 -07:00
Victor Marmol
c93cd4a0d1
Merge pull request #6225 from cjcullen/cloudprovider
...
Fix typed-nil passing in cloudprovider/plugins
2015-03-31 13:04:11 -07:00
Justin Santa Barbara
72ee90494e
Add unit test
2015-03-31 12:58:29 -07:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Zach Loafman
fc8ba8d77b
Merge pull request #6011 from justinsb/aws_specify_zone
...
Fix AWS region vs zone
2015-03-31 12:26:05 -07:00
Tim Hockin
0a8e2e0b1b
Merge pull request #6235 from yujuhong/defaults_tests
...
defaults_tests: verify defaults when converting to an API object
2015-03-31 12:13:23 -07:00
Yu-Ju Hong
7b0e45a5f5
defaults_tests: verify defaults when converting to an API object
...
This change verifies that defaults are applied after decoding an versioned
object into an API object.
2015-03-31 11:56:34 -07:00
Tim Hockin
e19f4939b1
fix tests broken by stronger validation
2015-03-31 11:13:44 -07:00
CJ Cullen
aa91bde375
Fix typed-nil passing in cloudprovider/plugins
2015-03-31 10:32:02 -07:00
Daniel Smith
68287713a0
Add a "delta fifo", which queues up object changes
...
Test coverage for module at 80%.
2015-03-31 10:25:29 -07:00
Daniel Smith
af870b8772
Add proper key error type
2015-03-31 10:25:29 -07:00
Daniel Smith
e8cc126a56
Add ListKeys() to FIFO & test
2015-03-31 10:25:29 -07:00
Daniel Smith
a8184e81bc
Update FIFO documentation
2015-03-31 10:25:29 -07:00
Victor Marmol
9bbf0b1546
Merge pull request #6100 from pmorie/entrypoint
...
Add control over container entrypoint
2015-03-31 09:58:40 -07:00
Victor Marmol
d6d370d8ae
Merge pull request #6211 from dchen1107/docker
...
publish node components version information
2015-03-31 09:47:08 -07:00
Dawn Chen
b8de2f00ce
kubectl describe nodes id shows node components version info.
2015-03-31 09:32:29 -07:00
Dawn Chen
5b9a6d47e8
publish node components version information
2015-03-31 09:32:29 -07:00
Paul Morie
7628b37d78
Add control over container entrypoint
2015-03-31 12:32:03 -04:00
Tim Hockin
b420871a11
fixes from testing
2015-03-31 09:30:56 -07:00
gmarek
fa6d5e259f
Add a retry loop to UpdateStatus in NodeController
2015-03-31 11:22:02 +02:00
Tim Hockin
eeff1b74fb
Fixes from feedback and testing
2015-03-30 23:52:37 -07:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Yifan Gu
7b1ea6b41d
kubelet_test: Fix copy bug.
...
Initialize the slice before copying in verifyUnorderedCalls()
and verifyStringArrayEqualsAnyOrder().
2015-03-30 17:17:42 -07:00
Daniel Smith
acd67ebea0
Merge pull request #5535 from saad-ali/fix5327
...
Make each new instance of kubelet generate a new event channel
2015-03-30 17:05:27 -07:00
Victor Marmol
a30859fb03
Merge pull request #6191 from roberthbailey/kubelet-ssl
...
Configure the kubelet to bind a simple healthz server to a localhost port for monitoring by monit
2015-03-30 15:57:09 -07:00
Victor Marmol
a501bd29ad
Merge pull request #6189 from sdodson/liveness-probe-logging
...
Add some logging to kubelet probes
2015-03-30 15:34:47 -07:00
Daniel Smith
83d5c207c9
Merge pull request #6175 from nikhiljindal/proxy
...
Updating proxy to return 301 to add a "/" at the end for #4958 (attempt 2)
2015-03-30 15:21:46 -07:00
Clayton Coleman
1dc895ee49
Merge pull request #6163 from ncdc/add-ctx-to-rest-prepare
...
Pass ctx to Validate, ValidateUpdate
2015-03-30 18:13:30 -04:00
Yu-Ju Hong
73452fd26e
Merge pull request #6091 from vmarmol/record
...
Record event when image GC fails.
2015-03-30 15:08:56 -07:00
Andy Goldstein
d7c5f427cb
Pass ctx to Validate, ValidateUpdate
...
Pass ctx to Validate/ValidateUpdate. This is useful so strategies can
access data such as the current user.
2015-03-30 17:33:08 -04:00
Scott Dodson
7661a42058
Add some logging to kubelet probes
2015-03-30 17:23:56 -04:00
saadali
e0f71cb21f
Make each new instance of kubelet generate a new event channel (instead of reusing existing).
2015-03-30 14:22:16 -07:00
Robert Bailey
bc8af553a3
Configure the kubelet to bind a simple healthz server to a localhost
...
port for monitoring by monit. This is in preparation for the standard
kubelet port to switch to SSL only (and eventually to only accepting
connections on the SSL port that present a proper client SSL cert).
Also standardize the formatting of the monit config files a bit.
2015-03-30 14:20:30 -07:00
Victor Marmol
795cd38ef4
Merge pull request #6178 from derekwaynecarr/fix_self_link_list
...
Fix self link in listing items in a namespace
2015-03-30 13:50:38 -07:00
Tim Hockin
c03b0ecb6d
Merge pull request #6123 from a-robinson/proxy
...
Fix bug in kube-proxy of not updating iptables rules if a service's public IPs change
2015-03-30 13:44:04 -07:00
Alex Robinson
151b871eff
Fix bug in kube-proxy of not updating iptables rules if a service's
...
public IPs change, and add tests to catch the bug.
2015-03-30 20:39:59 +00:00
derekwaynecarr
265a0e3ca4
Listing items in a namespace should always include the namespace in the URL
2015-03-30 16:05:40 -04:00
Scott Dodson
de87048def
Fix comment typo probeContainerReadiness
2015-03-30 15:54:05 -04:00
nikhiljindal
4c4a084a92
Updating proxy to return 301 to add a / at the end
2015-03-30 12:12:49 -07:00
nikhiljindal
478b7d5edf
Repurposing enableV1beta3 to disableV1beta3 in master config to enable v1beta3 by default
2015-03-30 11:50:10 -07:00
Eric Paris
3e0cdff97c
Merge pull request #6171 from zmerlynn/release-0.14
...
Release 0.14
2015-03-30 13:20:35 -05:00
Zach Loafman
2ad77fd9e5
Kubernetes version v0.14.0-dev
2015-03-30 11:03:04 -07:00
Zach Loafman
575bf6dcd0
Kubernetes version v0.14.0
2015-03-30 11:02:57 -07:00