Comments (3)
Particularly nice since with Kotlin people will need to remember which commands have a Kt suffix and which don't
from misk.
Maybe a generic Kubernetes Job definition where what you actually run is stored in a ConfigMap? That way you can specify yaml like:
runfile.sh: | #bin/bash export MY_IMPORTANT_ENV=something important java -jar buckets.jar do-stuff to something misc_files/payload.json
The only thing the Job would do is
A) map the runfile.sh config to $HOMEDIR/command/runfile.sh in the pod filesystem
B) Optionally map another configmap to the misc_files directory
C) run runfile.sh
This way running a predefined command is a matter of telling Kubernetes to run job X, and the developer really doesn't have to worry about Kubernetes things, they just have to make a couple configmap yaml files (which can also be done with tooling). Additionally k8s events will track runs of these jobs, and the Job pods can hang around after they've terminated if we need to figure out what they did wrong.
from misk.
Resolved in PR #91
from misk.
Related Issues (20)
- Give precedence to user-provided interceptors HOT 1
- SQS consumers run independently of the AwsSqsJobHandlerSubscriptionService that spawned them
- Socket timeout exception during network interceptor is reported as a warning
- SchemaMigrator explodes on .sql files containing multiple statements HOT 1
- Admin console doesn't display response body for non-successful requests HOT 1
- Docs broken
- Publishing is broken: 403 forbidden HOT 4
- Could not find configuration files
- Can't configure Spanner timeout/retry settings HOT 2
- Docs broken
- Aimee
- WebActionsServlet accesses Response.writer after getting outputStream HOT 3
- Populate HttpServletRequest.servletPath with pathPattern HOT 2
- Expose SQS message's ApproximateReceiveCount through jobqueue jobs HOT 2
- Flaky tests when `idle_timeout` is 0 HOT 1
- No builtin marshaller support for converting kotlin.ByteArray to application/octetstream
- Consider adding n var environment expansion
- Finding test failures in logs from github actions is really difficult
- LogRequestResponse isn't properly supported on classes
- [Proposal] Migration plan for Guice 7+ HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from misk.