<?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: Mezbaur Rahman</title>
    <description>The latest articles on DEV Community by Mezbaur Rahman (@myjanala).</description>
    <link>https://dev.to/myjanala</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F347424%2F905e3fc3-1654-4964-bcbf-d3486cc35b83.png</url>
      <title>DEV Community: Mezbaur Rahman</title>
      <link>https://dev.to/myjanala</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/myjanala"/>
    <language>en</language>
    <item>
      <title>Code Organisation Strategy for GitOps</title>
      <dc:creator>Mezbaur Rahman</dc:creator>
      <pubDate>Sat, 19 Feb 2022 11:01:42 +0000</pubDate>
      <link>https://dev.to/myjanala/code-organisation-strategy-for-gitops-3jh1</link>
      <guid>https://dev.to/myjanala/code-organisation-strategy-for-gitops-3jh1</guid>
      <description>&lt;p&gt;One of the most often question is: Is GitOps just another way of doing CI/CD? The answer to this question is simply NO. GitOps only takes care of the CD part, the delivery part. To achieve this, one would think about organising the repo structure. So, you would maintain 3 different repos to main:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitOps Fleet &lt;/li&gt;
&lt;li&gt;Project Deployment &lt;/li&gt;
&lt;li&gt;Project/App Source&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;GitOps Fleet Repository&lt;/strong&gt; to manage organisation wide deployments to Kubernetes with FluxCD. This repository would contain&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cluster Configuration &lt;/li&gt;
&lt;li&gt;Cluster Wide Infrastructure Components e.g. Ingress Controllers, Repository Secrets etc.&lt;/li&gt;
&lt;li&gt;Project onboarding configurations aka. tenants spec.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Project Deployment Repository&lt;/strong&gt; (tenant). This repository would contain k8s manifests for &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;infra &lt;/li&gt;
&lt;li&gt;app and &lt;/li&gt;
&lt;li&gt;pipelines/tekton &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The code could be either &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Helm charts source code&lt;/li&gt;
&lt;li&gt;YAML Manifests as either

&lt;ul&gt;
&lt;li&gt;Plain YAML&lt;/li&gt;
&lt;li&gt;Kustomize Overlays&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Project/App Source Repository&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Application Source Code&lt;/li&gt;
&lt;li&gt;Contains Source Code + Dockerfile etc. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, the following diagram shows the code organisation strategy described above, above with a clear separation of the CI and CD stages.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--v6F0V8iK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fhdy13fzjte0c093t732.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--v6F0V8iK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fhdy13fzjte0c093t732.jpeg" alt="Image description" width="880" height="549"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;note: I have taken encouragement from this &lt;a href="https://github.com/devopsfoo/flux-fleet/tree/02-onboard-instavote"&gt;example&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>gitops</category>
    </item>
    <item>
      <title>Get to know a DevOps Engineer - me</title>
      <dc:creator>Mezbaur Rahman</dc:creator>
      <pubDate>Sun, 16 Jan 2022 12:07:13 +0000</pubDate>
      <link>https://dev.to/myjanala/get-to-know-a-devops-engineer-me-32a</link>
      <guid>https://dev.to/myjanala/get-to-know-a-devops-engineer-me-32a</guid>
      <description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=hpHVE1CH1IU&amp;amp;t=1191s"&gt;Get to know a DevOps Engineer - Mezbaur Rahman&lt;/a&gt; is my first ever and I must admit, not very good attempt to give a talk about being a DevOps engineer on youtube on a session arranged by &lt;a href="https://codebar.io/"&gt;Codebar&lt;/a&gt;. A huge thanks to &lt;a href="https://twitter.com/kimberleycook91?lang=en"&gt;Kimberley&lt;/a&gt; for giving me the opportunity, &lt;/p&gt;

&lt;p&gt;I would appreciate comments, suggestions or even any criticism. &lt;/p&gt;

</description>
      <category>devops</category>
    </item>
  </channel>
</rss>
