Preskočiť na hlavný obsah

Príspevky

Zobrazujú sa príspevky z dátumu január, 2024

Matúš odporúča:

Console Review: Steam Deck LCD 256 GB

 Everyone has its own favourite console. Whether it's Xbox, which might also be a handheld next year, or PlayStation, whose this generation sucks and it's way too expensive. But there is a console that I've been searching for good deals on: Steam Deck.  Some backstory My previous console was Switch OLED, on which I mostly played Fortnite and some other games when I took it with me abroad. And I also had the original Switch that I gave away to my cousin. I also attempted to jailbreak it, but in the end it ended up in a repair shop. I requested a Switch OLED for Chistmas mainly because of its screen and faster CPU. When Steam Deck was released, I hadn't requested it as a Christmas gift mainly because it'll be way too expensive to import to Slovakia. I learned that the hard way when I ordered a keyboard from the U.S., which costs 184 euros. Our import threshold is 150 euros. So add the difference between the threshold and the keyboard price plus shipping to the final c...

Čo je Docker Swarm a ako ho nastaviť?

 Tí, ktorí čítate moje články, viete, čo je Docker. A vedeli ste, že Docker môže byť aj v tzv. Swarm móde, ktorý umožní používať Docker podobne ako Kubernetes? Ak nie, tak sa poďme pozrieť, čo to je, a ako si ho nastaviť. Trocha teórie Docker je platforma, na ktorej bežia kontajnery. Tieto kontajnery sa skladajú z OS, ktorý je napr. Ubuntu, závislostí služby/aplikácie a samotnej služby alebo aplikácie. Tieto kontajnery (ak nie sú na Kubernetese/Swarm móde) bežia na jednom stroji, čo ich robí náchylným k rôznym katastrofám. Preto väčšina služieb (odteraz budem používať iba pojem služby) nebeží na jednom serveri, ale na viacerých serveroch, čím sa zaisťuje redundancia a to, že služba nevypadne napr. pri blackoute. A tieto servery v drtivej väčšine prípadov spája tzv. dirigent, čo je v produkčnom prostedí Kubernetes (nie len ten, čo má osem písmen medzi K a S). Docker sa v týchto prípadoch výužíva iba pri vývoji a testingu.  Prečo Swarm a nie Kubernetes? Je viacero dôvodov, prečo...