ijanki / kubecron Goto Github PK
View Code? Open in Web Editor NEWUtilities to manage kubernetes cronjobs. Run a CronJob manually for test purposes. Suspend/unsuspend a CronJob
License: MIT License
Utilities to manage kubernetes cronjobs. Run a CronJob manually for test purposes. Suspend/unsuspend a CronJob
License: MIT License
panic: No Auth Provider found for name "gcp"
goroutine 1 [running]:
github.com/iJanki/kubecron/cmd.mustGetClientset(0x4)
/home/jonesax/Go/src/github.com/iJanki/kubecron/cmd/root.go:53 +0xe5
github.com/iJanki/kubecron/cmd.run(0x177cb60, 0xc42022fc10, 0x1, 0x1)
/home/jonesax/Go/src/github.com/iJanki/kubecron/cmd/run.go:26 +0x4a
github.com/spf13/cobra.(*Command).execute(0x177cb60, 0xc42022fbc0, 0x1, 0x1, 0x177cb60, 0xc42022fbc0)
/home/jonesax/Go/src/github.com/spf13/cobra/command.go:757 +0x2c1
github.com/spf13/cobra.(*Command).ExecuteC(0x177c900, 0xc420078058, 0x0, 0x10c30e0)
/home/jonesax/Go/src/github.com/spf13/cobra/command.go:843 +0x334
github.com/spf13/cobra.(*Command).Execute(0x177c900, 0x0, 0x0)
/home/jonesax/Go/src/github.com/spf13/cobra/command.go:791 +0x2b
github.com/iJanki/kubecron/cmd.Execute()
/home/jonesax/Go/src/github.com/iJanki/kubecron/cmd/root.go:28 +0x2d
main.main()
/home/jonesax/Go/src/github.com/iJanki/kubecron/main.go:9 +0x20
I ran this on a cluster with kubecron run jobname
and saw this, any ideas?
Just a hint/question:
Shouldn't it be called resume jobs instead of unsupend jobs?
Sometimes there is the need to invoke a cronjob with kubecron but maybe with a slighty different command and arguments for the container.
Adding this feature would greatly improve the capability to launch one off jobs from cronjobs manually.
First of all, thanks for your time and for open-sourcing this tool.
It is nice to have something handy like that which ease daily usage of Kube resources.
From a UX point a view, it would be even nicer to have a list
command.
It could just a wrapper for kubectl get cronjobs.batch
command.
It feel very needed while using this kubectl
plugin
kubectl cron **list**
kubectl cron run
kubectl cron suspend
kubectl cron unsuspend
Can you please provide ARM support?
I see you are using goreleaser
, which can perform a multi-arch build, produce releases and archives, and also produce a brew formula. Would it be possible to hook all these things up to ease installation for your users?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.