<?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 Shubham Yadav on Medium]]></title>
        <description><![CDATA[Stories by Shubham Yadav on Medium]]></description>
        <link>https://medium.com/@redshubh?source=rss-6227d14b025e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*v72Med6e8QnUifIX.jpg</url>
            <title>Stories by Shubham Yadav on Medium</title>
            <link>https://medium.com/@redshubh?source=rss-6227d14b025e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:20:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@redshubh/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[Is AI Making Us Worse Coders? Not Really. It’s All About How You Use It.]]></title>
            <link>https://redshubh.medium.com/is-ai-making-us-worse-coders-not-really-its-all-about-how-you-use-it-fa2c3a3e3af7?source=rss-6227d14b025e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa2c3a3e3af7</guid>
            <dc:creator><![CDATA[Shubham Yadav]]></dc:creator>
            <pubDate>Sat, 26 Jul 2025 18:56:02 GMT</pubDate>
            <atom:updated>2025-07-26T18:56:02.810Z</atom:updated>
            <content:encoded><![CDATA[<p>With the rise of AI-powered tools like Cursor, GitHub Copilot, and ChatGPT, there’s a growing narrative that these tools are “making developers dumb.” The argument is that we’re outsourcing too much of our thinking, becoming overly dependent on suggestions and autocompletion. But is that really what’s happening?</p><p>Let’s break it down.</p><h3>Speed and Delivery vs. Understanding and Mastery</h3><p>AI is undoubtedly helping developers code faster. You can generate boilerplate, refactor code, write tests, or even spin up an entire module with just a few prompts. But this speed introduces a trade-off: do you prioritize quick delivery, or do you also value understanding what’s under the hood?</p><p>There’s a fundamental difference between:</p><ol><li><strong>Using AI to generate and understand code</strong>, and then pushing it to production.</li><li><strong>Using AI just to generate code and blindly shipping it.</strong></li></ol><p>In the first case, you’re augmenting your skills. In the second, you’re replacing them, and that’s where the real danger lies.</p><p>On the surface, speed might drop slightly if you take the time to understand what’s being generated. But when a bug appears and AI tools are down <em>(yes, it happens)</em>, having that foundational knowledge makes all the difference. You won’t be stuck waiting for your coding assistant to recover; you’ll be able to think through the issue yourself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3ibiX1BtJWBBC0bxNblSFQ.png" /></figure><h3>The “Cursor Makes You Slower” Argument</h3><p>Some blogs argue that tools like Cursor are slowing people down. But why is that happening?</p><p>Maybe it’s not about the tool — it’s about the approach. If someone is new to a language or framework and just vibing through code by prompting AI in their native language without understanding syntax or structure, it’s not AI making them less capable. It’s that they never knew the tech stack in the first place. The fact that tools like Cursor often reveal the structure and patterns of a stack, giving newcomers better visibility than they’d have otherwise.</p><p>It’s like giving someone a map in a foreign city. They may not know the local language, but at least they’re not lost anymore.</p><p>When you craft an AI prompt, you’re not just asking for help — you’re thinking out loud. Many of my colleagues say that even before the AI responds, they’ve often already worked out the solution just by writing the prompt. It’s like rubber-duck debugging with a chatbot.</p><p><strong>Real‑Life Prompting Dialogue</strong></p><p><strong>Colleague A:</strong><br>“I was wrestling with a React pagination bug — items kept skipping pages. I typed: ‘Help me debug my React paginated list that skips items when filtering.’</p><p>While forming that prompt, I realized: ah, I’m resetting the filter but never resetting the page index.”</p><p><strong>Colleague B:</strong><br>“So just writing the prompt gave you the fix?”</p><p><strong>Colleague A:</strong><br>“Exactly. Even before Cursor answered, I had the fix in my head. And if AI didn’t offer it, I still knew the next step — check pagination state. I prompt like I’m talking to a rubber duck.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EuIF4rus6SUQEyzoWtiO3Q.png" /></figure><h3>Are We Coding Less? Yes. But That’s Not Always Bad.</h3><p>Let’s be honest, AI is making us type less. That doesn’t mean we’re becoming dumb. It means we’re coding differently.</p><p>Think about the shift from normal text editors <em>(like vi/vim)</em> to modern IDEs. In normal text editors, you had to know every command, shortcut, and config. IDEs introduced autocomplete, linters, and debuggers, which are massive productivity boosts. But when you return to your normal text editor after months working in IntelliJ, your fingers fumble a bit. Not because you’re dumb, but because you’ve stopped practicing.</p><p>The same goes for AI tools. <strong><em>If you don’t regularly write raw code, your muscle memory fades</em></strong><em>.</em> That’s not a sign of incompetence, it’s a trade-off. To stay sharp, you need to strike a balance.</p><h3>AI Isn’t Replacing Your Brain; Unless You Let It</h3><p>There’s no AI <em>(yet)</em> that can read your mind. You still need to think. You still need to write a clear, concise prompt. That means you need to understand data structures, control flow, and architecture patterns; otherwise, your prompt won’t get you the output you need.</p><p>Using AI without understanding is like eating burgers every day and expecting to stay fit. You need to mix in the vegetables, read code, understand patterns, debug manually, and code without AI now and then. That balance is where growth happens.</p><h3>Use AI to Grow, Not to Replace</h3><p>It’s not about whether you use AI. It’s about how. You can:</p><ol><li>Use it to scaffold code and learn from the output.</li><li>Ask it to explain what a function is doing, then tweak it yourself.</li><li>Review and refactor instead of just accepting suggestions.</li></ol><p>You’re not dumb for using AI. You only risk becoming complacent if you stop challenging yourself to understand what you’re building.</p><p>AI isn’t here to replace developers — it’s here to level us up. Like any powerful tool, it demands responsibility. You can either use it to shortcut your growth or to accelerate it. The choice is yours.</p><p><em>You don’t become “replaceable” by using AI. You become replaceable if you stop understanding your craft.</em></p><p>So ask yourself:<strong> are you building with AI, or letting only AI build for you?</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa2c3a3e3af7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Prune Container Images from Rancher using Kubernetes CronJob and Binaries]]></title>
            <link>https://awstip.com/prune-container-images-from-rancher-using-kubernetes-cronjob-and-binaries-4bd3442c7be?source=rss-6227d14b025e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bd3442c7be</guid>
            <category><![CDATA[cronjob]]></category>
            <category><![CDATA[rancher]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[k8s]]></category>
            <dc:creator><![CDATA[Shubham Yadav]]></dc:creator>
            <pubDate>Thu, 23 Dec 2021 16:16:52 GMT</pubDate>
            <atom:updated>2022-01-03T11:30:48.416Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, I was caught up in a crossfire of a fleet of worker nodes in a Kubernetes cluster provisioned using Rancher. The pods stopped coming up and were stuck in the <strong>ContainerCreating</strong> state, leading to disruption in the application workflow.</p><p>During the initial level of troubleshooting, the worker-nodes reported huge memory spikes and high disk usage, but we did not have any stateful applications.</p><blockquote>What was eating up the memory and disk on the nodes?</blockquote><p>On further investigation, it was found that there were a lot of caches which was eating up the memory and the high disk usage was due to older and unused container images which showed up in the Rancher dashboard. All I needed now was to find a way to SSH into the nodes and fix them.</p><h3>Kubectl Krew Plugins</h3><p>Kubectl has a list of useful <a href="https://krew.sigs.k8s.io/plugins/"><strong>krew plugins</strong></a> which can make debugging in Kubernetes easier. Initially, to try and fix the issue, I used kubectl <a href="https://github.com/kvaps/kubectl-node-shell"><strong>node-shell</strong></a><strong> </strong>krew plugin, which would create a pod with <a href="https://manpages.debian.org/testing/util-linux/nsenter.1.en.html"><strong>nsenter</strong></a> command using an alpine image. It was tedious and time-consuming and did not help as the node itself had no space left to bring up any new pods.</p><h3>Rancher CLI to the Rescue</h3><p>Rancher provides <a href="https://github.com/rancher/cli"><strong>rancher-cli</strong></a> which can be used to manage nodes and perform other cluster-level operations. Initially, I wrote a shell script with a couple of rancher ssh commands but the issue was recurring due to multiple environments running on a large enough cluster.</p><p>Finally, I thought of utilizing the Kubernetes CronJob to work as a cleanup job to run weekly and clear dormant stuff from the worker nodes.</p><h3>Rancher Worker Node Cleanup</h3><h4>Rancher Prune Task</h4><p>The automated cleanup takes place using a Kubernetes Cron Job which runs a Shell Script on an alpine container with a scheduled trigger.</p><ul><li>Clean unused image tags+digests from container.registry.io registry.</li><li>It needs access to write files on the host — can use emptydir in the future.</li><li>The job execution time may vary on the number of nodes and container images to cleanup.</li><li>The resources like secrets and cron-jobs are created under rancher-system namespace.</li><li>The cronjob uses Rancher cli to authenticate to the cluster, which makes the login process fast enough.</li></ul><h4>Implementation</h4><p>The cronjob requires 3 input parameters</p><ul><li>Rancher Server URL</li><li>Rancher API Token</li><li>Rancher Server Context</li></ul><p>More info on <a href="https://rancher.com/docs/rancher/v2.5/en/cli/#cli-authentication">Rancher CLI authentication</a></p><h4>Using Runtime Environment Variables</h4><p>Cronjob can be implemented by using the above parameters and passing them directly as the runtime env variables to the cron job container.</p><pre>    <br>    containers:<br>      - name: rancherprune<br>        image: alpine<br>        env:<br>        - name: SERVERURL<br>          value: &lt;Rancher Cluster URL&gt;<br>        - name: TOKEN<br>          value: &lt;Rancher API-Token with no scope&gt;<br>        - name: CONTEXT<br>          value: &lt;Rancher Server Context&gt;</pre><p>More Info on <a href="https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/#define-an-environment-variable-for-a-container">Kubernetes Environment Variables</a></p><h4>Using Environment Variables with Secret Reference</h4><p>Cronjob can be implemented by using the above parameters and creating the secret which then can be referenced into the container using the combination of key-value pairs.</p><p><strong>Note: </strong>The secret values stored in the Vault should be base64 encoded.</p><p><strong>Creating a Secret</strong></p><pre>     data:<br>       serverurl: &lt;BASE64 Rancher Cluster URL&gt;<br>       token: &lt;BASE64 Rancher API-Token&gt;<br>       context: &lt;BASE64 Rancher Server Context&gt;</pre><p><strong>Referencing Secret Values inside the container</strong></p><pre>      env:<br>        # Rancher Cluster URL<br>        - name: RANCHER_SERVERURL<br>          valueFrom:<br>            secretKeyRef:<br>              name: rancher-secret<br>              key: serverurl<br>        # Generate API-token with no scope<br>        - name: RANCHER_TOKEN<br>          valueFrom:<br>            secretKeyRef:<br>              name: rancher-secret<br>              key: token<br>        # Get the appropriate context<br>        - name: RANCHER_CONTEXT<br>          valueFrom:<br>            secretKeyRef:<br>              name: rancher-secret<br>              key: context</pre><p>The required scripts related to the article are available <a href="https://github.com/shubhamsre/RedMedium/tree/main/Rancher-k8s-Cron">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bd3442c7be" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/prune-container-images-from-rancher-using-kubernetes-cronjob-and-binaries-4bd3442c7be">Prune Container Images from Rancher using Kubernetes CronJob and Binaries</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CKS v1.22.0 in 25 hours]]></title>
            <link>https://redshubh.medium.com/cks-v1-22-0-in-25-hours-56a277b2ace4?source=rss-6227d14b025e------2</link>
            <guid isPermaLink="false">https://medium.com/p/56a277b2ace4</guid>
            <category><![CDATA[kubernetes-certification]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kc]]></category>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[kubernetes-security]]></category>
            <dc:creator><![CDATA[Shubham Yadav]]></dc:creator>
            <pubDate>Wed, 15 Dec 2021 14:11:09 GMT</pubDate>
            <atom:updated>2021-12-15T15:01:11.282Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*inULVVFx7UnDsPLMGlr0IA.png" /><figcaption>Certified Kubernetes Specialist</figcaption></figure><p>Are you looking for last minute preparation and have at least 2 years of experience with Kubernetes? Is the deadline to the CKS exam is so very near and you want a good passing score. This is almost all the info that you will need along with some learnings which I had while attempting the exam.</p><p>Before going further there are some useful links about CNCF k8s exam curriculum and some tips/tricks which I have already mentioned in my previous blog of <a href="https://redshubh.medium.com/new-cka-ckad-v1-19-0-exam-notes-95f456464864"><strong>CKA/CKAD in 15 days</strong></a><strong> </strong>which can help you save the time for the exam with effective and sharp preparation.</p><h3>Before starting the Exam</h3><blockquote>Typical information about CKS exam<br>Prerequisite — A active CKA certification<br><a href="https://training.linuxfoundation.org/certification/certified-kubernetes-security-specialist/">Exam Syllabus</a><br><a href="https://docs.linuxfoundation.org/tc-docs/certification/certification-resources-allowed#certified-kubernetes-security-specialist-cks">Exam Resources</a><br><a href="https://docs.linuxfoundation.org/tc-docs/certification/lf-cert-agreement/">NDA</a> according to this, number of questions in the exam shouldn’t be disclosed which others do.<br><a href="https://www.youtube.com/watch?v=9UqkWcdy140&amp;ab_channel=TheLinuxFoundation">Exam Environment Demo</a> Please watch it at least once.<br>CKS Certification is valid for 2 years<br>CKS Passing Score with 67 or above</blockquote><p>Keep your bookmarks saved in at least 2 browsers, so that in case a single browser fails you can go ahead and launch the exam in another browser.</p><p>Restart your laptop and clear the cache of all times of both the browsers. Disable any extensions like any adblockers if enabled previously. If its a windows OS halt the windows update service as well.</p><p>Read all the questions carefully, for every question you will be getting a skeleton template which can be used to complete the questions quickly however it totally depends on the type of the template. Its your choice to use them and is not mandatory.</p><h3>Effective Preparation</h3><p>For me I took the exam within 5 days and allocating 5 hours/day and passed in first attempt.</p><p><strong>Day 1</strong><br>Signed up for Kodekloud subscription.<br>Started CKS course.</p><p><strong>Day 2–3–4</strong><br>CKS course is roughly 8 hours, finished watching the course.<br>Created last-minute notes from the labs in-between the course.</p><p><strong>Day 5<br></strong>Completed at least 2 Mock exams till evening.<br>Gave killer.sh which comes free with CKS once.<br>Verified my answers from the solution for both the test platforms.</p><p>There are multiple platforms to learn, but I passed my CKA/CKAD and now CKS solely from my past experience and from <a href="https://www.udemy.com/user/mumshad-mannambeth/">Mumshad Mannambeth</a>’s <a href="https://kodekloud.com/courses/certified-kubernetes-security-specialist-cks/"><strong>CKS course on Kodekloud</strong></a>. Kodekloud CKS mock exams are pretty easy and <a href="https://killer.sh/cks"><strong>killer.sh</strong></a> is something that is required before you actually appear for the exam atleast of CKS along with hands-on experience in linux, containers and orchestration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q3GQ6rC9xGubFG8rmOfE4Q.png" /></figure><h3>Bookmarks to do in Kubernetes documentation</h3><p>This is a suggested listed according to my preparation and not exhaustive.</p><blockquote><em>K</em><a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet"><em>ubectl Cheatsheet</em></a><em> (Micro)<br>K</em><a href="https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#create"><em>ubectl Cheatsheet</em></a><em> (Macro)<br></em><a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server"><em>Secure Service Account</em></a><em> <br></em><a href="https://kubernetes.io/docs/concepts/services-networking/ingress/#the-ingress-resource"><em>Ingress for a pod</em></a><em> (ingress+pod)<br></em><a href="https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/"><em>Access type Network policy</em></a><em> with deployment (declare network policy)<br></em><a href="https://kubernetes.io/docs/concepts/services-networking/network-policies/#networkpolicy-resource"><em>Full Network Policy</em></a><em> — use this as a benchmark template<br>ClusterRole/Role, ClusterRoleBinding/RoleBinding (use kubectl imperative commands)<br></em><a href="https://kubernetes.io/docs/tutorials/clusters/seccomp/#create-a-pod-with-a-seccomp-profile-for-syscall-auditing"><em>Seccomp Profile on a Pod</em></a><em><br></em><a href="https://aquasecurity.github.io/trivy/v0.21.1/vulnerability/scanning/"><em>Trivy</em></a><em> </em><a href="https://aquasecurity.github.io/trivy/v0.21.1/vulnerability/examples/filter/"><em>Severity Filter</em></a><em> </em><a href="https://aquasecurity.github.io/trivy/v0.21.1/vulnerability/scanning/image/"><em>Image InSpec</em></a><em><br></em><a href="https://falco.org/docs/getting-started/"><em>Falco</em></a><em> </em><a href="https://falco.org/docs/rules/supported-fields/#field-class-evt"><em>Rules</em></a><em> </em><a href="https://falco.org/docs/configuration/"><em>Configuration</em></a><em> </em><a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/"><em>API Server</em></a><em><br>Admission Controls </em><a href="https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#configuration-file-format"><em>1</em></a><em> </em><a href="https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#authenticate-apiservers"><em>2</em></a><em> </em><a href="https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#configure-admission-webhooks-on-the-fly"><em>3</em></a><em> <br>Auditing in Kubernetes </em><a href="https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#audit-policy"><em>1</em></a><em> </em><a href="https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#log-backend"><em>2</em></a><em> <br></em><a href="https://kubernetes.io/docs/concepts/configuration/secret/"><em>Secrets in Kubernetes</em></a><em><br></em><a href="https://kubernetes.io/docs/concepts/containers/runtime-class/#usage"><em>Container RunTime</em></a><em><br></em><a href="https://kubernetes.io/docs/concepts/policy/pod-security-policy/#via-rbac"><em>Pod Security Policy</em></a><em><br></em><a href="https://kubernetes.io/docs/tasks/configure-pod-container/_print/#pg-2c0d882359718c4c69c67099bed2156c"><em>Multipage Kubernetes Documentation </em></a><em><br></em><a href="https://kubernetes.io/docs/reference/kubectl/overview/#custom-columns"><em>Custom Columns</em></a></blockquote><p>A snippet of bookmarks which I had prepared prior to the exam</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*9bcuKsvKrohKxbwUL7Oz2w.png" /></figure><p>With that being shared this is the exhaustive list of the Kubernetes documentation which might be useful and will save time while attempting the exam, the exam syllabus and curriculum is quite vast and ever changing.</p><h3>Effective Info</h3><p>While attempting anything related to kube-api-server make sure the cluster is in healthy state after you complete the question. If its unhealthy, make sure to bring the cluster to the previous state and re-attempt but don’t leave the cluster unhealthy.</p><p>Have an understanding of checking the container logs, and how to check and read through them.</p><p>Regarding <a href="https://gitlab.com/apparmor/apparmor/-/wikis/Documentation"><strong>AppArmor</strong></a> please make sure you know the following commands <a href="http://manpages.ubuntu.com/manpages/precise/en/man8/aa-genprof.8.html">aa-genprof</a>, <a href="http://manpages.ubuntu.com/manpages/precise/en/man8/apparmor_parser.8.html">apparmor_parser</a>, <a href="http://manpages.ubuntu.com/manpages/precise/en/man8/aa-enforce.8.html">aa-enforce</a> and <a href="http://manpages.ubuntu.com/manpages/precise/en/man8/aa-status.8.html">aa-status</a> and there usage. These links lead to external websites which is prohibited in the real exam.</p><p><strong>Alias</strong><br>alias kdo=’kubectl get — dry-run -oyaml’<br>alias ka=’kubectl apply -f’</p><p><strong>AppArmor Profile Location</strong><br>/etc/apparmor.d/</p><p><strong>SecComp Profile Location</strong><br>/var/lib/kubelet/seccomp/profiles/</p><p><strong>Get the Image used in by a pod (jq/jsonpath)</strong><br>kubectl get pods pod-name -o json | jq -r ‘.spec.containers[].image’<br>kubectl get pods pod-name -o jsonpath=’{.spec.containers[].image}’</p><p><strong>Effective searching for a string in a file</strong><br>cat file-name.txt | grep -A 10 -B 20 -i “string” <br>A — 10 lines above from the matching string in line<br>B — 20 lines below from the matching string in line<br>i — case insensitive search<br>w — match only whole words</p><p>It would be a very bad day if something like below happens with you, I had a pretty bad one myself so I know this is gonna be very useful if you read through it and have an understanding on what should be done just in case.</p><h3>I am unable to connect with the exam window</h3><p>After all the basic requirements are met with the exam monitor/proctor, you will need to click on <strong>START EXAM</strong> button to begin the exam. If it misbehaves or doesn’t work, inform the proctor immediately and sort this out. Don’t panic as it has been happening with CKS exams recently, your timer hasn’t yet started, for me it took like 40–45 minutes to sort it out.</p><p>I was using Chrome which didn’t work for me and had to change the browser to edge but I didn’t had k8s bookmarks saved on it.</p><h3>I am unable to type in the terminal</h3><p>This can be a major setback, while performing the exam if you are unable to interact with the terminal, give it a minute or two, then without wasting anytime, in the exam UI search for <em>refresh exam window</em> and click on it, if it doesn’t fix, follow up with the <em>reset console</em> option which fixed it for me. Other <a href="https://docs.linuxfoundation.org/tc-docs/certification/lf-candidate-handbook/exam-user-interface"><strong>exam user interface</strong></a> details.</p><blockquote>What do they do?<br><strong>Refresh Exam Window:</strong> use to refresh the Linux Server Terminal without reloading the entire web page. If this doesn’t fix then reset the console<br><strong>Reset Console:</strong> use to reset the HTML terminal application and to flush all firewall settings on the candidate’s server.</blockquote><p>It happened for me when I was at 7th question and I wasted my 30–45 minutes figuring this out whether to click or not or will it reset my previous exam progress because for me the exam monitor went away, it seemed like the other person just vanished, he came back once I figured it out and was already attempting other questions and apologized but that time had already gone away and lost. Due to this I completed my exam in 1.5 hours and missed to answer the last question as well.</p><h3>Communication Channels</h3><p>In case of your exam is expiring and you are unable to book a slot or there is some other info, you can raise the queries on the following channels :</p><p><a href="https://training.linuxfoundation.org/about/contact-us/">https://training.linuxfoundation.org/about/contact-us/</a><br><a href="/service/mailto:examsupport@innovativexams.com">examsupport@innovativexams.com</a><br>1–888–504–9178<br><a href="/service/mailto:examsupport@psionline.com">examsupport@psionline.com</a></p><h3>Finishing Note</h3><p>Being a procrastinator I had very little time for preparation and therefore this is the most aggressive plan I came up with <strong>no time to give a re-attempt</strong>. Please plan before and have enough time so that you can re-attempt the exam in case you fail to pass in the first time. At the time of writing the CKS exam is based on v1.22.0 which will soon be moved to v1.23.0, PodSecurityPolicy is <a href="https://kubernetes.io/blog/2021/04/06/podsecuritypolicy-deprecation-past-present-and-future/">deprecated</a> and with v1.25+ you might see something <a href="https://github.com/kubernetes/enhancements/issues/2579">more</a>, so be prepared for that.</p><p>Thanks for reading and Good Luck with the aggressive <strong>Practice</strong>.<br>For further queries you can connect with me on <a href="https://in.linkedin.com/in/redshubh">LinkedIn</a>. I hope you don’t have any queries as everything is answered here itself.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56a277b2ace4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New CKA/CKAD v1.19.0 Exam Notes]]></title>
            <link>https://redshubh.medium.com/new-cka-ckad-v1-19-0-exam-notes-95f456464864?source=rss-6227d14b025e------2</link>
            <guid isPermaLink="false">https://medium.com/p/95f456464864</guid>
            <category><![CDATA[cka]]></category>
            <category><![CDATA[ckad]]></category>
            <category><![CDATA[k8s-certification]]></category>
            <category><![CDATA[kubernetes-certification]]></category>
            <dc:creator><![CDATA[Shubham Yadav]]></dc:creator>
            <pubDate>Sun, 20 Dec 2020 12:05:26 GMT</pubDate>
            <atom:updated>2021-12-15T14:45:12.431Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*M5XKCZHvtdCg8a4Z1EPx7w.png" /></figure><p>It was a long back goal for me to have a Kubernetes Certification and I achieved the same in late November, 2020 by passing <strong>CKA</strong> and then following week in early December, 2020 by passing <strong>CKAD</strong>. The following blog will answer the queries that I have been receiving till date about CKA/CKAD and its preparation.</p><p>Before starting to prepare for any certification, what is required is to read out the <a href="https://github.com/cncf/curriculum">curriculum</a> and the <a href="https://docs.linuxfoundation.org/tc-docs/certification/tips-cka-and-ckad#exam-technical-instructions">exam instructions</a>. The <a href="https://docs.linuxfoundation.org/tc-docs/certification/tips-cka-and-ckad#cka-and-ckad-environment">environment setup</a> and <a href="https://docs.linuxfoundation.org/tc-docs/certification/lf-candidate-handbook/exam-user-interface">exam user interface</a> for CKA and CKAD includes 6 clusters for CKA and 4 clusters for CKAD respectively for each which are to be completed in 2 hours. Passing score is 66% for CKA and 67% for CKAD.</p><h3>Before starting the Exam</h3><p>You can login to the portal 15 minutes prior to the scheduled exam time. I would suggest be there 20 minutes before, click on <strong>Take Exam </strong>link from the exam portal, meanwhile you can open the <a href="https://kubernetes.io/">kubernetes documentation</a> and read, it will help in memorizing and will kick in while you are reading exam questions. <a href="https://kubernetes.io/docs/reference/kubectl/conventions/#generators">Kubectl Conventions</a> should also be read.</p><h3>After starting the Exam</h3><p>The first tab that needs to be opened is kubectl <a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet">cheatsheet</a>. Check for notepad provided in the exam and enable kubectl <a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet/#bash">autocompletion</a>. If required you can enable handy kubectl aliases as well. An alias I would recommend is alias kgc=&#39;kubectl config get-contexts&#39; . Each time you switch to next question always run <strong>kgc</strong> to confirm you are on the right cluster. The command to switch between clusters is already provided in the exam.</p><h3>Bookmarks to do in Kubernetes documentation</h3><h3><em>CKA</em></h3><blockquote><em>K</em><a href="https://kubernetes.io/docs/reference/kubectl/cheatsheet"><em>ubectl Cheatsheet</em></a><br><em>P</em><a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/"><em>v and Pvc with pod</em> </a>(pv+pvc+pod)<br><a href="https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/"><em>Cluster Upgrade</em></a><br><a href="https://kubernetes.io/docs/concepts/services-networking/ingress/#the-ingress-resource"><em>Ingress for a pod</em></a> (ingress+pod)<br><a href="https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/"><em>Ingress for deployment</em></a><em> (</em>ingress+nginx)<br><a href="https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy/"><em>Access type Network policy</em></a><em> with deployment </em>(declare network policy)<br><a href="https://kubernetes.io/docs/concepts/services-networking/network-policies/#networkpolicy-resource"><em>Full Network Policy</em></a><em><br></em><a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server"><em>ServiceAccount for a pod</em></a><em> (serviceaccount+pod)<br>ClusterRole/Role, ClusterRoleBinding/RoleBinding (use kubectl imperative commands)<br></em><a href="https://kubernetes.io/docs/reference/kubectl/overview/#custom-columns"><em>Custom Columns</em></a></blockquote><h3>CKAD</h3><p>Apart from the cheatsheet in CKAD, the exam is all about configmaps, logging and secrets. Always create configmaps and secrets using kubectl create configmap/secret configmap/secret-name --from-literal=key=value</p><blockquote>configmap+pod (Example <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#define-a-container-environment-variable-with-data-from-a-single-configmap">1</a>, <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#configure-all-key-value-pairs-in-a-configmap-as-container-environment-variables">2</a>, <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#populate-a-volume-with-data-stored-in-a-configmap">3</a>, <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#add-configmap-data-to-a-specific-path-in-the-volume">4</a>)<br><a href="https://kubernetes.io/docs/tutorials/configuration/configure-redis-using-configmap/"><em>Full configmap tutorial example</em></a> (configmap+redis)<br><a href="https://kubernetes.io/docs/concepts/configuration/secret/#using-secrets-as-files-from-a-pod"><em>Secret with volume mounting</em></a> (secret+volume mounting+pod)<br><em>Jobs (</em><a href="https://kubernetes.io/docs/tasks/job/"><em>1</em></a><em> </em><a href="https://kubernetes.io/docs/concepts/workloads/controllers/job/#job-termination-and-cleanup"><em>2</em></a><em> </em><a href="https://kubernetes.io/docs/concepts/workloads/controllers/job/#running-an-example-job"><em>3</em></a><em>) and </em><a href="https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#example"><em>CronJobs</em></a></blockquote><h3>Effective Searching</h3><p>How do you save your time without scrolling all the documentation till below? For example you got to secrets page in kubernetes documentation and now you need to scroll through 1000 lines to search for exact manifest for a pod. One way to do that is to bookmark all the links above and name it and use it in exam. <br>The other way is to search for terms, <strong>kind</strong>: Pod, <strong>kind</strong>: Deployment , <strong>mountPath</strong>: , <strong>volumes</strong>: , <strong>kind</strong>: Secret , <strong>kind</strong>: Configmap etc. There are other terms as well depends on you what you can recall at the moment and what clicks after reading the question.</p><h3>Effective Preparation</h3><p>For me I took both the exams within 2 weeks time. I didn’t see any course videos all I did was half of the labs for CKA and CKAD both as I didn’t had much time in hand, therefore my score was 81/89 in CKA/CKAD respectively. Do all the labs at KodeKloud provided as a freeware with <a href="https://www.udemy.com/user/mumshad-mannambeth/">Mumshad Mannambeth</a>’s Udemy <a href="https://www.udemy.com/course/certified-kubernetes-administrator-with-practice-tests/">CKA</a>/<a href="https://www.udemy.com/course/certified-kubernetes-application-developer/">CKAD</a> course.</p><p>In case you are like me and each time you want a sample of kubectl command with all the allowed arguments, open the following <a href="https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#create">kubectl cheatsheet</a>, its a macro version.</p><p>I repeat only the labs are more than enough to pass in the exam with flying colors only if you have a regressive hands-on experience in linux, containers and orchestration else even after watching the course the result may not be fruitful.</p><p>Furthermore, if you still need to prepare on networkpolicy and jsonpath, you can go ahead with the following github tutorials, personally I didn’t do them.<br>Lab practice on <a href="https://github.com/ahmetb/kubernetes-network-policy-recipes"><em>Network Policy</em></a><br>More questions on <a href="https://github.com/dgkanatsios/CKAD-exercises"><em>CKAD</em></a> and <a href="https://github.com/alijahnas/CKA-practice-exercises#cncf-cka-curriculum"><em>CKA</em></a><em> </em>lab practice on minikube cluster.</p><p>Linux Background requirement is to have the knowledge of <a href="https://shapeshed.com/unix-head/">head</a> or <a href="https://linuxize.com/post/linux-tail-command/">tail</a>, <a href="https://www.tecmint.com/linux-sed-command-tips-tricks/">sed</a> or <a href="https://likegeeks.com/awk-command/">awk</a> linux commands for synthesizing and formatting the output of kubectl commands and then dumping that output into a file. <a href="https://discuss.kubernetes.io/t/kubectl-tips-and-tricks/192/46">General discussion</a> on kubectl tips/tricks.</p><p>I have summarized few tips and learnings, making sure to not overstep the line between ‘being helpful’ and ‘sharing too much’. As with everything, the exam itself, its format and content are continuously evolving. Next on my list is <strong>CKS</strong>.</p><p>Thanks for reading and Good Luck with <strong>Practice-Practice-Practice</strong>.<br>For further queries you can connect with me on <a href="https://in.linkedin.com/in/redshubh">LinkedIn</a>.</p><p><strong>Update — 15 December 2021<br></strong>Finally I have cracked CKS on December 2 ’21. Please refer the <a href="https://redshubh.medium.com/cks-v1-22-0-in-25-hours-56a277b2ace4">preparation guide</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95f456464864" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>