13 lines
638 B
Bash
Executable File
13 lines
638 B
Bash
Executable File
#!/bin/bash
|
|
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
|
|
set -euo pipefail
|
|
# Load shared log/skip/warn/err helpers from the installer library.
|
|
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
|
|
|
|
log "Installing Kubernetes tools (kubectl, podman-desktop)..."
|
|
# kubectl: official Kubernetes CLI for interacting with clusters.
|
|
# podman-desktop: native GUI for managing Podman containers and Kubernetes contexts.
|
|
# Both are available in the official Arch repos; --needed keeps the run idempotent.
|
|
sudo pacman -S --noconfirm --needed kubectl podman-desktop
|
|
log "Kubernetes tools installed."
|