Darren Shepherd
f8fe4787a6
Fix broken windows agent
2018-10-31 13:21:52 -07:00
Darren Shepherd
af30d3dd24
Merge pull request #215 from ibuildthecloud/master
...
Remove circular dep to rancher/rancher
2018-10-31 12:56:11 -07:00
Darren Shepherd
11f003815e
Remove circular dep to rancher/rancher
2018-10-31 12:48:57 -07:00
Darren Shepherd
b52ec0ce42
Merge pull request #214 from ibuildthecloud/master
...
Remove hard dependency on k3s
2018-10-31 10:20:26 -07:00
Darren Shepherd
edf3b82b82
Merge pull request #209 from orangedeng/dynamic-api-ui
...
[2.2]Dynamically response the JS and CSS of API UI
2018-10-31 10:20:19 -07:00
Darren Shepherd
732706164d
Remove hard dependency on k3s
2018-10-31 10:18:56 -07:00
orangedeng
6fec205069
Dynamically response the JS and CSS of API UI
2018-10-31 14:48:25 +08:00
Darren Shepherd
37f075fe8e
Merge pull request #213 from ibuildthecloud/master
...
Generator and build cleanup
2018-10-30 23:06:18 -07:00
Darren Shepherd
03ab04b638
Generator and build cleanup
2018-10-30 23:01:41 -07:00
Darren Shepherd
05982c09df
Merge pull request #212 from ibuildthecloud/master
...
Update vendor
2018-10-30 11:44:05 -07:00
Darren Shepherd
849473c89a
Fix broken changeset after API refactor
2018-10-30 11:42:42 -07:00
Darren Shepherd
418b1d3d37
Update vendor
2018-10-30 11:31:00 -07:00
Darren Shepherd
92a6f9ebee
Merge pull request #211 from ibuildthecloud/master
...
Handlers return object and error
2018-10-30 09:59:06 -07:00
Darren Shepherd
77869d26b3
Handlers return object and error
2018-10-30 09:57:37 -07:00
Darren Shepherd
dfeffc8a3f
Merge pull request #208 from ibuildthecloud/master
...
Fix k3s issues
2018-10-24 16:29:30 -07:00
Darren Shepherd
46df879254
Update vendor
2018-10-24 16:27:58 -07:00
Darren Shepherd
9b1f7db6f0
Fix k3s issues
2018-10-24 16:21:28 -07:00
Darren Shepherd
4c3df5a3de
Merge pull request #207 from ibuildthecloud/master
...
Move packages from rancher/rancher to norman
2018-10-23 22:53:14 -07:00
Darren Shepherd
426d985fea
Update vendor
2018-10-23 22:48:26 -07:00
Darren Shepherd
6a2c11f603
Make k8s 1.12 leader election the default
2018-10-23 22:48:23 -07:00
Darren Shepherd
a47569f599
Move packages from rancher/rancher to norman
2018-10-23 22:46:45 -07:00
Darren Shepherd
0826175508
Create server startup wrapper
2018-10-22 10:52:23 -07:00
Darren Shepherd
e0dbf6c51e
Generate factory methods for clients
2018-10-22 10:52:03 -07:00
Darren Shepherd
c71b5d3258
Delete unused code
2018-10-22 10:51:51 -07:00
Darren Shepherd
ddaba8ceb5
Delete event logger as it's not really used
2018-10-22 10:51:37 -07:00
Darren Shepherd
dcaea4c5dc
All per controller threadiness
2018-10-22 10:51:15 -07:00
Darren Shepherd
04cb04ac06
Merge pull request #206 from ibuildthecloud/master
...
After failing to remove finalizer refresh finalizer list
2018-10-15 16:12:14 -07:00
Darren Shepherd
296fc765c9
After failing to remove finalizer refresh finalizer list
2018-10-15 16:10:17 -07:00
Darren Shepherd
ad4865987c
Merge pull request #205 from ibuildthecloud/master
...
Add support for k8s 1.12
2018-10-09 19:32:03 -07:00
Darren Shepherd
373a1f9de1
Merge pull request #202 from ukinau/Add-Generic-Controller-Related-Metrics
...
Add Generic Controller Related Metrics
2018-10-09 19:31:52 -07:00
Darren Shepherd
0363cc24c6
Add pending mapper to set resource state to pending when no conditions
2018-10-09 19:30:07 -07:00
Darren Shepherd
611d7cb0f1
Add support for k8s 1.12
2018-10-09 19:30:04 -07:00
Yuki Nishiwaki
90a67b5678
Add Generic Controller Related Metrics
...
To enhance operatability for the service using norman framework,
It's better to expose internal state as detail as possible.
This is the just starting point but at least which handler is executed
often and which handler with which key's execution is often failed
metrics is very useful to spot the place operator have to dig in when
something happened.
So this commit added 2 metrics.
1: handler execution total count
2: handler execution failure total count
2018-10-05 14:36:58 +09:00
Darren Shepherd
c580ac3ab0
Merge pull request #201 from ukinau/Enable-fine-grained-control-for-controller-related-metrics
...
Enable fine-grained control for Controller related metrics
2018-10-04 14:18:49 -07:00
Darren Shepherd
3bda2068a0
Merge pull request #204 from ibuildthecloud/master
...
Random
2018-10-04 14:16:51 -07:00
Darren Shepherd
8e5e5a6d0a
Merge pull request #203 from ukinau/Support-Reason-Field-In-ForgetError
...
Allow to put Reason in controller.ForgetError
2018-10-04 14:16:34 -07:00
Darren Shepherd
d5ff49f613
Breakout merge that allows changing metadata and status
2018-10-04 14:08:16 -07:00
Darren Shepherd
217609a71c
Add NamedResource type
2018-10-04 14:07:55 -07:00
Darren Shepherd
decdab356f
Trigger resolve in changeset on deleted objects
2018-10-04 14:07:41 -07:00
Yuki Nishiwaki
b18da6edc4
Allow to put Reason in controller.ForgetError
...
Norman Condition automatically generate condition information based on
the error the handler would return in Condition.Do function.
handler function usually return 2 types of error. the error can be
ignored and the error can not be ignored.
According to current implementation, Condition.Do function generate
condition with error state even if handler return error can be ignored.
The error that can be ignored should be ignored in the context of
condition as well.
So this commit introduce new field which is Reason to ForgetError so
that the developer can put special reason other than Error when
ForgetError is expected to happen by expected procedure like
provisioning and wait for something and Norman Condintion respect to
this field when try to generate condition information based on error
This solution will help us to fix this rancher bug
https://github.com/rancher/rancher/issues/15907
2018-10-03 02:44:42 +09:00
Yuki Nishiwaki
f103a35307
Enable fine-grained control for Controller related metrics
2018-09-26 11:51:51 +09:00
Darren Shepherd
d675dc7949
Merge pull request #200 from ibuildthecloud/master
...
Switch to go 1.11 and modules
2018-09-25 11:49:16 -07:00
Darren Shepherd
dc39352b4b
Switch to go 1.11
2018-09-25 11:43:11 -07:00
Darren Shepherd
de109902bb
Switch to modules
2018-09-25 11:26:23 -07:00
Darren Shepherd
e5c60cd6bc
Merge pull request #199 from ibuildthecloud/master
...
Random changes
2018-09-24 09:02:30 -07:00
Darren Shepherd
5f7e9df8b9
Merge pull request #189 from nathan-jenan-rancher/pluggable-driver
...
Add dynamic field to field struct
2018-09-24 09:02:20 -07:00
Darren Shepherd
ee8e325eb5
Merge pull request #198 from maxkorp/plug-watch-memory-leak
...
Ensure that closed watchers are always stopped
2018-09-24 09:01:17 -07:00
Darren Shepherd
f06b9944e7
Some util methods for kv style string
2018-09-24 09:00:20 -07:00
Darren Shepherd
e93f1d7870
Add changeset package
...
changeset is an easy way to track parent/child relationships and trigger
parent updates if child changes
2018-09-24 09:00:20 -07:00
Darren Shepherd
a5698a8e86
Add method to client to get GenericController
2018-09-24 09:00:20 -07:00