fa
Feedback
Devops tips & tricks

Devops tips & tricks

رفتن به کانال در Telegram

Daily tips for devops, english contents. Hire me → devops@viettug.org

نمایش بیشتر
695
مشترکین
اطلاعاتی وجود ندارد24 ساعت
اطلاعاتی وجود ندارد7 روز
+1330 روز
آرشیو پست ها
#k8s #dns #ndots Before k8s: on linux system, ndots defaults to 1. When k8s is alive: Every ndots defaults to 5. When production system is on live: People fights hard to set ndots back to 1. Question: Does k8s invent something new =))

#k8s #dnsPolicy > Note: “Default” is not the default DNS policy. If dnsPolicy is not explicitly specified, then “ClusterFirst” is used. So the default is not the default one you think. It's the default one that the node picks up. Best naming :D

#kubernetes is cheap Everyone wants to have k8s on cloud. No mikube, no local cluster anymore. Let's go with https://github.com/loft-sh/vcluster =))

#telegram #screensast I'm later on the party yeah we have screencast with telegram now =))

#fluentbit #log
#fluentbit #log

#newrelic vs #fluentbit You have spent a few thousands of $ to buy newrelic and one day you will be surprised they are using fluent-bit https://github.com/newrelic/helm-charts/blob/f7b6bb76deaa10bf3a591962d1bbc7059020f48f/charts/newrelic-logging/values.yaml#L80 so that's very good sell do you agree :D

#prometheus is odd VictoriamMetrics has this awesome query function: https://docs.victoriametrics.com/metricsql/#share_gt_over_time VM has the function specially for a purpose, quoted for you > This function is useful for calculating SLI and SLO.

best comment : > HTTP authentication is a special type of HTTP header that causes your web browser to prompt you for a user name and password, then re-send it automatically when it's needed. When a website uses this type of authentication, there is no way for the website to offer a log out option. In most browsers, you have to close the browser for it to forget your login information.

#firefox #basic #authentication How to force firefox to forget the current (wrong) basic authentication data? https://superuser.com/questions/181547/how-do-i-make-firefox-forget-http-basic-auth tl;dr: no way

Of course, the world is not about Golang. We have Rust, don't we? So let's go https://github.com/casey/just

#make #golang When you're a go developer and you don't speak GNU Makefile, you can learn to write new things with Yaml: https://taskfile.dev/ PS: Read HN topics: https://news.ycombinator.com/item?id=36744450 Quote of the day > Because Make is too stable and well documented, because it's just one tool and not 3, because it isn't written in Go and because you don't have to scratch you head at another YAML hell. Because 47 years of proven track record is nothing compared to "modern". Need I go on?

#shell #cache It's said caching is hard in computing. So let's have cache when you execute any shell commands: https://github.com/dimo414/bkt/tree/master Up to your imagination how to use this tool. An example is when you need to see your shell command's output as input for your ftonend tool (report, static generator,..)

#senior #devops #engineer What makes you a senior devops engineer? You download music from youtube via command line :+))) Everyone knows youtube-dl hopefully. This is a small reminder that now you should try to use yt-dlp tool instead, the cli interface is almost the same.
$ yt-dlp --format=mp4 oaQEeQQ3qy0

#docker vs #host Using k8s , container , docker and don't know how to gain root access? Now you can do that https://snyk.io/blog/cve-2024-21626-runc-process-cwd-container-breakout/

When you are introduced to new slack channel in your corporation...
When you are introduced to new slack channel in your corporation...

#linux #console #fonts Found in /usr/share/kbd/consolefonts/
$ setfont ter-132b
This is quite big font

#docker to #podman #rootless Migrating to rootless container is so easy with podman :)
$ sudo pacman -S podman podman-dnsname podman-compose podman-docker
$ sudo usermod --add-subuids 10000-75535 my_user
$ sudo usermod --add-subgids 10000-75535 my_user
$ podman system migrate
$ chmod 700 ~/foo; chown my_user ~/foo/
$ docker run --replace -d -v ~/foo:/bar --name=foo bar

#bad #ssl See how bad ssl settings are displayed on your browsers? Try https://badssl.com/ . It's very useful when you want to make sure that something is broken. Ah no, tests are not only making sure something is not broken...

#devops #engineer Two #devops engineers ride their bicycles and cross the red lights. The 2nd engineer is unfortunately stopped by a police man and have to pay a good fine. He complaints to the police guy: This is unfair, why didn't you stop my team mate? The police man replies with a smile, Sorry, but we are not doing devops