TGViewer
Channel Public Channel
CatOps

CatOps

@catops

DevOps and other issues by Yurii Rochniak (@grem1in) - SRE @ Preply && Maksym Vlasov (@MaxymVlasov) - Engineer @ Star. Opinions on our own.

We do not post ads including event announcements. Please, do not bother us with such requests!
Subscribers
5.07K
Photos
94
Videos
5
Links
2.7K

Showing posts older than #2434 · Back to latest

Older Posts 20 shown
Post #2433 2.54K
I'm no Azure user - this thing came from the chat.

Azure has a collection of verified modules for Terraform and Bicep (their own IaC tool).

So, if you happened to work with Azure, check it out! Maybe, it could make your life a bit easier.

#iac #terraform #azure
  • 👍 3
Post #2432 2.67K
I had a whole talk about testing of the Helm charts, but it's not the only (almost) YAML that you could test!

This blog post describes how one could test their Prometheus alerts. Which is more productive than waiting till something happens.

#observability#testing
Aviator Blog - Automate tedious developer workflows A Guide to Unit Testing Prometheus Alerts - Aviator Blog Although Prometheus alerts are widely used alerting system, unit testing these alerts is uncommon. Learn about best practices for testing these alerts.
  • 🔥 3
Post #2431 2.32K
Post #2429 2.67K
Despite a clickbait title, this is actually a good article with a list of good practices for Kubernetes.

tl;dr list:
- Use ephemeral contianers for debug
- Use admission controllers
- Kustomize is a nice tool
- Autoscale based on custom metrics if it makes sense
- Tweak API Priority and Fairness (APF) if it makes sense
- Submariner for multicluster (I have used other tools for multi-cluster, there are many ways of connecting clusters, so it's up to you to decide, what to use)
- Use Topology Spread Constraints

#kubernetes
Medium 7 Mind-Blowing Kubernetes Hacks Kubernetes harbors capabilities that even seasoned developers might not be fully aware of. These hacks delve into the more esoteric, yet…
  • 👍 13
Post #2427 2.23K
For today's Donations Monday we need to support a member of our community - Oleksa Baida, who's going to join the Armed Forces of Ukraine soon.

He managed to cover most of the equipment and medical expenses on his own, but there are still things left.

Monobank Jar:
https://send.monobank.ua/jar/7sYxdJPVuo

Top-up a card directly:
5375411215704862

Bank requisites:

Отримувач: Байда Олексій Сергійович
IBAN: UA383220010000026202344355441
ІПН/ЄДРПОУ: 3139812353
Призначення платежу: Поповнення рахунку банки

Also, if you want to meet Oleksa in person, there gonna be a gathering in Kyiv tomorrow at 19:00 (Kyiv time).

If you want to join, please, fill out this form, so he can book a place with enough space for everyone.
https://forms.gle/Q6P6bHLGJcCEpUps8

#donations #Ukraine
send.monobank.ua Безпечний переказ коштів Надсилайте безкоштовно та безпечно кошти
  • 👍 4
  • 🥰 1
Post #2425 2.49K
Post #2423 2.46K
A nice step-by-step guide of how to test a Python AWS Lambda function locally with LocalStack.

This guide doesn't cover fixtures in LocalStack, though. In my experience, adding fixtures into LocalStack is PITA, but I have a very specific scenario where I need to create a couple of thousands of S3 objects relatively fast.

#aws #serverless #python
Qxf2 BLOG Testing AWS Lambda locally using LocalStack and pytest - Qxf2 BLOG Learn how to effectively test AWS Lambda functions locally using LocalStack and pytest. Explore step-by-step instructions to streamline your Lambda function testing process.
Post #2421 3.31K
RedHat reported a 10/10 vulnerability in the xz compression library.

The vulnerability provides remote backdoor access and present in xz 5.6.0 and 5.6.1.

There’s also an interesting discussion of this vulnerability on HackerNews:
 annoying - the apparent author of the backdoor was in communication with me over several weeks trying to get xz 5.6.x added to Fedora 40 & 41 because of its "great new features".

#security
The Register Malicious SSH backdoor sneaks into xz, Linux world's data compression library STOP USAGE OF FEDORA RAWHIDE, says Red Hat while Debian Unstable and others also affected
  • 😱 16
  • 👍 2
Post #2420 2.67K
Kondense is a Kubernetes tool that allows you resize contianers in a pod based on the memory pressure.

It’s installed as a sidecar and uses real-time memory pressure to determine the optimal memory for each containers in a pod.

You can read the justification behind this tool in this Reddit post

#kubernetes
GitHub GitHub - unagex/kondense: Automated resources sizing tool for containers in kubernetes Automated resources sizing tool for containers in kubernetes - unagex/kondense
  • 🔥 3
  • 👍 1
Post #2419 2.46K
People often say that Observability is a Data problem. Although, it sounds correct intuitively, I cannot say that I fully understood how Data engineering approaches could be applied to the Observability systems.

This article about Wide Events clarified things for me a bit. Indeed, if any event that happened in the system is just an object with some value and useful metadata, things like metrics, logs, and traces become less relevant - it's all events now!

Apparently, this is how Observability is done in Meta, according to the author, and apparently people in Meta like it. I never worked for Meta, I don't know what they really use there and if it's better than the tools available to us mere mortals.

However, this is an interesting concept, and it would be wonderful to see similar projects that are not internal to the Big Tech companies.

#observability
Substack All you need is Wide Events, not “Metrics, Logs and Traces” This quote from Charity Majors is probably the best summary of the current state of observability in the tech industry - a total, mass confusion.
  • 👎 4
  • ❤ 1
  • 👍 1
Post #2418 2.34K
A neat comparison between Argo and Flux.

I like the fact that the article mostly focuses on UX and use cases. Yet, I would disagree with this statement here:
 would deploy one Argo CD per tenant, where each tenant is an independent developer team with their applications, but it can work with multiple clusters, for example, dev/stage/prod, etc.

I mean sure. If you have enough resources, go for it! However, I witnessed how getting down from “Argo per team” to “just one Argo” reduced resource consumption in a cluster by 90%.

#cicd #gitops
Medium Argo CD vs Flux CD I’ve been seeing debates about two popular GitOps tools. I use both and I want to share with you my opinion and use cases.
  • 👍 8
  • 👎 3
  • 🔥 2
  • 😱 2
Post #2417 2.35K
Some time ago, I predicted that there is going to be more Kubernetes distributions. Then it didn’t happen, so I thought I was wrong.

Yet, now Canonical has introduced their Kubernetes distribution.

It’s based on the upstream Kubernetes 1.30, has some built-in add-ons, and yes, you can install it with snap.

#kubernetes
Ubuntu How should a great K8s distro feel? Try the new Canonical Kubernetes, now in beta | Ubuntu Canonical Kubernetes is a new distribution that combines ZeroOps for small clusters with intelligent automation for larger ones.
  • 🔥 9
  • 👍 1
  • 😢 1
  • 🫡 1
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →