Jhooq
open-menu closeme
Home
Ansible
Kubernetes
Terraform
Google Cloud
YouTube
Tools
About
Contact
github twitter linkedin rss
  • Kubernetes Cheat Sheet for day to day DevOps operations?

    calendar Jan 15, 2022 · 11 min read  ·
    Last Modified : Jan 15, 2022
    Share on: twitter facebook linkedin copy
    Kubernetes Cheat Sheet for day to day DevOps operations?

    Note - This Kubernetes Cheat sheet is really long and detailed. I would highly recommend to use CTRL+F from the browser to search for the specific command. Table Of Content Pods Deployments Port Forwarding Service Nodes Namespace Service Accounts Documentation Describing Resources Editing Resources Deleting Resources …


    Read More
  • Terraform state locking using DynamoDB (aws_dynamodb_table)?

    calendar Jan 12, 2022 · 7 min read  ·
    Last Modified : Jan 12, 2021
    Share on: twitter facebook linkedin copy
    Terraform state locking using DynamoDB (aws_dynamodb_table)?

    Terraform state is the backbone of your terraform project for provisioning your cloud infrastructure. When you work on large infrastructure provisioning with Terraform then it is always more than one developer or team of a developer working on the same terraform project. The problems arise when two developers try to …


    Read More
  • Docker environment variables - ENV vs ARG, -e and --env-file, Compose environment and .env, precedence, PATH, and why you cannot change a running container's variables (tested on Docker 28)

    calendar Jan 7, 2022 · 10 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    Docker environment variables - ENV vs ARG, -e and --env-file, Compose environment and .env, precedence, PATH, and why you cannot change a running container's variables (tested on Docker 28)

    TL;DR Dockerfile: ENV sets a variable for the build and the container; ARG exists only during the build and is gone at run time. export inside a RUN line dies with that line. Run time: docker run -e KEY=value and --env-file app.env. Flags override ENV from the image, and -e KEY with no value copies the variable from …


    Read More
  • Terraform State File Explained: terraform.tfstate, Remote State on S3, Locking, Pull and Push

    calendar Dec 30, 2021 · 19 min read  ·
    Last Modified : Oct 9, 2026
    Share on: twitter facebook linkedin copy
    Terraform State File Explained: terraform.tfstate, Remote State on S3, Locking, Pull and Push

    Terraform has its backbone known as the terraform.tfstate file. Any change you make to your infrastructure will have its presence in the terraform.tfstate file. So when you work with Terraform for managing and provisioning your infrastructure, Terraform will always create a terraform.tfstate file for you. I have been …


    Read More
  • docker failed to compute cache key: failed to calculate checksum of ref - not found (the 6 causes, tested on Docker 28)

    calendar Dec 20, 2021 · 9 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    docker failed to compute cache key: failed to calculate checksum of ref - not found (the 6 causes, tested on Docker 28)

    TL;DR "failed to compute cache key ... not found" is COPY telling you the source path is not in the build context. It happens before any layer is built, which is why --no-cache changes nothing. The context is the last argument of docker build, not the folder with the Dockerfile. cd docker && docker …


    Read More
  • Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint - Bind for 0.0.0.0:8080 failed: port is already allocated (Fix in One Minute)

    calendar Dec 9, 2021 · 11 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint - Bind for 0.0.0.0:8080 failed: port is already allocated (Fix in One Minute)

    TL;DR Meaning: the host port in your -p HOST:CONTAINER is already in use. Docker could not bind it, so the container was created but never started (docker ps -a shows it as Created). Two wordings, same cause. Bind for 0.0.0.0:8080 failed: port is already allocated means another container publishes that port. failed to …


    Read More
  • Delete Kubernetes POD stuck in terminating state?

    calendar Dec 8, 2021 · 8 min read  ·
    Last Modified : Dec 8, 2021
    Share on: twitter facebook linkedin copy
    Delete Kubernetes POD stuck in terminating state?

    The deletion of the Kubernetes POD depends on many factors, before you execute the kubectl delete pod command you should go through the following checkpoint - Is the container associated with POD still running? Are there any active Kubernetes deployment associated with POD? Check if the POD persistent volume and …


    Read More
  • How to Delete PV(Persistent Volume) and PVC(Persistent Volume Claim) stuck in terminating state?

    calendar Dec 7, 2021 · 5 min read  ·
    Last Modified : Dec 7, 2021
    Share on: twitter facebook linkedin copy
    How to Delete PV(Persistent Volume) and PVC(Persistent Volume Claim) stuck in terminating state?

    The deletion of PV(Persistent Volume) and PVC(Persistent Volume claim) is pretty much dependent on the Delete reclaim policy. When you are planning to delete the Persistent Volume as well as Persistent Volume Claim then you must follow an order - First delete - Persistent Volume Claim Second delete- Persistent Volume …


    Read More
  • Securing AWS secrets using HashiCorp Vault with Terraform?

    calendar Dec 5, 2021 · 12 min read  ·
    Last Modified : Oct 10, 2026
    Share on: twitter facebook linkedin copy
    Securing AWS secrets using HashiCorp Vault with Terraform?

    For managing the cloud resources(EC2, S3 Bucket) on AWS you need to supply the AWS secrets(region, access_key, secret_key) inside the terraform file. You can use the plain text AWS Secrets inside your terraform file and it should work fine. But from the security standpoint, it is strongly discouraged to use plain text …


    Read More
  • exec - executable file not found in $PATH (or %PATH%) in Docker - every cause and fix, inside the container and on the host

    calendar Nov 25, 2021 · 13 min read  ·
    Last Modified : Oct 17, 2026
    Share on: twitter facebook linkedin copy
    exec - executable file not found in $PATH (or %PATH%) in Docker - every cause and fix, inside the container and on the host

    TL;DR Read the line before the error. OCI runtime create failed ... exec: "bash" is inside the container: the image cannot find that program. error: exec: "docker", "docker-compose" or "docker-credential-desktop" is on your host: a tool cannot find a Docker binary. Inside the …


    Read More
    • ««
    • «
    • 14
    • 15
    • 16
    • 17
    • 18
    • »
    • »»

