<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kubernetes on Nerdsid.com</title><link>https://nerdsid.com/tags/kubernetes/</link><description>Recent content in Kubernetes on Nerdsid.com</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 02 Jun 2026 05:54:03 +0000</lastBuildDate><atom:link href="https://nerdsid.com/tags/kubernetes/index.xml" rel="self" type="application/rss+xml"/><item><title>Custom Resource Definition</title><link>https://nerdsid.com/posts/kubernetes-custom-resource-definition/</link><pubDate>Tue, 02 Jun 2026 05:54:03 +0000</pubDate><guid>https://nerdsid.com/posts/kubernetes-custom-resource-definition/</guid><description>&lt;h2 id="task-1">Task 1&lt;/h2>
&lt;p>CRD objects can be either namespaced or cluster-scoped.&lt;/p>
&lt;p>Is this statement true or false?&lt;/p>
&lt;p>Answer: True&lt;/p>
&lt;h2 id="task-2">Task 2&lt;/h2>
&lt;p>What is a custom resource?&lt;/p>
&lt;p>Answer: A custom resource is an extension of the Kubernetes API that is not necessarily available in a default Kubernetes installation.&lt;/p>
&lt;h2 id="task-3">Task 3&lt;/h2>
&lt;p>We have provided an incomplete Custom Resource Definition (CRD) manifest located at &lt;code>/root/crd.yaml&lt;/code>. Complete the file to define a namespaced CRD named &lt;code>internals.datasets.kodekloud.com&lt;/code>.&lt;/p></description></item><item><title>Deployments in Kubernetes</title><link>https://nerdsid.com/posts/deployments-in-kubernetes/</link><pubDate>Wed, 06 May 2026 15:06:12 +0000</pubDate><guid>https://nerdsid.com/posts/deployments-in-kubernetes/</guid><description>&lt;h2 id="tasks">Tasks&lt;/h2>
&lt;h3 id="task-1">Task 1&lt;/h3>
&lt;p>How many PODs exist on the system?&lt;/p>

&lt;figure class="terminal no-copy">
 &lt;header class="terminal-header">
 &lt;div class="terminal-controls">
 &lt;span class="dot dot--red">&lt;/span>
 &lt;span class="dot dot--yellow">&lt;/span>
 &lt;span class="dot dot--green">&lt;/span>
 &lt;/div>
 
 &lt;/header>
 &lt;pre>&lt;code>$ k get po
No resources found in default namespace.&lt;/code>&lt;/pre>
&lt;/figure>

&lt;p>Ans: 0&lt;/p>
&lt;h3 id="task-2">Task 2&lt;/h3>
&lt;p>How many ReplicaSets exist on the system?&lt;/p>

&lt;figure class="terminal no-copy">
 &lt;header class="terminal-header">
 &lt;div class="terminal-controls">
 &lt;span class="dot dot--red">&lt;/span>
 &lt;span class="dot dot--yellow">&lt;/span>
 &lt;span class="dot dot--green">&lt;/span>
 &lt;/div>
 
 &lt;/header>
 &lt;pre>&lt;code>$ k get rs
No resources found in default namespace.&lt;/code>&lt;/pre>
&lt;/figure>

&lt;h3 id="task-3">Task 3&lt;/h3>
&lt;p>How many Deployments exist on the system?&lt;/p>

&lt;figure class="terminal no-copy">
 &lt;header class="terminal-header">
 &lt;div class="terminal-controls">
 &lt;span class="dot dot--red">&lt;/span>
 &lt;span class="dot dot--yellow">&lt;/span>
 &lt;span class="dot dot--green">&lt;/span>
 &lt;/div>
 
 &lt;/header>
 &lt;pre>&lt;code>$ k get deploy
No resources found in default namespace.&lt;/code>&lt;/pre>
&lt;/figure>

&lt;h3 id="task-4">Task 4&lt;/h3>
&lt;p>How many Deployments exist on the system &lt;em>now&lt;/em>?&lt;/p></description></item><item><title>Pods in Kubernetes</title><link>https://nerdsid.com/posts/pods-in-kubernetes/</link><pubDate>Tue, 05 May 2026 16:46:53 +0000</pubDate><guid>https://nerdsid.com/posts/pods-in-kubernetes/</guid><description>&lt;h2 id="task">Task&lt;/h2>
&lt;p>The lab consists of a k8s master node &amp;amp; worker node. You have access to a terminal on the controlplane.&lt;/p>
&lt;h3 id="task-1">Task 1&lt;/h3>
&lt;p>How many pods exist on the system?&lt;/p>

&lt;figure class="terminal no-copy">
 &lt;header class="terminal-header">
 &lt;div class="terminal-controls">
 &lt;span class="dot dot--red">&lt;/span>
 &lt;span class="dot dot--yellow">&lt;/span>
 &lt;span class="dot dot--green">&lt;/span>
 &lt;/div>
 
 &lt;figcaption class="terminal-title">list pods&lt;/figcaption>
 
 &lt;/header>
 &lt;pre>&lt;code>$ k get po
No resources found in default namespace.&lt;/code>&lt;/pre>
&lt;/figure>

&lt;p>Ans: 0&lt;/p>
&lt;h3 id="task-2">Task 2&lt;/h3>
&lt;p>Create a new pod using the nginx image.&lt;/p>
&lt;p>Ans:&lt;/p>

&lt;figure class="terminal no-copy">
 &lt;header class="terminal-header">
 &lt;div class="terminal-controls">
 &lt;span class="dot dot--red">&lt;/span>
 &lt;span class="dot dot--yellow">&lt;/span>
 &lt;span class="dot dot--green">&lt;/span>
 &lt;/div>
 
 &lt;/header>
 &lt;pre>&lt;code>$ kubectl run nginx --image=nginx
pod/nginx created&lt;/code>&lt;/pre>
&lt;/figure>

&lt;p>The basic syntax is:&lt;/p></description></item></channel></rss>