<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Anushri on Medium]]></title>
        <description><![CDATA[Stories by Anushri on Medium]]></description>
        <link>https://medium.com/@anushri051099?source=rss-05f7b0d204a7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OHwyouxvQNSs0p7O5gjl6Q.jpeg</url>
            <title>Stories by Anushri on Medium</title>
            <link>https://medium.com/@anushri051099?source=rss-05f7b0d204a7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 10:20:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anushri051099/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Divorcing AWS Lambda: My fling with GCP Cloud functions (and yes it was messy)]]></title>
            <link>https://medium.com/@anushri051099/divorcing-aws-lambda-my-fling-with-gcp-cloud-functions-and-yes-it-was-messy-d8a57e0d4b10?source=rss-05f7b0d204a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8a57e0d4b10</guid>
            <category><![CDATA[gcp-cloud-functions]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[cloud-migration]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[terraform]]></category>
            <dc:creator><![CDATA[Anushri]]></dc:creator>
            <pubDate>Thu, 30 Oct 2025 07:04:49 GMT</pubDate>
            <atom:updated>2025-10-30T07:04:49.743Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*cwmonYKc7NDNdjzALnSjaQ.png" /><figcaption>AWS and I are still friends… but GCP gets my weekends now.</figcaption></figure><p>You know that feeling when you’ve outgrown a relationship??? AWS Lambda and I had a solid run … fast deployments, easy triggers, barely any fights. But then GCP showed up with its shiny ML tools and that “I integrate with everything Google” charm.</p><p>So yeah… I broke up with Lambda. Packed up my functions, waved goodbye to my triggers, and moved into GCP Cloud Functions’ neighbourhood.</p><p>What followed was pure chaos… late-night debugging, cross-cloud heartbreak, and way more Terraform than any sane person should deal with. But hey, it worked out in the end. I came out a little wiser, slightly sleep-deprived, and with a weird respect for both clouds.</p><p>This isn’t just a migration story … it’s part tech guide, part therapy session for anyone thinking about switching server-less platforms (or just curious how messy a cloud breakup can get).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aS3Ya-NIA1FrBEDIuWwIYw.png" /></figure><h3>WHY MIGRATION?</h3><p>There were quite a few reasons we decided to move from AWS to GCP. The biggest one? We wanted to make the most of GCP’s built-in ML features and how easily it plays with other Google services … it just felt like a better fit for where our project was headed.</p><p>Cost definitely had a say in it too (because when doesn’t it?), along with our growing need for more flexibility in how we manage things in the cloud.</p><p>Before touching anything, we took a step back and did a full audit of our Lambda functions. The mission was simple: figure out which ones could move as they were, which ones needed a little rework, and which ones needed a complete rewrite. That exercise saved us from a ton of “wait, why isn’t this working?” moments later on.</p><p>We knew the tricky parts would be around things like API Gateways and how each cloud handles server-less magic, so we prepared for that upfront. A bit of healthy paranoia in the beginning ended up saving us from some serious chaos later.</p><h3><strong>THE MIGRATION JOURNEY</strong></h3><p>We kicked things off by mapping out how each function would fit into GCP’s world dependencies, integrations, performance, the whole deal. Nothing fancy, just some solid documentation (that, for once, we actually followed).</p><p>Terraform handled most of the infrastructure side, which made cloning our AWS setup on GCP way less painful. But of course, not everything copied over neatly. Functions that used AWS-only services like SQS had to be reworked to use GCP Pub/Sub. And the ones with multiple triggers ,API Gateway, Event Bridge, you name it , got split up or replaced with API Gateway and Cloud Scheduler in GCP.</p><p>We didn’t go for a big-bang migration either. Started small, with the non-critical stuff, just to see what broke. Once things looked stable, we slowly moved the bigger, scarier functions.</p><p>All our deployments ran through GitHub Actions … because honestly, there’s no surviving a migration like this without automation (and maybe a little caffeine).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*F-PlaKezIwPY5_vInlfkRw.png" /><figcaption>Developer carrying boxes of secrets between 2 clouds — AWS &amp; GCP</figcaption></figure><h3><strong>FROM SECRETS TO SMOOTH DEPLOYMENTS</strong></h3><p>Before we even touched the code, we had to move the secrets because, of course, secrets hate being left behind.</p><p>Step one was simple on paper: move everything from AWS Secrets Manager to GCP Secret Manager without breaking anything or, you know, accidentally leaking an API key to the entire internet. Easy, right?</p><blockquote>We threw together a quick Python script (with a few too many print( )s for comfort) and somehow… miraculously everything made it over safely. Only then did we even think about touching the actual Lambda functions.</blockquote><p>And just when we thought, “Cool, that’s done,” GCP decided to drop a plot twist: “<strong>emails”</strong>. Our functions were still using AWS SES, but GCP’s Send Grid wasn’t an option because of permission drama.</p><p>So, we did what developers always do … hacked together a fix. A couple of IAM roles here, some cross-cloud trust magic there, and after a few nervous “please work” deploys, we finally got GCP talking nicely to AWS SES.</p><p>Honestly, that one workaround taught me more about IAM and permissions than any doc or tutorial ever has.</p><h3><strong>SURPRISES</strong></h3><p>On paper, AWS Lambda and GCP Cloud Functions look like twins … both do the same “server-less magic.” But once we got into it, we started noticing the little quirks.</p><p>AWS still wins when it comes to that smooth, plug-and-play experience. It’s like the friend who just gets things done without asking too many questions.<br>GCP, on the other hand, gave us more control, better performance tuning and tighter integration with all the fancy ML stuff Google loves showing off.</p><p>The real surprise, though? GCP’s logging and monitoring. At first, it felt like trying to read an alien dashboard, but once we got the hang of it, the insights were so much deeper. We actually started spotting bottlenecks we didn’t even know existed.</p><h3><strong>COMPARISON</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lq02jWEGMvKO9r6M4YRKBA.png" /></figure><h3><strong>DO’s &amp; DONT’s</strong></h3><p><strong>DO</strong> test everything. Then test it again. Running AWS and GCP side by side for a while saved us from so many late-night surprises totally worth the effort.</p><p><strong>DON’T</strong> skip documentation. I know, it’s boring, but future-you will thank you when something breaks and you can actually trace what happened (instead of pretending you remember).</p><p><strong>DO</strong> have a rollback plan. Seriously. Knowing we could fall back to AWS if things went sideways gave us the confidence to experiment without losing sleep.</p><p>Basically test, document, and always have a safety net. That combo saved us more times than I’d like to admit.</p><h3><strong>THE JOURNEY</strong></h3><p>Looking back, this migration turned out to be way more than just a tech project. It forced us to rethink our design, clean up old mistakes, and make things more efficient. Sure, there were bumps … a few late nights, some broken triggers, and a couple of “why is this even happening?” moments but by the end of it, we had a setup that was faster, cheaper, and way more flexible.</p><p>If you’re planning a move like this, don’t just focus on getting things to work. Use it as an excuse to rethink how they work. Every little hiccup taught us something we wouldn’t have learned otherwise.</p><p>The cloud world changes fast, and the best way to keep up is to stay curious and adaptable.</p><h3><strong>READY TO SHARE YOUR JOURNEY ?</strong></h3><p>Cloud migrations are messy, exciting, and oddly satisfying once they work.<br>Anyway, that’s my story. Have you been through one yourself? What kind of chaos did you face … and how’d you get through it? Drop your stories and miseries in the comments, I’d love to hear how others survived their own cloud breakups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*w5CiZ8FGs9Mp8IShP4Ef2Q.png" /><figcaption>We made it !!!</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8a57e0d4b10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Helm & Pizza: Serving Kubernetes Deployments Hot and Fresh]]></title>
            <link>https://medium.com/@anushri051099/helm-pizza-serving-kubernetes-deployments-hot-and-fresh-76cd2135a3f5?source=rss-05f7b0d204a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/76cd2135a3f5</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[container-orchestration]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[helm]]></category>
            <dc:creator><![CDATA[Anushri]]></dc:creator>
            <pubDate>Fri, 29 Aug 2025 11:31:08 GMT</pubDate>
            <atom:updated>2025-08-29T11:31:08.409Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>aka: “Because Kubernetes deployments taste better when Helm delivers.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8kShucE-Mzh6abBHux0NIQ.png" /><figcaption>Because Kubernetes is better when Helm’s the chef</figcaption></figure><h3><strong>🚚 Helm: The Pizza Delivery Guy for Kubernetes</strong></h3><p>Before Helm, deploying apps felt like cooking everything from scratch .. chopping <strong>YAML </strong>onions, kneading <strong>YAML </strong>dough, and juggling a dozen manifests (Deployment, Service, ConfigMap, Ingress).<br>Possible? Sure. Efficient? Not really.</p><p>Then Helm showed up. Suddenly:</p><p>✅ <strong>Charts = Pizza menu</strong> (ready-made recipes for apps).<br>✅ <strong>Values.yaml = Toppings</strong> (customise it your way).<br>✅ <strong>Install = Place order</strong> (helm install …).<br>✅ <strong>Release = Pizza box</strong> (easy to upgrade, replace, or toss).</p><p>No more YAML kitchen nightmares…just hot, fresh deployments on demand.</p><h3><strong>🔑 Helm Basics (How to Order 🍕)</strong></h3><p>1️⃣ <strong>Add the Menu (Repo)</strong></p><pre>helm repo add bitnami https://charts.bitnami.com/bitnami<br>helm repo update</pre><p>Bitnami = a giant Domino’s menu of pre-made apps.</p><p>2️⃣ <strong>Place an Order (Install)</strong></p><pre>helm install my-nginx bitnami/nginx</pre><p>Boom. You just ordered an NGINX pizza .. baked (deployed) into your Kubernetes cluster</p><p>3️⃣ <strong>Customize the Toppings (Override Values)</strong></p><p>custom-values.yaml:</p><pre>replicaCount: 2<br>service:<br>  type: LoadBalancer<br>  port: 8080</pre><p>Apply it:</p><pre>helm upgrade my-nginx bitnami/nginx -f custom-values.yaml</pre><p>Now your NGINX comes with extra cheese (2 replicas) served on port 8080.</p><p><strong>That’s Helm</strong>: installs, upgrades, rollbacks, and reusable recipes without rewriting YAML from scratch.</p><h3>🛠️Demo Project — Build Your Own Pizza Store 🍕</h3><p>Let’s go beyond ordering and create our own pizza chart.</p><p>1️⃣<strong> Create a New Chart</strong></p><pre>helm create pizza-store</pre><p>This gives you a ready-made skeleton: <strong>Chart.yaml</strong> , <strong>values.yaml</strong> and <strong>templates/</strong></p><p>2️⃣ <strong>Customise Chart.yaml</strong></p><pre>apiVersion: v2<br>name: pizza-store<br>description: 🍕 A Helm chart for deploying pizzas on Kubernetes<br>type: application<br>version: 0.1.0<br>appVersion: &quot;1.0&quot;</pre><p>3️⃣ <strong>Define Values (toppings.yaml)</strong></p><pre>pizza:<br>  size: &quot;large&quot;<br>  base: &quot;thin-crust&quot;<br>  toppings:<br>    - cheese<br>    - olives<br>    - jalapenos<br>  sauce: &quot;spicy&quot;<br>store:<br>  replicas: 2<br>  port: 8080</pre><p>4️⃣ <strong>Update a Template (ConfigMap = Pizza Order)</strong><br><strong> </strong>templates/configmap.yaml</p><pre>apiVersion: v1<br>kind: ConfigMap<br>metadata:<br>  name: {{ .Release.Name }}-order<br>data:<br>  order.txt: |<br>    Pizza Order:<br>    Size: {{ .Values.pizza.size }}<br>    Base: {{ .Values.pizza.base }}<br>    Toppings: {{ join &quot;, &quot; .Values.pizza.toppings }}<br>    Sauce: {{ .Values.pizza.sauce }}</pre><p>5️⃣<strong> Deploy Your Pizza</strong></p><pre>helm install my-pizza ./pizza-store -f values.yaml</pre><p>6️⃣<strong> Check the Order</strong></p><pre>kubectl get cm my-pizza-order -o yaml</pre><h3>🍕 <strong>Demo Project — From Orders to API</strong></h3><p>1️⃣<strong> Add Deployment (Pizza Server)</strong></p><p>templates/deployment.yaml:</p><pre>apiVersion: apps/v1<br>kind: Deployment<br>metadata:<br>  name: {{ .Release.Name }}-server<br>spec:<br>  replicas: {{ .Values.store.replicas }}<br>  selector:<br>    matchLabels:<br>      app: {{ .Release.Name }}-server<br>  template:<br>    metadata:<br>      labels:<br>        app: {{ .Release.Name }}-server<br>    spec:<br>      containers:<br>        - name: pizza-api<br>          image: hashicorp/http-echo:0.2.3<br>          args:<br>            - &quot;-text=🍕 Welcome to {{ .Release.Name | title }} Pizza Store!&quot;<br>          ports:<br>            - containerPort: {{ .Values.store.port }}</pre><p><strong>2️⃣ Add Service</strong></p><p>templates/service.yaml:</p><pre>apiVersion: v1<br>kind: Service<br>metadata:<br>  name: {{ .Release.Name }}-svc<br>spec:<br>  selector:<br>    app: {{ .Release.Name }}-server<br>  ports:<br>    - protocol: TCP<br>      port: 80<br>      targetPort: {{ .Values.store.port }}<br>  type: ClusterIP</pre><p>3️⃣ <strong>Add an Ingress (optional)</strong></p><p>If you want to make it accessible externally:</p><pre>apiVersion: networking.k8s.io/v1<br>kind: Ingress<br>metadata:<br>  name: {{ .Release.Name }}-ing<br>spec:<br>  rules:<br>    - host: pizza.local<br>      http:<br>        paths:<br>          - path: /<br>            pathType: Prefix<br>            backend:<br>              service:<br>                name: {{ .Release.Name }}-svc<br>                port:<br>                  number: 80</pre><p>4️⃣<strong> Deploy It 🚀</strong></p><pre>helm install my-pizza ./pizza-store -f values.yaml</pre><p>5️⃣ <strong>Test Your Pizza API</strong></p><pre>kubectl port-forward svc/my-pizza-svc 8080:80</pre><p>Now visit 👉<strong> </strong><a href="http://localhost:8080/"><strong>http://localhost:8080</strong></a></p><p>You’ll see:</p><pre>🍕 Welcome to My-Pizza Pizza Store!</pre><h3>🍽️ Managing Your Pizzas (Helm in Action)</h3><p>So you’ve ordered your pizza (deployed your chart). What’s next??? Helm doesn’t just drop off the box and vanish.. it sticks around like a good delivery partner, letting you check, upgrade, or even undo your order.</p><p><strong>📋 Check the Menu (List Orders)</strong></p><pre>helm list</pre><p>See all your pizzas (Helm releases) currently being served in your cluster. It’s like peeking at the menu to confirm what you’ve ordered.</p><p>🔍 <strong>Inspect Your Pizza (Status)</strong></p><pre>helm status my-pizza</pre><p>Get the full details: which toppings (values) you picked, what’s running, and where it’s being served. Handy if you’re wondering <em>“Did I actually order extra cheese?”</em></p><p>➕<strong> Upgrade Your Pizza (Add Toppings)</strong></p><pre>helm upgrade my-pizza ./pizza-store -f new-toppings.yaml</pre><p>Need extra olives??? Upgrade adds them hot…no need to start from scratch. (I once tried adding jalapenos this way… big mistake. Thankfully, Helm had my back 😉.)</p><p>↩️<strong> Rollback Your Pizza (Undo Order)</strong></p><pre>helm rollback my-pizza 1</pre><p>Oops.. too spicy??? Just roll back to your last safe order. It’s the ultimate “undo” button for Kubernetes food experiments.</p><p>Helm isn’t just about creating charts , it’s about life-cycle management, keeping your pizza always hot and just the way you like it.</p><h3>🌍 Why Pizza-Helm Matters in Real Life</h3><p>The pizza jokes are fun, but Helm’s impact is way bigger than cheesy metaphors. My little <strong>Pizza-store</strong> demo was a playful way to show it, but the lessons behind it are the same ones I use in real projects.</p><p><strong>🍕Teams Share Recipes</strong></p><p>Just like my demo chart can be reused by anyone to spin up a “pizza store,” Helm charts in real life are shared across teams. One person figures it out once, everyone else installs it the same way.</p><p>🏭<strong>Consistency Across Kitchens (Clusters)</strong></p><p>With my pizza-store, I could deploy the same chart to dev, staging, or prod just by tweaking the values file. That’s exactly how real apps stay consistent across environments without drift.</p><p>⚡<strong>Speed of Delivery</strong></p><p>Instead of wiring YAML by hand, I can get an app running with a single <strong>helm-install </strong>. In the demo, it was a pizza API. At work, it might be a database, ingress, or monitoring stack … but the speed-up is the same.</p><p>🔥<strong>Rollback Saves You From Burnt Pizza</strong></p><p>In my demo, you can “undo” a topping upgrade with<strong> helm rollback</strong>. In production, that same command has saved me from downtime more than once when an upgrade went wrong.</p><blockquote>“Pizza-Helm was just a fun demo, but the point behind it is real …Helm gives me speed, consistency, and keeps Kubernetes a little less painful. That’s why I use it every day.🤗”</blockquote><h3>🏁 Closing — Kubernetes Made Tasty</h3><p>Helm didn’t make YAML vanish, but it did make it a lot easier to deal with.<br>Instead of hand-crafting every app from scratch, I can pick from a chart, tweak the values, and roll back if something goes wrong.</p><p>For me, Helm’s real value isn’t just fewer YAML files …it’s the speed, the consistency, and the fact that teams can share what works instead of reinventing it.</p><p>Kubernetes still gives me its fair share of headaches…but at least now, I get to enjoy some pizza along the way. 🍕</p><h3>🍕 <strong>Over to You!</strong></h3><p>Have you played around with Helm yet, or are you still hand-rolling YAML like homemade dough?<br>I’d love to hear your stories…the wins, the fails, or even just your go-to pizza topping. Drop them in the comments, I’m always up for swapping notes (and recipes)😉.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76cd2135a3f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Logs, Bits & Fluent Tales: My Confused Journey Through Fluentd and Fluent Bit]]></title>
            <link>https://medium.com/@anushri051099/logs-bits-fluent-tales-my-confused-journey-through-fluentd-and-fluent-bit-255d3b8adc38?source=rss-05f7b0d204a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/255d3b8adc38</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[logging]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[fluentd]]></category>
            <category><![CDATA[fluentbit]]></category>
            <dc:creator><![CDATA[Anushri]]></dc:creator>
            <pubDate>Tue, 29 Jul 2025 09:59:44 GMT</pubDate>
            <atom:updated>2025-07-29T09:59:44.040Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“My pod was running. My service was live. But my logs? Gone. Just like that one message I never got back from my ex.” 💔</em></p><p>Okay, let’s rewind.</p><p>When I first started messing around with Docker 🐳 and Kubernetes ☸️, I was just happy to see things run without the terminal screaming at me. If nothing crashed, I took it as a win.</p><p>But soon enough, a new question showed up… A really annoying one.</p><p><strong>Where are the logs?</strong><br>Like, actually where do they go?</p><p>Sure, <strong>kubectl logs</strong> gives you something, but let’s be honest who has time to tail every pod like it’s a one-man show from 2016?? That’s when I fell into this whole thing called “logging agents.”</p><p>And two names started popping up everywhere — like recurring characters in a show I didn’t even know I was watching:</p><p>1️⃣ Fluentd<br>2️⃣ Fluent Bit</p><p>They sounded related. Kind of looked the same. And gave me <em>equal</em> amounts of confusion.</p><p>If you’ve been around my blog before, you know I don’t really do textbook explanations. I’ve already used <strong>Hedwig</strong> to explain Kafka 🦉 and dragged the <strong>Avengers</strong> into a Docker networking post so yeah, no surprise I’m pulling out the fandoms again.</p><p>Because honestly?</p><p>✅ <strong>Fluent Bit</strong> is basically <strong>Hawkeye </strong>: quiet, sharp, fast, doesn’t ask questions, just gets the job done.</p><p>✅ And <strong>Fluentd</strong>? That’s <strong>Nick Fury : </strong>doesn’t do the heavy lifting himself, but he’s running the whole damn operation behind the scenes.</p><p>Or if you’re more of a Potter-head:</p><p>✅ <strong>Fluent Bit = Hedwig — </strong>fast, loyal, shows up with the logs.</p><p>✅ <strong>Fluentd = Dumbledore</strong> — powerful, complicated, definitely involved in more than he lets on.</p><p>So if you’re staring at a bunch of YAML wondering which fluent-something to install then yeah, I’ve been there.This post is me trying to make sense of it all.</p><p>No buzzwords. No corporate diagram dumps. Just some logs, some agents, and a whole lot of “wait… what?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*cZUja4Lm3_zV_5zEumd4uw.png" /><figcaption>Fluent Bit’s out there doing the dirty work. Fluentd’s in the control room, sipping coffee and pulling strings. Together? Total dream team.</figcaption></figure><h3>🆚 Fluent Bit vs Fluentd — The Key Differences (Without the Buzzwords)</h3><p>So you’ve got logs. You want to ship them somewhere. You’ve heard both Fluent Bit and Fluentd can do the job. But which one’s actually right for you?</p><p>Let’s break it down… no fluff, just facts (and a little YAML for flavor).</p><h4>⚖️ Weight Class: Who’s Lighter?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*UprNdahKdvEvmGQPeqmuLg.png" /></figure><p>If you’re deploying something lightweight on nodes that just needs to grab logs and ship them, <strong>Fluent Bit wins </strong>… no contest.</p><h4>🛠️ Who Does What?</h4><p><strong>Fluent Bit:</strong></p><p>✅ Parses logs</p><p>✅ Applies lightweight filtering</p><p>✅ Routes and ships them efficiently</p><p>✅ Minimal plugin ecosystem (but supports essential outputs like Loki, Elasticsearch, Kafka, etc.)</p><p><strong>Fluentd</strong>:</p><p>✅ Can do <strong>everything </strong>Fluent Bit does</p><p><strong>Plus:</strong></p><p>✅ More mature plugin ecosystem (~1000+ plugins)</p><p>✅ Tag-based routing logic</p><p>✅ Buffering, retries, chunking with advanced controls</p><p>You want to parse, enrich, reroute, buffer, retry, rewrite, and whisper to your logs before shipping them? Fluentd is your wizard 🧙‍♂️.</p><h4>🧭 Where Do You Use What?</h4><pre>[Node/Edge]          [Central Aggregator]<br>+------------+       +---------------+<br>| Fluent Bit |  --&gt;  |   Fluentd     |  --&gt; Loki, Kafka, OpenSearch...<br>+------------+       +---------------+</pre><p>✅ <strong>Fluent Bit</strong> runs on your <strong>Kubernetes nodes </strong>or tailing logs parsing them quickly.</p><p>✅ <strong>Fluentd</strong> sits in your <strong>log processing layer</strong>, doing the smart stuff — formatting, labelling, routing, and output handling.</p><p>Fluent Bit sample config:</p><pre>[INPUT]<br>  Name tail<br>  Path /var/log/containers/*.log<br>  Parser docker<br><br>[OUTPUT]<br>  Name es<br>  Host elasticsearch.logging.svc<br>  Port 9200</pre><p>Fluentd equivalent:</p><pre>&lt;source&gt;<br>  @type tail<br>  path /var/log/containers/*.log<br>  tag kube.*<br>  format json<br>&lt;/source&gt;<br><br>&lt;match kube.**&gt;<br>  @type elasticsearch<br>  host elasticsearch.logging.svc<br>  port 9200<br>&lt;/match&gt;</pre><p>The Fluentd config is more verbose but also way more <strong>powerful and flexible</strong> when your needs grow.</p><h4>🧠 So… When Should You Use What?</h4><p>Alright, no corporate fluff. Here’s your cheat sheet to figuring this out:</p><p>1️⃣ Go with Fluent Bit if:</p><ul><li>You’re running on edge devices, sidecars, or anywhere that even a few extra MBs of RAM feels like a luxury</li><li>You just want your logs shipped. Fast. No drama.</li><li>Your vibe: <em>“Look, I don’t want to think about logs. I just want them sent.”</em></li></ul><p>2️⃣ Pick Fluentd if:</p><ul><li>You need to do cool stuff like parsing, routing, buffering, retrying, and maybe even whisper sweet regex into your logs</li><li>You want full control over how logs move and transform.</li><li>Your vibe: <em>“These logs are precious, okay? Treat them like little JSON babies.”</em></li></ul><p>🔁 Or use BOTH if:</p><p>You’re building a proper logging pipeline:</p><ul><li><strong>Fluent Bit</strong> runs at the edges — lightweight, fast, just grabbing logs from nodes</li><li><strong>Fluentd</strong> lives in the middle — the brains of the operation, shaping and sending logs where they need to go</li></ul><p>You want the best of both worlds: <strong>speed</strong> <em>and</em> <strong>power</strong></p><p>Basically… you’re assembling the logging Avengers 🦸</p><h4>🛡️Endgame: Logs Assembled</h4><p>So yeah, that’s been my slightly chaotic journey through “logland”. I started off totally confused, bounced between Fluent Bit and Fluentd, broke a few things (okay, a lot of things), and eventually figured out they work best together. One’s the runner , the other’s the strategist. One ships logs, the other shapes them.</p><p>I kept trying to find <em>the one</em> tool to fix all my logging problems. <strong>Spoiler</strong>: it doesn’t exist. What does work? Figuring out which tool does what and letting them do their thing. And…. hey, logs don’t have to be painful. Not if you’ve got the right agents watching your back.</p><p>So go on tail some logs, test some configs, and may your buffers always behave. 🚀</p><h4>💬 What About You?</h4><p>Are you team Fluent Bit, team Fluentd… or rocking both like a boss?</p><p>Drop your setups, hacks, or log disasters in the comments … I’d love to hear ’em (and probably steal a few ideas 👀).<br>And if this post made your YAML life 0.5% easier, hit that 💚 or send it to someone who’s drowning in logs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=255d3b8adc38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[  Kafka & Hedwig: A Beginner’s Guide to Real-Time Messaging (With Some Help from Hogwarts)]]></title>
            <link>https://medium.com/@anushri051099/kafka-hedwig-a-beginners-guide-to-real-time-messaging-with-some-help-from-hogwarts-888430b4ac85?source=rss-05f7b0d204a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/888430b4ac85</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[developer-journey]]></category>
            <category><![CDATA[kafka]]></category>
            <category><![CDATA[harry-potter]]></category>
            <category><![CDATA[apache-kafka]]></category>
            <dc:creator><![CDATA[Anushri]]></dc:creator>
            <pubDate>Thu, 26 Jun 2025 09:30:11 GMT</pubDate>
            <atom:updated>2025-06-26T09:30:11.000Z</atom:updated>
            <content:encoded><![CDATA[<p>aka: “When in doubt, send a message via Hedwig (or Kafka).”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g5zdxoHrPRoGgx-EUKpnpA.png" /><figcaption>Why use magic when you’ve got Kafka OwlOps?</figcaption></figure><h3>🌪️ What even is Kafka?</h3><p>Before we get into spell books and configs, here’s what I <strong>thought </strong>I knew about Kafka:</p><p>✅ Everyone at work kept dropping the word like I should already understand it.</p><p>✅ Apparently, it’s some kind of message broker?</p><p>✅ It has “producers” and “consumers”.</p><p>✅ It’s supposed to be fast, scalable, and real-time.</p><p>It’s supposed to be fast and scalable and magical and all that</p><p>…Cool. Still had no idea how it worked.</p><p>After hours of reading docs, watching tutorials (and re-watching because I zoned out), and way too much Docker trial and error , I finally had a light bulb moment. Hence, the “<strong>Hogwarts edition”</strong> 🏰.</p><h3>Okay, imagine this:</h3><p>You’re <strong>Harry</strong>. You want to send a message to <strong>Sirius</strong>.<br>You write a letter (probably about Voldemort), tie it to <strong>Hedwig’s </strong>leg, and off she goes — flying across the country.<br><strong>Sirius </strong>gets it, reads it, freaks out. Classic.</p><p>Now translate that into Kafka terms:</p><ul><li><strong>Harry</strong> → Producer</li><li><strong>Hedwig</strong> → Kafka</li><li><strong>The letter</strong> → The message</li><li><strong>“Dark Arts Updates”</strong> → The topic</li><li><strong>Sirius</strong> → Consumer</li></ul><p>✨ Boom. Kafka.</p><p>A producer sends messages into a <strong>topic</strong>, and any consumer subscribed to that topic will pick it up.<br>Kafka handles everything in between the delivery, retries, storage, ordering. Basically, it’s Hedwig… but built for micro-services. 🦉</p><h3>First Attempt: Summon Kafka (via Docker)</h3><p>Obviously, I didn’t want to install Kafka manually. That sounded like something Snape would make me do as punishment.</p><p>So I spun up a <strong>docker-compose.yaml</strong> . Found a sample on GitHub and tried to run:</p><pre>docker-compose up -d</pre><p>And… it didn’t work.</p><p>Bitnami images gave me rate limit errors. Other images had weird configs. Ports weren’t open. Kafka ghosted me harder than Nearly Headless Nick.</p><p>Eventually, I used our internal registry’s Kafka image and adjusted the config to run in <strong>KRaft mode</strong> (aka no ZooKeeper).</p><h3>🔮My Working docker-compose.yml (aka my Marauder’s Map)</h3><pre>version: &#39;3.8&#39;<br><br>services:<br>  kafka:<br>    image: &lt;internal-kafka-image&gt;<br>    container_name: kafka<br>    ports:<br>      - &quot;9092:9092&quot;<br>    environment:<br>      KAFKA_NODE_ID: 1<br>      KAFKA_PROCESS_ROLES: broker,controller<br>      KAFKA_CONTROLLER_QUORUM_VOTERS: 1@localhost:9093<br>      KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092,CONTROLLER://0.0.0.0:9093<br>      KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092<br>      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONTROLLER:PLAINTEXT<br>      KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER<br>      KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT<br>      CLUSTER_ID: MkU3OEVBNTcwNTJENDM2Qk</pre><p>🗺️ <strong>Translation (a.k.a. the magic behind the config):</strong></p><p>✅ <strong>localhost:9092</strong> → this is where the producers &amp; consumers send and receive messages (your owl post hub)</p><p>✅ <strong>advertised.listeners</strong> → the address Kafka shares with the world…mess this up and your owl gets lost mid-flight 🦉</p><p>✅ <strong>No ZooKeeper</strong> → we’re officially in the post-owl era. (Kafka 3.5+ supports KRaft)</p><h3>🧹 Broomstick Tests (aka CLI Commands)</h3><p>Once Kafka was up, I had to see if I could send and receive a message.</p><p>1️⃣ Create a Topic</p><p>Think of this like creating a new owl delivery channel say “gryffindor-notices” or “dumbledore-secrets”.</p><pre>docker exec -it kafka bash<br>/opt/kafka/bin/kafka-topics.sh --create \<br>  --topic test-topic \<br>  --bootstrap-server localhost:9092 \<br>  --partitions 1 \<br>  --replication-factor 1</pre><p>2️⃣ Start a Consumer</p><p>This is the person waiting for the owl.</p><pre>/opt/kafka/bin/kafka-console-consumer.sh \<br>  --topic test-topic \<br>  --bootstrap-server localhost:9092 \<br>  --from-beginning</pre><p>Leave this running. Now, send a message.</p><p>3️⃣ Start a Producer</p><p>Harry writes a letter.</p><pre>/opt/kafka/bin/kafka-console-producer.sh \<br>  --topic test-topic \<br>  --bootstrap-server localhost:9092</pre><p>Then type:</p><pre>Hello from Platform 9¾<br>Is this working?</pre><p>And if the consumer sees those messages on the other side … <strong>YOU DID IT. THE OWL MADE IT. 🦉</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*ZiHNYiaDlAzqlu-HBMJYlA.png" /><figcaption>That moment when your console finally logs the hidden error.</figcaption></figure><h3>😵But before that worked….</h3><p>I had all the wrong configs.</p><p>✅ Wrong advertised.listeners</p><p>✅ Firewall blocking 9092</p><p>✅ Kafka silently doing <em>nothing</em></p><p>It took hours of googling, terminal restarts, and a few “maybe I should just write this in a diary like Tom Riddle” moments.</p><p>Eventually, matching <strong>advertised.listeners </strong>to localhost (inside Docker) was what fixed it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/284/1*-0zTUobmHICW1yD_VqAVvQ.png" /><figcaption>When your code passes linting, but Snape still isn’t impressed.</figcaption></figure><h3>✨ My Noob-to-Not-So-Noob Moment</h3><p>✅ Did I understand Kafka deeply? Not yet.</p><p>✅ But did I send a message and have it received? YES.</p><p>✅ And for now — that’s enough magic for one day.</p><h3><strong>🧵 </strong>Coming Soon ???</h3><p>1️⃣ Might try Kafka + Python next.</p><p>2️⃣ Or Kafka + Kubernetes.</p><p>3️⃣ Or maybe just take a nap.</p><p>Either way, the terminal and I are no longer on non-speaking terms.</p><h3>Over to You! 👇</h3><p>Still figuring Kafka out one owl at a time.<br>If you’ve got tips, questions, or you’re also fighting with <strong>docker-compose</strong> drop them in the comments and I’m always up for a good tech chat. ✌️</p><p>Also, if you’re a fellow Potter-head… even better. Let’s catch up over some logs and Lumos spells. ⚡🦉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=888430b4ac85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Networking: I Finally Get It (Kind of )]]></title>
            <link>https://medium.com/@anushri051099/docker-networking-i-finally-get-it-kind-of-b144be30138f?source=rss-05f7b0d204a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b144be30138f</guid>
            <category><![CDATA[docker-networking]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Anushri]]></dc:creator>
            <pubDate>Fri, 06 Jun 2025 08:09:54 GMT</pubDate>
            <atom:updated>2025-06-06T08:09:54.264Z</atom:updated>
            <content:encoded><![CDATA[<p>So… Docker networking.<br>That one thing I kept <strong>skipping </strong>whenever it popped up in tutorials. It always felt like, “Yeah okay, the containers magically talk to each other… somehow?”<br>But at some point, I had to stop pretending I understood it and actually sit down to figure out what’s going on under the hood.</p><p>And guess what? It’s not as scary as it sounds.</p><p>This is just me sharing what made sense to me as I learned the basics of Docker networking. No deep dives, no textbook jargon just the stuff that clicked.</p><h3><strong>🌉 Bridge Network — The Default Zone</strong></h3><p>When you start a container without specifying any network, Docker automatically connects it to the <strong>default bridge</strong> network.</p><p>This means:</p><p>1️⃣ The container gets its own internal IP.</p><p>2️⃣ But… you can’t just ping other containers by name unless they’re on the <strong>same user-defined network</strong> (we’ll get to that in a bit).</p><p>Handy tip:</p><pre>docker network ls           # shows existing networks<br>docker inspect bridge       # shows config and IPs of the default bridge</pre><p>I kept running containers assuming they’d see each other, and then wondered why nothing was working. Turns out, the default bridge network doesn’t give you DNS-based name resolution across containers. 🤷‍♀️</p><h3><strong>🖥️ Host Network — Basically No Boundaries</strong></h3><p>When you run:</p><pre>docker run --network host ...</pre><p>…you’re saying: “Hey, container, go wild and use the host’s network directly.”</p><p>That means:</p><p>✅ No separate network namespace</p><p>✅ No internal IP — it shares the host machine’s IP</p><p>✅ Good for performance (in some cases)</p><p>✅ Not ideal for isolation</p><p>To be honest, I haven’t used this much, but it’s good to know it’s there when needed.</p><h3><strong>🚫 None Network — A Container in Timeout</strong></h3><p>If you want a container to just sit there quietly and not talk to anyone:</p><pre>docker run --network none ...</pre><p>No access to the host, no internet, no other containers.<br>Perfect if you’re doing something super isolated or testing things without network access.</p><h3>🛠️ Custom Networks — Where the Real Magic Happens</h3><p>Now this part was the real game changer.</p><p>Think of a custom Docker network like forming your own superhero team — like, say… the <strong>Avengers</strong> 🛡️.</p><p>1️⃣ Assemble Your Team (aka create a network)</p><pre>docker network create avengers_net</pre><p>This is your battlefield, your Avengers HQ. Every hero (container) needs to be part of it to join the action.</p><p>2️⃣ Deploy Your Heroes</p><p>Let’s launch two mighty containers:</p><pre>docker run -idt --name ironman --network avengers_net alpine<br>docker run -idt --name thor --network avengers_net alpine</pre><p>Now Iron Man and Thor are inside the same network, ready to <strong>communicate like real teammates</strong>.</p><p>3️⃣ Test Their Alliance</p><p>Jump into Iron Man’s container:</p><pre>docker exec -it ironman sh</pre><p>And run:</p><pre>ping thor</pre><p>Boom 💥 — the two heroes can now talk to each other directly, thanks to being part of the same network. No need to know each other’s IPs. Docker handles the DNS magic.</p><p>This is how micro services talk to each other in real apps.</p><figure><img alt="Containers on a custom Docker network" src="https://cdn-images-1.medium.com/max/1024/1*xo1vOVdP-6XDkdVQ54Q3vw.png" /><figcaption>Containers on a custom Docker network</figcaption></figure><h3>📝 TL;DR</h3><p>Custom Docker networks = Avengers initiative.<br>Only those on the team can talk.<br>No secret IP. Just names like <strong>Iron man</strong>, <strong>Thor</strong>, <strong>hulk </strong>and they all get along (well… mostly 😄).</p><p><strong>Funny side note:</strong> I once had two containers refusing to talk to each other and spent an hour blaming the image. Turns out I never put them on the same network. Yep. 🙃</p><h3>🔄 Double Networks? Yep, That’s a Thing</h3><p>Okay, here’s a plot twist worthy of a multiverse movie:</p><p>Turns out, a single container can be part of <strong>multiple networks</strong>.</p><p>Yeah. Like being on the <strong>Avengers</strong> and the <strong>Guardians of the Galaxy</strong> at the same time. 🚀🛡️</p><p>You’ve got your container (let’s say it’s <strong>Spider man</strong>) already in one network:</p><pre>docker run -idt --name spiderman --network avengers_net alpine</pre><p>Now, create another team (network):</p><pre>docker network create multiverse_net</pre><p>And connect Spidey to it too:</p><pre>docker network connect multiverse_net spiderman</pre><p>Boom 💥now <strong>Spider man</strong> can swing between both networks, talking to heroes in both universes. Total multiverse vibes.</p><p>Let’s say you have a container that needs to talk to both your <strong>front-end</strong> team and your <strong>database</strong> squad. Connecting it to both networks lets it act as the <strong>friendly neighbourhood middle-ware</strong>.</p><p>I haven’t used this much yet, but it’s nice to know it’s possible.</p><h3>🧠 My Key Takeaways (aka what I wish I knew earlier)</h3><p>✅ Default <strong>bridge </strong>is fine, but custom networks are way more flexible.</p><p>✅ Use custom networks if you want containers to talk to each other by name.</p><p>✅ <strong>host </strong>network is fast but breaks isolation.</p><p>✅ <strong>none </strong>is like putting your container in air-plane mode.</p><p>✅ You can inspect any network with <strong>docker network inspect</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9aU0gXwxLXSiDvqeTdn8KQ.png" /><figcaption>Bridge, host, none — quick visual comparison</figcaption></figure><h3>🤔 So… Why Did I Avoid This for So Long ?</h3><p>I think I just assumed Docker networking was too deep to bother with. But once I started playing around with it and running a few commands to see how things behaved — it started to make sense.</p><p>Nothing fancy, just basic curiosity + trial and error.</p><p>If you’re also in the “<strong>I’ll figure this out late</strong>r” camp, maybe this post nudges you to give it a go. Because once you do, container networking starts feeling less like magic and more like “<strong>okay, I get how this works now”</strong><em>.</em></p><h3>Over to You! 👇</h3><p>Still learning as I go. If you’ve got tips or questions drop them in the comments. Always up for a good tech chat ✌️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b144be30138f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[️ Me vs Kubernetes: A Noob’s Tale from the Terminal]]></title>
            <link>https://medium.com/@anushri051099/%EF%B8%8F-me-vs-kubernetes-a-noobs-tale-from-the-terminal-ac163bc2bd4d?source=rss-05f7b0d204a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac163bc2bd4d</guid>
            <category><![CDATA[beginner-friendly]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[learning-in-public]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Anushri]]></dc:creator>
            <pubDate>Mon, 21 Apr 2025 03:34:47 GMT</pubDate>
            <atom:updated>2025-04-21T03:34:47.427Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>When your manager gives you a Linux VM and says “go explore” — you explore.<em><br> And if you’re like me, you also end up wrestling with YAML, Googling error messages at midnight, and fist-bumping your terminal when something finally works. 😅</em></blockquote><h3>📖 Chapter 1: The Curiosity Bug</h3><p>So yeah, I had this fresh Linux VM.<br>Blank terminal. No guardrails. Just me and my curiosity.</p><p>Kubernetes had been on my to-do list forever. Everyone I knew in DevOps was using it, and I figured it was finally time to see what the hype (and the fear) was about.</p><h3>🔍 Chapter 2: First Encounter (a.k.a Installing kind)</h3><p>I didn’t have a cloud account ready to go, so I started with something called kind — Kubernetes IN Docker.</p><p>Friendly name. Simple setup. Just my vibe.</p><pre>kind create cluster --name my-first-cluster<br>kubectl cluster-info --context kind-my-first-cluster</pre><p>Within minutes, I had my first cluster running locally. It felt weirdly powerful… like I had just summoned magic in a bottle.</p><h3>🐍 Chapter 3: A Flask App and a Dream</h3><p>I had a basic Flask quote app lying around from a past project — the kind that randomly returns a quote when you hit the endpoint. Thought I’d use that as my first deployment guinea pig.</p><p>Dockerized it.<br>Wrote a deployment YAML and service YAML.<br>And ran:</p><pre>kubectl apply -f .</pre><p>Then waited and watched.</p><p><strong>kubectl get pods</strong> showed “Running”.</p><p>I felt like I’d won the lottery.</p><h3>😖 Chapter 4: Trouble in Pod-adise</h3><p>But of course, it wasn’t that easy.</p><p>The pod was running. But I couldn’t access the app. Tried curling it, accessing the NodePort, refreshing ports, all in vain.</p><p>I checked the service config. Checked the deployment. Checked my YAML spacing (seriously, YAML is a villain in disguise).</p><p>Eventually, this little gem saved me:</p><pre>kubectl port-forward service/my-flask-service 5000:80</pre><p>I hit <strong>localhost:5000 </strong>in my browser — and my app <em>actually</em> loaded.</p><p>Cue happy dance. 💃</p><h3>🧾 Chapter 5: The Cheat Sheet Chronicles</h3><p>After typing and retyping the same commands 20 times, I started jotting them down. That became a growing list — a mini Kubernetes cheat sheet.</p><p>Some of my forever-faves:</p><pre>kubectl get all<br>kubectl logs &lt;pod-name&gt;<br>kubectl describe pod &lt;pod-name&gt;<br>kubectl exec -it &lt;pod-name&gt; -- /bin/bash</pre><p>That list is now a public GitHub repo because I figured someone else might find it useful too. (Link at the end 👇)</p><h3>💡 Chapter 6: Lessons from the Cluster</h3><p>What I learned from this small but mighty project:</p><ul><li><strong>Start small</strong>. <strong>kind</strong> is brilliant for local clusters.</li><li><strong>Port-forward like a pro</strong>.</li><li><strong>YAML will test you</strong>, but you’ll come out stronger.</li><li>You don’t need to know everything. Just start with something.</li></ul><h3>🚀 Chapter 7: To Be Continued…</h3><p>This was just my first step into Kubernetes — and honestly, it felt really rewarding. I didn’t build anything fancy, but I understood <em>how</em> things work, <em>why</em> they break, and <em>what</em> to do when they do.</p><p>Next up? Maybe ingress. Maybe auto-scaling? Networking? Docker compose? . Maybe… just exploring until I break something again 😄</p><p>Thanks for sticking with my little tech story!<br>If you’re also on this journey, I’d love to hear what you’re building.<br>And if you’ve been doing Kubernetes for a while, drop your funniest YAML bug , I’m building a collection 😂</p><p>🧠 <a href="https://github.com/Anushri-VK/kubernetes-cheat-sheet">Here’s my Kubernetes Cheat Sheet on GitHub</a></p><p>💬 Let’s connect and nerd out over pods, ports, or pastries. I’m into all three.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac163bc2bd4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Diaries: My Noob-to-Not-So-Noob Journey ]]></title>
            <link>https://medium.com/@anushri051099/docker-diaries-my-noob-to-not-so-noob-journey-b6aba9bf04da?source=rss-05f7b0d204a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6aba9bf04da</guid>
            <category><![CDATA[docker-cheatsheet]]></category>
            <category><![CDATA[docker-for-beginner]]></category>
            <category><![CDATA[devops-journey]]></category>
            <dc:creator><![CDATA[Anushri]]></dc:creator>
            <pubDate>Thu, 03 Apr 2025 04:20:46 GMT</pubDate>
            <atom:updated>2025-04-03T04:20:46.308Z</atom:updated>
            <content:encoded><![CDATA[<h3>How It Started…</h3><p>On March 17, 2025, I stepped into my new role as R&amp;D DevOps Engineer. Exciting? Yes. Overwhelming? Absolutely. Why? Because I had <strong>never</strong> worked with Docker before! 😅</p><p>Fast forward a few weeks, and here I am, writing my <strong>first blog</strong> about Docker, hoping to share my journey from <strong>clueless to confident</strong> and maybe help someone else along the way.</p><h3>What Even is Docker? (A Beginner’s Take)</h3><p>Imagine you’re packing a <strong>tiffin box</strong> 🍱. You put in everything you need for a meal — food, spoon, napkin. Now, wherever you go, you can eat without worrying about finding a spoon. <strong>That’s Docker!</strong> It lets you pack an application with everything it needs so it can run anywhere. No more “it works on my machine” problems!</p><p><strong>Some cool things about Docker:</strong></p><p>✅ It makes apps portable 🚛</p><p>✅ Saves time (no more “but it worked on my laptop!” issues)</p><p>✅ Runs the same way everywhere (cloud, laptop, server)</p><p>✅ Great for micro services &amp; CI/CD pipelines</p><h3>My Hands-On Experience 🛠️</h3><h3>Setting Up Jenkins for Docker Builds</h3><p>One of the first things I worked on was setting up a <strong>Jenkins pipeline</strong> that could:</p><ul><li>Pull code from Git Lab</li><li>Build a Docker image</li><li>Run a container</li></ul><p>After a few failed builds (and a mini heart attack), I realised… 📌 I had no Dockerfile in my repo! <strong>Lesson learned: Always check what’s inside your repo before running a pipeline.</strong> 😆</p><h3>Building &amp; Running My First Docker Container</h3><p>1️⃣ Pulled a base image from Docker Hub:</p><pre>docker pull python:3.8</pre><p>2️⃣ Created a simple Dockerfile:</p><pre>FROM python:3.8<br>COPY app.py /app/app.py<br>WORKDIR /app<br>CMD [&quot;python&quot;, &quot;app.py&quot;]</pre><p>3️⃣ Built and ran the container:</p><pre>docker build -t myapp .<br>docker run -d -p 5000:5000 myapp</pre><p>🚀 Boom! My first Dockerized app was running!</p><h3>Before We Dive into the Cheat Sheet…</h3><p>After hours of troubleshooting, countless Stack Overflow searches, and some hard-learned lessons, I finally started getting the hang of Docker. But let’s be honest remembering all those commands can be a pain!</p><p>So, to save myself (and hopefully you) some time, I put together this <a href="https://github.com/Anushri-VK/docker-cheat-sheet"><strong>Docker Cheat Sheet</strong></a> a quick reference of the most commonly used Docker commands. Whether you’re just starting out or need a quick refresher, this one’s for you! 🚀</p><h3>Docker Cheat Sheet 📌</h3><h3>Basic Commands</h3><pre>docker --version     # Check Docker version<br>docker info         # Display system info<br>docker help         # Get help with Docker commands</pre><h3>Image Management</h3><pre>docker images               # List images<br>docker pull &lt;image&gt;         # Pull image from Docker Hub<br>docker rmi &lt;image&gt;          # Remove image<br>docker build -t myapp .     # Build image from Dockerfile<br>docker push myrepo:tag      # Push image to Docker Hub</pre><h3>Container Management</h3><pre>docker ps                   # List running containers<br>docker ps -a                # List all containers<br>docker run -d myapp         # Run container in detached mode<br>docker stop &lt;container&gt;     # Stop container<br>docker rm &lt;container&gt;       # Remove container<br>docker logs &lt;container&gt;     # View logs</pre><h3>Docker Networks &amp; Volumes</h3><pre>docker network create mynet # Create network<br>docker volume create myvol  # Create volume<br>docker run -v myvol:/data myapp  # Mount volume</pre><h3>Docker Compose</h3><pre>docker-compose up   # Start services<br>docker-compose down # Stop services<br>docker-compose ps   # List running services</pre><h3>Lessons Learned &amp; What’s Next?</h3><p>✅ <strong>Break it down</strong> — Docker felt huge at first, but step by step, it all made sense.</p><p>✅ <strong>Trial and error is key</strong> — Mistakes are part of learning (like missing that Dockerfile 🙈).</p><p>✅ <strong>Practice, practice, practice!</strong></p><p>Next up? <strong>Kubernetes!</strong> Stay tuned for my next blog where I explore running Dockerized apps in Kubernetes. 🚀</p><h3>Over to You! 👇</h3><p>Are you learning Docker too? What was your biggest “Aha!” or “Oops!” moment? Let’s share and learn together! Drop a comment below. 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6aba9bf04da" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>