<?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 Ahmedulde on Medium]]></title>
        <description><![CDATA[Stories by Ahmedulde on Medium]]></description>
        <link>https://medium.com/@ahmedulde?source=rss-1dfc1d8a1207------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*g1Bw6i2AvlhWk2TG</url>
            <title>Stories by Ahmedulde on Medium</title>
            <link>https://medium.com/@ahmedulde?source=rss-1dfc1d8a1207------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:50:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ahmedulde/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[Installing Ruby and Beef on MAC]]></title>
            <link>https://ahmedulde.medium.com/installing-ruby-and-beef-on-mac-eab4f7ee32bd?source=rss-1dfc1d8a1207------2</link>
            <guid isPermaLink="false">https://medium.com/p/eab4f7ee32bd</guid>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[beef]]></category>
            <dc:creator><![CDATA[Ahmedulde]]></dc:creator>
            <pubDate>Tue, 17 Jan 2023 22:04:29 GMT</pubDate>
            <atom:updated>2023-01-17T22:04:29.493Z</atom:updated>
            <content:encoded><![CDATA[<p>There are a few challenges that can arise when installing Ruby on a Mac, such as:</p><ol><li><strong>Conflicting versions:</strong> If you already have Ruby installed on your system, trying to install a new version can cause conflicts and errors. This can be resolved by using a version manager such as rbenv or rvm, which allows you to easily switch between different versions of Ruby.</li><li><strong>Dependency issues:</strong> Ruby has a number of dependencies, such as OpenSSL, libyaml, and readline. If these dependencies are not met or are not compatible with the version of Ruby you are trying to install, you may encounter errors during the installation process.</li><li><strong>Permissions issues:</strong> If you are installing Ruby as a non-root user, you may encounter errors related to permissions when trying to install or upgrade Ruby. This can be resolved by using a package manager like Homebrew, which manages dependencies and permissions for you.</li><li><strong>Compatibility issues:</strong> It’s also important to check that the version of Ruby you are installing is compatible with the version of the operating system you are running. For example, if you are running an older version of macOS, you may need to install an older version of Ruby that is compatible with your system.</li><li><strong>Old version of XCode</strong>: If you are running an old version of XCode, it may not be able to build some of the native extensions required for certain gems. Updating to the latest version of XCode should resolve this issue.</li></ol><p>Installing Ruby on a Mac can be done in a few simple steps.</p><ol><li>First, check if Ruby is already installed on your system by opening a terminal window and typing “ruby -v”. This command will display the version of Ruby currently installed on your system. If Ruby is not installed, or if you want to install a different version, you can proceed to the next step.</li><li>The easiest way to install Ruby on a Mac is to use the package manager Homebrew. If you don’t have Homebrew installed, you can install it by opening a terminal window and typing “ruby -e “$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/master/install">https://raw.githubusercontent.com/Homebrew/install/master/install</a>)&quot;&quot; or you can also visit <a href="https://brew.sh/">homebrew link</a></li><li>Once Homebrew is installed, you can use it to install Ruby by typing “brew install ruby” in the terminal window. This will download and install the latest version of Ruby.</li><li>To verify that Ruby has been installed successfully, you can type “ruby -v” again in the terminal window. This should display the version of Ruby that you just installed.</li></ol><p>By following these steps, you should have Ruby installed on your Mac and be ready to start developing with it.</p><pre>ruby -v<br>brew install ruby<br>echo &#39;export PATH=&quot;/opt/homebrew/opt/ruby/bin:$PATH&quot;&#39; &gt;&gt; ~/.zshrc<br>echo &#39;export LDFLAGS=&quot;-L/opt/homebrew/opt/ruby/lib&quot;&#39; &gt;&gt; ~/.zshrc<br>echo &#39;export CPPFLAGS=&quot;-I/opt/homebrew/opt/ruby/include&quot;&#39; &gt;&gt; ~/.zshrc<br>source ~/.zshrc<br><br># the steps below are necessary for beef installation. <br># eventmachine is of the gems needed for beef<br>brew link --force openssl@1.1<br>gem install eventmachine<br>gem install eventmachine -- --with-openssl-dir=/opt/homebrew/opt/openssl@1.1</pre><p>Once you have ruby installed, then you can proceed further to install beef.</p><p>BeEF (Browser Exploitation Framework) is a penetration testing tool that focuses on the web browser. Here are the steps to install BeEF on a Mac using the Git source:</p><ol><li>First, make sure that you have Git installed on your system. You can check if Git is installed by running the command “git — version” in a terminal window. If Git is not installed, you can install it using Homebrew by running the command “brew install git”.</li><li>Next, clone the BeEF repository from GitHub by running the following command in a terminal window: “git clone <a href="https://github.com/beefproject/beef.git">https://github.com/beefproject/beef.git</a>&quot;</li><li>Change directory to the beef folder: “cd beef”</li><li>Run the installer: “./install”</li><li>Start the BeEF server: “./beef”</li><li>Open your browser and go to “<a href="http://localhost:3000/ui/panel">http://localhost:3000/ui/panel</a>&quot; to access the BeEF web interface.</li><li>To stop the BeEF server, you can use command: “./beef -x”</li></ol><p>Please note that BeEF is a powerful tool that should only be used in a controlled environment and with proper consent. It should not be used for any illegal activities.</p><p>Also please note that some dependencies like ruby, gems etc are needed to be installed prior to running the above command, as you can see in the first step.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eab4f7ee32bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing Nethunter on Google Pixel]]></title>
            <link>https://ahmedulde.medium.com/installing-nethunter-on-google-pixel-394b761b088f?source=rss-1dfc1d8a1207------2</link>
            <guid isPermaLink="false">https://medium.com/p/394b761b088f</guid>
            <category><![CDATA[nethunter]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[root-android-phone]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Ahmedulde]]></dc:creator>
            <pubDate>Sat, 18 Sep 2021 02:28:12 GMT</pubDate>
            <atom:updated>2021-09-18T03:33:11.472Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/885/0*N5kxJD4gaxDUCAkp.png" /><figcaption>Install Nethunter on Android Device — 2021</figcaption></figure><blockquote>Please follow this tutorial for educational purposes and at your own risk. This is something i did on my personal device and decided to share my experience on the blog. It may or may not work on your device but you follow the general guidelines.</blockquote><p>Nethunter distribution is available as zip and can be downloaded from the official page. The goal is to be able to flash this zip file on to your device.</p><p>In Order to do this, we need to follow the steps given below:</p><ol><li>Unlock bootloader of android device</li><li>Install a custom recovery mode on the device. TWRP is preferred for nethunter.</li><li>Flash <a href="https://topjohnwu.github.io/Magisk/install.html">Magisk</a> and in some cases Disable dm-verity and encryption.</li><li>Finally flash <a href="https://www.kali.org/get-kali/#kali-mobile">nethunter zip file</a>. You can update the application once installed to match up the android version. In my case i was running Pixel 2 XL with Android 11. So i flashed Nexus 6P oreo and later updated the application using nethunter app store.</li></ol><p>Each of the 4 stages are explained in more detail below:</p><h3><strong>STEP 1: Unlocking bootloader</strong></h3><p>You need to install Google USB driver, ADB and fastboot on a laptop in order to unlock bootloader. Best way to setup this is to use android studio SDK manager and setup the necessary tools needed. The adb and fastboot are exe file which will be in default android sdk location. You can launch a terminal and switch to the directory where adb and fastboot exe are located.</p><p>Now you need to make sure you have Android Developer Mode, OEM unlock, USB Debugging enabled on the phone. Connect your phone to laptop using a good quality USB cable (yes it does matter in some cases). And run the commands as shown below:</p><pre>#Check version should be same if you have used sdk manager<br>#Check version to ensure the tools are running<br>adb --version<br>fastboot --version</pre><pre>#Check if your device is showing up. If not you need to make sure #you have proper Google USB driver installed and Device manager #should not show any warning. If everything is alright you can see #android device in device manager without any warning<br>adb devices</pre><pre>#To switch to bootloader mode use this command. You can #alternatively use pwr+vol_down, but i prefer using adb.<br>adb reboot bootloader </pre><pre>#Once bootloader has started run the command below to make sure #fastboot command can detect your device. <br>fastboot devices</pre><pre>#Now you can unlock your bootloader<br>fastboot flashing unlock </pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*HkoAbzV0OHCXdXr8pEqiBQ.png" /><figcaption>Example of output after successful unlocking</figcaption></figure><p><strong>STEP 2: Install Custom Recovery TWRP and flash necessary files</strong></p><p>Download latest zip and img file for the <a href="https://twrp.me/">TWRP files</a></p><p>Download Magisk latest apk file from <a href="https://magiskmanager.com/">link </a>and change the extension to .zip</p><p>Download DM-Verity, Force Encryption and Disk Quota Disabler from <a href="https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip">link</a>. This was needed for Pixel phone running android 9, 10 or 11. You may or may need this. You can check the notes column on the nethunter <a href="https://stats.nethunter.com/nethunter-images.html">page</a>. This has to be done before installing Nethunter as it may fail while setting up kali file system.</p><p>Any other mods can be downloaded and copied to the Phones Internal Storage.</p><p>Now to launch the recovery mode for the first time we will use .img file. No need to copy this file. We will run it once and then install the Recovery App from Zip. For running the TRWP img file see the command below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RA6uhlz3LLgAqjzWGMZzLA.png" /></figure><p>Your mobile should reboot and go into recovery mode and it looks some like screenshot shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/0*7HV7WWtfPsFAcaJH.png" /></figure><p>Click INSTALL &gt; Select all the zip files &gt; Reboot &gt; System</p><p>For this stage you can refer the <a href="https://www.youtube.com/watch?v=nFD9sa-WdUM&amp;t=642s">video</a>.</p><p>You may need to input your security PIN that you would normally use to unlock your phone.</p><p>Now using this recovery module you can flash any zip files for any mods. You need to flash magisk and update it. Then use Magisk to install nethunter</p><p>Now you can goto magisk. Magisk is a app store/app manager for apps that need root access. You can search for nethunter zip file on phone internal storage and let magisk install it. You can see 3 icons installed. Use Nethunter App Store to update the nethunter binaries. Now you can open nethunter app and run CHROOT which will complete the setup</p><p>Found this <a href="https://www.youtube.com/watch?v=pPIWlOj3I3U&amp;t=37s">video</a> helpful at this stage.</p><p><strong>References:</strong></p><p><a href="https://developer.android.com/studio/run/win-usb">https://developer.android.com/studio/run/win-usb</a></p><p><a href="https://highonandroid.com/android-smartphones/how-to-root-android-p9-0-pixelpixel-xlpixel-2pixel-2xl/">https://highonandroid.com/android-smartphones/how-to-root-android-p9-0-pixelpixel-xlpixel-2pixel-2xl/</a> (the files are a bit outdated)</p><p><a href="https://topjohnwu.github.io/Magisk/install.html">https://topjohnwu.github.io/Magisk/install.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=394b761b088f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSI : Container Storage Interface and how to go about it]]></title>
            <link>https://ahmedulde.medium.com/csi-container-storage-interface-and-how-to-go-about-it-ed6417fd4f43?source=rss-1dfc1d8a1207------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed6417fd4f43</guid>
            <category><![CDATA[storage-interface]]></category>
            <category><![CDATA[operators]]></category>
            <category><![CDATA[persistent-volume]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[kuberenetes]]></category>
            <dc:creator><![CDATA[Ahmedulde]]></dc:creator>
            <pubDate>Wed, 20 Jan 2021 21:53:11 GMT</pubDate>
            <atom:updated>2021-01-20T21:53:11.081Z</atom:updated>
            <content:encoded><![CDATA[<h3>CSI : Container Storage Interface and how to go about it</h3><p>Kubernetes announce container storage interface (CSI) in general availability in the Kubernetes v1.13 release in the year 2019. Since then CSI has opened up the possibility of a true cloud native storage and k8s users did not have to worry about volume plugins anymore. Before the advent of CSI, k8s provided a powerful volume plugin system which were “in-tree” meaning their code was part of the core Kubernetes code and shipped with the core Kubernetes binaries — vendors wanting to add support for their storage system to Kubernetes (or even fix a bug in an existing volume plugin) were forced to align with the Kubernetes release process. Various vendors and contributors came together to build the container storage interface to solve the issue.</p><p>There are different container orchestrators like kubernetes, openshift, mesosphere, docker etc. and also there are different storage providers like Amazon EBS, Azure Disks, Azure File, GCP Persistent Disk, Ceph Storage, Portworx etc. To separate these storage providers from the container workloads we can make use of container storage interface in between. CSI acts as the control plane to the actual storage a.k.a data plane. Using CSI you can control storage by create/delete volumes, mount/unmount volumes, create snapshots, perform backups and recovery etc.</p><p><strong>Some important design choices for CSI </strong>were to use out of tree structure vs in-tree to avoid interference with the release cycles for kubernetes. Also a service based design rather than cli based was chosen and it was decided to have two sets of api for controller and node services. Every api was decided to be idempotent for better failure recovery. Also these API’s were synchronous and use gRPC for the communication as it better supported the overall goal.</p><p><strong>Architecture Diagram:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*GM3xV7wG9O09DdbG26kxEg.png" /><figcaption>How CSI Plugin work is shown in the above diagram</figcaption></figure><p>You need to extend these interfaces to achieve a higher goal of being able to run and manage your storage at hyper-scale level. Thats where use of other vendors and CNCF projects become important. If possible, always make an attempt to remain vendor neutral at the storage level we must try to use open source and community driven projects or you can also architect in such a way that vendors are not bottlenecks in the architecture.</p><p>CNCF hosted projects that can be used to further extend CSI capabilities are mentioned below:</p><p><strong>Rook</strong> consists of 3 architectural layers — operator, Storage Provisioning and Data Layer. Rook Operator owns the management of the storage provider, storage provisioning layer is where CSI driver connects client pods to the storage itself and the data layer is the storage provider or the storage daemons like block, file, object, databases etc. This allows you to run different storage providers independently in the same cluster. Currently rook supports Ceph, EdgeFS (deprecated), Cassandra, CockroachDB, NFS, YugabyteFS and apache Ozone</p><p>Another example is <strong>OpenEBS </strong>(supported by mayadata), that allows to create a storage pool (cStor Pool) and workloads can claim storage from this pool. its mainly focused for SRE, storage admins and app developers. You can use openEBS for use cases like stateful apps, CI/CD, deployments and other integrations, multi-cloud, hyper scale use cases. This projects aims at turning your kubernetes into a data plane and future release plans towards chaos engineering, UI, cross-site management etc. OpenEBS supports velero plugin so you can leverage velero capabilities for backup and recovery.</p><p><strong>Longhorn</strong> (supported by rancher) is a lightweight, reliable and easy-to-use distributed block storage system for Kubernetes. With Longhorn you can:</p><ul><li>Use Longhorn volumes as persistent storage for the distributed stateful applications in your Kubernetes cluster</li><li>Partition your block storage into Longhorn volumes so that you can use Kubernetes volumes with or without a cloud provider</li><li>Replicate block storage across multiple nodes and data centers to increase availability</li><li>Store backup data in external storage such as NFS or AWS S3</li><li>Create cross-cluster disaster recovery volumes so that data from a primary Kubernetes cluster can be quickly recovered from backup in a second Kubernetes cluster</li><li>Schedule recurring snapshots of a volume, and schedule recurring backups to NFS or S3-compatible secondary storage</li><li>Restore volumes from backup</li><li>Upgrade Longhorn without disrupting persistent volumes</li><li>Manipulate Longhorn resources with kubectl</li><li>Longhorn comes with a standalone UI, and can be installed using Helm, kubectl, or the Rancher app catalog.</li><li>Simplifying Distributed Block Storage with Microservices.</li><li>Use Persistent Storage in Kubernetes without Relying on a Cloud Provider.</li><li>Schedule Multiple Replicas across Multiple Compute or Storage Hosts</li></ul><p><strong>ChubaoFS</strong> consists of a <em>metadata subsystem</em>, a <em>data subsystem</em>, and a <em>resource manager</em>, and can be accessed by different <em>clients</em> (as a set of application processes) hosted on the containers through different file system instances called <em>volumes</em>. Some notable features for chubaoFS would be:</p><ul><li>scalable meta mangement</li><li>general purpose storage engine</li><li>strong replication consistency</li><li>relaxed posix semantics and metadata atomicity</li></ul><p><strong>MinIO</strong> is a High Performance Object Storage released under Apache License v2.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. But if you would like to run your application across various cloud providers use of openEBS would make more sense and openEBS can also help you run minio if your application state still needs it.</p><p><strong>Velero </strong>(also part of VMware Tanzu) is an open source tool to safely backup and restore, perform disaster recovery, and migrate kubernetes cluster resources and persistent volumes from one cluster to another cluster and replicate your production cluster to development and testing clusters.</p><p>Other solutions can be object based storage is <strong>Manta: Triton’s object storage</strong> and converged analytics solution or <strong>GlusterFS</strong> is a scalable network filesystem suitable for data-intensive tasks such as cloud storage and media streaming. You can read more about it from the references. Some other notable notable vendors like <strong>storageOS</strong> and <strong>Trilio</strong> are providing solutions for daily storage operations issues.</p><p>There is no silver bullet to answer all situations or cover all use-cases but this blog should definitely give you an idea on how should think about your storage solution for running your workload on kubernetes.</p><p>References:</p><ul><li><a href="https://github.com/kubernetes/community/blob/master/contributors/design-proposals/storage/container-storage-interface.md">kubernetes/community</a></li><li><a href="https://docs.openebs.io/">Welcome to OpenEBS Documentation ·</a></li><li><a href="https://mayadata.io/resources">MayaData | Data Agility Delivered</a></li><li><a href="https://velero.io/docs/v1.5/index.html">Velero Docs - Overview</a></li><li><a href="https://longhorn.io/docs/0.8.0/what-is-longhorn/">Longhorn | What is Longhorn?</a></li><li><a href="https://chubao.io/docs/details/rkKkQUG4I/?index=0">ChubaoFS</a></li><li><a href="https://docs.min.io/">MinIO Quickstart Guide</a></li><li><a href="https://apidocs.joyent.com/manta/index.html#getting-started">Getting Started</a></li><li><a href="https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/gce-pd-csi-driver">Using the Compute Engine persistent disk CSI Driver | Google Kubernetes Engine (GKE) | Google Cloud</a></li></ul><p><a href="https://docs.gluster.org/en/latest/">https://docs.gluster.org/en/latest/</a></p><p><a href="https://kubernetes.io/blog/2018/01/introducing-container-storage-interface/">https://kubernetes.io/blog/2018/01/introducing-container-storage-interface/</a></p><p><a href="https://docs.google.com/document/d/1ayeALoU5jrO5x96N7bqXmLx0O-rAIh2HllZBgtYwz3Q/edit#">https://docs.google.com/document/d/1ayeALoU5jrO5x96N7bqXmLx0O-rAIh2HllZBgtYwz3Q/edit#</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed6417fd4f43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[kustomize — up and running in 5 mins]]></title>
            <link>https://ahmedulde.medium.com/kustomize-up-and-running-in-5-mins-588c722a4ae2?source=rss-1dfc1d8a1207------2</link>
            <guid isPermaLink="false">https://medium.com/p/588c722a4ae2</guid>
            <category><![CDATA[gitops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[overlay]]></category>
            <category><![CDATA[manifest]]></category>
            <category><![CDATA[configuration-management]]></category>
            <dc:creator><![CDATA[Ahmedulde]]></dc:creator>
            <pubDate>Wed, 09 Sep 2020 02:34:55 GMT</pubDate>
            <atom:updated>2020-09-23T18:15:22.411Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u02HXS4qBRPv5uk-WO8ETg.png" /></figure><h3>kustomize — up and running in 5 mins</h3><h4>Understanding the concept of overlay environments and configuration management using kustomize in local environment.</h4><ol><li>Install Kustomize</li></ol><p>For mac users you can use homebrew. For any other OS you can refer the instructions on the <a href="https://kubernetes-sigs.github.io/kustomize/installation/homebrew/">kustomize.io</a></p><pre>brew install kustomize</pre><p>2. Build Manifests and Overlay structure</p><p>To maintain a consistent desired state of your kubernetes environments on git it is recommended to use the folder structure as shown below:</p><pre>.<br>└── kubernetes-manifests<br> ├── base<br> │ ├── guestbook-backend.deployment.yaml<br> │ ├── guestbook-backend.service.yaml<br> │ ├── guestbook-frontend.deployment.yaml<br> │ ├── guestbook-frontend.service.yaml<br> │ ├── guestbook-mongodb.deployment.yaml<br> │ ├── guestbook-mongodb.service.yaml<br> │ └── kustomization.yaml<br> └── overlays<br>   ├── dev<br>   │ ├── guestbook-frontend.deployment-patch.yaml<br>   │ └── kustomization.yaml<br>   └── prod<br>     ├── guestbook-frontend.deployment-patch.yaml<br>     ├── guestbook-frontend.service-patch.yaml<br>     └── kustomization.yaml</pre><p>base folder contains the base kubernetes manifests file.</p><p>overlays folder contains additional folders per environment. In the environment folder you need to create a patch file and kustomization.yaml file. The patch file includes the modifications on top of base files and kustomization.yaml file points to the base folder as a reference to apply these patches on base files.</p><p>For example, lets consider the file guestbook-frontend.deployment.yaml</p><p>The base folder for this file includes a simple deployment manifest with no environment variables called “ENVIRONMENT”. The value of this env variable can be dev or prod.</p><p>Instead of duplicating the file and manually editing the file for 2 different environments you can create 2 folders under overlays folder and include a patch file which includes these changes along with a supporting kustomization file.</p><p>3. Build and Run</p><p>Run the commands below to dynamically generate new files per env:</p><pre>cd kubernetes-manifests/overlays/dev/<br>kustomize build .</pre><p>The output of the build command can be used with kubectl to apply to your cluster. You can refer the sample files as shown on the reference repo below.</p><p>Reference Code:</p><p><a href="https://github.com/ahmedulde7/guestbook-deploy">https://github.com/ahmedulde7/guestbook-deploy</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=588c722a4ae2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>