Darren Shepherd
f677c5bc3d
Update to k8s 1.18
2020-03-26 13:07:32 -07:00
Darren Shepherd
b2d111fe7f
Expire RBAC cache earlier on watches
2020-03-21 16:03:06 -07:00
Sebastiaan van Steenis
5c74e1ee1e
Move debug log to trace
2020-03-11 20:37:25 -07:00
Dan Ramich
8d7dd5fb27
Use kubernetes to generate names
2020-01-31 13:51:59 -07:00
Darren Shepherd
591231685b
Don't use metav1 internal version but public meta/v1
2020-01-23 15:37:24 -07:00
kinarashah
2115b95249
change loglevel for watcher err
...
changing error level to debug, the error is already handled, new watcher
gets started after the current one is closed. Closing is not done by
rancher, it's a k8s behavior.
2019-11-18 13:35:27 -08:00
kinarashah
0ac7dd6ccb
show only err msg on watch
2019-10-03 10:43:45 -07:00
kinarashah
b1eb20740e
check for v1.Status from errorReporter
2019-10-02 10:31:22 -07:00
kinarashah
e09204b630
NewClientErrorReporter
2019-09-30 09:47:04 -07:00
gitlawr
f7bdda798a
Pass delete options in proxy store
...
Problem:
There is no way to pass gracePeriodSeconds for force deletion
Solution:
Get deletion options in query params and pass it in proxy store
2019-08-09 08:26:23 -07:00
rmweir
c55b1eed18
Track namespaces in options property
...
Now, identifies and assigns namespaces. Prior, the
backend listed items belongng to all namespaces in
all projects no matter what because they were not
being tracked. This led to longer request times
for projects that contained a fraction of total
resources. Now, rancher can filter project
resource requests; times are improved and
largely dependent on resource amount for the given
project.
2019-04-05 17:12:04 -07:00
Nathan Jenan
61998c76e3
Adding code to address aks timeout issue
2019-02-22 09:58:55 -07:00
Craig Jellick
966530d6e9
avoid unnecessary allocation
2018-11-21 07:22:47 -07:00
Craig Jellick
63af681f23
List and Get retry logic
...
Some cloud provider k8s APIs have random timeouts on listing and getting.
This change introduces a retry on lists and gets.
2018-11-20 10:45:13 -07:00
Darren Shepherd
611d7cb0f1
Add support for k8s 1.12
2018-10-09 19:30:04 -07:00
Max Korp
91b33a9763
Ensure that closed watchers are always stopped
...
This would cause a new watcher to be started without ever cleaning up the old one, which was causing memory leaks.
2018-09-21 16:47:57 -07:00
Darren Shepherd
3a7e3090fb
Merge pull request #191 from antmanler/filter-namesapces
...
Enable filter namespaces on server side
2018-09-14 14:17:54 -07:00
antmanler
c7abb57dea
Only checks on ModifierEQ
2018-09-01 14:54:47 +08:00
Darren Shepherd
012759b2f8
Drop Config from ClientGetter interface
2018-08-31 10:42:48 -07:00
Dan Ramich
27ebab5e48
Add label to objects created through norman
2018-08-29 15:30:05 -07:00
antmanler
c159270dc1
Enable filter namespaces on server side
2018-08-24 09:13:43 +08:00
kinarashah
58f46da754
return on first try if err is not conflict
...
Resolves : rancher/rancher#14940
2018-08-04 10:50:35 -07:00
Daishan Peng
33b13aaf9d
use background delete
2018-07-31 18:29:57 -07:00
Darren Shepherd
9620967ad5
Fallback to custom decoder
2018-07-31 18:24:07 -07:00
Darren Shepherd
88184ca7fe
Use framer to avoid invalid parsing of the stream
2018-07-31 14:10:23 -07:00
Darren Shepherd
0decad85cb
Drop status field if _export=true is set
2018-07-19 10:23:17 -07:00
Darren Shepherd
875bcf4b2d
Change ToInternal to return error
2018-07-19 10:23:17 -07:00
Darren Shepherd
22fc71bcb6
refactor pointer to s
2018-07-19 10:23:17 -07:00
Darren Shepherd
e501f1f3c5
Move watch sharing to norman
2018-04-27 09:25:11 -07:00
Darren Shepherd
db37c4223d
Fix deleting keys in maps
2018-04-23 08:43:36 -07:00
Darren Shepherd
3a8649c703
Add function to generate names
2018-04-14 23:40:25 -07:00
Alena Prokharchyk
7a9c998498
Namespace/name presence validation
2018-04-12 13:51:59 -07:00
Darren Shepherd
7218407a4e
Fix 204 on DELETE
2018-04-10 22:49:39 -07:00
Darren Shepherd
4d46cbab5b
Add more debug logging
2018-04-04 03:08:15 -07:00
Darren Shepherd
510ed570d2
Add timeouts to rest clients
2018-04-02 15:46:10 -07:00
Darren Shepherd
34fad5e159
Add schema to Transformer funcs
2018-03-23 08:42:53 -07:00
Darren Shepherd
410b3efe86
Pass in schema to Filter/FilterList
2018-03-02 23:12:42 -07:00
Darren Shepherd
47b787887b
Delete unused code
2018-02-26 16:14:39 -07:00
Darren Shepherd
722cedfe01
Major refactor of subcontexts
2018-02-09 13:45:22 -07:00
Darren Shepherd
76d8256085
Change merge logic
2018-01-18 23:41:45 +00:00
Darren Shepherd
b33c29d49e
Fix subscription dropping after 30 seconds
2018-01-18 23:41:45 +00:00
Darren Shepherd
61330a3b69
Set namespace and name on object always
2018-01-16 05:06:10 +00:00
Darren Shepherd
b80039523f
Fix update
2017-12-30 02:22:38 +00:00
Darren Shepherd
b5ebee3dfa
Send k8s error bad as something other than 500 server error
2017-12-29 22:23:14 +00:00
Daishan Peng
026837668c
use patch for update, fix namespace actions
2017-12-29 22:08:51 +00:00
Darren Shepherd
eec4103473
Make queryopts be a pointer
2017-12-28 16:49:51 +00:00
Darren Shepherd
1bc012f8e3
Add field.cattle.io/creatorId to each resource
2017-12-27 11:24:32 -07:00
Darren Shepherd
94c83962dd
Import cleanup
2017-12-22 23:19:30 -07:00
Darren Shepherd
bfcad0d1b1
Enable access control
2017-12-18 13:59:56 -07:00
Darren Shepherd
830a21b54d
Pass impersonation to k8s for C/U/D
2017-12-16 13:53:47 -07:00