Brian Goff
1bfffa975e
Make tracing interface to coalesce logging/tracing ( #519 )
...
* Define and use an interface for logging.
This allows alternative implementations to use whatever logging package
they want.
Currently the interface just mimicks what logrus already implements,
with minor modifications to not rely on logrus itself. I think the
interface is pretty solid in terms of logging implementations being able
to do what they need to.
* Make tracing interface to coalesce logging/tracing
Allows us to share data between the tracer and the logger so we can
simplify log/trace handling wher we generally want data to go both
places.
2019-02-22 11:36:03 -08:00
Luc Perkins
bd103a43bd
Use Fira Mono font for code samples ( #518 )
...
Signed-off-by: lucperkins <lucperkins@gmail.com >
2019-02-05 15:07:17 -08:00
Fei Xu
ad6fbba806
parse the exec flags from request query ( #510 )
2019-02-01 17:05:37 -08:00
Luc Perkins
850b3716eb
Add a Helm index to the /charts subdirectory ( #513 )
...
* Add generated index.yaml
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add README with index.yaml generation instructions
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Fix error in index generation instruction
Signed-off-by: lucperkins <lucperkins@gmail.com >
2019-01-31 16:58:27 -08:00
Luc Perkins
318edee630
Usage docs ( #501 )
...
* Add setup and usage docs
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Finish initial version of setup doc
* Add YAML config file for CLI docs
* Finish CLI shortcode
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Fix scrolling on mobile
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Finish first version of usage doc
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Remove go install section, modify CSS for CLI docs, and fix typo
Signed-off-by: lucperkins <lucperkins@gmail.com >
2019-01-24 11:01:42 -08:00
Luc Perkins
48127bfcf5
Modify providers shortcode ( #497 )
...
* Modify providers shortcode
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Change table structure
Signed-off-by: lucperkins <lucperkins@gmail.com >
2019-01-24 10:38:49 -08:00
Luc Perkins
49eeca235c
Update root URL to new address ( #507 )
...
Signed-off-by: lucperkins <lucperkins@gmail.com >
2019-01-24 09:47:21 -08:00
Luc Perkins
8ec59f8261
Add SEO metadata partial and bump Hugo version to 0.53 ( #508 )
...
Signed-off-by: lucperkins <lucperkins@gmail.com >
2019-01-24 09:37:29 -08:00
Ria Bhatia
4f3bd20e15
ACI docs & limitations ( #502 )
...
* adding limitations
* edits -1
* formatting
* making the docs usable :)
v0.8.0
2019-01-15 13:05:30 -08:00
Brian Goff
20911aa3b5
fix potential panic on http server close ( #496 )
2019-01-15 10:37:06 -08:00
Luc Perkins
e98d3ad2ae
Update Alibaba tag ( #499 )
2019-01-11 10:24:43 -08:00
Luc Perkins
41c6b249d2
Add Nomad to providers list ( #489 )
...
Adding nomad!!
2019-01-09 13:48:07 -08:00
Brian Goff
d8736e23f5
Bump crypto package. ( #492 )
...
This fixes master build for certain CPU's.
See https://github.com/golang/crypto/commit/ae8bce0
2019-01-08 12:30:18 -08:00
Paulo Pires
323c02d468
env: fix resource reference Optional nil pointer ( #491 )
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2019-01-08 10:52:56 -08:00
Robbie Zhang
b44d5b9f22
Add the new ACI regions ( #487 )
2019-01-07 16:22:53 -08:00
Anubhav Mishra
a46e1dd2ce
Add HashiCorp Nomad provider ( #483 )
...
* provider: adding Nomad provider
* updating CONTRIBUTING.md with Nomad provider
* updated README.md by adding the Nomad provider
* fix typo
* adding nomad/api and nomad/testutil deps
* adding Nomad binary dependency for provider tests
* fixed the nomad binary download command step and added tolerations to the nomad provider.
* adding nomad provider demo gif
* adding my name to authors
* adding two missing go-rootcerts files after dep ensure
* delete pod comment
2019-01-07 11:48:11 -08:00
Brian Goff
5796be449b
Adds some package docs ( #479 )
...
Was just browing godoc and noticed we are missing some docs that would
be quite useful.
2019-01-07 11:03:35 -08:00
Robbie Zhang
f7afeba12e
Remove the Restriction that No NSG should be set on the Subnet ( #478 )
2018-12-27 16:35:38 -08:00
Yue Zhang
d456ef816f
fix: fix dead link ( #480 )
...
Signed-off-by: zhangyue <zy675793960@yeah.net >
2018-12-27 10:40:17 -08:00
muya-zj
e5c3d0104c
[AlibabaCloud] Change alicloud to alibabacloud ( #470 )
2018-12-26 06:42:56 -08:00
Brian Goff
3ab101da00
Use timer instead of ticker ( #477 )
...
Tickers always tick, so if we tick every 5 seconds and the work that we
perform at each tick takes 5 seconds, we end up just looping with no
sleep period.
Instead this is using a timer to ensure we actually get a full 5 second
sleep between loops.
We should consider an async API instead of polling the provider like
this.
2018-12-21 15:48:47 -08:00
Luc Perkins
b44072588b
Add basic website ( #437 )
...
* Add Netlify configuration and website Makefile
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add .editorconfig file for IDE configs
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add empty content folder to satisfy Hugo requirement
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add basic Hugo site config
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add initial layout scaffolding
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add initial npm assets, yarn.lock, and .gitignore file to ignore node_modules/
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add initial site implementation
* Revert Hugo version to 0.50
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Change publish directory to website/public
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add basic site metadata in partial
Signed-off-by: Luc Perkins <lucperkins@gmail.com >
* Widen main logo on mobile
Signed-off-by: Luc Perkins <lucperkins@gmail.com >
* Add favicon link to CSS partial
Signed-off-by: Luc Perkins <lucperkins@gmail.com >
* Synchronize main color with logos
Signed-off-by: Luc Perkins <lucperkins@gmail.com >
* Add basic Providers and How it Works sections to home page
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Combine basics and providers sections into one
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add favicon link to site config
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add navbar fade in and out effect
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add Slack button
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add GitHub stars/watcher info
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add documentation layout
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add debugging and contributing links
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add docs button in main hero
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Fix footer layout issue
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Change docs header aesthetic
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Change syntax highlighting theme to fruity
Signed-off-by: lucperkins <lucperkins@gmail.com >
* More adjustments to sidebar
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add TOC panel for docs
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Adjust the padding on section elements
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Remove stickiness on main docs header
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add basic architecture doc
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Remove 'coming soon' banner
Signed-off-by: lucperkins <lucperkins@gmail.com >
* Add AnchorJS support for docs pages
Signed-off-by: lucperkins <lucperkins@gmail.com >
2018-12-21 13:49:05 -08:00
shidao-ytt
966f7a807b
remove cpu mem limits of container ( #429 )
2018-12-21 13:38:41 -08:00
Brian Goff
0d14914e85
Refactor http server stuff ( #466 )
...
* Don't start things in New
* Move http server handling up to daemon.
This removes the burdern of dealing with listeners, http servers, etc in
the core framework.
Instead provide helpers to attach the appropriate routes to the
caller's serve mux.
With this change, the vkubelet package only helps callers setup HTTP
rather than forcing a specific HTTP config on them.
2018-12-21 11:45:07 -08:00
Ria Bhatia
f6bc338033
Maintainers ( #474 )
...
* updating provider maintainers and core maintainers
* adding maintainer
2018-12-20 13:55:07 -08:00
Paulo Pires
5a0093ce31
vkubelet: set kubelet version to build version ( #446 )
...
* deps: bump to Kubernetes 1.13.1
Signed-off-by: Paulo Pires <pjpires@gmail.com >
* version: new VK version
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-18 17:08:23 -08:00
Paulo Pires
7265d7ee76
Merge pull request #468 from virtual-kubelet/pires/rework_pod_env
...
Revisit containers env/envFrom processing
2018-12-19 00:13:13 +00:00
Paulo Pires
b71e0c2260
Merge branch 'master' into pires/rework_pod_env
2018-12-15 11:09:54 +00:00
Paulo Pires
4c80760079
tests: add "test/util" subpackage
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:42 +00:00
Paulo Pires
8bcbbf58cd
env: rename methods and improve readability
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:41 +00:00
Paulo Pires
6f04b3102c
deps: update dependencies
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:41 +00:00
Paulo Pires
f839db4692
tests: envvars processing
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:40 +00:00
Paulo Pires
103a19fe9d
env: observe envFrom
...
Also observe initContainers env and envFrom.
Fixes #460
Fixes #461
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:40 +00:00
Paulo Pires
c108962821
tests: observe pod events
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:39 +00:00
Paulo Pires
6a7fa9f6f1
tests: fix typo
...
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:38 +00:00
Paulo Pires
62b46d971c
env: emit events for missing envvars
...
Fixes #465
Signed-off-by: Paulo Pires <pjpires@gmail.com >
2018-12-15 11:01:36 +00:00
Ria Bhatia
a4c73dd03a
adding virtual node docs ( #454 )
2018-12-14 13:40:05 -08:00
Paulo Pires
e61638f148
Merge pull request #452 from Pothulapati/444
...
env: fix pod envFrom processing
2018-12-12 13:30:43 +00:00
Tarun Pothulapati
fbae26fc11
env: fix pod envFrom processing
2018-12-12 13:18:39 +00:00
Paulo Pires
31768c5b5c
Merge pull request #462 from cpuguy83/stop_ticker
...
Ensure reconcile ticker stops on shutdown
2018-12-12 12:55:19 +00:00
Paulo Pires
d73e563b97
Merge branch 'master' into stop_ticker
2018-12-12 12:36:20 +00:00
Paulo Pires
a98b909223
Merge pull request #463 from cpuguy83/remove_pod_notification_ch
...
Remove old pod notification stuff
2018-12-12 12:36:05 +00:00
Paulo Pires
a39e3a97ec
Merge branch 'master' into remove_pod_notification_ch
2018-12-12 12:25:04 +00:00
Paulo Pires
4852725ef3
Merge pull request #464 from bmcstdio/bmcstdio/fix-get-pod-status
...
mock: do not panic on unknown pods
2018-12-12 12:24:28 +00:00
Bruno Miguel Custodio
34b356ee5f
mock: do not panic on unknown pods
...
Signed-off-by: Bruno Miguel Custodio <brunomcustodio@gmail.com >
2018-12-12 12:07:45 +00:00
Brian Goff
616d12ed76
Remove old pod notification stuff
...
These are no longer used since we started using the k8s client's queue.
2018-12-10 13:40:21 -08:00
Brian Goff
e6ca19d059
Ensure reconcile ticker stops on shutdown
...
Otherwise this ticker could run forever (or until the process exits).
2018-12-10 10:33:36 -08:00
Jeremy Rickard
ee2735541a
Merge pull request #431 from virtual-kubelet/pires/e2e_vk_auto_deploy
...
test: deploy vk when running e2e
2018-12-05 13:06:32 -07:00
Paulo Pires
16ef8f9897
Merge branch 'master' into pires/e2e_vk_auto_deploy
2018-12-05 11:32:18 +00:00
Brian Goff
ab7c55cb5f
Make pod status updates concurrent. ( #433 )
...
This uses the same number of workers as the pod sync workers.
We may want to start a worker queue here instead, but I think for now
this is ok, particularly because we are limiting the number of
goroutines being spun up at once.
2018-12-04 14:03:45 -08:00