Categories

TERRAFORM 67 AWS 50 KUBERNETES 29 DOCKER 28 ANSIBLE 15 HELM CHART 12 DEVOPS 8 GOOGLE CLOUD 8 BLOGGING 6 SSL 6 GITHUB 5 SPRING BOOT 5 AZURE 4 QUARKUS 4
All Categories

AI1 ANSIBLE15 AWS50 AZURE4 BLOGGING6 DEVOPS8 DOCKER28 GITHUB5 GOOGLE CLOUD8 GRADLE1 HADOOP1 HELM CHART12 HIBERNATE1 JENKINS2 KUBERNETES29 KUBESPRAY3 LINUX COMMANDS1 NGINX2 PROMETHEUS-GRAFANA3 QUARKUS4 SPRING BOOT5 SSL6 TERRAFORM67 VAGRANT3
[A~Z][0~9]

Series

TERRAFORM 65 AWS 39 KUBERNETES 29 DOCKER 28 ANSIBLE 14 HELM CHART 12 GOOGLE CLOUD 8 AZURE 4 DEVOPS 4 JENKINS 2 AI 1 LINUX COMMANDS 1

Tags

KUBERNETES 21 HELM CHART 11 TERRAFORM 11 BLOGGING 4 QUARKUS 4 DOCKER 3 GITHUB 3 SSL 3 ANSIBLE 2 CAREER 2 KUBESPRAY 2 SPRING BOOT 2 ANSIBLE INSTALLATION 1 AWS 1
All Tags

ANSIBLE2 ANSIBLE INSTALLATION1 AWS1 AZURE1 BLOGGING4 CAREER2 DEVOPS1 DOCKER3 GIT1 GITHUB3 HADOOP1 HELM CHART11 INDEX1 KUBERNETES21 KUBESPRAY2 NGINX1 QUARKUS4 SECRETS1 SECURITY1 SPRING BOOT2 SSL3 TERRAFORM11 TERRAFORM ERRORS1
[A~Z][0~9]

Recent Posts

  • terraform console: Evaluate Expressions, Functions and cidrsubnet Without Applying Anything (Terraform 1.17)
  • Terraform tls_private_key: Generate SSH Keys and Self-Signed Certificates with the tls Provider (Terraform 1.17)
  • Stop Using .env Files for Secrets: Encrypt Them with sops and age Instead (Real Output, gitleaks Included)
  • Ansible on AWS: Zero-Downtime Deploys Behind an ALB, RDS, and an AI Postmortem (Project 2)
  • Kubernetes IP Address Planning: 22 Problems the Free IP Calculator Solves on EKS, GKE, AKS and On-Premises (kubeadm, Mirantis MKE, RKE2, OpenShift, Tanzu, Talos), with the Numbers and a Screenshot for Each
  • git rebase --exec Explained - Run Your Tests on Every Commit Before You Push, with Real Output, the Failure Path, and the Three Things That Bit Me
  • helm template Explained - Render a Helm Chart Locally Without a Cluster (Helm 4): Values Files, --set, --show-only, --output-dir, and the Traps That Bite
  • Should You Do a Cloud Certification? The Four Reasons I Tell People Not to Collect Them, What the Exams Cost in 2026, and the One Case Where a Certificate Is Worth the Money

Rahul Wagh

Jhooq
Its all about Open Source and DevOps, here I talk about Kubernetes, Docker, Java, Spring boot and practices.
Read More


Jhooq

Copyright 2019-  JHOOQ. All Rights Reserved

to-top
Privacy Policy