Homepage
Open in app
Sign in
Get started
Linux Shots
Tech shots on Linux, DevOps, Kubernetes, Docker and FOSS
Follow
Encryption of terraform state using OpenTofu
Encryption of terraform state using OpenTofu
Opentofu 1.7 brings a long awaited feature in terraform to encrypt terraform state file
Navratan Lal Gupta
Jun 2
Spin-up a Kubernetes cluster on personal laptop
Spin-up a Kubernetes cluster on personal laptop
Creating a Kubernetes cluster is very expensive on any cloud providers. Using Kubernetes on cloud for learning purpose is not recommended…
Navratan Lal Gupta
Apr 12
Migrate PVC from one storage class to another
Migrate PVC from one storage class to another
There could be a requirement where you might need to migrate the PVC and its data from one storage class (storage back-end) to another…
Navratan Lal Gupta
Mar 3
Sync Kubernetes secrets with cloud-native secret managers
Sync Kubernetes secrets with cloud-native secret managers
Cloud secret manager can be utilized to rotate Kubernetes secret if we are able to sync Kubernetes secret with cloud-native secret manager.
Navratan Lal Gupta
Dec 3, 2023
Backup Kubernetes using Velero and CSI volume snapshot
Backup Kubernetes using Velero and CSI volume snapshot
Velero can be integrated with Restic or Kopia for filesystem backup of pod volumes. Filesystem back-up of live-system is not consistent.
Navratan Lal Gupta
Nov 19, 2023
Speed up pod startup by re-using image layers from other nodes with Spegel
Speed up pod startup by re-using image layers from other nodes with Spegel
Spegel enables each nodes to act as a local registry mirror, allowing nodes to share images between themselves & reduce pod startup time.
Navratan Lal Gupta
Aug 20, 2023
Use K8senv to manage multiple versions of Kubernetes’ clients (kubectl/velero/helm) on same jump…
Use K8senv to manage multiple versions of Kubernetes’ clients (kubectl/velero/helm) on same jump…
How do you manage numbers of Kubernetes clusters from same jump box ? What if clusters running are on different versions ? What if…
Navratan Lal Gupta
Jun 3, 2023
Setup Telegram bot to get alert notifications
Setup Telegram bot to get alert notifications
There are many otchannels where we can receive notifications. Email, Discord, Ntfy.sh, Gotify and many others. But sometime we need to get…
Navratan Lal Gupta
Mar 19, 2023
Use PostgreSQL database as backend storage for helm
Use PostgreSQL database as backend storage for helm
By default, Helm 3 stores all release information in Kubernetes cluster itself using K8s secret in release namespace.
Navratan Lal Gupta
Feb 5, 2023
Point in time Snapshot of Persistent Volume Data with Kubernetes’ Volume Snapshots
Point in time Snapshot of Persistent Volume Data with Kubernetes’ Volume Snapshots
When we perform an upgrade, or make a configuration change in an application, there is always little risk that the application may behave…
Navratan Lal Gupta
Dec 23, 2022
Find Deprecated API Resources used in a Kubernetes Cluster
Find Deprecated API Resources used in a Kubernetes Cluster
Either its applications update or a clusters upgrade, from infrastructure to application layer, everything must be updated periodically to…
Navratan Lal Gupta
Nov 12, 2022
GitOps on Docker using Portainer
GitOps on Docker using Portainer
GitOps is a practice of operations which uses central git repository as ‘Single Source of truth’ for a deployment.
Navratan Lal Gupta
Oct 21, 2022
Host your own email with your domain using Zoho mail
Host your own email with your domain using Zoho mail
We may need an email for our business, or an email which guarantees non-prying eyes of Google and other email providers or for alerts…
Navratan Lal Gupta
Oct 2, 2022
Put a docker container behind VPN
Put a docker container behind VPN
Sometime you might need to put the application container behind a VPN without putting host server behind it. Reasons can be anything, If…
Navratan Lal Gupta
Aug 28, 2022
Self-host media stack (Jellyfin+Radarr+Sonarr+Jackett+Transmission)
Self-host media stack (Jellyfin+Radarr+Sonarr+Jackett+Transmission)
You can self-host complete media stack in your home server. This gives you privacy and complete control over your data. This media stack…
Navratan Lal Gupta
Aug 5, 2022
ConfigMap/Secret Reloader — Automatically add reload data from ConfigMap/Secret to deployments
ConfigMap/Secret Reloader — Automatically add reload data from ConfigMap/Secret to deployments
In Kubernetes, When we make some changes to a ConfigMap or Secret, new data is not automatically propagated to the pods from that…
Navratan Lal Gupta
Jul 23, 2022
New VPN regulations in India, is it a threat to users’ privacy ?
New VPN regulations in India, is it a threat to users’ privacy ?
On April 28th, 2022, CERT-IN, Ministry of Electronics and IT, India, has issued a direction to VPN providers to collect and store users’…
Navratan Lal Gupta
Jun 15, 2022
Helm chart repository on Sonatype Nexus OSS
Helm chart repository on Sonatype Nexus OSS
Nexus repository helps manage artifacts and packages in several packaging format like NPM, Maven, Nuget, etc. Nexus also support helm repos
Navratan Lal Gupta
May 28, 2022
Docker Desktop for Linux Desktops
Docker Desktop for Linux Desktops
Finally, Docker desktop is live for Linux Desktops.
Navratan Lal Gupta
May 14, 2022
Debug Kubernetes Pods Using Ephemeral Container
Debug Kubernetes Pods Using Ephemeral Container
Ephemeral containers are special type of container that runs temporarily in an existing pod to perform some actions such as…
Navratan Lal Gupta
May 3, 2022
Kubernetes ingress as reverse proxy to Application running outside cluster
Kubernetes ingress as reverse proxy to Application running outside cluster
This article will give a small demo on how to place an application running outside K8s cluster behind ingress running on a K8s cluster.
Navratan Lal Gupta
Apr 16, 2022
Docker client to enable Dynamic DNS with Namecheap
Docker client to enable Dynamic DNS with Namecheap
If you are using server which has dynamic IP i.e. public IP of the server changes over time, This client run on your machine and update DNS
Navratan Lal Gupta
Apr 3, 2022
Deploy Applications on Kubernetes Cluster with GitLab CI/CD Tunnel
Deploy Applications on Kubernetes Cluster with GitLab CI/CD Tunnel
GitLab Agent for K8s allow us to deploy applications on K8s cluster using CI/CD tunnel without exposing K8s API endpoint to internet.
Navratan Lal Gupta
Feb 6, 2022
Secure communication between microservices in Kubernetes using Service Mesh
Secure communication between microservices in Kubernetes using Service Mesh
As we move to microservice way of deployment of applications, We have lot more decoupled tiers and components running in our cluster. This…
Navratan Lal Gupta
Jan 22, 2022
About Linux Shots
Latest Stories
Archive
About Medium
Terms
Privacy
Teams