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
95bd170ca2
PV & PVC Client implementation
2015-04-06 08:46:43 -04: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
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
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
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
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
Daniel Smith
0c2d3ffe68
Single-key matching behavior in generic.Matcher
2015-04-03 13:11:21 -07: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
Filip Grzadkowski
4c50767c80
Add metrics to REST client
2015-04-03 14:42:06 +02: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
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
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
Robert Bailey
32a1c052dc
Revert "Configure the kubelet to use HTTPS"
2015-04-01 13:59:31 -07:00
Robert Bailey
58bc792e68
Configure the master to connect to the kubelet using HTTPS.
2015-04-01 09:09:29 -07: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
Brendan Burns
313a365712
Merge pull request #5473 from lavalamp/fix6
...
Add DeltaFIFO (a controller framework piece)
2015-03-31 13:29:00 -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
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
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
Brian Grant
c9ad322ba9
Merge pull request #5831 from smarterclayton/add_more_errors
...
Add more specific error handling and handle generic errors more effectively
2015-03-27 14:17:11 -07:00
Clayton Coleman
aa44d29d10
Updated documentation and adjusted field names
2015-03-27 17:08:59 -04:00
Tim Hockin
8ae203825b
Implement multi-port endpoints
...
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}. To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets. This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).
This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.
This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.
This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Brian Grant
984bc8d5f6
Merge pull request #5635 from ravigadde/master
...
Add timeout to kubelet client
2015-03-26 14:55:24 -07:00
Clayton Coleman
524f8731b5
Decode errors returned to clients by the Watch interface
2015-03-26 17:30:13 -04:00
Clayton Coleman
30358e8b04
Add more specific error handling and handle generic errors more effectively
...
The client library should type more generic errors from the server.
2015-03-26 17:30:13 -04:00
derekwaynecarr
267ef26b0f
Do not block admission if namespace already exists
2015-03-26 15:59:09 -04:00
Brian Grant
3b0db99692
Merge pull request #5915 from piosz/api
...
Changed PodInfo to be a list
2015-03-26 12:46:50 -07:00
Vish Kannan
f2e47a29e1
Merge pull request #5994 from dchen1107/clean
...
Fixed an issue on searching events by a given fieldSelector. The issue b...
2015-03-26 10:21:09 -07:00
Dawn Chen
ab0e9f1d41
Fixed an issue on searching events by a given fieldSelector. The issue break
...
the events reported for kubectl describe pods completely.
Fixed #5957
2015-03-26 10:00:10 -07:00
gmarek
5a11748018
Move Capacity from NodeSpec to NodeStatus
2015-03-26 15:28:48 +01:00
Piotr Szczesniak
31901ed9d0
Changed PodInfo to be a list
...
This change is to make API consistent with our convention.
Fixes #3622
2015-03-26 10:15:25 +01:00
Clayton Coleman
b1ab14315b
Clients should not check conditions, UpdateStatus() is inconsistent
...
Corrects some of the cargo culting that has crept into the API.
2015-03-25 16:25:04 -04:00
nikhiljindal
ba3746172f
Updating unit tests for pkg/client so that they pass with v1beta3 api
2015-03-24 18:54:02 -07:00
Brian Grant
d75291dbe7
Merge pull request #5838 from nikhiljindal/clientTests
...
Updating unit tests so that they pass with v1beta3 api
2015-03-24 17:30:50 -07:00
Piotr Szczesniak
fef81150b9
Merge pull request #5858 from a-robinson/timeout
...
Increase the client-specified timeout for service create/update/delete.
2015-03-24 21:42:01 +01:00
Alex Robinson
ab67cba7fb
Increase the client-specified timeout for service create/update/delete.
...
This is only temporary until external load balancer creation is changed to
be asynchronous.
2015-03-24 20:17:36 +00:00
nikhiljindal
7e3b7f9673
Updating unit tests so that they pass with v1beta3 api
2015-03-24 12:13:53 -07:00
Clayton Coleman
aee9bdd69a
Merge pull request #5805 from liggitt/node_proxy
...
Improve ResourceLocation API, allow proxy to use authenticated transport
2015-03-24 13:01:54 -04:00