-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running jiralert on k8s #82
Comments
Hi jatin,
I had the same requirements 6 months ago. Then i build the jiralert
container inhouse from the source code available at github. Then created a
simple helmchart with three templates a deployment, service and a
configmap. And yes the configmap is where jiralert.yaml resides. Try to
make use of helm templating so that you can customize jiralert.yaml from
values file..
…On Tue, Mar 9, 2021, 17:08 JatinSomarajan ***@***.***> wrote:
Hi,
I am trying to setup a k8s cluster which includes
Prometheus+AlertManager+Grafana+Jiralert. The end goal is for AlertManager
to create jira tickets as and when alerts are fired.
In my current setup, jiralert is running as a process and everything is
working as expected. But I would like to containerise jiralert and run it
as a pod. Is there an official docker image available for jiralert? Also,
how do I go about setting it up? How will the image handle jiralert.yml? Do
we have to mount the file onto the container?
Thank You,
Jatin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#82>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADRJVMDO354ZDTX6M25TWODTCYCCPANCNFSM4Y3M4PBA>
.
|
Hey and welcome :) I don't think that we currently build 'official' docker images, but we definitely should!
you'll need to supply it as a file, yes. I'd propably either use a configmap or secret and mount it then. |
Hi @charlspjohn, Thank you for your suggestion.. When it comes to helm I am total noob and will need a lot of handholding. Have you documented your steps by chance or have you published your helm chart? It would be of great help. Thank a lot in advance!! |
Hi @erdii, I do see a couple of docker images at docker hub, but they seem to be quite old. I might as well create one and upload to docker hub as you suggested. In addition to configmap or Secret, I will also need a deployment right? If yes, what options should I start the deployment with? Thank You, |
FYI there is a PR pending for docker images: #86 |
@JatinSomarajan This is a starting point for deploying on kubernetes: https://gist.github.com/erdii/8db7b5a6356c3d5e023b985b6febd57c |
This is great..Thank you @erdii .. Really appreciate it!! |
@erdii @JatinSomarajan I have a similar requirement to deploy jiralert in k8s cluster. I referenced the code provided in https://gist.github.com/erdii/8db7b5a6356c3d5e023b985b6febd57c. however, the container fails with a "Back-off restarting failed container" Error. Can you suggest to me what needs to be done in order to make it running? Normal Scheduled 52m default-scheduler Successfully assigned default/jiralert-848797799b-98gl6 to aks-nodepool1-18523433-vmss000000 |
We use this
(we override the command in deployment):
The configmap:
The service:
Prometheus Alertmanager config (the kube-prometheus stack):
|
Hi,
I am trying to setup a k8s cluster which includes Prometheus+AlertManager+Grafana+Jiralert. The end goal is for AlertManager to create jira tickets as and when alerts are fired.
In my current setup, jiralert is running as a process and everything is working as expected. But I would like to containerise jiralert and run it as a pod. Is there an official docker image available for jiralert? Also, how do I go about setting it up? How will the image handle jiralert.yml? Do we have to mount the file onto the container?
Thank You,
Jatin
The text was updated successfully, but these errors were encountered: