<?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 Diwakar Allu  on Medium]]></title>
        <description><![CDATA[Stories by Diwakar Allu  on Medium]]></description>
        <link>https://medium.com/@diwakar.allu.3435?source=rss-59e02d20ea01------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*dRx85HuPR9OyhSby</url>
            <title>Stories by Diwakar Allu  on Medium</title>
            <link>https://medium.com/@diwakar.allu.3435?source=rss-59e02d20ea01------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:16:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@diwakar.allu.3435/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[How to Set Up GitHub SSH Authentication on Fedora Linux — A Complete Beginner’s Guide]]></title>
            <link>https://medium.com/@diwakar.allu.3435/how-to-set-up-github-ssh-authentication-on-fedora-linux-a-complete-beginners-guide-aaead7d9409f?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaead7d9409f</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[fedora]]></category>
            <category><![CDATA[github]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Sun, 01 Nov 2026 16:01:22 GMT</pubDate>
            <atom:updated>2026-11-01T16:05:33.995Z</atom:updated>
            <content:encoded><![CDATA[<h4>Understand SSH keys, Ed25519, SSH Agent, GitHub authentication, and fix HTTPS-to-SSH remote issues with a real-world walkthrough.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4qwQWH831ba47Y-A" /></figure><h4><strong>From zero Git configuration to your first successful SSH-based Git push.</strong></h4><p>If you’ve ever tried pushing your local code to GitHub and encountered authentication errors, you’re not alone.</p><p>Recently, I configured Git and GitHub on my Fedora Linux machine. Initially, I had Git installed, a project ready, and a GitHub repository. However, I hadn’t configured authentication properly.</p><p>Instead of simply copying commands from a tutorial, I decided to understand what was happening behind the scenes.</p><p>In this article, we’ll walk through the entire process:</p><ul><li>Understanding Git and GitHub.</li><li>Configuring Git identity.</li><li>Understanding HTTPS authentication versus SSH authentication.</li><li>Generating SSH keys using Ed25519.</li><li>Understanding public keys, private keys, and fingerprints.</li><li>Using SSH Agent.</li><li>Registering an SSH public key with GitHub.</li><li>Testing SSH authentication.</li><li>Connecting an existing local repository using SSH.</li><li>Performing the first successful Git push.</li></ul><p>By the end, you’ll be able to configure GitHub SSH authentication on your Fedora machine and understand why it works.</p><h3>1. Understanding Git and GitHub</h3><p>Before configuring anything, let’s understand the two technologies involved.</p><p><strong>Git</strong> is a distributed version control system. It helps us track changes in our source code, create commits, manage branches, and collaborate with other developers.</p><p><strong>GitHub</strong> is a platform that hosts Git repositories remotely.</p><p>Think of Git as the version control system on your laptop and GitHub as the remote platform where your repository is stored.</p><p>Our goal is to establish this connection:</p><pre>          Fedora Linux<br>       (Local Git Repository)<br>                |<br>                |<br>        Secure Authentication<br>                |<br>                |<br>              GitHub<br>       (Remote Repository)</pre><p>To establish this connection, GitHub needs to verify that we are authorized to access the repository.</p><p>There are two common authentication methods:</p><ol><li>HTTPS with a Personal Access Token (PAT).</li><li>SSH key authentication.</li></ol><p>Let’s understand both.</p><h3>2. HTTPS Authentication vs SSH Authentication</h3><h3>Method 1: HTTPS with Personal Access Token</h3><p>Previously, developers could authenticate Git operations using their GitHub username and password.</p><p>However, GitHub discontinued password authentication for Git operations in August 2021.</p><p>Instead, GitHub uses Personal Access Tokens (PATs) for HTTPS authentication.</p><p>An HTTPS remote URL looks like this:</p><pre>https://github.com/USERNAME/REPOSITORY.git</pre><p>When we push code, GitHub requires credentials.</p><p>We provide:</p><ul><li>Username: GitHub username.</li><li>Password: <strong>Personal Access Token.</strong></li></ul><p>A PAT is a secret credential that grants specific permissions to interact with GitHub resources.</p><p>There are two commonly used types:</p><ul><li>Fine-grained Personal Access Tokens.</li><li>Classic Personal Access Tokens.</li></ul><p>Fine-grained tokens are generally preferable because they allow more specific repository-level permissions. More restricted permissions, recommended for most new use cases.</p><p>Classic personal access tokens: Older, broader permission model</p><p>For pushing code, the token needs appropriate write permissions.</p><h3>Method 2: SSH Authentication</h3><p>SSH stands for Secure Shell.</p><p>It is a protocol that establishes an encrypted connection between two systems.</p><p>Instead of repeatedly providing an access token, SSH uses a cryptographic key pair.</p><p>The key pair contains:</p><ol><li>Private key.</li><li>Public key.</li></ol><p>The private key stays on our local machine, while the public key is registered with GitHub.</p><p>An SSH remote URL looks like this:</p><pre>git@github.com:USERNAME/REPOSITORY.git</pre><p>Once configured, we can push and pull code without manually entering a GitHub token every time.</p><p>For my Fedora development environment, I chose SSH.</p><h3>3. Checking the Fedora Environment</h3><p>Before changing anything, I inspected the existing environment.</p><p><strong>Check Git installation</strong></p><pre>git --version</pre><p>My output:</p><pre>git version 2.55.0</pre><p>If Git isn’t installed, install it using:</p><pre>sudo dnf install git -y</pre><p>Here:</p><ul><li>sudo executes the command with administrative privileges.</li><li>dnf is Fedora&#39;s package manager.</li><li>install installs a package.</li><li>git is the package name.</li><li>-y automatically confirms installation prompts.</li></ul><p><strong>Check SSH installation</strong></p><pre>ssh -V</pre><p>My output:</p><pre>OpenSSH_10.2p1, OpenSSL 3.5.9</pre><p>SSH was already installed.</p><p><strong>Check Git identity</strong></p><pre>git config --global --list</pre><p>My existing configuration:</p><p>text</p><pre>user.name=Diwakar Allu<br>user.email=MY_EMAIL</pre><p>If you haven’t configured your Git identity, use:</p><pre>git config --global user.name &quot;Your Name&quot;<br>git config --global user.email &quot;your-email@example.com&quot;</pre><p>An important distinction:</p><blockquote><strong>Git identity and GitHub authentication are two different things.</strong></blockquote><p>Git identity identifies the author of a commit.</p><p>SSH or HTTPS authentication determines whether GitHub authorizes the connection.</p><p><strong>Check existing SSH files</strong></p><pre>ls -la ~/.ssh</pre><p>Initially, my output showed:</p><pre>total 4<br>drwx------. 1 user user 22 .<br>drwx------. 1 user user 886 ..<br>-rw-r--r--. 1 user user 92 known_hosts</pre><p>I had a known_hosts file but no SSH key pair.</p><h3>What is known_hosts?</h3><p>The known_hosts file stores fingerprints of SSH servers that your machine has previously trusted.</p><p>For example, when connecting to GitHub through SSH for the first time, SSH checks the server identity and can save its fingerprint.</p><p>This helps protect against connecting to an impersonated server.</p><p>It is not your SSH private key.</p><h3>4. Generating an SSH Key Pair</h3><p>Now comes the most important part.</p><p>We need to generate a public/private key pair.</p><p>For this setup, I used the Ed25519 algorithm.</p><h3>Why Ed25519?</h3><p>Ed25519 is a modern digital signature algorithm based on elliptic-curve cryptography.</p><p>Some advantages:</p><ul><li>Strong cryptographic security.</li><li>Compact key sizes.</li><li>Fast signing and verification.</li><li>Supported by GitHub.</li></ul><h3>Generate the SSH key</h3><p>Run:</p><pre>ssh-keygen -t ed25519 -C &quot;your-email@example.com&quot;</pre><p>Let’s understand each argument:</p><p>ssh-keygen— → SH key generation utility</p><p>-t— → Specifies the key type</p><p>ed25519— → Selects the Ed25519 algorithm</p><p>-C— → Adds a descriptive comment</p><p>After executing the command, SSH asks:</p><p>text</p><pre>Enter file in which to save the key<br>(/home/username/.ssh/id_ed25519):</pre><p>Press Enter to accept the default location.</p><p>The generated files are:</p><pre>~/.ssh/id_ed25519<br>~/.ssh/id_ed25519.pub</pre><p>Their purposes are:</p><p><strong>id_ed25519</strong></p><p>This is the private key.</p><p>It must remain on your machine. Never share it or upload it to GitHub.</p><p><strong>id_ed25519.pub</strong></p><p>This is the public key.</p><p>This is the key we will register with GitHub.</p><h3>Understanding the passphrase</h3><p>During key generation, SSH asks:</p><pre>Enter passphrase:</pre><p>A passphrase adds another layer of protection to your private key.</p><p>If someone obtains your private-key file, the passphrase makes it harder for them to use it.</p><p>You can:</p><ul><li>Set a separate, strong passphrase.</li><li>Leave it empty.</li></ul><p>I recommend using a separate passphrase rather than reusing your GitHub password.</p><p>The GitHub password and SSH passphrase serve different purposes.</p><h3>5. Understanding SSH Key Permissions</h3><p>After generating the key pair, I checked the directory again:</p><pre>ls -la ~/.ssh</pre><p>My output:</p><pre>-rw-------. id_ed25519<br>-rw-r--r--. id_ed25519.pub<br>-rw-r--r--. known_hosts</pre><p>Let’s understand the permissions.</p><h3>Private key: 600</h3><pre>-rw-------</pre><p>Only the file owner can read and write the private key.</p><p>This is important because the private key must be protected.</p><h3>Public key: 644</h3><pre>-rw-r--r--</pre><p>The owner can read and write it, while other users can read it.</p><p>This is generally fine because the public key is designed to be shared.</p><h3>SSH directory: 700</h3><pre>drwx------</pre><p>Only the owner can access the SSH directory.</p><p>These permissions are appropriate for this setup.</p><h3>6. Understanding SSH Agent</h3><p>Now that the private key is generated, we need to understand another important component: SSH Agent.</p><p>Imagine pushing code multiple times throughout the day.</p><p>Without an agent, you may repeatedly need to unlock your private key using its passphrase.</p><p>SSH Agent solves this problem.</p><p>It is a background process that manages unlocked SSH identities and makes them available to SSH clients.</p><p>The workflow looks like this:</p><pre>      Encrypted Private Key<br>                |<br>                |<br>          Enter Passphrase<br>                |<br>                |<br>            SSH Agent<br>                |<br>                |<br>       SSH Authentication<br>                |<br>                |<br>             GitHub</pre><p>The agent holds the unlocked key in memory. Your private-key file remains protected on disk.</p><h3>Step 1: Start the SSH Agent</h3><pre>eval &quot;$(ssh-agent -s)&quot;</pre><p>Expected output:</p><pre>Agent pid 12345</pre><p>Understanding the command:</p><ul><li>ssh-agent: Starts the agent process.</li><li>-s: Outputs shell commands.</li><li>$(...): Executes a command and captures its output.</li><li>eval: Executes those generated shell commands in the current shell.</li></ul><p>This configures environment variables that allow your terminal to communicate with the agent.</p><h3>Step 2: Add your private key</h3><pre>ssh-add ~/.ssh/id_ed25519</pre><p>SSH asks for your passphrase.</p><p>Enter the passphrase you created earlier.</p><p>Expected output:</p><pre>Identity added: /home/username/.ssh/id_ed25519</pre><p>Notice that we add the private key to the agent, not the public key.</p><h3>Step 3: Verify the loaded key</h3><pre>ssh-add -l</pre><p>My output looked like:</p><pre>256 SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<br>your-email@example.com (ED25519)</pre><h3>What is this output?</h3><p>Initially, I wondered whether this was my private key.</p><p>It isn’t!</p><p>It is a fingerprint identifying the loaded SSH key.</p><p>Let’s break it down:</p><p>ComponentMeaning256Key size informationSHA256:...Cryptographic fingerprintEmailComment attached to the keyED25519Key algorithm</p><p>A fingerprint is an identifier derived from the public key.</p><p>It helps us recognize a key without displaying the actual private-key contents.</p><h3>7. Registering the Public Key with GitHub</h3><p>Our Fedora machine now has an SSH key pair.</p><p>But GitHub doesn’t know about our public key yet.</p><p>We need to register it with our GitHub account.</p><h3>Step 1: Display the public key</h3><p>Run:</p><pre>cat ~/.ssh/id_ed25519.pub</pre><p>You’ll see something similar to:</p><pre>ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... your-email@example.com</pre><p>Copy the entire line.</p><p>Remember:</p><ul><li>Copy id_ed25519.pub.</li><li>Never copy id_ed25519.</li></ul><h3>Step 2: Open GitHub SSH settings</h3><p>Visit:</p><p><a href="https://github.com/settings/keys">https://github.com/settings/keys</a></p><p>Follow these steps:</p><ol><li>Click New SSH key.</li><li>Enter a title, such as Fedora Laptop.</li><li>Select Authentication Key.</li><li>Paste your public key.</li><li>Click Add SSH key.</li></ol><p>That’s it!</p><p>GitHub now has your public key registered.</p><h3>What exactly did we achieve?</h3><p>Your Fedora laptop possesses the private key.</p><p>GitHub stores the corresponding public key.</p><p>When SSH authentication happens, your machine proves possession of the private key using a cryptographic signature.</p><p>GitHub verifies that proof using the registered public key.</p><p>Your private key never needs to leave your laptop.</p><h3>8. Testing SSH Authentication</h3><p>Now let’s verify whether everything works.</p><p>Execute:</p><pre>ssh -T git@github.com</pre><p>Let’s break it down:</p><ul><li>ssh: Starts an SSH connection.</li><li>-T: Disables pseudo-terminal allocation.</li><li>git@github.com: Connects to GitHub using its SSH Git account.</li></ul><p>The username here is always git, not your GitHub username.</p><h3>First connection warning</h3><p>On your first connection, you may see a warning similar to:</p><pre>The authenticity of host &#39;github.com&#39; can&#39;t be established.</pre><p>This is expected when your machine hasn’t previously trusted the server.</p><p>Before accepting it, compare the displayed fingerprint with GitHub’s official SSH host-key fingerprints:</p><p><a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints">https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints</a></p><p>If it matches, accept the connection.</p><h3>Successful authentication</h3><p>My output:</p><pre>Hi DiwakarAllu! You&#39;ve successfully authenticated,<br>but GitHub does not provide shell access.</pre><p>This is exactly what we want!</p><p>Let’s understand the message:</p><ul><li>DiwakarAllu: GitHub identified my account.</li><li>Successfully authenticated: My SSH key was accepted.</li><li>GitHub does not provide shell access: GitHub doesn&#39;t provide an interactive terminal session through this connection.</li></ul><p>This does not mean something went wrong.</p><p>It means SSH authentication was successful.</p><h3>9. Understanding Local and Remote Git Repositories</h3><p>Now that authentication is working, let’s connect our actual project.</p><p>My project directory was:</p><pre>~/projects/my-exps/vivo-wallpaper</pre><p>I inspected its Git configuration.</p><h3>Check Git status</h3><pre>git status</pre><p>Output:</p><pre>On branch main<br>nothing to commit, working tree clean</pre><p>This tells us:</p><ul><li>Git was already initialized.</li><li>The current branch was main.</li><li>There were no uncommitted changes.</li></ul><h3>Check remote repositories</h3><pre>git remote -v</pre><p>My output:</p><pre>vivo-wallpaper  https://github.com/DiwakarAllu/vivo-wallpaper.git (fetch)<br>vivo-wallpaper  https://github.com/DiwakarAllu/vivo-wallpaper.git (push)</pre><p>Here, we discovered an important problem.</p><p><strong><em>Even though SSH authentication was working, the existing repository was configured to use HTTPS.</em></strong></p><p>That’s why Git still requested credentials.</p><h3>Understanding Git remotes</h3><p>A remote is a named reference to another Git repository.</p><p>For example:</p><pre>git remote add origin &lt;URL&gt;</pre><p>Here:</p><ul><li>git remote add adds a remote.</li><li>origin is its <strong>nickname.</strong></li><li>&lt;URL&gt; is the remote repository address.</li></ul><p>origin is only a convention. You can use another name.</p><p>My remote was called vivo-wallpaper.</p><h3>Why did the push fail?</h3><p>Initially, I ran:</p><pre>git push -u vivo-wallpaper main</pre><p>Git prompted me for credentials and eventually returned:</p><p>text</p><pre>remote: Invalid username or token.<br>Password authentication is not supported for Git operations.<br>fatal: Authentication failed</pre><p>The reason was simple:</p><p>My remote URL still used HTTPS.</p><p>SSH authentication and HTTPS authentication are separate connection methods.</p><p>Successfully configuring SSH doesn’t automatically change an existing HTTPS remote.</p><h3>10. Changing the Existing Remote from HTTPS to SSH</h3><p>Fortunately, we don’t need to delete or recreate the repository.</p><p>Git provides a command to update an existing remote URL.</p><p>Run:</p><pre>git remote set-url vivo-wallpaper git@github.com:DiwakarAllu/vivo-wallpaper.git</pre><p>Understanding the command:</p><p>PartMeaning</p><p>git remote — → Manage remote repositories</p><p>set-url — -&gt;Change an existing remote URL</p><p>vivo-wallpaper— →Existing remote nickname</p><p>git@github.com:...SSH repository address</p><p>Verify the change:</p><pre>git remote -v</pre><p>Expected output:</p><pre>vivo-wallpaper  git@github.com:DiwakarAllu/vivo-wallpaper.git (fetch)<br>vivo-wallpaper  git@github.com:DiwakarAllu/vivo-wallpaper.git (push)</pre><p>Now the project uses SSH.</p><h3>11. Checking Whether the Remote Repository Has Branches</h3><p>Before pushing, I checked the remote repository:</p><pre>git ls-remote --heads vivo-wallpaper</pre><p>This command queries remote branch references.</p><p>In my case, it returned no output.</p><p>That meant the remote repository had no branches.</p><p>This was useful because it helped establish that we weren’t about to overwrite an existing remote branch.</p><p>If the remote already contains commits, inspect its history before attempting to push. An existing remote may require fetching and integrating its commits.</p><h3>12. Performing the First Successful SSH Push</h3><p>Finally, it was time!</p><p>I executed:</p><pre>git push -u vivo-wallpaper main</pre><p>And received:</p><pre>Enumerating objects: 353, done.<br>Counting objects: 100% (353/353), done.<br>Delta compression using up to 16 threads<br>Compressing objects: 100% (334/334), done.<br>Writing objects: 100% (353/353), 1.87 MiB | 4.31 MiB/s, done.<br>Total 353 (delta 36), reused 0 (delta 0), pack-reused 0<br>remote: Resolving deltas: 100% (36/36), done.<br>To github.com:DiwakarAllu/vivo-wallpaper.git<br> * [new branch]      main -&gt; main<br>branch &#39;main&#39; set up to track &#39;vivo-wallpaper/main&#39;.</pre><p>Success!</p><p>My local main branch was pushed to GitHub.</p><h3>Understanding the push output</h3><p><strong>Enumerating objects</strong></p><p>Git identifies the objects that need to be transferred.</p><p><strong>Counting objects</strong></p><p>Git counts the objects involved in the transfer.</p><p><strong>Delta compression</strong></p><p>Git optimizes the data by compressing differences between objects.</p><p><strong>Writing objects</strong></p><p>The compressed Git objects are transferred to GitHub.</p><p><strong>Resolving deltas</strong></p><p>GitHub reconstructs the transferred objects.</p><p><strong>New branch</strong></p><pre>[new branch] main -&gt; main</pre><p>This tells us that GitHub created the remote main branch.</p><h3>What does -u mean?</h3><p>The -u flag establishes upstream tracking.</p><p>This means our local branch now tracks:</p><pre>vivo-wallpaper/main</pre><p>Because of this relationship, future pushes can simply use:</p><pre>git push</pre><p>And to retrieve and integrate remote updates:</p><pre>git pull</pre><h3>13. Security Best Practices</h3><p>A few things are worth remembering when working with SSH.</p><ol><li>Never share your private SSH key.</li><li>Never upload your private key to GitHub.</li><li>Use a strong, unique passphrase.</li><li>Keep private-key permissions restrictive.</li><li>Verify GitHub’s SSH host fingerprint when connecting for the first time.</li><li>Register only public keys with GitHub.</li><li>Remove old or compromised SSH keys from your GitHub account.</li><li>Use SSH Agent to avoid repeatedly entering your passphrase.</li></ol><p>Remember:</p><pre>id_ed25519      → PRIVATE KEY → NEVER SHARE<br>id_ed25519.pub  → PUBLIC KEY  → REGISTER WITH GITHUB</pre><h3>14. Final Thoughts</h3><p>This exercise taught me that configuring GitHub authentication isn’t just about running a few commands.</p><p>Understanding the underlying concepts makes troubleshooting much easier.</p><p>The biggest lesson from my experience was this:</p><p><strong>SSH authentication can work perfectly while Git pushes still fail if your repository remote is configured to use HTTPS.</strong></p><p>Once I understood that distinction, fixing the issue was straightforward.</p><p>My final setup:</p><ul><li>Fedora Linux.</li><li>Git installed and configured.</li><li>Ed25519 SSH key pair generated.</li><li>SSH Agent configured and key loaded.</li><li>Public key registered with GitHub.</li><li>SSH authentication successfully tested.</li><li>Existing HTTPS remote converted to SSH.</li><li>First successful GitHub push completed.</li></ul><p>If you’re setting up GitHub on a new Fedora machine, I hope this walkthrough helps you understand the process rather than just copy commands.</p><p>Happy coding! 🚀</p><p><strong>Official References</strong></p><ul><li><a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh">GitHub: Connecting to GitHub with SSH</a></li><li><a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent">GitHub: Generating a new SSH key</a></li><li><a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account">GitHub: Adding an SSH key to your GitHub account</a></li><li><a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection">GitHub: Testing your SSH connection</a></li><li><a href="https://git-scm.com/doc">Git Documentation</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaead7d9409f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When Silence Feels Like Rejection: The Psychology of Overthinking Relationships]]></title>
            <link>https://medium.com/@diwakar.allu.3435/when-silence-feels-like-rejection-the-psychology-of-overthinking-relationships-cd45b560949a?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd45b560949a</guid>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[self-awareness]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Sat, 17 Oct 2026 14:44:05 GMT</pubDate>
            <atom:updated>2026-10-17T14:44:05.608Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>On assumptions, changing relationships, the need for approval, and finding peace with uncertainty.</em></h4><h3><strong><em>The story our minds create</em></strong></h3><p>Have you ever called someone and received no response, only to spend the next few hours wondering whether something has changed between you?</p><p>Perhaps you remember an old conversation. Maybe you recall a vague social media post that seems strangely relevant. Suddenly, ordinary events begin to feel like evidence that someone is disappointed in you, misunderstands you, or no longer values the relationship.</p><p>You tell yourself that there could be a perfectly reasonable explanation. Yet another part of your mind keeps asking, “What if something really is wrong?”</p><p>This is where a simple unanswered call can become an exhausting emotional experience.</p><p>The difficulty is not always what happened. Sometimes, it is the meaning we attach to what happened.</p><blockquote><strong>1. When assumptions become emotional realities</strong></blockquote><p>Our minds naturally try to interpret other people’s behaviour. This helps us navigate social relationships, but it can also lead us to conclusions that the available evidence does not support.</p><p>A person doesn’t answer a call, and we interpret it as avoidance. Someone shares an ambiguous status, and we wonder whether it is directed at us. A conversation feels different, and we conclude that the relationship is deteriorating.</p><p>In psychology, this can involve mind-reading — assuming we know what another person thinks — and jumping to conclusions.</p><p>The important distinction is that a thought can feel emotionally convincing without being factually established.</p><p>Consider the difference:</p><p>- Fact: Someone didn’t respond to a call.<br>- Interpretation: They are deliberately avoiding me.<br>- Fear: They no longer care about me.</p><p>Each step moves further away from what we actually know.</p><p>This does not mean our concerns are always unfounded. Sometimes, relationships really do change. It simply means that we should allow evidence, communication, and time to help us understand what is happening instead of treating our first interpretation as the truth.</p><blockquote><strong>2. Why we overthink the people who matter to us</strong></blockquote><p>We rarely spend the same amount of emotional energy interpreting the behaviour of every person we meet.</p><p>The opinions of certain people matter more because of our shared history, their past support, or the affection we associate with them.</p><p>When a relationship that once felt comfortable becomes uncertain, we may become especially sensitive to signs of rejection.</p><p>We begin looking for clues. We replay conversations, analyse silences, and examine small changes in behaviour.</p><p>This can resemble rejection sensitivity, in which ambiguous social cues are experienced as possible signs of rejection.</p><p>Beneath the overthinking, there may be a more vulnerable question:</p><p>“What if I no longer matter to someone who once made me feel important?”</p><p>Recognising this fear is more useful than criticising ourselves for having it. The goal is not to become emotionally detached from people. It is to care about them without interpreting every uncertain interaction as a threat to the relationship.</p><blockquote><strong>3. Changing circumstances do not always mean changing intentions</strong></blockquote><p>Relationships evolve as life changes.</p><p>Education ends. Careers begin. Responsibilities increase. People move to different places, develop new routines, and have less time for spontaneous visits or conversations.</p><p>Someone who once maintained frequent contact may become less communicative without intending to withdraw affection.</p><p>However, the other person may experience that reduced contact differently. They may interpret it as disinterest or feel that the relationship has become less important.</p><p>Both experiences can coexist.</p><p>One person may think, “My circumstances have changed, but I still care.”</p><p>The other may think, “If they cared, they would make more of an effort.”</p><p>Neither person necessarily understands the other’s perspective.</p><p>This is why relationships benefit from communication rather than assumptions. Different expectations about calling, visiting, and expressing affection can create misunderstandings even when neither person intends to hurt the other.</p><p>We should also remember that understanding someone else’s feelings does not require us to accept every conclusion they draw about our intentions.</p><blockquote><strong>4. Gratitude should not become a lifelong debt of guilt</strong></blockquote><p>One of the most painful experiences in a relationship is feeling that someone interprets our behaviour as ingratitude, particularly if they supported us during an important period of our lives.</p><p>Gratitude matters. When people help us, it is natural to want to acknowledge their kindness and maintain the relationship.</p><p>But gratitude and guilt are not the same thing.</p><p>Gratitude encourages us to appreciate what someone has done and to reciprocate when we reasonably can. Guilt can become unhelpful when we feel we must continually prove that we deserve the kindness we received.</p><p>We can be grateful without being constantly available. We can appreciate someone’s support without organising our entire lives around their expectations.</p><p>At the same time, independence should not become an excuse to neglect relationships we genuinely value.</p><p>The healthier approach is to make sincere efforts, communicate when possible, and acknowledge genuine mistakes without turning them into judgments about our entire character.</p><p>We can take responsibility for our behaviour without treating ourselves as bad people.</p><blockquote><strong>5. The hidden exhaustion of trying to control other people’s opinions</strong></blockquote><p>Overthinking often feels like problem-solving.</p><p>We tell ourselves that if we analyse the situation carefully enough, we will discover what someone really thinks, predict what they might do, and protect ourselves from future hurt.</p><p>But another person’s private thoughts are not something we can determine through endless analysis.</p><p>We can consider possibilities, but eventually we reach a limit.</p><p>Beyond that point, repetitive thinking may create more distress than clarity. We become mentally occupied with a conversation that has not happened or an explanation that nobody has confirmed.</p><p>A more useful question is not, “How can I make sure nobody misunderstands me?”</p><p>It is, “How can I respond constructively if someone misunderstands me?”</p><p>We can explain ourselves. We can listen. We can apologise when appropriate. We can improve our behaviour.</p><p>What we cannot do is guarantee that every person will interpret us fairly.</p><p>Emotional maturity includes accepting this limitation.</p><blockquote><strong>6. Practical ways to stop feeding the cycle</strong></blockquote><p>Understanding the psychology is helpful, but it becomes valuable when we apply it to everyday life.</p><p>Separate observations from interpretations.</p><p>When something bothers you, write down what actually happened and what you think it means. Ask yourself whether the conclusion is supported by evidence or influenced by fear.</p><p>Allow more than one explanation.</p><p>Instead of deciding that someone is avoiding you, acknowledge other possibilities. You do not have to convince yourself that everything is fine; you only need to recognise that the situation may be uncertain.</p><p>Communicate directly when it matters.</p><p>If a relationship is important and a misunderstanding appears to persist, a calm conversation is generally more useful than decoding indirect posts or repeatedly reviewing old interactions.</p><p>Make reasonable efforts without chasing reassurance.</p><p>Reach out because you value the relationship, not simply to test whether the other person still cares. One interaction cannot provide permanent certainty about how someone feels.</p><p>Notice when reflection becomes rumination.</p><p>Reflection helps us understand an experience and decide what to do. Rumination repeatedly revisits the same questions without producing a new insight or useful action.</p><p>When you notice the cycle, acknowledge the thought and return to something meaningful in the present. You do not have to resolve every uncertainty before continuing with your day.</p><p>Build an identity that extends beyond other people’s approval.</p><p>Your character is reflected in your actions, honesty, consideration, and willingness to learn. It cannot be measured entirely by how another person interprets a particular interaction.</p><blockquote><strong>7. You can care deeply and still choose peace</strong></blockquote><p>Perhaps the most important lesson is that we do not need to stop caring about people to stop overthinking them.</p><p>We can value relationships, appreciate the people who helped us, and make genuine efforts to remain connected.</p><p>We can also recognise that people have different expectations, that misunderstandings sometimes occur, and that some relationships change over time.</p><p>When we make a mistake, we can acknowledge it. When someone is hurt, we can listen. When clarification is needed, we can communicate.</p><p>But we do not have to spend every quiet moment defending ourselves against imagined judgments.</p><p>Not every unanswered call is rejection. Not every ambiguous message is about us. Not every change in communication means affection has disappeared.</p><p>And even when a relationship is genuinely strained, repeatedly punishing ourselves will not repair it.</p><p>Sometimes, the healthiest response is to make a sincere effort, accept what remains outside our control, and allow time to reveal what we cannot know today.</p><blockquote><strong>Conclusion: Let reality speak louder than fear</strong></blockquote><p>Relationships will always contain some uncertainty. We will not always know what another person thinks, why they behaved a certain way, or whether a connection will remain unchanged.</p><p>Our task is not to eliminate that uncertainty. It is to become more comfortable navigating it.</p><p>We can replace assumptions with curiosity, guilt with responsible action, and endless analysis with honest communication.</p><p>We can be grateful without living in debt, maintain relationships without losing ourselves, and accept that being misunderstood does not automatically make us guilty.</p><p>Care sincerely. Communicate clearly. Reflect honestly. And remember that your peace does not have to depend on knowing what everyone thinks of you.</p><p>Perhaps that is a quieter, healthier kind of emotional freedom: not needing every relationship to be perfectly certain before allowing yourself to feel at peace.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd45b560949a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Components]]></title>
            <link>https://medium.com/@diwakar.allu.3435/kubernetes-components-2e3a3350c016?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e3a3350c016</guid>
            <category><![CDATA[stateful]]></category>
            <category><![CDATA[pods]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 18:51:30 GMT</pubDate>
            <atom:updated>2026-10-08T18:51:30.826Z</atom:updated>
            <content:encoded><![CDATA[<h3>🏢 Imagine Kubernetes as a huge apartment complex</h3><p>Let’s say you’re managing a huge apartment complex.</p><pre>           KUBERNETES CLUSTER<br>              🏢🏢🏢🏢🏢<br>                    │<br>        ┌───────────┴───────────┐<br>        │                       │<br>   Control Plane           Worker Nodes<br>   🧠 Management             🏠 Buildings</pre><p>Your applications are the <strong>people living in apartments</strong>.</p><p>Now let’s understand every Kubernetes component.</p><h3>1. Pod = Apartment 🏠</h3><p>A <strong>Pod</strong> is the smallest deployable unit in Kubernetes.</p><p>Think:</p><blockquote><strong><em>Pod = apartment</em></strong></blockquote><p>Inside an apartment, you can have one person or several people.</p><p>Similarly, a Pod can have:</p><pre>Pod<br>└── Container</pre><p>or:</p><pre>Pod<br>├── Container A<br>└── Container B</pre><p>Most of the time, you’ll see:</p><pre>Pod<br>└── Your application container</pre><p>For example:</p><pre>User Service Pod<br>└── user-service container<br>Order Service Pod<br>└── order-service container<br>Payment Service Pod<br>└── payment-service container</pre><h3>Important:</h3><p>A Pod is <strong>not</strong> the same thing as a container.</p><p>Think:</p><pre>Apartment<br>   ↓<br>  Pod<br>   ↓<br>Person<br>   ↓<br>Container</pre><p>The Pod is the Kubernetes unit that wraps the container.</p><h3>2. Every Pod gets an IP 📍</h3><p>Imagine every apartment gets an address:</p><pre>Pod A → 10.0.0.5<br>Pod B → 10.0.0.6<br>Pod C → 10.0.0.7</pre><p>Other Pods can communicate using these IP addresses.</p><p>But here’s the problem.</p><p>What happens if Pod A dies?</p><pre>10.0.0.5 ❌</pre><p>Kubernetes creates a replacement:</p><pre>New Pod → 10.0.0.20</pre><p>The IP changed!</p><p>So if your application says:</p><blockquote><em>“I’ll always connect to </em><em>10.0.0.5.&quot;</em></blockquote><p>💥 That’s a problem.</p><p>This is why we need <strong>Service</strong>.</p><h3>3. Service = Apartment complex reception ☎️</h3><p>Imagine you have 3 apartments occupied by people who all work for the <strong>User Service</strong>.</p><pre>User Service<br>│<br>├── Pod A → 10.0.0.5<br>├── Pod B → 10.0.0.6<br>└── Pod C → 10.0.0.7</pre><p>Instead of giving everyone three different addresses, the apartment complex gives them <strong>one reception number</strong>:</p><pre>User Service<br>☎️ 555-1000</pre><p>Now another application says:</p><blockquote><em>“I need User Service.”</em></blockquote><p>It calls:</p><pre>User Service<br>     ↓<br>   Service<br>     ↓<br> ┌───┼───┐<br> ↓   ↓   ↓<br>Pod Pod Pod</pre><p>The Service sends the request to an appropriate Pod.</p><p>That’s the core idea.</p><blockquote><strong><em>Service provides a stable way to reach Pods.</em></strong></blockquote><h3>4. Why do we need Service?</h3><p>Because Pods are temporary.</p><p>This is VERY important.</p><p>Imagine:</p><pre>User Service<br>│<br>├── Pod A<br>├── Pod B<br>└── Pod C</pre><p>Pod B crashes.</p><p>Kubernetes creates:</p><pre>User Service<br>│<br>├── Pod A<br>├── Pod C<br>└── Pod D ← new</pre><p>Pod D has a new IP.</p><p>But the Service doesn’t care.</p><p>The Service continues to point to the appropriate Pods.</p><p>That’s why we don’t want applications communicating directly with Pod IPs.</p><h3>5. Internal vs External Service</h3><p>Now imagine our apartment complex.</p><p>Some people live <strong>inside</strong> the complex.</p><p>Others are visitors coming from <strong>outside</strong>.</p><p>Same idea in Kubernetes.</p><h3>Internal communication</h3><p>Suppose:</p><pre>Order Service<br>      ↓<br>User Service</pre><p>Both are inside the Kubernetes cluster.</p><p>They can communicate internally.</p><p>That’s essentially:</p><pre>Order Pod<br>   ↓<br>User Service<br>   ↓<br>User Pods</pre><p>This is internal cluster communication.</p><h3>6. External traffic 🌍</h3><p>Now imagine a customer sitting outside the apartment complex.</p><p>They want to access your application.</p><pre>🌍 Internet<br>     ↓<br>  Kubernetes<br>     ↓<br>Your application</pre><p>We need a way to bring external traffic inside.</p><p>There are several ways to expose applications, including Services such as LoadBalancer and NodePort, and another major Kubernetes component called <strong>Ingress</strong>.</p><p>For now, think:</p><blockquote><strong><em>Ingress = traffic controller at the entrance.</em></strong></blockquote><p>Example:</p><pre>                🌍 Internet<br>                     │<br>                     ↓<br>                  Ingress<br>                     │<br>          ┌──────────┼──────────┐<br>          ↓          ↓          ↓<br>       User       Order      Payment<br>      Service     Service     Service</pre><p>Ingress can look at things such as the requested hostname/path and route traffic to the appropriate Service.</p><h3>7. ConfigMap = Notice board 📋</h3><p>Now suppose your application needs configuration:</p><pre>DATABASE_HOST=postgres<br>DATABASE_PORT=5432<br>LOG_LEVEL=INFO</pre><p>Should we hard-code these inside our application?</p><p>Not ideal.</p><p>Imagine the apartment manager has a <strong>notice board</strong>:</p><pre>📋 CONFIGURATION<br>Water timing: 7 AM<br>Parking: Basement 2<br>Emergency number: 100</pre><p>Anyone who needs this information can use it.</p><p>Kubernetes has:</p><blockquote><strong><em>ConfigMap</em></strong></blockquote><p>It’s used to store <strong>non-sensitive configuration data</strong>.</p><p>For example:</p><pre>ConfigMap<br>├── DATABASE_HOST=postgres<br>├── DATABASE_PORT=5432<br>└── LOG_LEVEL=INFO</pre><p>Your Pod can use that configuration.</p><h3>8. Secret = Locked safe 🔐</h3><p>Now suppose you have:</p><pre>DB_USERNAME=admin<br>DB_PASSWORD=secret123</pre><p>You don’t want these sitting on a public notice board.</p><p>So you use a <strong>locked safe</strong>.</p><p>That’s Kubernetes <strong>Secret</strong>.</p><p>Think:</p><pre>ConfigMap<br>📋<br>&quot;Normal configuration&quot;<br><br><br>Secret<br>🔐<br>&quot;Sensitive configuration&quot;</pre><p>Secrets are intended for sensitive data such as:</p><ul><li>passwords</li><li>tokens</li><li>credentials</li><li>keys</li></ul><p><strong>Base64 is encoding, not encryption.</strong></p><p>For example:</p><pre>hello</pre><p>can become:</p><pre>aGVsbG8=</pre><p>Anyone can decode that.</p><p>So don’t think:</p><blockquote><em>Secret = encrypted password.</em></blockquote><p>Instead:</p><blockquote><strong><em>Secret = Kubernetes mechanism for handling sensitive configuration; Base64 encoding by itself is NOT encryption.</em></strong></blockquote><p>Security of Secrets also depends on how the cluster is configured and how access is controlled.</p><h3>9. Now the BIG problem: What happens to data?</h3><p>Imagine you have a database inside a Pod.</p><pre>Database Pod<br>└── PostgreSQL<br>     └── Customer data</pre><p>Suppose the Pod dies.</p><pre>Pod 💥</pre><p>Kubernetes creates a new Pod:</p><pre>New Pod<br>└── PostgreSQL</pre><p>But if the database data was stored only inside the old Pod/container filesystem…</p><p>💥 <strong>Your data could be lost.</strong></p><p>That’s unacceptable for a database.</p><p>So we need <strong>persistent storage</strong>.</p><h3>10. Volume = Storage room 📦</h3><p>Imagine your apartment has a storage room outside the apartment.</p><pre>Pod 🏠<br> │<br> └──────→ Storage 📦</pre><p>The Pod can use that storage.</p><p>If the apartment is destroyed:</p><pre>Old Pod 💥</pre><pre>Storage 📦<br>   ↓<br>still exists</pre><p>New Pod:</p><pre>New Pod 🏠<br>    │<br>    └──────→ same Storage 📦</pre><p>Your data survives.</p><p>That’s the basic idea of a Kubernetes <strong>Volume</strong>.</p><h3>11. Local vs Remote storage</h3><p>There are different ways storage can be provided.</p><h3>Local storage</h3><p>Think:</p><blockquote><em>Storage room inside the same building.</em></blockquote><pre>Worker Node<br>│<br>├── Pod<br>└── Disk</pre><p>But if the whole building burns down:</p><pre>🏢 💥</pre><p>your storage may disappear too.</p><h3>Remote storage</h3><p>Now imagine your important documents are stored in a separate secure warehouse:</p><pre>Worker Node<br>     │<br>     ↓<br>    Pod<br>     │<br>     ↓<br>☁️ Remote Storage</pre><p>Even if the Worker Node disappears:</p><pre>Worker Node 💥</pre><p>the remote storage can still exist.</p><p>This is why production databases commonly use appropriate persistent storage rather than relying on a Pod’s ephemeral filesystem.</p><h3>12. Replicas = Multiple apartments 🏠🏠🏠</h3><p>Now imagine your application is extremely popular.</p><p>You don’t want only one apartment containing your application.</p><p>You want:</p><pre>User Service<br>│<br>├── Pod A<br>├── Pod B<br>└── Pod C</pre><p>These are <strong>replicas</strong>.</p><p>If Pod A dies:</p><pre>Pod A 💥<br>Pod B<br>Pod C</pre><p>Your Service can still send traffic to the remaining healthy Pods while Kubernetes works to restore the desired number.</p><p>This gives you <strong>higher availability</strong>.</p><h3>13. But who creates all these replicas?</h3><p>Imagine telling your apartment manager:</p><blockquote><em>“I need 3 apartments for my User Service.”</em></blockquote><p>You don’t want to manually create:</p><pre>Pod A<br>Pod B<br>Pod C<br>Service<br>Configuration<br>...</pre><p>every time.</p><p>This is where <strong>Deployment</strong> becomes important.</p><h3>14. Deployment = Apartment manager’s instruction sheet 📝</h3><p>You give the manager one document:</p><blockquote><em>“I want 3 apartments running my User Service.”</em></blockquote><p>That’s similar to a <strong>Deployment</strong>.</p><p>Conceptually:</p><pre>Deployment<br>│<br>│ &quot;I want 3 replicas&quot;<br>│<br>↓<br>Replica management<br>│<br>├── Pod A<br>├── Pod B<br>└── Pod C</pre><p>If one disappears:</p><pre>Deployment<br>     ↓<br>&quot;I need 3&quot;<br>     ↓<br>Pod A<br>Pod B<br>Pod C</pre><p>Deployment helps manage the desired number of replicas and the lifecycle of application Pods.</p><p>It also supports things such as <strong>rolling updates</strong> and <strong>rollbacks</strong>.</p><h3>15. Deployment vs Pod</h3><p>This distinction is VERY important.</p><p>Don’t think:</p><pre>Deployment = Pod</pre><p>Think:</p><pre>Deployment<br>     │<br>     ├── Pod<br>     ├── Pod<br>     └── Pod</pre><h3>Pod</h3><blockquote><em>“Run this application instance.”</em></blockquote><h3>Deployment</h3><blockquote><em>“I want this application running with this desired number of replicas, and I want Kubernetes to manage those Pods.”</em></blockquote><h3>16. Stateless vs Stateful</h3><p>Now we reach the final concept.</p><p>Imagine a <strong>restaurant waiter</strong>.</p><p>The waiter doesn’t need to remember your entire history.</p><p>If waiter A disappears:</p><pre>Waiter A 💥</pre><p>Waiter B can take over.</p><p>That’s similar to a <strong>stateless application</strong>.</p><p>For example:</p><pre>REST API</pre><p>You can usually run:</p><pre>API Pod 1<br>API Pod 2<br>API Pod 3</pre><p>Any Pod can handle the request.</p><p>That’s a great use case for <strong>Deployment</strong>.</p><h3>17. Database = completely different story</h3><p>Imagine your database.</p><p>It contains:</p><pre>Customer 1<br>Customer 2<br>Customer 3<br>Orders<br>Payments<br>...</pre><p>The data matters.</p><p>You can’t simply say:</p><blockquote><em>“Database Pod died. Let’s create another empty database.” </em>😅</blockquote><p>You need persistent identity/storage and careful handling.</p><p>That’s where <strong>StatefulSet</strong> is useful for stateful workloads.</p><p>Think:</p><pre>Deployment<br>→ &quot;I have interchangeable workers.&quot;<br><br>StatefulSet<br>→ &quot;These workers have identity and persistent state.&quot;</pre><p>This is simplified, but it’s a good beginner mental model.</p><h3>18. The entire lecture in ONE picture</h3><p>This is the picture I’d keep in your notes:</p><pre>                       🌍 INTERNET<br>                              │<br>                              ↓<br>                         INGRESS 🚪<br>                              │<br>                              ↓<br>                        SERVICE ☎️<br>                              │<br>                 ┌────────────┼────────────┐<br>                 ↓            ↓            ↓<br>              POD 🏠       POD 🏠       POD 🏠<br>                 │            │            │<br>            Container     Container     Container<br>                 │            │            │<br>                 └────────────┼────────────┘<br>                              │<br>                         APPLICATION<br>                              │<br>                              ↓<br>                        VOLUME / STORAGE<br>                              📦<br></pre><pre>       ┌─────────────────────────────────────────┐<br>       │           CONFIGURATION                 │<br>       │                                         │<br>       │  ConfigMap 📋       Secret 🔐           │<br>       └─────────────────────────────────────────┘<br></pre><pre>                  DEPLOYMENT 📝<br>                       │<br>                 &quot;I want 3 Pods&quot;<br>                       │<br>              ┌────────┼────────┐<br>              ↓        ↓        ↓<br>             Pod      Pod      Pod</pre><h3>⭐ The most important flow</h3><p>When you eventually deploy your Spring Boot application, you’ll start seeing something like:</p><pre>Spring Boot App<br>      ↓<br>Docker Image<br>      ↓<br>Deployment<br>      ↓<br>Pods<br>      ↓<br>Containers<br>      ↓<br>Service<br>      ↓<br>Ingress<br>      ↓<br>🌍 Users</pre><p>And configuration/storage attach around that:</p><pre>             Deployment<br>                 ↓<br>               Pods<br>          ↙      ↓      ↘<br>    ConfigMap  Secret   Volume</pre><p>Keep this distinction crystal clear:</p><blockquote><strong><em>Container = where the application process runs.</em></strong></blockquote><blockquote><strong><em>Pod = Kubernetes’ unit that wraps/runs one or more containers.</em></strong></blockquote><p>And:</p><blockquote><strong><em>Deployment manages Pods.</em></strong></blockquote><blockquote><strong><em>Service provides stable networking to Pods.</em></strong></blockquote><blockquote><strong><em>Volume gives Pods persistent storage.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e3a3350c016" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes Architecture]]></title>
            <link>https://medium.com/@diwakar.allu.3435/kubernetes-architecture-b4363f7d2104?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4363f7d2104</guid>
            <category><![CDATA[kubernetes-cluster]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kubernetes-pods]]></category>
            <category><![CDATA[k8s-architecture]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 18:19:26 GMT</pubDate>
            <atom:updated>2026-10-08T18:19:26.025Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s use <strong>one analogy: a big restaurant chain</strong> 🍔, and map every Kubernetes component to something in that restaurant.</p><h3>1. First: What is a Kubernetes Cluster?</h3><p>Imagine you have a <strong>restaurant company</strong>.</p><p>You have several buildings where work happens:</p><pre>                 KUBERNETES CLUSTER<br>                         🏢<br>             &quot;The whole restaurant company&quot;<br>                    /           \<br>                   /             \<br>          Control Plane       Worker Nodes<br>          🧠 Management        👷 Workers</pre><p>A <strong>Kubernetes Cluster</strong> is simply:</p><blockquote><strong><em>The whole Kubernetes environment containing the management components and the machines that run your applications.</em></strong></blockquote><h3>2. Two big parts</h3><p>We start with:</p><blockquote><em>Master Node + Worker Nodes</em></blockquote><p>Modern Kubernetes terminology usually calls <strong>Master Node</strong> the <strong>Control Plane</strong>.</p><p>So remember:</p><pre>Kubernetes Cluster<br>│<br>├── Control Plane 🧠<br>│<br>└── Worker Nodes 👷<br>    ├── Worker 1<br>    ├── Worker 2<br>    └── Worker 3</pre><p>Think:</p><ul><li><strong>Control Plane = Manager’s office</strong></li><li><strong>Worker Nodes = Restaurant kitchens</strong></li></ul><p>The manager decides <strong>what should happen</strong>.</p><p>The workers actually <strong>do the work</strong>.</p><h3>3. Control Plane = Restaurant manager 🧑‍💼</h3><p>Imagine the restaurant manager’s office.</p><p>The manager needs to know:</p><ul><li>What restaurants exist?</li><li>How many cooks should be working?</li><li>Which cook is working where?</li><li>What orders need to be handled?</li><li>Is something broken?</li><li>Where should new workers be assigned?</li></ul><p>Kubernetes has several components that handle these responsibilities.</p><p>The big four you should understand first are:</p><pre>CONTROL PLANE<br>│<br>├── API Server<br>├── Scheduler<br>├── Controller Manager<br>└── etcd</pre><p>Don’t worry about the names yet.</p><p>We’ll give each one a job.</p><h3>4. API Server = Receptionist 📞</h3><p>This is probably the easiest analogy.</p><p>Imagine the manager’s office has a <strong>receptionist</strong>.</p><p>You want something done.</p><p>You don’t walk directly into the manager’s brain.</p><p>You tell the receptionist:</p><blockquote><em>“I want 3 pizza cooks.”</em></blockquote><p>The receptionist receives your request and passes it into the management system.</p><p>In Kubernetes:</p><pre>You<br> ↓<br>kubectl<br> ↓<br>API Server<br> ↓<br>Kubernetes Control Plane</pre><p>For example, when you type:</p><pre>kubectl get pods</pre><p>you’re essentially saying:</p><blockquote><em>“Hey Kubernetes, tell me about my Pods.”</em></blockquote><p>kubectl communicates with the <strong>API Server</strong>.</p><h3>5. Why is the API Server important?</h3><p>Because almost everything goes through it.</p><p>Think:</p><pre>Developer<br>    ↓<br> kubectl<br>    ↓<br>API Server<br>    ↓<br>Kubernetes</pre><p>You might want to:</p><ul><li>create something</li><li>delete something</li><li>inspect something</li><li>update something</li></ul><p>The API Server is the <strong>front door</strong> of Kubernetes.</p><p>That’s a very good mental model:</p><blockquote><strong><em>API Server = front door of the Kubernetes cluster.</em></strong></blockquote><h3>6. Scheduler = “Which kitchen should this worker go to?” 👨‍🍳</h3><p>Now imagine you have three kitchens:</p><pre>Kitchen A 🏢<br>Kitchen B 🏢<br>Kitchen C 🏢</pre><p>You say:</p><blockquote><em>“I need another pizza cook.”</em></blockquote><p>Who decides where that cook should work?</p><p>The <strong>Scheduler</strong>.</p><p>It looks at things like:</p><pre>Kitchen A → full<br>Kitchen B → lots of space<br>Kitchen C → medium space</pre><p>and says:</p><blockquote><em>“Put the new cook in Kitchen B.”</em></blockquote><p>In Kubernetes:</p><pre>New Pod<br>  ↓<br>Scheduler<br>  ↓<br>Chooses appropriate Worker Node</pre><p>So:</p><blockquote><strong><em>Scheduler = decides which Worker Node should run a Pod.</em></strong></blockquote><p>Very important distinction:</p><h3>Scheduler does NOT run the container.</h3><p>It <strong>decides where it should run</strong>.</p><h3>7. Worker Node = Kitchen 👨‍🍳</h3><p>Now we’ve chosen:</p><pre>Pod → Worker Node 2</pre><p>Worker Node 2 is where the actual application runs.</p><p>Think:</p><pre>Worker Node<br>🏢<br>│<br>├── Pod<br>│    └── Container<br>│<br>├── Pod<br>│    └── Container<br>│<br>└── Pod<br>     └── Container</pre><p>So:</p><blockquote><strong><em>Worker Node = machine where your application workloads actually run.</em></strong></blockquote><h3>8. kubelet = Kitchen supervisor 👷</h3><p>Every Worker Node has a <strong>kubelet</strong>.</p><p>Imagine each restaurant kitchen has a supervisor.</p><p>The manager says:</p><blockquote><em>“Kitchen B should have 3 cooks.”</em></blockquote><p>The kitchen supervisor makes sure that happens.</p><p>That’s kubelet.</p><pre>Control Plane<br>      ↓<br> &quot;Run this Pod&quot;<br>      ↓<br>   kubelet<br>      ↓<br>Worker Node<br>      ↓<br>   Container</pre><p>The kubelet communicates with the Kubernetes control plane and makes sure the Pods assigned to its node are running properly.</p><p>So:</p><blockquote><strong><em>kubelet = supervisor on each Worker Node.</em></strong></blockquote><h3>9. Now we have the basic picture</h3><p>This is the picture I want you to understand before anything else:</p><pre>                 KUBERNETES CLUSTER<br>                         │<br>              ┌──────────┴──────────┐<br>              │                     │<br>       CONTROL PLANE           WORKER NODE<br>        🧑‍💼 Manager              🏢 Kitchen<br>              │                     │<br>              │                     ├── Pod<br>              │                     │    └── Container<br>              │                     │<br>              │                     ├── Pod<br>              │                     │    └── Container<br>              │                     │<br>              │                     └── Pod<br>              │                          └── Container<br>              │<br>       ┌──────┼──────────┐<br>       │      │          │<br>    API      Scheduler   Controller<br>   Server               Manager<br>       │<br>      etcd</pre><p>Now let’s understand the remaining pieces.</p><h3>10. Controller Manager = “Are things still as I requested?” 👀</h3><p>This is <strong>one of the most important concepts</strong>.</p><p>Remember when we talked about <strong>desired state</strong>?</p><p>You say:</p><blockquote><em>“I want 3 copies of my application.”</em></blockquote><p>Kubernetes needs somebody constantly checking:</p><pre>Desired = 3<br>Actual  = 3</pre><p>Everything is good.</p><p>But suppose:</p><pre>Desired = 3<br>Actual  = 2</pre><p>Someone needs to notice that.</p><p>That’s where <strong>controllers</strong> come in.</p><p>Think of the Controller Manager as a group of supervisors constantly checking:</p><blockquote><em>“Is reality matching what the boss requested?”</em></blockquote><p>If not, they take corrective action.</p><h3>11. Example: One Pod dies</h3><p>You requested:</p><pre>📦 📦 📦</pre><p>But one dies:</p><pre>📦 💥 📦</pre><p>Controller notices:</p><pre>Desired = 3<br>Actual = 2</pre><p>So Kubernetes works toward:</p><pre>📦 📦 📦</pre><p>This is why Kubernetes is called a <strong>self-healing system</strong>.</p><p>Not magic.</p><p>It’s continuously checking and correcting the state.</p><h3>12. etcd = Restaurant’s notebook/database 📖</h3><p>Now imagine the manager has a very important notebook.</p><p>It contains information like:</p><pre>Restaurant:<br>    3 pizza cooks required<br>Kitchen A:<br>    2 Pods<br>Kitchen B:<br>    1 Pod<br>Kitchen C:<br>    0 Pods</pre><p>This information needs to be stored somewhere.</p><p>Kubernetes uses <strong>etcd</strong>.</p><p>Think:</p><blockquote><strong><em>etcd = Kubernetes’ database/storage for cluster state.</em></strong></blockquote><p>It stores important information about the cluster.</p><p>For example:</p><pre>What resources exist?<br>What configuration exists?<br>What is the desired state?</pre><p>So:</p><pre>            Control Plane<br>                  │<br>                 etcd<br>                  │<br>          &quot;Cluster&#39;s memory&quot;</pre><h3>13. Now put the four together</h3><p>Imagine you say:</p><blockquote><em>“I want 3 copies of my Order Service.”</em></blockquote><h3>Step 1 — API Server</h3><p>You tell Kubernetes:</p><pre>&quot;I want 3 Order Service Pods.&quot;</pre><p>The request enters through:</p><pre>API Server</pre><h3>Step 2 — etcd</h3><p>Kubernetes stores the desired state:</p><pre>Order Service → 3 replicas</pre><h3>Step 3 — Scheduler</h3><p>Kubernetes needs to figure out:</p><pre>Where should these Pods run?</pre><p>Scheduler chooses:</p><pre>Pod 1 → Node A<br>Pod 2 → Node B<br>Pod 3 → Node B</pre><h3>Step 4 — kubelet</h3><p>The kubelet on each node makes sure the assigned Pods actually run.</p><h3>Step 5 — Controller</h3><p>Controllers continuously check:</p><pre>&quot;Did we actually get 3?&quot;</pre><p>If something disappears:</p><pre>Desired = 3<br>Actual = 2</pre><p>Kubernetes works to bring it back to:</p><pre>Desired = 3<br>Actual = 3</pre><h3>14. Now let’s talk about Pods 🫛</h3><blockquote><em>Pod is the smallest deployable unit in Kubernetes.</em></blockquote><p>This is important.</p><p>Don’t think:</p><pre>Kubernetes → Container</pre><p>Think:</p><pre>Kubernetes<br>    ↓<br>   Pod<br>    ↓<br> Container</pre><p>A Pod is like a <strong>small apartment</strong>.</p><p>Usually:</p><pre>Pod<br>└── Container</pre><p>But sometimes:</p><pre>Pod<br>├── Container A<br>└── Container B</pre><p>Containers inside the same Pod can share certain things, such as networking and storage.</p><p>For now, just remember:</p><blockquote><strong><em>Pod is the basic unit Kubernetes schedules and manages.</em></strong></blockquote><h3>15. The problem with Pod IP addresses</h3><p>Suppose you have your User Service.</p><p>You run 3 copies:</p><pre>User Pod 1 → 10.0.0.5<br>User Pod 2 → 10.0.0.8<br>User Pod 3 → 10.0.0.12</pre><p>Another application wants to talk to User Service.</p><p>Should it remember all three IP addresses?</p><p>No.</p><p>And there’s another problem.</p><p>Pods are temporary.</p><p>Pod 2 might die:</p><pre>10.0.0.8 ❌</pre><p>A replacement could get a completely different IP:</p><pre>10.0.0.25</pre><p>That would be a nightmare if other applications directly depended on Pod IPs.</p><h3>16. Service = Restaurant’s permanent phone number ☎️</h3><p>This is where <strong>Service</strong> comes in.</p><p>Imagine your restaurant has 3 phone numbers for 3 workers.</p><p>That’s messy.</p><p>Instead, give the restaurant <strong>one official phone number</strong>:</p><pre>            User Service<br>             ☎️ 555-1234<br>                  │<br>          ┌───────┼───────┐<br>          ↓       ↓       ↓<br>        Pod 1   Pod 2   Pod 3</pre><p>Other applications call:</p><pre>User Service</pre><p>instead of knowing individual Pod IPs.</p><p>The Service then helps route the request to one of the appropriate Pods.</p><p>So:</p><blockquote><strong><em>Service = stable network endpoint for reaching a set of Pods.</em></strong></blockquote><p>This is VERY important.</p><h3>17. The whole story now</h3><p>Let’s connect everything.</p><p>Imagine:</p><pre>                       YOU<br>                        │<br>                        │<br>                  &quot;Run 3 Users&quot;<br>                        │<br>                        ↓<br>                 API SERVER<br>                 📞 Front Door<br>                        │<br>          ┌─────────────┴─────────────┐<br>          ↓                           ↓<br>       etcd                      Controllers<br>    📖 Memory                       👀<br>          │<br>          │<br>      Scheduler<br>       🧭 &quot;Where?&quot;<br>          │<br>     ┌────┼──────────────┐<br>     ↓    ↓              ↓<br>   Node 1 Node 2       Node 3<br>    🏢     🏢            🏢<br>     │      │<br>    Pod    Pod<br>     │      │<br>  Container Container<br><br>           ↓<br>        SERVICE<br>        ☎️ Stable address<br>           │<br>       ┌───┼───┐<br>       ↓   ↓   ↓<br>      Pod Pod Pod</pre><h3>⭐ If you remember only 6 things</h3><p>For now, forget everything else and remember this:</p><h3>1. Cluster</h3><blockquote><strong><em>The entire Kubernetes environment.</em></strong></blockquote><h3>2. Control Plane</h3><blockquote><strong><em>The brain/management side.</em></strong></blockquote><h3>3. Worker Node</h3><blockquote><strong><em>The machine where applications run.</em></strong></blockquote><h3>4. Pod</h3><blockquote><strong><em>The basic unit Kubernetes runs.</em></strong></blockquote><h3>5. kubelet</h3><blockquote><strong><em>The worker-node supervisor that makes sure Pods run.</em></strong></blockquote><h3>6. Service</h3><blockquote><strong><em>A stable way to reach Pods.</em></strong></blockquote><p>And the most important flow:</p><pre>               CONTROL PLANE 🧠<br>                       │<br>              ┌────────┼────────┐<br>              │        │        │<br>           API      Scheduler  Controllers<br>          Server       │        │<br>              │        │        │<br>              └────────┼────────┘<br>                       │<br>                    kubelet<br>                       │<br>                       ↓<br>                 WORKER NODE<br>                       │<br>                      POD<br>                       │<br>                  CONTAINER<br>                       │<br>                 Your Java App</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4363f7d2104" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes — like running a huge restaurant ]]></title>
            <link>https://medium.com/@diwakar.allu.3435/kubernetes-like-running-a-huge-restaurant-58dddb32f442?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/58dddb32f442</guid>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[deployment]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Thu, 08 Oct 2026 17:59:54 GMT</pubDate>
            <atom:updated>2026-10-08T17:59:54.842Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine you own a huge restaurant.</p><p>You have many things happening:</p><ul><li>Customers place orders.</li><li>Cooks prepare food.</li><li>Cashiers take payments.</li><li>Delivery people deliver food.</li><li>You may need 20 cooks during lunch and only 5 at midnight.</li><li>If a cook doesn’t show up, you need someone else.</li><li>If customers suddenly increase, you need more cooks.</li></ul><p>Now let’s map this to software.</p><h3>1. Traditional deployment = one kitchen</h3><p>Imagine you have <strong>one kitchen</strong>.</p><p>Inside the kitchen you have:</p><pre>Kitchen<br> ├── Cook 1 → makes Pizza<br> ├── Cook 2 → makes Burgers<br> └── Cook 3 → makes Pasta</pre><p>In software terms:</p><pre>Computer<br>   ↓<br>Operating System<br>   ↓<br>Applications</pre><p>The problem?</p><p>Suppose:</p><ul><li>Pizza cook needs <strong>Java 8</strong></li><li>Burger cook needs <strong>Java 17</strong></li><li>Pasta cook needs <strong>Python</strong></li></ul><p>They all share the same kitchen environment.</p><p>You can make it work, but things can become messy.</p><h3>2. Virtual Machines = separate kitchens</h3><p>So you say:</p><blockquote><em>“Let’s give every team its own kitchen.”</em></blockquote><p>Now:</p><pre>Big Building<br>│<br>├── Kitchen 1<br>│    ├── Its own equipment<br>│    ├── Its own rules<br>│    └── Pizza team<br>│<br>├── Kitchen 2<br>│    ├── Its own equipment<br>│    ├── Its own rules<br>│    └── Burger team<br>│<br>└── Kitchen 3<br>     ├── Its own equipment<br>     ├── Its own rules<br>     └── Pasta team</pre><p>This is like <strong>Virtual Machines (VMs)</strong>.</p><p>Each VM gets its own operating system.</p><pre>Physical Computer<br>       ↓<br>    Hypervisor<br>       ↓<br> ┌───────────┐  ┌───────────┐<br> │    VM 1   │  │    VM 2   │<br> │           │  │           │<br> │ Guest OS  │  │ Guest OS  │<br> │ Java 8    │  │ Java 17   │<br> │ App A     │  │ App B     │<br> └───────────┘  └───────────┘</pre><h3>Why is this good?</h3><p>The kitchens are isolated.</p><p>Pizza’s equipment doesn’t interfere with Burger’s equipment.</p><p>Similarly:</p><pre>VM 1 → Java 8<br>VM 2 → Java 17</pre><p>No problem.</p><h3>But there’s a problem…</h3><p>Every kitchen needs <strong>its own complete infrastructure</strong>.</p><p>In VM terms, every VM needs its own OS.</p><p>That’s expensive.</p><p>It’s like building:</p><blockquote><em>🏠 A complete house for every cook.</em></blockquote><p>Even if the cook only needs a small room!</p><h3>3. Containers = separate rooms</h3><p>Now we become smarter.</p><p>Instead of giving every cook a complete house, we say:</p><blockquote><em>“Everyone can share the building’s basic infrastructure, but I’ll give each team its own room.”</em></blockquote><p>So:</p><pre>             Building<br>                 │<br>          Shared infrastructure<br>                 │<br>       ┌─────────┼─────────┐<br>       ↓         ↓         ↓<br>     Room 1    Room 2    Room 3<br>       ↓         ↓         ↓<br>     Pizza     Burger     Pasta</pre><p>That’s roughly the idea behind <strong>containers</strong>.</p><p>Technically:</p><pre>Physical Machine<br>       ↓<br>    Host OS<br>       ↓<br>Container Runtime<br>       ↓<br> ┌──────────┬──────────┬──────────┐<br> │Container │Container │Container │<br> │          │          │          │<br> │App A     │App B     │App C     │<br> └──────────┴──────────┴──────────┘</pre><p>Docker is a popular container technology.</p><h3>4. Why are containers useful?</h3><p>Let’s say your company has:</p><pre>100 applications</pre><p>You could package each application into a container.</p><p>For example:</p><pre>📦 Container 1 → User Service<br>📦 Container 2 → Order Service<br>📦 Container 3 → Payment Service<br>📦 Container 4 → Product Service<br>📦 Container 5 → Notification Service<br>...<br>📦 Container 500</pre><p>Now containers are lightweight.</p><p>Great!</p><p>But…</p><p><strong>Who is going to manage 500 containers?</strong> 😰</p><h3>5. Imagine you’re the restaurant manager</h3><p>You have 500 workers.</p><p>You tell your manager:</p><blockquote><em>“I need 10 pizza cooks.”</em></blockquote><p>The manager makes sure 10 are working.</p><p>If one quits:</p><pre>Before:<br><br>👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳<br>👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 ❌<br>Only 9</pre><p>The manager says:</p><blockquote><em>“We need 10.”</em></blockquote><p>So:</p><pre>👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳<br>👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳</pre><p>Back to 10.</p><p>That’s <strong>exactly the kind of problem Kubernetes helps solve</strong>.</p><h3>6. Kubernetes = the restaurant manager 👨‍💼</h3><p>Kubernetes is like a <strong>super-smart manager for containers</strong>.</p><p>You tell Kubernetes:</p><blockquote><em>“I want 3 copies of my Order Service.”</em></blockquote><p>Kubernetes says:</p><pre>Okay.<br><br>Order Service<br>      ↓<br> ┌────┼────┐<br> ↓    ↓    ↓<br>📦   📦   📦</pre><p>Three containers are running.</p><p>Now suppose one crashes:</p><pre>📦   💥   📦</pre><p>Kubernetes notices:</p><blockquote><em>“Hey! The boss said there should be 3.”</em></blockquote><p>So it creates another:</p><pre>📦   📦   📦</pre><p>You don’t manually create it.</p><h3>7. This is the most important Kubernetes concept</h3><p>You say:</p><blockquote><strong><em>“I want this.”</em></strong></blockquote><p>Kubernetes tries to make reality match what you requested.</p><p>For example:</p><pre>You:<br>&quot;I want 3 copies.&quot;<br>    ↓<br>Kubernetes<br>    ↓<br>Current:<br>📦 📦 📦</pre><p>If something happens:</p><pre>Current:<br>📦 💥 📦<br><br>Desired:<br>📦 📦 📦</pre><p>Kubernetes works to fix it.</p><pre>📦 💥 📦<br>    ↓<br>Kubernetes notices<br>    ↓<br>Creates replacement<br>    ↓<br>📦 📦 📦</pre><p>This is called <strong>desired state</strong>.</p><p>Remember this phrase.</p><blockquote><strong><em>Desired state = what I want my application to look like.</em></strong></blockquote><h3>8. But Kubernetes does much more than restarting containers</h3><p>Imagine our restaurant gets <strong>10,000 customers</strong>.</p><p>We need more cooks.</p><p>Kubernetes can help us run more copies:</p><pre>Normal traffic:<br>👨‍🍳 👨‍🍳 👨‍🍳<br><br>High traffic:<br>👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳</pre><p>And when traffic decreases:</p><pre>👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳 👨‍🍳<br>    ↓<br>👨‍🍳 👨‍🍳 👨‍🍳</pre><p>This is <strong>scaling</strong>.</p><h3>9. What if we have multiple buildings?</h3><p>Now imagine your restaurant company has <strong>three buildings</strong>.</p><pre>Building 1<br>🏢<br>Building 2<br>🏢<br>Building 3<br>🏢</pre><p>Kubernetes can manage workloads across machines.</p><p>In Kubernetes terminology, these machines are called <strong>Nodes</strong>.</p><p>Think:</p><pre>Kubernetes Cluster<br>│<br>├── Node 1 🏢<br>│    ├── Container<br>│    ├── Container<br>│    └── Container<br>│<br>├── Node 2 🏢<br>│    ├── Container<br>│    └── Container<br>│<br>└── Node 3 🏢<br>     ├── Container<br>     ├── Container<br>     └── Container</pre><p>And Kubernetes decides where workloads should run.</p><h3>10. One important terminology change</h3><p>Kubernetes usually doesn’t directly talk about:</p><blockquote><em>“Run this container.”</em></blockquote><p>Instead, Kubernetes uses something called a <strong>Pod</strong>.</p><p>For now, think:</p><blockquote><strong><em>Pod = a small wrapper around one or more containers.</em></strong></blockquote><p>For a beginner, you can initially visualize:</p><pre>  Pod<br>   ↓<br>📦 Container</pre><p>Most commonly:</p><pre>Pod<br> └── Container</pre><p>Later we’ll learn why a Pod exists and why sometimes a Pod contains multiple containers.</p><h3>11. So let’s connect everything</h3><p>Here’s the whole story:</p><h3>Traditional</h3><pre>Computer<br>  ↓<br>OS<br>  ↓<br>Applications</pre><p>Problem: applications can have conflicting requirements.</p><h3>Virtual Machines</h3><pre>Computer<br>  ↓<br>Hypervisor<br>  ↓<br>VM<br> └── OS<br>     └── App<br>VM<br> └── OS<br>     └── App</pre><p>Better isolation, but each VM needs its own OS.</p><h3>Containers</h3><pre>Computer<br>  ↓<br>Host OS<br>  ↓<br>Container Runtime<br>  ↓<br>Containers<br> ├── App<br> ├── App<br> └── App</pre><p>Lightweight and isolated.</p><h3>Kubernetes</h3><p>Now imagine <strong>hundreds or thousands of those containers</strong>:</p><pre>                  Kubernetes<br>                     👨‍💼<br>                      │<br>        ┌─────────────┼─────────────┐<br>        ↓             ↓             ↓<br>      Node          Node          Node<br>       🏢            🏢            🏢<br>        │             │             │<br>      Pods          Pods          Pods<br>       │             │             │<br>   Containers     Containers    Containers</pre><p>Kubernetes becomes the <strong>manager</strong> that helps keep everything running.</p><h3>The one picture I’d memorize</h3><p>If you remember only this, you’re good:</p><pre>                    KUBERNETES<br>                 🧠 &quot;The Manager&quot;<br>                       │<br>          ┌────────────┼────────────┐<br>          ↓            ↓            ↓<br>        NODE         NODE         NODE<br>         🏢           🏢           🏢<br>          │            │            │<br>         POD          POD          POD<br>          │            │            │<br>      📦 Container  📦 Container  📦 Container</pre><p>And the evolution is:</p><pre>Traditional<br>    ↓<br>Virtual Machines<br>    ↓<br>Containers<br>    ↓<br>Kubernetes</pre><p><strong>Why each step happened:</strong></p><pre>Traditional<br>→ Applications can conflict<br>VMs<br>→ Isolation, but heavy<br>Containers<br>→ Lightweight isolation<br>Kubernetes<br>→ Too many containers to manage manually</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58dddb32f442" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Thought I Was a Good Communicator — Until I Realized Communication Wasn’t About Me]]></title>
            <link>https://medium.com/@diwakar.allu.3435/i-thought-i-was-a-good-communicator-until-i-realized-communication-wasnt-about-me-34c8e1adc0b4?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/34c8e1adc0b4</guid>
            <category><![CDATA[public-speaking]]></category>
            <category><![CDATA[communication]]></category>
            <category><![CDATA[articulation]]></category>
            <category><![CDATA[business-communication]]></category>
            <category><![CDATA[speaking-skills]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Sun, 27 Sep 2026 10:53:04 GMT</pubDate>
            <atom:updated>2026-09-27T10:53:04.372Z</atom:updated>
            <content:encoded><![CDATA[<p>I used to think communication was simple.</p><p>You have something to say.<br> You say it.<br> The other person hears it.</p><p>Done.</p><p>But the more I learned about communication, the more I realized how wrong that assumption was.</p><p>We communicate all the time — when we send an email, explain something to a colleague, give instructions, attend a meeting, make a presentation, resolve an argument, or even casually talk to someone over coffee.</p><p>And yet, so much of what we say gets misunderstood.</p><p>Sometimes the problem isn’t that we didn’t speak.</p><p>The problem is that <strong>the other person didn’t understand what we meant.</strong></p><p>That small difference changed the way I look at communication.</p><h3>Communication Isn’t About What I Say. It’s About What You Understand.</h3><p>There is a line that stayed with me:</p><blockquote><strong><em>“Meaning is in the ear of the listener, not in the mind of the speaker.”</em></strong></blockquote><p>Think about that for a moment.</p><p>I might have a perfectly clear idea in my head. I might explain it confidently. I might even believe I have communicated it brilliantly.</p><p>But if the listener walks away with a completely different meaning, was my communication really successful?</p><p>Probably not.</p><p>Imagine a manager telling an employee:</p><blockquote><em>“You need to be more proactive.”</em></blockquote><p>The manager might mean:</p><p><em>“Take more initiative. Try solving problems before waiting for instructions.”</em></p><p>But the employee might hear:</p><p><em>“My manager thinks I’m not doing enough.”</em></p><p>Same sentence.</p><p>Two completely different interpretations.</p><p>That is where communication becomes interesting.</p><p>The words we speak are only part of the story.</p><h3>A “Coach” Isn’t Always a Coach</h3><p>Take the word <strong>“coach.”</strong></p><p>If I say:</p><blockquote><em>“We usually travel by coach.”</em></blockquote><p>You probably think of a bus or a vehicle.</p><p>But if I say:</p><blockquote><em>“He is a football coach.”</em></blockquote><p>Now you’re thinking about a person who trains football players.</p><p>Same word. Different meaning.</p><p>Or take the word <strong>“light.”</strong></p><p>If someone says:</p><blockquote><em>“She is wearing a light outfit.”</em></blockquote><p>Are they talking about the colour?</p><p>Or are they saying the outfit isn’t heavy?</p><p>Without context, we don’t really know.</p><p>That’s why words are interesting. They aren’t containers with one permanent meaning. We interpret them based on context, experience, perception, and situation.</p><p>And this becomes even more obvious when we use vague statements.</p><p>Consider:</p><blockquote><strong><em>“Ram is a bad roommate.”</em></strong></blockquote><p>What does “bad roommate” actually mean?</p><p>Maybe Ram is lazy.</p><p>Maybe he’s ill-mannered.</p><p>Maybe he’s untidy and unhygienic.</p><p>Maybe he never cleans the mess he creates.</p><p>Maybe he leaves dirty plates and cups on the dining table.</p><p>All of these are possible interpretations.</p><p>The sentence technically communicates something.</p><p>But it doesn’t communicate <strong>enough</strong>.</p><p>Now compare it with:</p><blockquote><em>“Ram regularly leaves his dirty plates and cups on the dining table and doesn’t clean up after himself.”</em></blockquote><p>Suddenly, there is much less room for interpretation.</p><p>That’s the difference between <strong>saying something</strong> and <strong>communicating something clearly.</strong></p><h3>Sometimes One Sentence Creates Five Different Stories</h3><p>Here’s another example I found surprisingly useful:</p><blockquote><strong><em>“My relationship with John is unacceptable.”</em></strong></blockquote><p>Okay. But what does that mean?</p><p>Maybe Tina doesn’t get along with John.</p><p>Maybe Tina and John argue frequently.</p><p>Maybe they’re rude to each other.</p><p>Maybe they call each other derogatory names.</p><p>The listener has to fill in the blanks.</p><p>And whenever the listener has to fill in too many blanks, communication becomes risky.</p><p>This is why choosing the right words matters.</p><p><strong>Clarity isn’t about using complicated words.</strong></p><p>In fact, it’s usually the opposite.</p><p>Good communication often means choosing the simplest words that leave the least room for confusion.</p><h3>Communication Requires More Effort Than We Think</h3><p>One of the funniest examples I’ve come across involves an office notice.</p><p>The notice apparently said:</p><blockquote><em>“After tea break, staff should empty the teapot and stand upside down on the draining board.”</em></blockquote><p>Read that literally and you’ve got a very strange workplace.</p><p>The intended instruction was obviously about keeping the <strong>cups</strong> upside down on the draining board.</p><p>But the sentence didn’t make that clear.</p><p>The writer knew what they meant.</p><p>The reader didn’t.</p><p>And that’s exactly the problem.</p><p>Here’s another one:</p><blockquote><em>“For anyone who has children and doesn’t know it, there is a daycare centre on the first floor.”</em></blockquote><p>For a second, you might wonder:</p><p><em>“Wait… there are people who don’t know they have children?”</em></p><p>Of course, that’s not what the writer intended.</p><p>The intended meaning was something like:</p><blockquote><em>“For anyone who doesn’t know where the daycare centre is, it is located on the first floor.”</em></blockquote><p>These examples are funny.</p><p>But in a business environment, unclear communication isn’t always funny.</p><p>A misunderstood email can delay a project.</p><p>A vague instruction can create mistakes.</p><p>A poorly worded announcement can create conflict.</p><p>So communication requires effort.</p><p>Not just the effort to <strong>speak</strong>, but the effort to make sure the other person can <strong>understand what we mean.</strong></p><h3>The Message Has to Do Its Job</h3><p>This brings me to another idea I found interesting:</p><p><strong>Communication is a product.</strong></p><p>I initially found that phrase strange.</p><p>How can communication be a product?</p><p>But think about it this way.</p><p>Every communication has a purpose.</p><p>An instruction is supposed to create an action.</p><p>An invitation is supposed to make someone feel invited.</p><p>A warning is supposed to make someone careful.</p><p>A presentation is supposed to inform or persuade.</p><p>An email is supposed to communicate something clearly enough for the recipient to respond appropriately.</p><p>So if the message doesn’t achieve its purpose, something has gone wrong.</p><p>Consider this notice:</p><blockquote><em>“It has been brought to my notice that people are smoking near the shop floor. Please remember that we deal with flammable materials.”</em></blockquote><p>The message tells us that the shop floor contains flammable materials.</p><p>But what is the actual instruction?</p><p><strong>Don’t smoke here.</strong></p><p>It would be much clearer to say:</p><blockquote><em>“Smoking is prohibited near the shop floor because flammable materials are handled here.”</em></blockquote><p>Now the purpose is obvious.</p><h3>Even an Invitation Can Fail at Communication</h3><p>Imagine your company is organizing a picnic.</p><p>The office sends out a beautifully detailed memo.</p><p>It contains:</p><ul><li>The venue</li><li>Transportation details</li><li>Snacks</li><li>Starting time</li><li>Contact information</li></ul><p>Everything is there.</p><p>Technically, the communication is complete.</p><p>But imagine the memo is dull, crowded with text, poorly formatted, and feels more like an official warning than an invitation.</p><p>You read it and think:</p><p><em>“Okay… I guess I’m supposed to go?”</em></p><p>Then imagine the same information presented in a warm, attractive, inviting format.</p><p>Suddenly, the message feels different.</p><p>The facts haven’t changed.</p><p>But the <strong>experience of receiving the message</strong> has changed.</p><p>That’s another lesson for me:</p><p><strong>Communication isn’t only about putting information somewhere. It’s about delivering it in a way that serves its purpose.</strong></p><h3>Being a Good Speaker Doesn’t Make You a Good Communicator</h3><p>This one really made me rethink my own conversations.</p><p>We’ve all met people who can talk endlessly.</p><p>They’re confident.</p><p>They have stories.</p><p>They speak fluently.</p><p>They can hold a room.</p><p>We often assume they’re great communicators.</p><p>But here’s a question:</p><p><strong>Are they actually communicating, or are they just talking?</strong></p><p>Imagine meeting someone who says:</p><blockquote><em>“Hello. Come in. You’ve come at the right time. We’re watching my wedding video. You missed attending my wedding, right? I’ll show you my latest collection. After that, we’ll talk about my recent visit to the USA…”</em></blockquote><p>Notice something?</p><p>The conversation is almost entirely about <strong>the speaker</strong>.</p><p>Now compare that with someone who says:</p><blockquote><em>“Hello, nice to see you. How are things with you? I heard you had gone abroad recently. How was the trip? Would you like some coffee before you tell me all about it?”</em></blockquote><p>The second person creates space for the other person.</p><p>They ask.</p><p>They listen.</p><p>They involve.</p><p>That’s the difference.</p><p>A good speaker can deliver a message.</p><p>A good communicator understands that <strong>communication is a two-way process.</strong></p><p>And suddenly, that earlier sentence makes even more sense:</p><blockquote><strong><em>Meaning is in the ear of the listener.</em></strong></blockquote><h3>The Six Things We Now Try to Remember Before We Communicate</h3><p>All of this eventually comes down to something called <strong>articulation</strong>.</p><p>For me, the easiest way to understand articulation is:</p><blockquote><strong><em>Take what’s in your head and make it clear enough for someone else to understand it without having to guess.</em></strong></blockquote><p>There are six things that help.</p><h3>1. Set the Context</h3><p>Before jumping into the message, explain why you’re talking about it.</p><p>Instead of:</p><blockquote><em>“We need to change the deadline.”</em></blockquote><p>Try:</p><blockquote><em>“Because the client data was delayed, we need to reconsider the project deadline.”</em></blockquote><p>Now the listener knows what’s happening and why.</p><p><strong>Context answers: “Why are we having this conversation?”</strong></p><h3>2. Structure Your Thoughts</h3><p>Have you ever listened to someone explain something and thought:</p><p><em>“Where is this going?”</em></p><p>I have.</p><p>Sometimes the problem isn’t the information. It’s the order.</p><p>A good message needs a structure.</p><p>Introduction.</p><p>Main idea.</p><p>Supporting points.</p><p>Conclusion.</p><p>Imagine starting with the conclusion, jumping into a random example, going back to the introduction, and then ending with another conclusion.</p><p>The listener has to work unnecessarily hard.</p><p>Good communication should make the listener’s job easier.</p><h3>3. Choose the Right Medium</h3><p>Not every message belongs in an email.</p><p>Not every problem needs a meeting.</p><p>Not every urgent situation should wait for a written reply.</p><p>Sometimes a quick call is better.</p><p>Sometimes a face-to-face conversation is better.</p><p>Sometimes an email is exactly right.</p><p>The medium should match the <strong>priority and environment of the situation.</strong></p><p>The right message through the wrong medium can still become ineffective.</p><h3>4. Use the Right Words</h3><p>This sounds obvious.</p><p>But it’s probably one of the hardest things to consistently do.</p><p>Instead of:</p><blockquote><em>“Please finish it soon.”</em></blockquote><p>Say:</p><blockquote><em>“Please submit the report by 3 PM tomorrow.”</em></blockquote><p>Instead of:</p><blockquote><em>“The relationship is unacceptable.”</em></blockquote><p>Explain what is actually happening.</p><p>Instead of assuming everyone understands what “ASAP” means, give a deadline.</p><p><strong>Specificity is kindness in communication.</strong></p><p>It saves the other person from guessing.</p><h3>5. Deal With Feelings</h3><p>Here’s something we sometimes forget in professional communication:</p><p><strong>We’re talking to people, not machines.</strong></p><p>People have moods.</p><p>They have stress.</p><p>They have fears.</p><p>They have bad days.</p><p>They have things happening outside the conversation.</p><p>If someone isn’t in the right emotional state to receive a message, even a perfectly worded message might fail.</p><p>This is also where something called a <strong>“hot button”</strong> becomes important.</p><p>A hot button is something that triggers a strong emotional reaction.</p><p>For one person, being called “lazy” might be deeply triggering.</p><p>For another, it might be a particular criticism, topic, or phrase.</p><p>Once emotions take over, communication can quickly become a barrier.</p><p>So sometimes being a good communicator means asking yourself:</p><p><strong>“Is this the right time and state of mind for this conversation?”</strong></p><h3>6. Involve the Listener</h3><p>Finally, don’t forget the person on the other side.</p><p>Ask questions.</p><p>Invite opinions.</p><p>Check understanding.</p><p>Listen.</p><p>Instead of:</p><blockquote><em>“This is the plan. Follow it.”</em></blockquote><p>Try:</p><blockquote><em>“This is the proposed plan. What challenges do you see, and do you have any suggestions?”</em></blockquote><p>Now it becomes a conversation instead of an announcement.</p><p>And that’s important because communication isn’t a performance.</p><p>It’s an exchange.</p><h3>The Communication Model I Keep Coming Back To</h3><p>When I put everything together, communication starts to look something like this:</p><p><strong>Speaker → Message → Medium → Receiver → Response/Feedback</strong></p><p>And somewhere along the way, <strong>noise</strong> can interfere.</p><p>Noise doesn’t always mean someone talking loudly in the background.</p><p>It can be a barrier.</p><p>It can be a filter.</p><p>It can be an emotional reaction.</p><p>It can be an ambiguous word.</p><p>It can be a badly chosen medium.</p><p>It can even be our own assumptions.</p><p>A <strong>barrier</strong> completely obstructs the flow of information.</p><p>A <strong>filter</strong> allows some information through while restricting a significant portion of it.</p><p>And sometimes something as simple as a hot button can become a barrier because the listener is no longer emotionally ready to receive the message.</p><h3>What I’m Taking Away From All This</h3><p>The biggest change for me is that I no longer think of communication as:</p><blockquote><strong><em>“I have something to say.”</em></strong></blockquote><p>I think of it as:</p><blockquote><strong><em>“I have something I want you to understand.”</em></strong></blockquote><p>Those two sentences sound similar.</p><p>But they’re not.</p><p>The first is about the <strong>speaker</strong>.</p><p>The second is about the <strong>connection between the speaker and the listener</strong>.</p><p>And perhaps that’s what good communication really is.</p><p>It’s not about having the biggest vocabulary.</p><p>It’s not about speaking the fastest.</p><p>It’s not about sounding intelligent.</p><p>It’s not even about talking a lot.</p><p>It’s about taking an idea that exists in your mind and building a bridge to another person’s mind — with enough clarity, context, structure, empathy, and precision that they can actually cross it.</p><p>That’s articulation.</p><p>That’s communication.</p><p>And maybe the next time we say, <em>“But that’s not what I meant,”</em> we should pause for a second and ask ourselves:</p><p><strong>“What did the other person understand?”</strong></p><p>Because that’s where communication really begins.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34c8e1adc0b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Events to Actions: How Interpretation Shapes Emotion and Behavior]]></title>
            <link>https://medium.com/@diwakar.allu.3435/from-events-to-actions-how-interpretation-shapes-emotion-and-behavior-e949354877af?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/e949354877af</guid>
            <category><![CDATA[human-behavior]]></category>
            <category><![CDATA[emotional-intelligence]]></category>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[psychology]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Sat, 08 Aug 2026 07:51:56 GMT</pubDate>
            <atom:updated>2026-08-08T07:51:56.034Z</atom:updated>
            <content:encoded><![CDATA[<h3>The gap between what happens and what we do</h3><p>Forget the textbook definition for a moment.</p><p>Imagine this:</p><p>You send your friend:</p><blockquote><em>“Hey, are you free tonight?”</em></blockquote><p>You see <strong>“Seen”</strong>.</p><p>No reply.</p><h3>What happened?</h3><p>Very little.</p><pre>YOU ──message──&gt; FRIEND<br>                  ↓<br>                SEEN<br>                  ↓<br>               no reply</pre><p>That’s the <strong>event</strong>.</p><p>But then something interesting happens.</p><p>Your brain starts generating a story:</p><blockquote><em>“Did I upset them?”</em></blockquote><p>Another person might think:</p><blockquote><em>“They’re probably busy.”</em></blockquote><p>Someone else:</p><blockquote><em>“They don’t care about me.”</em></blockquote><p>Same event.</p><p>But look what happens next:</p><pre>              SAME EVENT<br>                   │<br>                   ▼<br>            ┌──────────────┐<br>            │INTERPRETATION│<br>            └──────┬───────┘<br>                   │<br>          ┌────────┴────────┐<br>          ▼                 ▼<br>       &quot;They&#39;re          &quot;They&#39;re<br>        busy&quot;             ignoring me&quot;<br>          │                 │<br>          ▼                 ▼<br>      RELAXED             ANGRY<br>          │                 │<br>          ▼                 ▼<br>   Wait patiently       Send another<br>                         message</pre><p>That’s our first big idea.</p><h3>Mental Model #1</h3><blockquote><strong><em>EVENT → INTERPRETATION → EMOTION → ACTION</em></strong></blockquote><p>Think of it like a <strong>mental translator</strong>.</p><p>The world gives you an event.</p><p>Your brain asks:</p><blockquote><strong><em>“What does this mean?”</em></strong></blockquote><p>That interpretation can influence what you feel and what you do.</p><h3>One more exaple</h3><p>Imagine two kids see a dog running toward them.</p><pre>             🐕<br>              ↓<br>       DOG RUNNING TOWARD THEM<br>              │<br>       ┌──────┴──────┐<br>       ▼             ▼<br>    &quot;It&#39;s cute!&quot;   &quot;It&#39;s dangerous!&quot;<br>       │             │<br>       ▼             ▼<br>     Happy          Scared<br>       │             │<br>       ▼             ▼<br>     Pet it       Run away</pre><p>Did the dog change?</p><p><strong>No.</strong></p><p>The interpretation changed.</p><p>And therefore the response changed.</p><p>That’s psychology becoming interesting.</p><h3>But here’s the important part</h3><p>Your interpretation doesn’t appear from nowhere.</p><p>Your brain has a <strong>history</strong>.</p><p>Imagine you’ve previously been bitten by a dog.</p><p>Now:</p><pre>            DOG<br>              │<br>              ▼<br>       &quot;What does this mean?&quot;<br>              │<br>       ┌──────┴──────┐<br>       │             │<br>  Past experience   Current<br>                    situation<br>       │             │<br>       └──────┬──────┘<br>              ▼<br>        INTERPRETATION<br>              │<br>              ▼<br>           EMOTION<br>              │<br>              ▼<br>           ACTION</pre><p>So a more realistic model is:</p><blockquote><strong><em>Event + past experience + beliefs + current state → interpretation → emotion → behavior</em></strong></blockquote><p>That’s much closer to how we’ll eventually think about human behavior.</p><h3>Let’s slow down</h3><p>Suppose your professor says:</p><blockquote><strong><em>“Can you stay back after class? I need to talk to you.”</em></strong></blockquote><p>Your brain immediately starts generating possibilities.</p><h3>Person A</h3><blockquote><em>“I probably did something wrong.”</em></blockquote><p>😰 Anxiety</p><h3>Person B</h3><blockquote><em>“Maybe they liked my assignment.”</em></blockquote><p>😊 Excitement</p><h3>Person C</h3><blockquote><em>“Maybe they just want to discuss the project.”</em></blockquote><p>😐 Neutral</p><p>The professor hasn’t actually told them anything yet.</p><p>Yet all three people can experience different emotions.</p><p>Why?</p><p>Because <strong>the event hasn’t determined the emotional response by itself</strong>.</p><p>The brain is trying to <strong>interpret the event</strong>.</p><h3>But don’t misunderstand this</h3><p>This does <strong>NOT</strong> mean:</p><blockquote><em>“Everything is just in your head.”</em></blockquote><p>And it doesn’t mean:</p><blockquote><em>“You can choose any interpretation and control every emotion.”</em></blockquote><p>Real life is much more complicated.</p><p>Some events are genuinely threatening.</p><p>Biology matters.</p><p>Past learning matters.</p><p>Other people’s behavior matters.</p><p>Your current physical state matters.</p><p>And sometimes our interpretations are actually <strong>accurate</strong>.</p><p>So our model is a useful starting point — not a universal law.</p><h3>Now connect it to everyday life</h3><p>Consider criticism.</p><p>Your manager says:</p><blockquote><em>“This needs improvement.”</em></blockquote><p>Possible interpretation:</p><p><strong>“I’m terrible at my job.”</strong></p><blockquote>↓</blockquote><blockquote>😔 Shame</blockquote><blockquote>↓</blockquote><p>Avoid the task.</p><p>Another:</p><p><strong>“They found a weakness in my work.”</strong></p><blockquote>↓</blockquote><blockquote>😐 Discomfort</blockquote><blockquote>↓</blockquote><p>Improve it.</p><p>Another:</p><p><strong>“They’re unfairly criticizing me.”</strong></p><blockquote>↓</blockquote><blockquote>😡 Anger</blockquote><blockquote>↓</blockquote><p>Argue.</p><p>Again:</p><pre>             SAME INPUT<br>                  │<br>                  ▼<br>          &quot;This needs improvement&quot;<br>                  │<br>          ┌───────┼───────┐<br>          ▼       ▼       ▼<br>       &quot;I&#39;m bad&quot; &quot;Learn&quot; &quot;Unfair&quot;<br>          │       │       │<br>          ▼       ▼       ▼<br>        Shame   Growth    Anger<br>          │       │       │<br>          ▼       ▼       ▼<br>        Avoid   Improve   Argue</pre><p>This is why studying psychology can become a <strong>mirror</strong>.</p><p>You start noticing:</p><blockquote><em>“Wait… what story did my brain just create?”</em></blockquote><h3>Now let’s add science</h3><p>Psychology isn’t simply:</p><blockquote><em>“I think humans behave this way.”</em></blockquote><p>It’s an empirical discipline.</p><p>Psychologists ask:</p><h3>1. Describe</h3><p><strong>What is happening?</strong></p><blockquote><em>People who receive criticism sometimes become defensive.</em></blockquote><p>↓</p><h3>2. Explain</h3><p><strong>Why might this happen?</strong></p><blockquote><em>Perhaps the criticism threatens their self-image.</em></blockquote><p>↓</p><h3>3. Predict</h3><p><strong>When might defensiveness be more likely?</strong></p><p>Maybe when:</p><ul><li>the criticism feels public</li><li>the person’s identity is threatened</li><li>they already feel insecure</li><li>the criticism seems unfair</li></ul><p>↓</p><h3>4. Influence</h3><p><strong>Can we change the conditions to produce a better outcome?</strong></p><p>Perhaps giving specific, respectful feedback privately produces a different response.</p><p>So:</p><pre>OBSERVE<br>   ↓<br>DESCRIBE<br>   ↓<br>EXPLAIN<br>   ↓<br>PREDICT<br>   ↓<br>TEST<br>   ↓<br>CHANGE / APPLY</pre><p>That’s the scientific mindset.</p><h3>Your first big psychological map</h3><p>Keep this one.</p><pre>                   THE WORLD<br>                       │<br>                       ▼<br>                    EVENT<br>                       │<br>             ┌─────────┴─────────┐<br>             │                   │<br>       Past experiences       Current state<br>       Beliefs                Emotions<br>       Memories               Body<br>       Expectations           Stress<br>             │                   │<br>             └─────────┬─────────┘<br>                       ▼<br>                 INTERPRETATION<br>                  &quot;What does this<br>                    mean?&quot;<br>                       │<br>                       ▼<br>                    EMOTION<br>                       │<br>                       ▼<br>                    BEHAVIOR<br>                       │<br>                       ▼<br>                  CONSEQUENCE<br>                       │<br>                       ▼<br>                    LEARNING<br>                       │<br>                       └──────────► affects future<br>                                    interpretations</pre><p>Notice something beautiful here.</p><p>It’s not a straight line.</p><p>It’s a <strong>loop</strong>.</p><pre>EVENT<br> ↓<br>INTERPRETATION<br> ↓<br>EMOTION<br> ↓<br>BEHAVIOR<br> ↓<br>CONSEQUENCE<br> ↓<br>LEARNING<br> └──────────────→ future interpretation</pre><p>And <strong>this loop</strong> will become one of the foundations for understanding learning, habits, personality, relationships, decision-making, anxiety, motivation, social behavior, and much more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e949354877af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The First Lesson Psychology Taught Me Wasn’t About Others]]></title>
            <link>https://medium.com/@diwakar.allu.3435/the-first-lesson-psychology-taught-me-wasnt-about-others-1f1cd8c91af0?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f1cd8c91af0</guid>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[personal-growth]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Sat, 08 Aug 2026 06:57:10 GMT</pubDate>
            <atom:updated>2026-08-08T06:57:10.519Z</atom:updated>
            <content:encoded><![CDATA[<p>I started my psychology learning expecting to study the mind.</p><p>I thought I would learn about human behavior, emotions, thoughts, personality, and the reasons behind the way people act.</p><p>But after my first lecture, I found myself thinking about something much more personal.</p><p><strong>What if learning psychology is also a way of learning about myself?</strong></p><p>That thought stayed with me.</p><h3>We often study everything except ourselves</h3><p>When we study, we usually look outward.</p><p>We read theories.<br>We memorize concepts.<br>We listen to lectures.<br>We take notes.<br>We prepare for exams.</p><p>But we rarely stop and ask:</p><p><strong>Why do I think the way I think?</strong><br><strong>Why do I react the way I react?</strong><br><strong>Why do certain things affect me more than others?</strong><br><strong>What shapes the person I am becoming?</strong></p><p>Psychology made those questions feel different.</p><p>They were no longer just philosophical questions. They became questions worth observing.</p><p>And that was my first deeper lesson.</p><h3>Learning is not always about collecting information</h3><p>Before this, I often thought of learning as adding something to my mind.</p><p>A new concept.<br>A new definition.<br>A new theory.</p><p>But I began to realize that genuine learning can also change the way we <strong>look at ourselves and the world around us</strong>.</p><p>Sometimes the most valuable thing we gain from a lecture isn’t something we can write down in an exam.</p><p>It is a new way of seeing.</p><p>For me, that was the interesting part of my first psychology lecture.</p><p>I wasn’t simply learning about psychology.</p><p>I was beginning to notice my own thoughts more carefully.</p><h3>The observer and the person being observed</h3><p>There is something fascinating about studying human behavior.</p><p>We are not completely outside the subject.</p><p>We are human beings studying human beings.</p><p>That means every concept has the potential to make us pause and look inward.</p><p>Instead of immediately asking,</p><p><em>“Who does this describe?”</em></p><p>I started asking,</p><p><em>“Does this describe me?”</em></p><p>That small change in the question can change the entire learning experience.</p><p>A lecture becomes more than information.</p><p>It becomes a mirror.</p><p>And sometimes mirrors show us things we weren’t prepared to notice.</p><h3>Maybe this is what studying is really supposed to do</h3><p>I don’t think every subject needs to become deeply personal.</p><p>But I do think the best learning changes something in us.</p><p>It might change the way we understand a problem.</p><p>It might challenge something we believed.</p><p>It might make us more curious.</p><p>Or, sometimes, it might simply make us more aware.</p><p>My first psychology lecture reminded me that education isn’t only about becoming someone who <strong>knows more</strong>.</p><p>It can also be about becoming someone who <strong>understands more deeply</strong>.</p><p>And perhaps that is a much harder form of learning.</p><p>Because memorizing information can end when the lecture ends.</p><p>But understanding yourself?</p><p>That continues long after the lecture is over.</p><h3>My first lesson</h3><p>So, if I had to summarize what I took away from my first psychology learning experience, it wouldn’t be a definition or a theory.</p><p>It would be this:</p><blockquote><strong><em>The deeper we learn about the human mind, the more we are invited to understand our own.</em></strong></blockquote><p>Maybe that is where meaningful learning begins — not when we can repeat what the teacher said, but when we start seeing ourselves and the world a little differently because of it.</p><p>And perhaps my psychology journey has already begun with the most interesting subject of all: <strong>me.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1f1cd8c91af0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Object References in Java: Child vs Parent Reference]]></title>
            <link>https://medium.com/@diwakar.allu.3435/understanding-object-references-in-java-child-vs-parent-reference-c857771aa122?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/c857771aa122</guid>
            <category><![CDATA[java-oop]]></category>
            <category><![CDATA[polymorphism]]></category>
            <category><![CDATA[child-vs-parent-reference]]></category>
            <category><![CDATA[inheritance]]></category>
            <category><![CDATA[object-references-in-java]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 09:13:53 GMT</pubDate>
            <atom:updated>2025-11-09T09:15:05.327Z</atom:updated>
            <content:encoded><![CDATA[<p>When working with object-oriented programming (OOP) in Java, one of the most powerful features you’ll encounter is <strong>polymorphism</strong>. Polymorphism allows a parent class reference to refer to objects of its child classes, enabling the same code to work with different types of objects. However, to fully leverage polymorphism, it’s crucial to understand how Java handles object references, particularly the difference between <strong>child references</strong> and <strong>parent references</strong>.</p><p>In this article, we’ll explore these concepts using a simple <strong>parent-child (superclass-subclass)</strong> scenario. We’ll also dive into the benefits of polymorphism and how it allows for more flexible, maintainable, and scalable code.</p><h3>1️. Child Reference → C c = new C();</h3><ul><li><strong>When to use:</strong><br> Use this when you <em>know exactly</em> the type of object at runtime.</li><li><strong>Details:</strong></li></ul><ol><li>You can directly access <strong>both parent and child methods</strong> using this reference.</li><li>The reference c can only hold objects of <strong>that specific child class </strong><strong>C</strong> (not other subclasses or parent types).</li><li>This approach is straightforward but <strong>not polymorphic</strong>.</li></ol><h3>2️. Parent Reference → P p = new C();</h3><ul><li><strong>When to use:</strong><br> Use this when you <em>don’t know the exact runtime type</em> of the object — this is <strong>polymorphism</strong>.</li><li><strong>Details:</strong></li></ul><ol><li>You can only call <strong>methods available in the parent class (</strong><strong>P)</strong> — even though the actual object is of type C.</li><li>You <strong>cannot access child-specific methods</strong> unless you perform type casting.</li><li>The parent reference p can hold objects of <strong>any subclass of </strong><strong>P</strong>.</li></ol><h3>Example: Parent = Animal, Child = Dog, Cat, and Bird</h3><p>Let’s create a simple <strong>Animal</strong> class and have three child classes: Dog, Cat, and Bird. Each child class will override a method from the parent class and also introduce a child-specific method. We’ll then demonstrate how different types of object references work when referring to objects of these child classes.</p><pre>// Parent class<br>class Animal {<br>    void makeSound() {<br>        System.out.println(&quot;Some generic animal sound&quot;);<br>    }<br><br>    void eat() {<br>        System.out.println(&quot;Animal is eating&quot;);<br>    }<br>}<br><br>// Child class - Dog<br>class Dog extends Animal {<br>    void makeSound() { // Overridden method<br>        System.out.println(&quot;Dog barks&quot;);<br>    }<br><br>    void fetch() { // Dog-specific method<br>        System.out.println(&quot;Dog is fetching the ball&quot;);<br>    }<br>}<br><br>// Child class - Cat<br>class Cat extends Animal {<br>    void makeSound() { // Overridden method<br>        System.out.println(&quot;Cat meows&quot;);<br>    }<br><br>    void scratch() { // Cat-specific method<br>        System.out.println(&quot;Cat is scratching the post&quot;);<br>    }<br>}<br><br>// Child class - Bird<br>class Bird extends Animal {<br>    void makeSound() { // Overridden method<br>        System.out.println(&quot;Bird chirps&quot;);<br>    }<br><br>    void fly() { // Bird-specific method<br>        System.out.println(&quot;Bird is flying&quot;);<br>    }<br>}<br><br>// Main class<br>public class Example {<br>    public static void main(String[] args) {<br><br>        // 1️. Parent reference to Dog object<br>        Animal a1 = new Dog();<br>        a1.makeSound();  // &quot;Dog barks&quot;<br>        a1.eat();        // &quot;Animal is eating&quot;<br>        // a1.fetch();   //  ERROR - Cannot call Dog-specific method<br><br>        // 2️. Parent reference to Cat object<br>        Animal a2 = new Cat();<br>        a2.makeSound();  // &quot;Cat meows&quot;<br>        a2.eat();        // &quot;Animal is eating&quot;<br>        // a2.scratch(); // ERROR - Cannot call Cat-specific method<br><br>        // 3️. Parent reference to Bird object<br>        Animal a3 = new Bird();<br>        a3.makeSound();  // &quot;Bird chirps&quot;<br>        a3.eat();        // &quot;Animal is eating&quot;<br>        // a3.fly();     // ERROR - Cannot call Bird-specific method<br><br>        // 4️. Type casting to access child-specific methods<br>        ((Dog) a1).fetch();   // &quot;Dog is fetching the ball&quot;<br>        ((Cat) a2).scratch(); // &quot;Cat is scratching the post&quot;<br>        ((Bird) a3).fly();    // &quot;Bird is flying&quot;<br><br>      // 5. Child reference to child object<br>        Dog d = new Dog();<br>        d.makeSound();  // &quot;Dog barks&quot;<br>        d.eat();        // &quot;Animal is eating&quot;<br>        d.fetch();      // &quot;Dog is fetching the ball&quot;<br>        // Child reference can call both parent and child methods<br>    }<br>}</pre><h3>Explanation of the Code</h3><p>In this example, the <strong>parent class</strong> Animal contains methods common to all animals (like makeSound() and eat()). The three <strong>child classes</strong> (Dog, Cat, and Bird) override the makeSound() method to produce their specific sounds and also introduce unique methods such as fetch(), scratch(), and fly().</p><p>Let’s break down what happens when we use <strong>parent references</strong> to refer to <strong>child objects</strong>:</p><p><strong>Reference Type</strong> <strong>Object Type</strong> <strong>Behavior</strong> <strong>Method Access</strong> Animal a1 = new Dog(); Dog Compile-time sees Animal, runtime sees Dog Can only access methods in Animal, unless overridden Animal a2 = new Cat(); Cat Compile-time sees Animal, runtime sees Cat Can only access methods in Animal, unless overridden Animal a3 = new Bird(); Bird Compile-time sees Animal, runtime sees Bird Can only access methods in Animal, unless overridden (Dog) a1 Dog Explicit cast to Dog Can access Dog-specific methods (like fetch()) (Cat) a2 Cat Explicit cast to Cat Can access Cat-specific methods (like scratch()) (Bird) a3 Bird Explicit cast to Bird Can access Bird-specific methods (like fly())</p><h3>Key Takeaways</h3><ol><li><strong>Polymorphism</strong>: A <strong>parent reference</strong> can point to objects of <strong>child classes</strong>. This is the foundation of polymorphism in Java, allowing us to treat different types of objects through a common interface (in this case, the Animal class).</li><li><strong>Dynamic Method Dispatch</strong>: The method call makeSound() on the parent reference (Animal) will invoke the appropriate version of the method based on the <strong>runtime type</strong> of the object (e.g., Dog, Cat, or Bird). This ensures the correct method is executed for each specific type, even though the reference type is Animal.</li><li><strong>Accessing Child-Specific Methods</strong>: You can only call methods that are <strong>defined in the parent class</strong> (like makeSound() or eat()) through a parent reference. To access child-specific methods (like fetch(), scratch(), or fly()), you need to <strong>cast</strong> the reference to the child class.</li></ol><ul><li><strong>Casting Example</strong>:</li></ul><pre>((Dog) a1).fetch();   // Calls Dog-specific method <br>((Cat) a2).scratch(); // Calls Cat-specific method <br>((Bird) a3).fly();    // Calls Bird-specific method</pre><p>4.<strong> Flexibility with Parent References</strong>: The parent reference allows you to store any child object, giving you flexibility in your code. This is particularly useful in scenarios where you want to write methods that can operate on different types of objects without needing to know the exact type at compile time.</p><p>Understanding how <strong>child references</strong> and <strong>parent references</strong> work in Java is crucial for writing flexible and efficient object-oriented code. By utilizing polymorphism, you can treat multiple child types through a common parent reference, making your code easier to extend and maintain.</p><p>The ability to call methods dynamically at runtime (known as <strong>dynamic method dispatch</strong>) and to work with references of different types is a powerful feature in Java. This capability enables you to design more scalable and reusable systems, whether you’re building small applications or large enterprise-level software.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c857771aa122" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Flutter Without Android Studio — My Full Journey]]></title>
            <link>https://medium.com/@diwakar.allu.3435/setting-up-flutter-without-android-studio-my-full-journey-df699cb18be9?source=rss-59e02d20ea01------2</link>
            <guid isPermaLink="false">https://medium.com/p/df699cb18be9</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android-studio]]></category>
            <dc:creator><![CDATA[Diwakar Allu ]]></dc:creator>
            <pubDate>Sat, 01 Nov 2025 18:06:06 GMT</pubDate>
            <atom:updated>2025-11-09T08:43:07.219Z</atom:updated>
            <content:encoded><![CDATA[<h3>Setting Up Flutter Without Android Studio — My Full Journey</h3><p>Hey everyone! 👋<br> In this post, I’ll walk you through how I successfully set up <strong>Flutter and the Android SDK manually on Windows</strong>, <strong>without using Android Studio</strong>. It took a few careful steps, but the end result was a clean, lightweight setup — perfect for anyone who wants full control over their development environment.</p><h3>1. Installing Flutter SDK</h3><p>I started by downloading the <strong>Flutter SDK (stable channel)</strong> and extracted it to:</p><pre>D:\MyFlutter\flutter</pre><p>Then I added it to my system PATH and verified everything with:</p><pre>flutter doctor -v</pre><p>At this point, Flutter was working fine, but flutter doctor showed errors for:</p><ul><li>Android toolchain not found</li><li>Android Studio missing</li><li>Visual Studio not installed</li></ul><pre>C:\Users\Allu Diwakar&gt;flutter doctor -v<br>[√] Flutter (Channel stable, 3.35.7, on Microsoft Windows [Version 10.0.26200.7019], locale en-IN) [308ms]<br>    • Flutter version 3.35.7 on channel stable at D:\MyFlutter\flutter<br>    • Upstream repository https://github.com/flutter/flutter.git<br>    • Framework revision adc9010625 (11 days ago), 2025-10-21 14:16:03 -0400<br>    • Engine revision 035316565a<br>    • Dart version 3.9.2<br>    • DevTools version 2.48.0<br>    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios,<br>      cli-animations, enable-lldb-debugging<br><br>[√] Windows Version (11 Home Single Language 64-bit, 25H2, 2009) [1,880ms]<br><br>[X] Android toolchain - develop for Android devices [78ms]<br>    X Unable to locate Android SDK.<br>      Install Android Studio from: https://developer.android.com/studio/index.html<br>      On first launch it will assist you in installing the Android SDK components.<br>      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).<br>      If the Android SDK has been installed to a custom location, please use<br>      `flutter config --android-sdk` to update to that location.<br><br><br>[√] Chrome - develop for the web [22ms]<br>    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe<br><br>[X] Visual Studio - develop Windows apps [19ms]<br>    X Visual Studio not installed; this is necessary to develop Windows apps.<br>      Download at https://visualstudio.microsoft.com/downloads/.<br>      Please install the &quot;Desktop development with C++&quot; workload, including all of its default components<br><br>[!] Android Studio (not installed) [14ms]<br>    • Android Studio not found; download from https://developer.android.com/studio/index.html<br>      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).<br><br>[√] Connected device (3 available) [164ms]<br>    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26200.7019]<br>    • Chrome (web)      • chrome  • web-javascript • Google Chrome 141.0.7390.123<br>    • Edge (web)        • edge    • web-javascript • Microsoft Edge 141.0.3537.99<br><br>[√] Network resources [1,157ms]<br>    • All expected network resources are available.<br><br>! Doctor found issues in 3 categories.</pre><p>So the next step was to fix the Android toolchain manually.</p><h3>2. Setting Up Android SDK (Without Android Studio)</h3><p>Instead of installing the full Android Studio, I went with the <strong>Command Line Tools</strong> approach.<br> I downloaded the “Command line tools only” package from the <a href="https://developer.android.com/studio#command-tools">Android Studio downloads page</a>.</p><p>Then I extracted it under my desired location:</p><pre>D:\MyFlutter\Android\Sdk\cmdline-tools\latest\</pre><p>So my folder structure looked like this:</p><pre>D:\MyFlutter\Android\<br> └── Sdk\<br>      └── cmdline-tools\<br>           └── latest\<br>                ├── bin\<br>                ├── lib\<br>                └── ...</pre><h3>3. Configuring Environment Variables</h3><p>I set up the environment variables so Windows and Flutter could find the SDK tools:</p><pre>setx ANDROID_HOME &quot;D:\MyFlutter\Android\Sdk&quot;<br>setx ANDROID_SDK_ROOT &quot;D:\MyFlutter\Android\Sdk&quot;<br>setx PATH &quot;%PATH%;D:\MyFlutter\Android\Sdk\cmdline-tools\latest\bin;D:\MyFlutter\Android\Sdk\platform-tools&quot;</pre><p>Later, I added the same paths in <strong>System Properties → Environment Variables → Path</strong> to make sure they persisted correctly.</p><pre>1. Press Win + R, type sysdm.cpl, press Enter.<br><br>2. Go to Advanced → Environment Variables.<br><br>3. Under User variables, edit the variable Path.<br><br>4. Add these two new entries (each as its own line):<br><br>      D:\MyFlutter\Android\Sdk\cmdline-tools\latest\bin<br>      D:\MyFlutter\Android\Sdk\platform-tools<br><br><br>5. Click OK → OK → OK.<br><br>Close all CMD/PowerShell windows and reopen one.</pre><h3>4. Fixing Common Issues</h3><p>At first, running sdkmanager gave me:</p><pre>&#39;sdkmanager&#39; is not recognized as an internal or external command</pre><p>The fix was to <strong>use the full path</strong>:</p><pre>&quot;D:\MyFlutter\Android\Sdk\cmdline-tools\latest\bin\sdkmanager.bat&quot; --sdk_root=D:\MyFlutter\Android\Sdk --list</pre><p>That confirmed the folder was correct.</p><p>Then I ran into network warnings (Failed to connect to host: https://dl.google.com/...).<br> After checking my internet and retrying, the SDK manager started downloading packages successfully.</p><h3>5. Installing Required SDK Packages</h3><p>Once the connection worked, I installed all the essentials:</p><pre>sdkmanager --sdk_root=D:\MyFlutter\Android\Sdk --licenses<br>sdkmanager --sdk_root=D:\MyFlutter\Android\Sdk &quot;platform-tools&quot; &quot;platforms;android-34&quot; &quot;build-tools;34.0.0&quot;</pre><p>This downloaded the platform tools, build tools, and Android 34 platform files — all directly into my D: drive.</p><h3>6. Linking Flutter to the SDK</h3><p>Finally, I told Flutter where my SDK was located:</p><pre>flutter config --android-sdk &quot;D:\MyFlutter\Android\Sdk&quot;</pre><p>Then I verified everything again:</p><pre>flutter doctor</pre><p><strong>Result:</strong></p><pre>[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)</pre><p>Everything else checked out, except for Visual Studio (for Windows desktop apps) and Android Studio (which I intentionally skipped).</p><h3>7. Installing NDK via Command Line</h3><ol><li>Use <strong>Windows + R → type </strong><strong>cmd or </strong><strong>powershell → Enter</strong>.<br> Navigate to your SDK tools folder if needed:</li></ol><pre>cd D:\MyFlutter\Android\Sdk\cmdline-tools\latest\bin</pre><p>2. To see which NDK versions you can install:</p><pre>sdkmanager.bat --list</pre><p>This shows all available packages, including ndk;version_number.</p><p>3. To install Specific NDK like <strong>NDK 27.0.12077973</strong> (the version Flutter requires):</p><pre>sdkmanager.bat --sdk_root=D:\MyFlutter\Android\Sdk --install &quot;ndk;27.0.12077973&quot;</pre><blockquote><em>⚠️ Replace </em><em>D:\MyFlutter\Android\Sdk with your actual SDK root if different.</em></blockquote><h3>8. The Final Setup</h3><p>At the end of the process, my flutter doctor looked like this:</p><pre>[✓] Flutter (Channel stable, 3.35.7)<br>[✓] Android toolchain - develop for Android devices (SDK 34.0.0)<br>[✓] Chrome - develop for the web<br>[✓] Connected device (3 available)<br>[!] Visual Studio - not installed (optional for Windows apps)<br>[!] Android Studio - not installed (optional)</pre><h3>9. What I Can Do Now</h3><ul><li>Build and run Flutter apps directly on <strong>real Android devices</strong> via USB.</li><li>Develop <strong>Flutter web apps</strong> using Chrome or Edge.</li><li>Optionally install Visual Studio later for <strong>desktop app builds</strong>.</li></ul><p>All this — <strong>without Android Studio</strong> — just using the SDK tools and Flutter CLI.</p><h3>Key Takeaways</h3><ul><li>You don’t need Android Studio if you only want the SDK tools.</li><li>Keeping everything on D:\ avoids clutter on your system drive.</li><li>sdkmanager.bat and proper folder structure are the heart of this setup.</li><li>Once you see [✓] Android toolchain in flutter doctor, you’re ready to go!</li></ul><h3>Final Thoughts</h3><p>This manual setup gave me a deeper understanding of how Flutter, Dart, and Android’s build tools work together.<br> It’s lightweight, flexible, and perfect for developers who want to keep their workflow fast and their systems clean.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df699cb18be9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>