manintheit.org

manintheit.org


  • Provide Terraform providers in Air gapped Environment

    By default, Terraform fetches provider plugins from its official registry over the internet. However, this may not always be feasible in environments with strict compliance requirements, where direct internet access is restricted. Additionally, not all organizations may have Terraform Enterprise for managing such scenarios. In these cases, it is possible to create your own local… Continue reading

  • Share Serial Devices with WSL Machine

    usbipd-win is a project to share serial devices with WSL machine. (Windows Subsystem for Linux). It is highly useful when you develop embedded systems on Windows hosts inside WSL machine. In this example, I want to share USB-SERIAL device in order to program ESP8266 chip. Bind Serial Device: Attach Serial Device into WSL: dmesg message… Continue reading

  • PlatformIO Bug with VSCode Plugin in WSL Environment

    PlatformIO is widely regarded as one of the most powerful and beloved IDE solutions for embedded system development. However, I recently encountered a frustrating bug while using the PlatformIO VSCode plugin on a WSL (Windows Subsystem for Linux) system. The issue arises because the PlatformIO plugin incorrectly detects the WSL environment as a Windows system.… Continue reading

  • How to Update Time without NTP or GPS

    How to Update Time without NTP or GPS

    In the IT environment, keeping server time precise is of utmost importance to ensure accurate logging and facilitate post-mortem analysis. Precise timestamps are critical for correlating events, troubleshooting issues, and maintaining system integrity. On the other hand, there are scenarios involving home appliances with limited memory and CPU power, where implementing a full TCP/IP stack… Continue reading

  • Export ProFTPD Metrics into Prometheus or InfluxDB

    In today’s IT landscape, many organizations are transitioning their systems to containerized platforms. Unfortunately, not all applications are cloud-native friendly. Even though, you have legacy applications running on a container platform, you still need a way to send metrics for alerting purpose or calculating SLA due to contractual agreements. One such application is ProFTPD, a… Continue reading

  • Creating a Customized Golden Image for Azure Cloud with Packer

    Creating a Customized Golden Image for Azure Cloud with Packer

    In today’s dynamic IT environments, the need for custom golden images tailored to a company’s unique requirements is more critical than ever. A golden image serves as a standardized template for deploying virtual machines, ensuring consistency, security, and compliance across your organization. But what if the default marketplace images don’t quite fit your needs? That’s… Continue reading

  • Don’t Make Popcorn in Air Fryer!

    Don’t Make Popcorn in Air Fryer!

    In the ever-evolving landscape of kitchen gadgets, one appliance, air fryer, has risen to prominence promising to revolutionize the way cook. In the modern kitchen, where time is precious and health is paramount, innovations in home appliances have become game-changers. One such marvel that has taken the culinary world by storm is the air fryer.… Continue reading

  • OCP Upgrade with Canary Rollout Strategy

    Node upgrades are a critical aspect of maintaining a healthy OpenShift cluster. Whether it’s applying security patches, updating underlying dependencies, or simply scaling up resources, the process must be executed with precision to avoid disruptions to running workloads. OpenShift(Kubernetes) node upgrade methods often involve draining nodes, evacuating workloads, and performing the upgrade, leading to potential… Continue reading

  • OpenShift Global Pull Secret

    In this post, we’ll walk you through how to securely fetch registry user credentials from HashiCorp Vault and apply them globally as a Pull Secret configuration in your OpenShift cluster. In today’s dynamic containerized environments, ensuring the security of your registry credentials is paramount. Exposing these credentials can lead to unauthorized access, data breaches, and… Continue reading

  • Vault Patch Method

    With the release of HashiCorp Vault 1.9.0, managing secrets has become even more streamlined and efficient. One of the standout features? The ability to update only specified secrets, giving users precise control over their credentials within Vault. Imagine this: You want to update particular field(secret) in Vault location without touching others. Here, I shared a… Continue reading