<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: devwiki</title>
    <description>The latest articles on DEV Community by devwiki (@devwiki101).</description>
    <link>https://dev.to/devwiki101</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4284556%2F992caf26-bd58-4634-a9c1-52e41078540d.png</url>
      <title>DEV Community: devwiki</title>
      <link>https://dev.to/devwiki101</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devwiki101"/>
    <language>en</language>
    <item>
      <title>A CKS Study Map for Backend Developers</title>
      <dc:creator>devwiki</dc:creator>
      <pubDate>Sat, 05 Dec 2026 13:09:32 +0000</pubDate>
      <link>https://dev.to/devwiki101/a-cks-study-map-for-backend-developers-4pb4</link>
      <guid>https://dev.to/devwiki101/a-cks-study-map-for-backend-developers-4pb4</guid>
      <description>&lt;p&gt;If you come to Kubernetes from backend development, you probably feel comfortable writing Deployments, Services, and Ingress manifests. The Certified Kubernetes Security Specialist (CKS) exam tests a different layer: what happens in the Linux host, the container runtime, the network path, and the image supply chain when something goes wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Official CKS Exam Domains
&lt;/h2&gt;

&lt;p&gt;Start by mapping your study time to the six official CNCF exam domains:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Domain&lt;/th&gt;
&lt;th&gt;Weight&lt;/th&gt;
&lt;th&gt;Backend Blind Spots to Watch&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Minimize Microservice Vulnerabilities&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;securityContext&lt;/code&gt;, Pod Security Standards, RBAC, NetworkPolicy, Secrets encryption at rest&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supply Chain Security&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;Minimal base images, image vulnerability scanning (e.g., Trivy), registry policies, signature checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monitoring, Logging, and Runtime Security&lt;/td&gt;
&lt;td&gt;20%&lt;/td&gt;
&lt;td&gt;Runtime behavioral alerts (e.g., Falco), API server audit logs, immutable filesystems&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cluster Setup&lt;/td&gt;
&lt;td&gt;15%&lt;/td&gt;
&lt;td&gt;Network isolation, CIS benchmarks for control-plane components, Ingress TLS, node metadata protection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cluster Hardening&lt;/td&gt;
&lt;td&gt;15%&lt;/td&gt;
&lt;td&gt;API server access restriction, minimal ServiceAccounts, disabling auto-mounted tokens, upgrades&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;System Hardening&lt;/td&gt;
&lt;td&gt;10%&lt;/td&gt;
&lt;td&gt;Reducing host kernel attack surface, AppArmor, seccomp, restricting kernel modules&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Reference: &lt;a href="https://www.cncf.io/training/certification/cks/" rel="noopener noreferrer"&gt;CNCF CKS Overview&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. First Hands-On Bridge: Container Config to Host OS (AppArmor)
&lt;/h2&gt;

