markmcw

u/markmcw



r/CrowdSec•

Hey!

I've struggled to find a definitive answer online regarding how buckets work.

Agents run in my Kubernetes clusters as a daemonset scanning Traefik logging. However, the buckets appear to be on an agent-by-agent basis, rather than a collective bucket. This means, that if I have a lot of nodes running in my cluster, it's less and less likely for the buckets to overflow as the traffic is spreading across various nods and traefik pods.

So my question is - are bucket stats shared across agents, or are buckets on an agent-by-agent basis?

Or perhaps have I misconfigured something?

​

Thanks for your input!

10

r/NoContract•

Hey.

Apologies in advance, believe this has probably been asked before but struggled to find an answer that was directed towards Android devices.

I have a Samsung S20, and I've been looking at esim options as I'll be coming to the US for 2 weeks next month and roaming using my UK sim is a small fortune.

I've had a look at US Mobile but they won't accept my IMEI saying it's not compatible.

I'm flying into New Orleans, is there a way to get a prepaid sim near the airport, or a good alternative esim that accepts Samsung S20.

I've had a look at DENT, it'd be around $60 for 10GB. Simtex is cheaper at $25 for 10GB (which is more along the lines of what I'm up for paying).

Feel there m

111

r/ktor•

Hello.

We've just implemented Micrometer into our Ktor application and it works a treat giving us some great Prometheus Metrics. However, I've spotted something really odd with the `route` tag that it's passing back to us for our metrics.

In some cases where we have csrf protection disabled, it's setting the route tag to `route="/org.mpierce.ktor.csrf.CsrfRouteSelector@67405442/liveness"`

We're not doing anything overly special to declare the route, just wrapping it in `noCsrfProtection`.

I believe this is the code [https://github.com/ktorio/ktor/blob/92f4e96b6f863ffbfc3f6afae52a8ac584a2be3b/ktor-features/ktor-metrics-micrometer/jvm/src/io/ktor/metrics/micrometer/MicrometerMetri

11

r/jenkinsci•

Hello!

We've started to use 1Password for managing our infrastructure secrets. I've built a lot around it to make it work nicely for us and keeps our credentials in a nice tidy format.

Sadly no plugin exists for injecting secrets from 1Password into Jenkins yet, (like what exists already for Hashicorp Vault or AWS Secret Manager).

I've written a python script that will fetch the secrets from the 1Password API and return the secret value in stdout. However, I need to mask/obfuscate the returned values throughout my pipeline. They can be used in lots of different stages throughout the pipeline, so constantly declaring them as secrets using MaskPasswordsBuildWrapper is messy and unrealist

11

r/1Password•

Hey 1Password Community.

I've pulled together a Github Action that will connect to 1Password's new Connect Server in your Github Actions Workflow. So you can grab secrets and credentials and use them in your workflow/pipeline.

You can find it here: https://github.com/marketplace/actions/1password-github-actions

If you're any good at Typescript; I'd really welcome your PRs as this is my first ever TS project.

Cheers

73

r/sonarr•

Just to be really clear from the outset, I'm running "linuxserver/sonarr:preview" as my docker image. So I am aware I'm running a beta container.

I've noticed over the last few days that the webserver inside of Sonarr becomes pretty much unresponsive, taking Sonarr totally offline. Then the container eventually stops and restarts all together.

I wouldn't say my Sonarr instance is that big. The config directory is about 2GB.

What I notice is that when it comes to a full scan and refresh, the webserver either takes a very very very long time to respond to requests. Or just times out altogether. Then eventually the container dies and restarts. There are no memory or CPU constraints as fa

112

Hey! Long time lurker, first-time poster.

I've been using Prometheus for quite some time at various companies, but more recently I've been developing some exporters to provide us with metrics around the development process.

Things like: Github Stats, Jenkins Job Stats etc.

I'm thinking about long term storage for these metrics, and the stumbling block I'm hitting is that I'm quite content for these to continue living on a PVC, no need for Thanos etc. But for metrics like `container_memory_failures_total`, I don't feel the need to retain these more than say 1 month.

Is there a way, or at the very least a mechanism for me to delete metrics older than x days except those that match cer

13

r/Readarr•

Hi folks.

I've created a Helm chart for Readarr for quick installation on a Kubernetes cluster.

https://github.com/k8s-at-home/charts/tree/master/charts/readarr

With the project still in its early stages, I've highlighted this in the README so anyone using the chart is aware that they're doing so at their own risk. But as the project matures and we get to our first release. This will really help with the installation for those using K8s.

​

$ helm repo add k8s-at-home https://k8s-at-home.com/charts/

$ helm install k8s-at-home/readarr

121

r/jenkinsci•

I'm building a DR solution at the moment, whilst databases etc are quite easy in this solution. My biggest challenge is ensuring that the same jobs that run on one Jenkins also run on the DR Jenkins so the environments remain up to date and the same on both ends.

Does anyone have any suggestions on how to do this without hard coding it into my pipelines.

So if I trigger a job, it'll also trigger on the second, DR environment's Jenkins?

Thanks!

11