1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-31 06:35:09 +00:00
Commit Graph

66 Commits

Author SHA1 Message Date
Chirayu Kapoor
dd137e4d0b Update wrangler to wrangler/v2
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
2024-01-19 15:31:34 +05:30
Colleen Murphy
393a634033 Remove dump pkg
Remove dump.GoroutineDumpOn function. This is used nowhere in rancher or
supporting libraries, the last usage was removed from rancher/rancher in
a6712424. Cleaning up this function removes the need to update the
outdated panicparse package.
2023-08-10 14:00:44 -07:00
Steffan Tucker
1e41884a06 Fix golangci-lint issues
As part of updating dapper files, golangci-lint was set to be used. This
caused a lot of lint issues to crop up, which this fixes.
2022-07-26 10:40:30 -06:00
Ricardo Weir
20335edec8 Remove controller metrics
Norman metrics' labels have too high of a cardinality as they
include object key as a label. This is a problem because metrics
produces a data row for every combination of labels. This can
have a large impact on performance and is cautioned against in
the prometheus docs. Norman now uses lasso which has metrics with
matching functionality apart from the object key, so norman
metrics will be removed in favor of lasso metrics.
2022-04-27 11:45:54 -07:00
Anna Blendermann
c9509471e5 Start k3s with embedded etcd 2021-11-02 16:20:08 -04:00
Daishan
986dd5b2e4 Log k3s server logs to file 2021-05-13 13:46:56 -07:00
Darren Shepherd
8339c491a8 Fix local node name to "local-node" 2020-09-29 16:44:12 -07:00
Caleb Bron
014f4fa394 Enable coredns in k3s
Without this the rancher run docker container
has no DNS server.
2020-09-07 09:37:10 -07:00
Caleb Bron
0814837e93 k3s disable agent removal 2020-08-31 08:27:30 -07:00
Darren Shepherd
09bcb80b32 Increase timeouts for etcd 2020-08-07 23:56:26 -07:00
Darren Shepherd
067727a370 Move k8scheck to wrangler 2020-08-01 23:32:09 -07:00
Darren Shepherd
b2d111fe7f Expire RBAC cache earlier on watches 2020-03-21 16:03:06 -07:00
Darren Shepherd
21a1793bd6 Add programmatic expiration of access control 2020-03-20 16:22:05 -07:00
Sebastiaan van Steenis
5c74e1ee1e Move debug log to trace 2020-03-11 20:37:25 -07:00
Darren Shepherd
842289e01e Fix non-Linux build 2020-02-12 15:26:36 -07:00
Darren Shepherd
732b9611fa Refactor k8s startup to return ClientConfig 2020-02-12 14:04:40 -07:00
Brenda Rearden
9243731627 k3s options update 2020-02-04 17:16:55 -08:00
Darren Shepherd
52ab7b61fb Move ratelimit to wrangler 2020-02-01 22:12:02 -07:00
Darren Shepherd
8841c697b8 Add generic broadcaster 2020-01-31 21:27:45 -07:00
Darren Shepherd
613a38bcef Make 1.17 behave like 1.16 to avoid ratelimiting 2020-01-23 22:04:14 -07:00
Darren Shepherd
dc07b0ad6a Log etcd output 2019-09-17 14:13:03 -07:00
Dax McDonald
2c34cde588 Remove remotedialer 2019-09-06 14:44:43 -07:00
Luther Monson
7317090b9b response nil check 2019-08-29 15:36:13 -07:00
Luther
93f43c6a13 improve web socket error logging 2019-08-29 14:09:53 -07:00
Dax McDonald
61e72a6bdb Change Error to Errorf 2019-08-19 16:42:53 -07:00
Darren Shepherd
c02886cd48 Disable servicelb and enable scheduler 2019-08-19 14:39:07 -07:00
Darren Shepherd
07c964e242 Move to some wrangler utils and k3s 2019-08-19 10:14:05 -07:00
Yuki Nishiwaki
129bbd3ca3 Configure HandshakeTimeout in websocket.Dialer
To prevent agent from being hung in the middle of Websocket Session
Handshake, We'd better to set HandshakeTimeout

Related to https://github.com/rancher/rancher/issues/21117
2019-06-26 00:55:50 +09:00
Darren Shepherd
947cf67811 Assign bearer token to InClusterConfig 2019-02-27 15:32:26 -07:00
Nathan Jenan
61998c76e3 Adding code to address aks timeout issue 2019-02-22 09:58:55 -07:00
Daishan Peng
6b6d3f5542 don't compare inputid 2019-01-15 13:11:40 -07:00
Darren Shepherd
1fd5af67a4 Allow discovery of API clients 2019-01-11 16:56:51 -07:00
Darren Shepherd
de17bf5b75 Add ratelimiting to objectset apply 2019-01-11 09:11:58 -07:00
Darren Shepherd
12f29fbf6d Change log level 2018-12-19 20:55:41 -07:00
Darren Shepherd
c09551004f Fix issues in patch generation 2018-12-19 11:31:24 -07:00
Darren Shepherd
9bab510069 Add objectset API 2018-12-17 15:44:50 -07:00
Darren Shepherd
1561b42e18 Change changeset enqueuer to interface 2018-11-26 08:43:27 -07:00
Darren Shepherd
650be9239e Fix goroutine leak when writer fails before reader does 2018-11-09 10:08:05 -07:00
Darren Shepherd
dec9be08bb Fix no_etcd and k3s 2018-11-07 11:44:16 -07:00
Darren Shepherd
f8fe4787a6 Fix broken windows agent 2018-10-31 13:21:52 -07:00
Darren Shepherd
11f003815e Remove circular dep to rancher/rancher 2018-10-31 12:48:57 -07:00
Darren Shepherd
732706164d Remove hard dependency on k3s 2018-10-31 10:18:56 -07:00
Darren Shepherd
849473c89a Fix broken changeset after API refactor 2018-10-30 11:42:42 -07:00
Darren Shepherd
9b1f7db6f0 Fix k3s issues 2018-10-24 16:21:28 -07:00
Darren Shepherd
a47569f599 Move packages from rancher/rancher to norman 2018-10-23 22:46:45 -07:00
Darren Shepherd
decdab356f Trigger resolve in changeset on deleted objects 2018-10-04 14:07:41 -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
Daishan Peng
59c4a298e8 add yaml support 2018-06-04 16:44:48 -07:00
Darren Shepherd
e501f1f3c5 Move watch sharing to norman 2018-04-27 09:25:11 -07:00