&lt;p&gt;One of the fastest ways to feel the shift from application YAML to host-level security is AppArmor. AppArmor is a Linux Security Module (LSM) enforced by the worker node's kernel, while your Pod manifest tells Kubernetes which profile to apply.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites on the worker node&lt;/strong&gt; (from the official Kubernetes AppArmor tutorial):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Verify AppArmor is enabled in the Linux kernel: &lt;code&gt;cat /sys/module/apparmor/parameters/enabled&lt;/code&gt; should return &lt;code&gt;Y&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Confirm your container runtime (such as containerd or CRI-O) supports AppArmor.&lt;/li&gt;
&lt;li&gt;For a custom &lt;code&gt;Localhost&lt;/code&gt; profile, pre-load the profile onto every node where the Pod may be scheduled (for example, using &lt;code&gt;apparmor_parser&lt;/code&gt;), because the Kubernetes scheduler does not check custom node-level profiles automatically.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Pod manifest using the stable &lt;code&gt;securityContext.appArmorProfile&lt;/code&gt; field:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;v1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Pod&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;apparmor-localhost-demo&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;containers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;secure-container&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;nginx:latest&lt;/span&gt;
    &lt;span class="na"&gt;securityContext&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;appArmorProfile&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Localhost&lt;/span&gt;
        &lt;span class="na"&gt;localhostProfile&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;k8s-apparmor-example-deny-write&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Use &lt;code&gt;type: RuntimeDefault&lt;/code&gt; to apply the container runtime's default profile, &lt;code&gt;type: Localhost&lt;/code&gt; with &lt;code&gt;localhostProfile&lt;/code&gt; for a node-loaded custom profile, or &lt;code&gt;type: Unconfined&lt;/code&gt; to disable AppArmor enforcement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What to verify after &lt;code&gt;kubectl apply&lt;/code&gt;&lt;/strong&gt;: check that the Pod enters &lt;code&gt;Running&lt;/code&gt; state (&lt;code&gt;kubectl get pod apparmor-localhost-demo&lt;/code&gt;) and test a blocked action (such as writing a file inside a &lt;code&gt;deny-write&lt;/code&gt; profile) to confirm the host kernel rejects it with a permission error.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reference: &lt;a href="https://kubernetes.io/docs/tutorials/security/apparmor/" rel="noopener noreferrer"&gt;Restrict a Container's Access to Resources with AppArmor&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. How to Sequence Your Practice
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Build familiarity with the six domains above using official Kubernetes documentation and hands-on cluster labs.&lt;/li&gt;
&lt;li&gt;Practice switching quickly between cluster manifests (&lt;code&gt;NetworkPolicy&lt;/code&gt;, &lt;code&gt;RBAC&lt;/code&gt;, &lt;code&gt;securityContext&lt;/code&gt;) and node-level checks (&lt;code&gt;AppArmor&lt;/code&gt;, audit logs, image scans).&lt;/li&gt;
&lt;li&gt;Treat timed mock environments as your final readiness check before scheduling the exam.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I write longer notes on engineering leadership and developer careers in Korea &lt;a href="https://medium.com/@devwiki101" rel="noopener noreferrer"&gt;on Medium&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written with AI from the official CNCF and Kubernetes documentation linked above, and checked against those pages.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>security</category>
      <category>devops</category>
      <category>certification</category>
    </item>
    <item>
      <title>Three checks before you say “It works on my machine”</title>
      <dc:creator>devwiki</dc:creator>
      <pubDate>Sat, 05 Dec 2026 12:47:43 +0000</pubDate>
      <link>https://dev.to/devwiki101/three-checks-before-you-say-it-works-on-my-machine-3n2p</link>
      <guid>https://dev.to/devwiki101/three-checks-before-you-say-it-works-on-my-machine-3n2p</guid>
      <description>&lt;p&gt;A feature can work on your laptop and still fail the moment another developer tries it. Before calling a change done, leave behind enough information for the team to reproduce what you saw.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Identify the code.&lt;/strong&gt; Give the team the pull request or commit you tested. Check that the branch you pushed contains the change. If a reviewer tests a different revision, you can both be right about what worked. (&lt;a href="https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes" rel="noopener noreferrer"&gt;Git remotes&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the environment.&lt;/strong&gt; Say whether you tested on your laptop, in CI, or in a shared test environment. If a dependency matters, state what was present. A local run with a service already running answers a different question from a fresh build on CI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Record an observable result.&lt;/strong&gt; Write down the action you took and what you saw. A pull request note can be as simple as "Opened the settings page, changed the language, reloaded, and saw the same language." If you only ran a local check, record the shared-environment check as a follow-up. (&lt;a href="https://docs.github.com/en/pull-requests/reference/pull-requests" rel="noopener noreferrer"&gt;GitHub pull requests&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is a starting point for a handoff. The next person should know which code to test, where to run it, and what result to expect.&lt;/p&gt;

&lt;p&gt;For the team side of this problem, see &lt;a href="https://medium.com/@devwiki101/it-works-on-my-machine-the-line-between-my-code-and-our-code-70520f7c4ce5" rel="noopener noreferrer"&gt;"It Works on My Machine": The Line Between My Code and Our Code&lt;/a&gt; (Medium member-only).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Drafted with AI assistance, based on my own Medium essay linked above.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>git</category>
      <category>beginners</category>
      <category>productivity</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Three checks before you say “It works on my machine”</title>
      <dc:creator>devwiki</dc:creator>
      <pubDate>Sat, 05 Dec 2026 11:09:28 +0000</pubDate>
      <link>https://dev.to/devwiki101/three-checks-before-you-say-it-works-on-my-machine-5436</link>
      <guid>https://dev.to/devwiki101/three-checks-before-you-say-it-works-on-my-machine-5436</guid>
      <description>&lt;p&gt;A feature can work on your laptop and still fail when another developer tries it. Before asking someone to review a change, leave them enough information to reproduce what you saw.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Identify the code.&lt;/strong&gt; Link to the pull request and record the commit you tested. Make sure your changes are on the branch you pushed. If the reviewer tests a different revision, you can both be right about what worked. &lt;a href="https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes" rel="noopener noreferrer"&gt;Git remotes&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the environment.&lt;/strong&gt; Say whether you tested locally, in CI, or in a shared test environment. Mention the dependency that could change the result, such as a database that was already running locally. A passing local run and a clean CI build answer different questions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Record what happened.&lt;/strong&gt; Write down the action and what you saw. If you only tested locally, make it clear which check is still open so a teammate can pick it up. &lt;a href="https://docs.github.com/en/pull-requests/reference/pull-requests" rel="noopener noreferrer"&gt;GitHub pull requests&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here’s a review note you can copy. This example uses a language setting:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Code: PR link + tested commit
Environment: Local development server
Action: Changed the display language and reloaded Settings
Result: The selected language persisted after reload
Still to check: Same steps in the shared test environment
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the team side of this problem, see &lt;a href="https://medium.com/@devwiki101/it-works-on-my-machine-the-line-between-my-code-and-our-code-70520f7c4ce5" rel="noopener noreferrer"&gt;“It Works on My Machine”: The Line Between My Code and Our Code&lt;/a&gt; on Medium (member-only).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This English checklist was drafted with AI using the author's earlier writing as background. The settings example is illustrative.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>git</category>
      <category>beginners</category>
      <category>devops</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
