<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Statefulset on Shirlene Lim&#39;s DevSecOps Projects</title>
    <link>https://shirlenelim.se/tags/statefulset/</link>
    <description>Recent content in Statefulset on Shirlene Lim&#39;s DevSecOps Projects</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 16 Oct 2026 00:07:33 +0200</lastBuildDate>
    <atom:link href="https://shirlenelim.se/tags/statefulset/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Kubernetes workloads</title>
      <link>https://shirlenelim.se/posts/kubernetes_workload/</link>
      <pubDate>Fri, 16 Oct 2026 00:07:33 +0200</pubDate>
      <guid>https://shirlenelim.se/posts/kubernetes_workload/</guid>
      <description>&lt;h1 id=&#34;kubernetes-workloads&#34;&gt;kubernetes #workloads&lt;/h1&gt;&#xA;&lt;p&gt;Here is my raw notes when I was learning about kubernetes workloads.&#xA;Basic kubernetes knowledge&lt;/p&gt;&#xA;&lt;h2 id=&#34;deployment&#34;&gt;deployment&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;control what to deploy&lt;/li&gt;&#xA;&lt;li&gt;stateless&lt;/li&gt;&#xA;&lt;li&gt;scaling&lt;/li&gt;&#xA;&lt;li&gt;rolling updates and rollback&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;replicaset&#34;&gt;replicaset&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;ensure number of pods&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;statefulset&#34;&gt;statefulset&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;stateful for DB&lt;/li&gt;&#xA;&lt;li&gt;stateful network identities&lt;/li&gt;&#xA;&lt;li&gt;persistent storage per pod&lt;/li&gt;&#xA;&lt;li&gt;creation and deletion order&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;daemonset&#34;&gt;daemonset&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;background service on every node&lt;/li&gt;&#xA;&lt;li&gt;for polling, logging, monitoring, network management, security agent&lt;/li&gt;&#xA;&lt;li&gt;do not use if&#xA;&lt;ul&gt;&#xA;&lt;li&gt;service needed on some nodes then use deployment with labels&lt;/li&gt;&#xA;&lt;li&gt;scalability needed&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;job&#34;&gt;job&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;batch jobs&lt;/li&gt;&#xA;&lt;li&gt;runs till completion&lt;/li&gt;&#xA;&lt;li&gt;can retry&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;restartPolicy: never &#xA;backoffLimit: 3 //retries&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;cronjob&#34;&gt;cronjob&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;batch jobs on schedule&lt;/li&gt;&#xA;&lt;li&gt;concurrency policy&lt;/li&gt;&#xA;&lt;li&gt;eg running scripts, cleanups, log rotation&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;* * * * * command&#xA;min , hour, day of month, month , day of week , command to run&#xA;&#xA;0 0 **** every day midnight &#xA;0 9 ** 1 every monday 9am&#xA;&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
