I have moved the data collector piece of my bash and sal tools into tool labs as well, but that means the data collector bot is in danger of dying if there are NFS problems that effect the tools grid. K8s is supposed to break that dependency cycle.
Description
Related Objects
- Mentioned In
- T112824: Kubernetes Beta Signup List
Event Timeline
YESSSS.
Can you point me to where the code for this is? Is it also already running on tools?
The code is at https://github.com/bd808/tools-stashbot and running as the 'stashbot' tool and grid job. It's a pretty basic python irc bot.
ok, so step 1 is creating a simple Dockerfile for it (based off
debian:jessie), and then it's trivial to create k8s credentials for it.
I added a Dockerfile that seems to work in local testing: https://github.com/bd808/tools-stashbot/commit/46988cb548373e1bfb69dd18569e5f7b854c1f7b
A config.yaml with the proper settings needs to be on the local file system when the image is built so that the ADD step pulls it in.
This was done! It doesn't use the old dockerfile method, but it does spawn in a k8s container. See the tool's docs on wikitech for more info.