Brian Goff
aa94284712
dependabot: update github actions
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2022-08-31 19:35:43 +00:00
Brian Goff
d87dd1c79f
Merge pull request #1018 from virtual-kubelet/dependabot/go_modules/contrib.go.opencensus.io/exporter/ocagent-0.7.0
...
Bump contrib.go.opencensus.io/exporter/ocagent from 0.4.12 to 0.7.0
2022-08-31 12:31:16 -07:00
dependabot[bot]
ab3615b8d7
Bump contrib.go.opencensus.io/exporter/ocagent from 0.4.12 to 0.7.0
...
Bumps [contrib.go.opencensus.io/exporter/ocagent](https://github.com/census-ecosystem/opencensus-go-exporter-ocagent ) from 0.4.12 to 0.7.0.
- [Release notes](https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/releases )
- [Commits](https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/compare/v0.4.12...v0.7.0 )
---
updated-dependencies:
- dependency-name: contrib.go.opencensus.io/exporter/ocagent
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-31 19:26:33 +00:00
Brian Goff
22d2416dc4
Merge pull request #1020 from virtual-kubelet/dependabot/go_modules/github.com/prometheus/client_golang-1.13.0
...
Bump github.com/prometheus/client_golang from 1.7.1 to 1.13.0
2022-08-31 12:25:37 -07:00
dependabot[bot]
e1c6e80a7a
Bump github.com/prometheus/client_golang from 1.7.1 to 1.13.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.7.1 to 1.13.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.7.1...v1.13.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-31 19:20:54 +00:00
Brian Goff
1ed3180ec2
Merge pull request #1019 from virtual-kubelet/dependabot/go_modules/github.com/spf13/cobra-1.5.0
...
Bump github.com/spf13/cobra from 1.0.0 to 1.5.0
2022-08-31 12:19:55 -07:00
dependabot[bot]
97452b493f
Bump github.com/spf13/cobra from 1.0.0 to 1.5.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.0.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.0.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-31 18:40:59 +00:00
Brian Goff
6363360781
Merge pull request #1004 from mxplusb/feature/dependabot
...
added basic dependabot integration.
2022-08-31 11:40:07 -07:00
Brian Goff
44d0df547d
Merge branch 'master' into feature/dependabot
2022-08-31 11:30:14 -07:00
Brian Goff
10a7559b83
Merge pull request #1006 from yabuchan/opentelemetry
...
Add opentelemetry as tracing provider
2022-08-31 11:29:56 -07:00
Brian Goff
b98ba29b52
Merge branch 'master' into opentelemetry
2022-08-31 11:09:42 -07:00
Brian Goff
008fe17b91
Merge pull request #1015 from cpuguy83/gh_actions
...
Add github actions
2022-08-31 11:00:53 -07:00
Brian Goff
ec1fe2070a
Merge pull request #1013 from solarkennedy/k8s_1.24_compat
...
Removed deprecated node Clustername
2022-08-30 22:37:43 -07:00
Brian Goff
48e29d75fc
Remove circleci
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2022-08-31 00:58:56 +00:00
Brian Goff
f617ccebc5
Fixup some new lint issues
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2022-08-31 00:58:56 +00:00
Brian Goff
433e0bbd20
Add github actions
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2022-08-31 00:58:51 +00:00
Kyle Anderson
a8f253088c
Removed deprecated node Clustername
...
With this one line, vk fails to build against k8s 1.24 libs.
The comment says:
// Deprecated: ClusterName is a legacy field that was always cleared by
// the system and never used; it will be removed completely in 1.25.
Seems to be removed in 1.24 though.
2022-08-25 19:39:11 -07:00
yabuchan
38e662129d
remove warning from golinter
2022-07-08 10:23:17 +09:00
yabuchan
95bdbdec0d
reflect review comments
2022-07-08 00:18:58 +09:00
yabuchan
1958686b4a
remove unnecessary lines
2022-07-04 21:38:38 +09:00
yabuchan
36397f80c2
downgrade opentelemetry to avoid the library conflicts
2022-07-04 19:15:45 +09:00
yabuchan
801b44543c
do not save attributes in logger, add fake logger in unit test
2022-07-04 13:52:51 +09:00
yabuchan
853f9ead1c
add sampler in test
2022-07-04 00:22:57 +09:00
yabuchan
915445205f
add logic for otel
2022-07-03 23:30:10 +09:00
Sienna Lloyd
2b7e4c9dc6
added basic dependabot integration.
...
Signed-off-by: Sienna Lloyd <sienna.lloyd@hey.com >
2022-06-23 11:30:16 -06:00
Brian Goff
410e05878a
Merge pull request #985 from cbsfly/fix-klog
...
Change klog flag version to v2
2021-11-23 07:28:04 -08:00
chenbingshen.invoker
70c7745444
Change klog flag version to v2
2021-11-18 18:29:26 +08:00
Brian Goff
269ef14a7a
Merge pull request #984 from pigletfly/fix-readme
...
Add scrape pod metrics
2021-11-16 13:54:57 -08:00
pigletfly
faaf14c68d
Add scrape pod metrics
2021-11-12 10:56:46 +08:00
Brian Goff
7c9bd20eea
Merge pull request #975 from cpuguy83/node_manager
...
Make ControllerManager more useful
v1.6.0
2021-09-14 10:26:48 -07:00
Brian Goff
c9c0d99064
Rename NewNodeFromClient to just NewNode
...
Since we now store the client on the config, we don't need to use a
custom client.
2021-09-14 17:10:17 +00:00
Brian Goff
4974e062d0
Add webhook and anon auth support
...
Auth is not automatically enabled because this requires some
bootstrapping to work.
I'll leave this for some future work.
In the meantime people can use the current code similar to how they used
the node-cli code to inject their own auth.
2021-09-14 17:10:17 +00:00
Brian Goff
e1342777d6
Add API config to node set
...
This moves API handling into the node object so now everything can be
done in one place.
TLS is required.
In the current form, auth must be setup by the caller.
2021-09-14 17:10:17 +00:00
Brian Goff
597e7dc281
Make ControllerManager more useful
...
This changes `ControllerManager` to `Node`.
`Node` is created from a client where the VK lib is responsible for
creating all the things except the client (unless client is nil, then we
use the env client).
This should be a good replacement for node-cli. It offers a simpler
API. *It only works with leases enabled* since this seems always
desired, however an option could be added to disable if needed.
The intent of this is to provide a simpler way to get a vk node up and
running while also being extensible. We can slowly add options, but
they should be focussed on a use-case rather than trying to support
every possible scenario... in which case the user can just use the
controllers directly.
2021-09-14 17:10:14 +00:00
Brian Goff
a9a0ee50cf
Remove create-after-delete node e2e tst
...
This test is only testing the sepcific implementation details of the
mock CLI provided in this repo. The behavior is not inherent in the vk
lib.
2021-09-14 16:57:43 +00:00
Brian Goff
5fe8a7d000
Merge pull request #979 from cpuguy83/fix_ping_panic
...
Return early on ping error
2021-09-03 12:02:55 -07:00
Brian Goff
22f329fcf0
Add extra logging for pod status update skip
2021-09-03 18:02:35 +00:00
Brian Goff
09ad3fe644
Return early on ping error
...
Found that this caused a panic after many many test runs.
It seems like we should have returned early since the pingResult is nil.
We don't want to update a lease when ping fails.
2021-08-24 18:49:42 +00:00
Brian Goff
68347d4ed1
Merge pull request #967 from cpuguy83/controller_manager2
...
Move some boiler plate startup logic to nodeutil
2021-06-01 12:05:59 -07:00
Brian Goff
92f8661031
Merge pull request #973 from cpuguy83/ci_store_test_results
...
Output test results in junit and export to circle
2021-06-01 11:32:21 -07:00
Brian Goff
f63c23108f
Move some boiler plate startup logic to nodeutil
...
This makes a controller that handles the startup for the node and pod
controller.
Later if we add an "api controller" it can also be added here.
This is just part of reducing some of the boiler plate code so it is
easier to get off of node-cli.
2021-05-25 17:54:53 +00:00
Brian Goff
db5bf2b0d3
Output test results in junit and export to circle
2021-05-20 17:20:27 +00:00
Brian Goff
fbf6a1957f
Merge pull request #970 from palexster/apa/add_liqo
...
Adding Liqo to README.md
2021-05-19 14:32:20 -07:00
Brian Goff
e6fc00e8dd
Merge pull request #971 from champly/fix-jaeger-deprecated-config
...
fix jaeger deprecated config
2021-05-19 14:31:11 -07:00
champly
50f1346977
fix staticcheck
2021-05-19 09:17:06 +08:00
champly
66fc9d476f
fix staticcheck
2021-05-19 09:13:28 +08:00
Brian Goff
0543245668
lifecycle test: timeout send goroutine on context
...
In error cases these goroutines never exit.
Trying to debug cases we end up with a bunch of these goroutines stuck
making it difficult to troubleshoot.
We could just make a buffered channel, however this will makes it less
clear, in cases of an error, what all is happening.
2021-05-18 23:06:55 +00:00
Brian Goff
d245d9b8cf
Merge branch 'master' into apa/add_liqo
2021-05-18 13:36:53 -07:00
Brian Goff
4fe8496dd1
Fix TestMapReference needed an ordered mapping
...
In 405d5d63b1 we changed for an ordered
list to a map, however the test is order dependent go maps are
randomized.
Change the test to use a slice with an internal type (instead of pulling
back in k8s.io/kubernetes).
Without this change this test will fail occasionally and has no
guarentee for success because of the random order of maps.
2021-05-18 19:07:46 +00:00
Brian Goff
5cd25230c5
Merge pull request #972 from cpuguy83/remove_kk
...
Remove remaining deps on k8s.io/kubernetes
2021-05-18 09:22:30 -07:00