Jhooq
open-menu closeme
Home
Ansible
Kubernetes
Terraform
Google Cloud
YouTube
Tools
About
Contact
github twitter linkedin rss
  • DevOps Is Not for Beginners? The 6 Basics an Interviewer Asked For - Routing, Ports, a Slow Linux Machine, Stateful vs Stateless Firewalls, Web Servers and DNS - Each Answered on a Real Machine

    calendar Nov 30, 2026 · 17 min read · Career  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    DevOps Is Not for Beginners? The 6 Basics an Interviewer Asked For - Routing, Ports, a Slow Linux Machine, Stateful vs Stateless Firewalls, Web Servers and DNS - Each Answered on a Real Machine

    TL;DR The claim "DevOps is not for beginners" came from an interviewer, not from a beginner. He could not fill a DevOps position and posted the basics his candidates could not explain. The six basics: how networking and routing work, what ports are, how to troubleshoot a slow Linux machine, what a firewall is …


    Read More
  • Docker MCP Gateway on Linux without Docker Desktop - Fix 'docker: unknown command: docker mcp', Install the CLI Plugin, Profiles, Claude Code, and What Does Not Work

    calendar Nov 30, 2026 · 14 min read · Docker  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    Docker MCP Gateway on Linux without Docker Desktop - Fix 'docker: unknown command: docker mcp', Install the CLI Plugin, Profiles, Claude Code, and What Does Not Work

    TL;DR docker: unknown command: docker mcp means the CLI plugin is not installed. Docker Desktop ships it; Docker Engine on a Linux server does not (Docker 28.0.4, Ubuntu 24.04, 2026-11-30). The fix is one 17.3 MB download: take docker-mcp-linux-amd64.tar.gz from a release tag of docker/mcp-gateway and unpack it into …


    Read More
  • git reset --soft vs --mixed vs --hard: What Each One Moves, with Real git status and git log Output, and How to Undo a Reset with reflog

    calendar Nov 30, 2026 · 6 min read  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    git reset --soft vs --mixed vs --hard: What Each One Moves, with Real git status and git log Output, and How to Undo a Reset with reflog

    TL;DR git reset <commit> moves the current branch to <commit>. The mode decides what else changes: --soft leaves the index and the files alone, --mixed (the default) also resets the index, --hard also overwrites the tracked files in the working tree. --soft HEAD~1 turns the last commit back into staged …


    Read More
  • How to Choose a VPC CIDR Block on AWS - the Size (/16 to /28), the Range (10.x, 172.16 or 192.168), What It Must Never Overlap, and an Allocation Plan for a Multi-Account Organisation

    calendar Nov 30, 2026 · 23 min read  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    How to Choose a VPC CIDR Block on AWS - the Size (/16 to /28), the Range (10.x, 172.16 or 192.168), What It Must Never Overlap, and an Allocation Plan for a Multi-Account Organisation

    TL;DR A VPC CIDR block is between /16 (65,536 addresses) and /28 (16 addresses), and its size cannot be changed after creation. You can only add more blocks: 5 per VPC by default, 50 at most. Size is not billed (a public IPv4 address is $0.005 per hour, private ones are not on the price list), so a /16 costs the same …


    Read More
  • Kubernetes IP Planning On-Premises - Pod CIDR, Node CIDR Mask, Service CIDR, Node VLAN and MetalLB Pool for kubeadm, RKE2, OpenShift, Mirantis MKE, Tanzu and Talos

    calendar Nov 30, 2026 · 14 min read · Kubernetes  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    Kubernetes IP Planning On-Premises - Pod CIDR, Node CIDR Mask, Service CIDR, Node VLAN and MetalLB Pool for kubeadm, RKE2, OpenShift, Mirantis MKE, Tanzu and Talos

    TL;DR An on-premises cluster has four ranges: the node network (a real VLAN), the pod CIDR, the service CIDR and the LoadBalancer pool. Only the first is a network your switches know. Every node gets its own slice of the pod CIDR, a /24 by default. With podSubnet: 10.42.0.0/16 my three nodes received 10.42.0.0/24, …


    Read More
  • terraform fmt: Format Terraform Code and Fail the Build When It Is Not Formatted (-check, -diff, -recursive, Exit Code 3, pre-commit, GitHub Actions)

    calendar Nov 30, 2026 · 8 min read · Terraform  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    terraform fmt: Format Terraform Code and Fail the Build When It Is Not Formatted (-check, -diff, -recursive, Exit Code 3, pre-commit, GitHub Actions)

    TL;DR terraform fmt rewrites .tf, .tfvars and .tftest.hcl files in place to the canonical style (two-space indentation, aligned =) and prints the names of the files it changed. It does not touch .tf.json. terraform fmt -check -diff -recursive is the CI form. It writes nothing, prints each unformatted file with a …


    Read More
  • Terraform MCP Server with Claude Code - Install with Docker or the Binary, the 9 Registry Tools, a Provider Docs Lookup, HCP Terraform with a Token, and What It Cannot Do

    calendar Nov 30, 2026 · 15 min read · Terraform  ·
    Last Modified : Nov 30, 2026
    Share on: twitter facebook linkedin copy
    Terraform MCP Server with Claude Code - Install with Docker or the Binary, the 9 Registry Tools, a Provider Docs Lookup, HCP Terraform with a Token, and What It Cannot Do

    TL;DR The Terraform MCP server is a small program that an AI client starts and asks for Terraform facts. Version 1.4.1 is a 27.5 MB Docker image (hashicorp/terraform-mcp-server) or a single binary from releases.hashicorp.com. One command registers it in Claude Code: claude mcp add terraform -- docker run -i --rm …


    Read More
  • terraform console: Evaluate Expressions, Functions and cidrsubnet Without Applying Anything (Terraform 1.17)

    calendar Oct 31, 2026 · 10 min read · Terraform  ·
    Last Modified : Oct 31, 2026
    Share on: twitter facebook linkedin copy
    terraform console: Evaluate Expressions, Functions and cidrsubnet Without Applying Anything (Terraform 1.17)

    TL;DR TL;DR terraform console evaluates one Terraform expression at a time against your configuration and state, and never modifies state. It needs no cloud credentials for pure functions such as cidrsubnet, format or lookup. Non-interactive use: echo 'cidrsubnet("10.0.0.0/16", 8, 3)' | terraform console …


    Read More
  • Terraform tls_private_key: Generate SSH Keys and Self-Signed Certificates with the tls Provider (Terraform 1.17)

    calendar Oct 30, 2026 · 9 min read · Terraform  ·
    Last Modified : Oct 30, 2026
    Share on: twitter facebook linkedin copy
    Terraform tls_private_key: Generate SSH Keys and Self-Signed Certificates with the tls Provider (Terraform 1.17)

    TL;DR TL;DR tls_private_key generates a key pair in Terraform itself. algorithm accepts RSA, ECDSA or ED25519; rsa_bits defaults to 2048 and ecdsa_curve defaults to P224. The private key is stored unencrypted in the state file. The provider documentation says so in a security notice, and I confirmed it: the marker …


    Read More
  • Stop Using .env Files for Secrets: Encrypt Them with sops and age Instead (Real Output, gitleaks Included)

    calendar Oct 29, 2026 · 8 min read · DevOps Security Secrets  ·
    Last Modified : Oct 29, 2026
    Share on: twitter facebook linkedin copy
    Stop Using .env Files for Secrets: Encrypt Them with sops and age Instead (Real Output, gitleaks Included)

    TL;DR A committed .env file never goes away. After git rm the password is still readable with git show <commit>:.env and git log -p. The only real fix is to rotate the secret. gitleaks finds it in milliseconds. In my run it scanned 105 bytes in 24 ms and reported 2 leaks (a Stripe-style key and a generic …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Categories

TERRAFORM 69 AWS 51 KUBERNETES 30 DOCKER 29 ANSIBLE 15 HELM CHART 12 DEVOPS 9 GOOGLE CLOUD 8 BLOGGING 6 GITHUB 6 SSL 6 SPRING BOOT 5 AZURE 4 QUARKUS 4
All Categories

AI1 ANSIBLE15 AWS51 AZURE4 BLOGGING6 DEVOPS9 DOCKER29 GITHUB6 GOOGLE CLOUD8 GRADLE1 HADOOP1 HELM CHART12 HIBERNATE1 JENKINS2 KUBERNETES30 KUBESPRAY3 LINUX COMMANDS1 NGINX2 PROMETHEUS-GRAFANA3 QUARKUS4 SPRING BOOT5 SSL6 TERRAFORM69 VAGRANT3
[A~Z][0~9]

Series

TERRAFORM 67 AWS 40 KUBERNETES 30 DOCKER 29 ANSIBLE 14 HELM CHART 12 GOOGLE CLOUD 8 AZURE 4 DEVOPS 4 JENKINS 2 AI 1 LINUX COMMANDS 1

Tags

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

ANSIBLE3 ANSIBLE INSTALLATION1 AWS1 AZURE1 BLOGGING4 CAREER3 DEVOPS1 DOCKER4 GIT1 GITHUB3 HADOOP1 HELM CHART11 INDEX1 KUBERNETES22 KUBESPRAY2 NGINX1 PATH1 QUARKUS4 SECRETS1 SECURITY1 SPRING BOOT2 SSL3 TERRAFORM13 TERRAFORM ERRORS1 ZSH1
[A~Z][0~9]

Recent Posts

  • DevOps Is Not for Beginners? The 6 Basics an Interviewer Asked For - Routing, Ports, a Slow Linux Machine, Stateful vs Stateless Firewalls, Web Servers and DNS - Each Answered on a Real Machine
  • Docker MCP Gateway on Linux without Docker Desktop - Fix 'docker: unknown command: docker mcp', Install the CLI Plugin, Profiles, Claude Code, and What Does Not Work
  • git reset --soft vs --mixed vs --hard: What Each One Moves, with Real git status and git log Output, and How to Undo a Reset with reflog
  • How to Choose a VPC CIDR Block on AWS - the Size (/16 to /28), the Range (10.x, 172.16 or 192.168), What It Must Never Overlap, and an Allocation Plan for a Multi-Account Organisation
  • Kubernetes IP Planning On-Premises - Pod CIDR, Node CIDR Mask, Service CIDR, Node VLAN and MetalLB Pool for kubeadm, RKE2, OpenShift, Mirantis MKE, Tanzu and Talos
  • terraform fmt: Format Terraform Code and Fail the Build When It Is Not Formatted (-check, -diff, -recursive, Exit Code 3, pre-commit, GitHub Actions)
  • Terraform MCP Server with Claude Code - Install with Docker or the Binary, the 9 Registry Tools, a Provider Docs Lookup, HCP Terraform with a Token, and What It Cannot Do
  • terraform console: Evaluate Expressions, Functions and cidrsubnet Without Applying Anything (Terraform 1.17)

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