!devops@lemmy.ml
Development & operations
!devops
@lemmy.mlSo I'm a Platform Engineer who is currently working mostly on Dockerfiles, Ansible Playbooks and Kubernetes YAMLs (FUCK HELM AND YAML TEMPLATING).
Wanted to know if it's worth it to invest in learning Pulumi, and advocating for its use in our company? As far as I've found out we can unify all of our IaC codes by using Pulumi and get rid of multiple tooling/languages that we currently use + writing tests for our IaC code hopefully. which we do not as of now.
What is Lemmy's opinion about Pulumi? Is it a shiny new thing that I'm getting hopelessly hyped about because of our current problems, or is it a legit thing that delivers substantial improvements to our flow?
https://medium.com/@hondanhon/a-stand-up-deployment-or-just-another-bug-hunt-4ee741ef0474
cross-posted from: https://lemmy.ml/post/5653264
I'm using Grafana for one of my hobby projects which is also deployed to a public-facing server.
I am the only user of Grafana as it is supposed to be read-only for anonymous access.
My current workflow is:
- Run Grafana locally.
- Make changes to local dashboards, data-sources, ...
- Stop local Grafana.
- Stop remote Grafana.
- Copy local
grafana.db
to the remote machine.- Start remote Grafana.
- Goto (1)
However this feels terribly inefficient and stupid to my mind 😅
To automate parts of this process, I tried gdg and grafana-backup-tool.
I couldn't get the former to work w/ my workflow (local storage) as it barfed at the very start w/ the infamous "invalid cross-device link" Go error.
The latter seems to work but only partially; for example organisations are not exported.
❓ Given I may switch to PostgreSQL as Grafana's DB in the near future, my question is, what is the best way to automate my process short of stopping Grafana and copying database files.
https://kamal-deploy.org/
From bare metal to cloud VMs using Docker, deploy web apps anywhere with zero downtime.
Turned out I didn't need to convert any series to gauges at all!
The problem was that I had botched my Prometheus configuration and it wasn't ingesting the probe results properly 🤦♂️ Once I fixed that, I got all the details I needed.
For posterity you can view lemmy-meter's configuration on github.
cross-posted from: https://lemmy.ml/post/5114491
I'm using blackbox_exporter to monitor a dozen of websites' performance. And that is working just fine for measuring RTT and error rates.
I'm thinking about creating a single gauge for each website indicating whether it is up or down.
I haven't been able to find any convincing resource as to if it is mathematically correct to convert such series to guages/counters - let alone how to do that.
So my questions are
- Have I missed a relevant option in blackbox_exporter configurations?
- Do you recommend converting series to gauges/counters? If yes, can you point me to a resources so that I can educate myself on how to do it?
PS: To my surprise, there were no communities around Observability in general and Prometheus in particular. So I went ahead and created one: !observability@lemmy.ml
Hey all,
I'm not sure if this is the best place to post, but I cannot find a dedicated OpenStack sub lemmy.
I'm trying to get experience with OpenStack, and it seems most tutorials are using something called "OpenMetal". This is subscription based with a free trial (which I may end up having to use), but without OpenMetal, it seems I only have access to one OS to install when creating an instance.
See here.
Is there a way for me to install something like Ubuntu 22.04 without the help from OpenMetal? If so, how would I go about doing it?
Originally discussed on Matrix.
TLDR; Ansible handlers are added to the global namespace.
Suppose you've got a role which defines a handler MyHandler
:
- name: MyHandler
...
listen: "some-topic"
Each time you import
/include
your role, a new reference to MyHandler
is added to the global namespace.
As a result, when you notify
your handler via the topics it listen
s to (ie notify: "some-topic"
), all the references to MyHandler
will be executed by Ansible.
If that's not what you want, you should notify
the handler by name (ie notify: MyHandler
) in which case Ansible will stop searching for other references as soon as it finds the first occurrence of MyHandler
. That means MyHandler
will be executed only once.
Hey all,
I would like to get the above certifications. What resources did you use to study? I can't afford the official training and my employer doesn't want to pay for it.
Any and all help, and all tales of your experience is aplriciated.