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

Older Posts 20 shown
Post #2111 2.91K
A new OPS-ish books collection from Humble Bundle - Linux and Sysadmin Tools.

As usual, you can pay a little bit more than €17 to unlock the whole bundle of 15 books.

Speaking of the books I can see there, I’ve heard that “Linux Pocket Guide” by Daniel J. Barrett is a good entry level book. Also, I’ve heard that “Linux System Programming” by Robert Live is good, although a little bit too specific. I’m personally interested in the AWK book the most. I use it in my day-to-day work quite frequently and I feel like I still too far away from its true potential.

#books
Humble Bundle Humble Tech Book Bundle: Linux and Sysadmin Tools by O'Reilly We’ve teamed up with O’Reilly for our newest bundle. Get books like Bash Cookbook & Linux Pocket Guide. Plus, pay what you want & support charity!
  • 👍 12
  • ❤ 1
Post #2110 2.67K
Sup! I'm back from vacationing.

First, I wanted to share something serious and fundamental-ish as the first post of the year. Unfortunately, I haven't read anything worthful yet :\

So, I want to share an episode from the ShipIT podcast, which is called "Fundametals". It was published a while ago, but I listened to it just recently.

I think it fits perfectly my idea to start this year on CatOps with something more interesting than just a link to a tool, etc. Enjoy!

BTW, this episode is also available on the major streaming platforms (I listened to it on Spotify). I won't provide the links, though, because I don't know which platform do you use. Also, their website has a transcript. So, if you prefer reading to listening, it's possible as well.

