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 #2353 · Back to latest

Older Posts 20 shown
Post #2352 2.57K
​​Protect the Sky fundraiser has 5% left to close its goal!

It was 10% two weeks ago, when I previously posted this fundraiser.

Thus, I believe it’s possible to close it before the end of the year!

#donations #Ukraine
  • 👍 3
Post #2351 3.14K
If you are running dynamic environments in Kubernetes or any other ephemeral workloads, you need a way to clean up things once these environments are no longer needed or once your tests are done.

k8s-cleaner may help with it. It's a controller that deletes Kubernetes resources, including custom resources, on a schedule. It supports dry run and some options for customizations.

#kubernetes
GitHub GitHub - gianlucam76/k8s-cleaner: Cleaner is a Kubernetes controller that identifies unused or unhealthy resources, helping you… Cleaner is a Kubernetes controller that identifies unused or unhealthy resources, helping you maintain a streamlined and efficient Kubernetes cluster. It provides flexible scheduling, label filteri...
  • 👍 6
  • 🤩 4
Post #2350 2.83K
An interesting read by Monzo about how they implemented Kubernetes Network Policies for 1.5k microservices.

There are some questionable parts in there, in my opinion. For example, why building your own tool to "guess" where an app connects to if you could use a network monitoring tool. However, those are not directly related to the main topic.

An interesting part is how folks in Monzo "reverted" the idea behind Network Policies using templating. So, instead of a target services allowing internal connections, a caller can specify the groups of services it wants to connect to.

Although, I think it partially negates the idea of Network Policies, I can completely understand, why Monzo did that from the UX perspective.

Also, here's a Reddit discussion on the topic. I love the top comment there:

 How would you even know that another team plans to connect your apps?
- By communicating...


#kubernetes #networking
  • ❤ 6
  • 👎 2
Post #2348 2.63K
​​Less than 10% left to fulfill the Protect the Sky fundraiser that Come Back Alive is doing together with Nova Posta.

This is a big one, but let’s pull out!

#donations #Ukraine
  • 👍 7
Post #2346 2.65K
I haven’t participated in salary surveys by DOU because it was limited to people based in Ukraine. This limitation is lifted now.

Also, this time (not sure if it was always like this) salary survey comes together with the survey about the popularity of programming languages. It would be interesting to compare its results with the similar research by StackOverflow.

Yet, for the results to be representative, make sure to spend a couple of minutes and fill out the survey!
Google Docs Зарплатне опитування і рейтинг мов програмування від DOU, грудень 2023 Що пів року DOU.ua збирає анонімні дані про зарплати українських IT-спеціалістів і готує дослідження. У зимовому опитуванні ми також додаємо в анкету блок про мови програмування для рейтингу мов. Якщо ви зараз знаходитеся в Україні або переїхали за кордон…
Post #2345 2.67K
Post #2344 2.55K
An opinionated article that claims that one has to keep all the dependencies in version control.

Now, I don’t have strong opinions here. On one hand the proposal in this article sounds extreme. On another hand, my team has quite a few Go projects and we use vendored modules there.

So, we actually keep the dependencies in VCS. As anything else, it has its pros and cons. I could build a project and run some isolated tests on a plane. But also it almost impossible to review a PR that touches that vendor/ directory.

The author points out that it’s Git’s fault that it’s not designed to work with large number of files and files of a large size. Yes, I’d ask for a reality check here, some Git is omnipresent these days.

#programming #git #opinion
Forrestthewoods Dependencies Belong in Version Control Why dependencies should be checked into version control.
  • 🔥 3
  • 👍 1
Post #2342 2.59K
Post #2341 2.46K
Aqua Security warn people about the danger of the supply chain attacks using Kubernetes Secrets.

We all know this story: base64 is not an encryption, Kubernetes Secrets may have a ton of sensitive information, etc. The article just provides some data from Aqua’s recent research.

However! There’s another viewpoint on Kubernetes Secrets - Plain Kubernetes Secrets are fine. This is the thing I wanted to share with you today.

The main gist of this article is that you cannot really tell if something is secure or not without a threat modeling. Also, that the auto-unsealing feature in Vault kinda negates some if its security features.

Apparently, there’s a discussion about this article in a form or a podcast but I haven’t checked it out yet.

Also, if you need some guides for threat modeling, OWASP website is a good place to start.

So, do your due diligence, do threat modeling, and have a nice day!

#security #kubernetes
Aqua The Ticking Supply Chain Attack Bomb of Exposed Kubernetes Secrets Aqua Nautilus researchers found exposed Kubernetes secrets that pose a critical threat of supply chain attack to hundreds of organizations and OSS.
  • 👍 4
Post #2337 2.61K
Backstage is not an Internal Developer Portal, but a framework to build one.

This article highlights an important difference between the two. Basically, you won’t get an IDP out of the box with Backstage, you need to put some time and effort to make it useful and this fact leaves people, who thought otherwise, frustrated.

Also, it’s interesting how the author draws a parallel with Kubernetes. I would argue that Kubernetes is also a framework to build a platform and not an out of the box solution.

#backstage #idp
Substack What if I told you that Backstage is NOT an internal developer portal? And why you need to rethink how you see Backstage
  • 👍 8
  • 👎 1
Post #2336 2.45K
I think I have posted something like this before, but anyway...

Here's a two part story of how to optimize memory usage of a Go application just by reshuffling fields in structs.

Part one provides some theory on this matter, while part two has some benchmarking results.

I'm not trying to say that you should run and reshuffle fields in all your Go structs right now. Especially, if you're satisfied with the memory consumption of your app - sometimes it makes sense to optimize for readability or just store pointers in structs.

However, these articles describe some details of how memory allocation works in Go, which you may find interesting.

#programming #go
  • 🐳 4
  • ❤ 3
  • 👍 2
  • 🔥 1
Post #2334 2.69K
TemaBit (a part of Fozzy Group) wrote an article on how to manage SonarQube with Terraform. They’ve also mentioned that they manage GitLab with Terraform, but without examples.

A nice quick read for weekend that shows that Terraform is not just for Infrastructure (i.e. cloud) but basically a thin glue code for providers that can manage whatever you want.

#terraform
Medium Terraform Integration at TemaBit Fozzy Group: Achieving Impactful Outcomes Our team embarked on the transition to Terraform in the spring. We established our essential code requirements and naming conventions…
  • 👍 16
  • 🤔 7
Post #2333 2.57K
Чисто нагадати, що сьогодні ми будемо робити Говорилку CatOps про менторство, а точніше: як стати хорошим ментором.

Стартуєм о 20:00 по Києву (19:00 по Берліну) в чаті.

Посилання на Говорилку

#voicechat
Telegram CatOps Chat Chat of the @catops channel. We do not post ads including event announcements. Please, do not bother us with such requests. Advertisement posts will be removed and their authors banned.
  • ❤ 14
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 →