namespaces

All posts tagged namespaces by Linux Bash
  • Posted on
    Featured Image
    The blog explores simulating namespaces in Bash using `declare -n` combined with prefix patterns. Without native namespace support, the `declare -n` feature helps create namerefs for indirect variable referencing. This enables the grouping of related variables, such as server configurations, into a logical structure, enhancing script modularity and readability, particularly in complex or team-based projects. The examples discuss managing settings via associative arrays linked with namerefs, demonstrating an organized approach mimicking namespaces in other languages.
  • Posted on
    Featured Image
    Learn to manage Kubernetes namespaces efficiently using Bash scripts with this guide. Understand namespaces' roles in resource segregation and access control. Requirements include a Kubernetes cluster and basic Bash skills. Master creating, listing, deleting namespaces, setting resource quotas, and automating tasks to streamline Kubernetes operations for multiclient or multi-project setups. Ideal for system administrators and developers aiming for script-driven process efficiency.
  • Posted on
    Featured Image
    Explore the importance and management of Linux's filesystem namespaces in this comprehensive guide. Understand how these 'mnt' namespaces enhance security, isolate processes, and replicate environments for testing, through practical Bash commands. Ideal for system administrators and developers looking to deepen their knowledge on process isolation and system security.