#podcast
Changelog Fundamentals with Kelsey Hightower (Ship It! #44) Today's conversation with Kelsey Hightower showed Gerhard what he was missing in his quest for automation and Kubernetes. The fundamentals that Kelsey shares will most certainly help you level up your game. This is a follow-up to the last 45 seconds of…
  • 👍 8
Post #2109 3.1K
​​З Новим Роком, коти!

Happy New Year!
  • 🥰 80
  • ❤ 15
  • 🎄 7
  • 👍 5
  • ❤‍🔥 2
  • 🎅 1
Post #2107 3.2K
A nice overview of how Docker works on non-Linux hosts as well as an explanation, why I/O operations are so slow. Plus, some hints on how to make it faster for the local development.

tl;dr. Because Docker requires Linux capabilities, thus is has to have Linux VM to run Linux-based images on MacOS and Windows. This VM shares filesystem with the host, which is slow. There’s a new implementation VirtioFS, which is faster, but still not ideal.

We briefly discussed ways of running Docker on the new M-based Macs on our previous voice chat and this article has links to some tools we mentioned there, specifically: Rancher Desktop and Colima.

Also, I recall developers at my previous job complaining about slow-ish Docker performance, but IIRC VirtioFS was not widely adopted back then.

#docker #linux
Paolo Mainardi Docker on MacOS is slow and how to fix it Note 05/01/2024: Hello there, you can find an update version of this article here, with the latest findings, improvements and new tools. Thanks to the DALL·E 2, we finally have a very nice graphic representation of the feelings of a Docker container inside…
  • 👍 10
  • 👀 2
Post #2105 2.99K
Monokle CLI is yet another tool to validate cnfiguration for the objects in your
Kubernetes clusters. It's a part of a bigger Monokle project and can be used as a CLI and integrated into your CI/CD pipeline.

For now it can validate:
- YAML syntax
- The schemas of your YAMLs against a configurable K8s version
- Links/references between Kubernetes resources
- A set of predefined OpenPolicyAgent (OPA) policies
- Custom rules written in typescript

Also, it looks like there's an active development around this tool at the moment. So, let's see, how it goes.

#kubernetes
Medium Monokle-CLI: Flexible Kubernetes YAML Validation The importance of validation of your Kubernetes YAMLs as part of your pre-commit/deploy workflows is evident as the adoption of…
  • 👍 5
  • 👎 2
  • 🤔 1
Post #2104 2.69K
Disk encryption in AWS is close to useless and potentially harmful.

No, it’s not like AWS is going to do anything with your data.

tl;dr: Encryption at rest protects you from cases when someone steals your disk. However, such an attack vector is so hard in a cloud environment that it’s completely worthless for an attacker.

However, the correct implementation of the encryption at rest will take time and effort that you can put into real risk mitigation and security hardening instead.

#security #aws
Mellow Root Disk encryption in AWS is close to useless and potentially harmful Security theater is the practice of taking security measures that are considered to provide the feeling of improved security while doing little or nothing to...
  • 👍 7
  • 👎 1
Post #2102 2.71K
Last week we recorded one of our usual voice chats as a test. So, more people who were unable to join because of blackouts could listen to it.

Moreover, the topic of our voice chats was: “How to work without electricity, Internet access, and utilities”.

Although, we have touched other topics as well, as it usually happens:
- Starlinks and external antennas
- M1/2 MacBooks
- Ancient communication technologies

The recording is in Ukrainian and available on:
- YouTube as a static image
- Spotify
- Apple Podcasts
- Google Podcasts
- Anchor

Enjoy!

#voice #говорилка
YouTube Як працювати без світла Записали в тестовому режимі говрилку про те, як працювати, коли немає світла. Поговорили про зарядні станції, акумулятори, Старлінки, Макбуки на М1/2 (і які віртуальні машини на них використовувати), а також музейні технології типу Dial-up i DSL. Ну і трохи…
  • ⚡ 4
  • 👍 2
  • 🔥 2
Post #2100 2.7K
A quite old article on debugging a NodeJS AWS Lambda function.

Yet, I still want to share this one, because even if you don‘t have NodeJS functions specifically, the article has some insights on how to debug Lambda functions in general.

Also, there some take away points that would be relevant for any HTTP workload, not just JS.

#aws #serverless
bahr.dev How We Debugged And Fixed 'EMFILE: too many files open' On AWS Lambda NodeJS This article shows how we debugged and fixed an 'EMFILE: too many files open' error on AWS Lambda.
  • 👍 4
Post #2099
CatOps pinned «Here’s an article on Currying in Go. Currying is a technique borrowed from the functional programming. It’s essentially a partial implementation of a function. Anyways, I find such articles interesting, because they show some unconventional angles of a language.…»
Post #2098 2.9K
Here’s an article on Currying in Go. Currying is a technique borrowed from the functional programming. It’s essentially a partial implementation of a function.

Anyways, I find such articles interesting, because they show some unconventional angles of a language. I haven’t personally used currying in Go yet. However, examples in that article look reasonable. Maybe, one I day I will try it.

I’m not saying that you should use this technique in your code, but maybe you find it useful. In the latter case, you’re welcome!

#go #programming
  • 👍 9
Post #2097 2.9K
​​Not a technical post.

Today is the Volunteer Day. I want to dedicate this post to all the people who help daily our military forces as well as civilians.

Thank you for your work and dedication!

Now, I add a Linktree to each post that contains links to various volunteer organizations as well as other useful things. Today I want to share individuals and foundations I regularly support personally.

- Pavlo Bondarenko and Naya are collecting funds for recon drones and Starlinks for AFU. The both have PayPal, so it’s easy to send money from outside Ukraine. Pavlo is a friend of mine, we’ve been to Sziget Festival together a couple of times. Before the full scale invasion he was running a Ukrainian podcast production “Radio Podil”.
Pavlo’s links
Naya’s links

- UA Responders a foundation specialized on tactical medicine and other medical things. I know them, because my wife is actively helping there and my classmate helps them with logistics. They have Polish IBAN, so it’s handy to send money from within the EU. Obviously, they have other ways to accept donations as well.

- Come Back Alive. I mean, they do not require an introduction. This is the most famous and probably the oldest volunteer organization in Ukraine that helps UA military. Also, now they have a convenient web form to accept donations right in their website.

(image via @lachentyt)

#volunteers #Ukraine
  • ❤ 34
Post #2095 2.33K
Here the FireHydrant company writes that MTTR (mean time to recovery) metric is overrated.

I tend to agree with their justification: not all incidents are the same. Not all systems are equally critical as well as not always the cause or rather a set of causes is easy to mitigate.

However, it’s still important to measure the quality of your incident response somehow. The propose two metrics instead:

- Mean time to detection - basically, how long it takes for you to spot a problem. I would also ask an additional question here: was a problem reported by your observability systems, or by your colleagues or customers?

- Mean time to retrospective - or mean time to postmortem if you wish. I think this is a good one. It’s true that some details may fade away from memory, so sooner you do a retrospective - the better! Also, it’s f you actually measure this time, it can help you to prioritize meetings and put postmortems as a higher priority comparing to, for example, a team standup.

#observability
FireHydrant The MTTR that matters A metric you should be tracking is Mean Time to Retrospective.
  • 👍 3
Post #2094 2.38K
Kubeshark is an traffic viewer for Kubernetes providing deep visibility into all API traffic and payloads going in, out and across containers and pods inside a Kubernetes cluster.

I don’t have much to add here. This is basically a Wireshark for Kubernetes. So, if you probably know it if you need something like this. Otherwise, I would say that one can live Ok without it. Yet, if you ever need to analyze, what’s going on with requests in your cluster, you can always use this tool!

#kubernetes #networking
GitHub GitHub - kubeshark/kubeshark: eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts… eBPF-powered network observability for Kubernetes. Indexes L4/L7 traffic with full K8s context, decrypts TLS without keys. Queryable by AI agents via MCP and humans via dashboard. - kubeshark/kubes...
  • 👍 13
  • 👏 1
Post #2093 2.86K
I remember people creating NAT instances in AWS because NAT Gateway was not available at a time.

Now, some claim that NAT Gateway is too expensive, thus nat instances is the way.

The circle is complete, I guess.

Anyways, here’s alterNAT - self provisioned NAT instances in AWS.

To be completely honest, there are use cases for NAT instances indeed and they do not claim that this solution is for everyone.

#aws #networking
GitHub GitHub - chime/terraform-aws-alternat: High availability implementation of AWS NAT instances. High availability implementation of AWS NAT instances. - chime/terraform-aws-alternat
  • 👍 6
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 →