1 Matching Annotations
  1. Last 7 days
    1. Kubernetes Promotes KYAML as a Safer, More Consistent Way to Work with Manifests
      • Overview and Purpose:
        • KYAML is a safer, less ambiguous subset of YAML tailored specifically for Kubernetes configurations.
        • Designed to eliminate classic YAML pitfalls like indentation sensitivity and implicit type coercion.
        • Maintains full backward compatibility with standard YAML parsers and existing Kubernetes tooling.
      • Key Motivation:
        • Standard YAML reliance on whitespace and automatic casting causes frequent failures in CI/CD pipelines and templating engines (e.g., Helm).
        • Solves configuration bugs by strictly requiring explicit structure and types.
      • Syntax and Formatting Rules:
        • Employs flow-style syntax: {} denotes objects/mappings, while [] denotes arrays/lists.
        • Enforces explicit string quoting—all string scalar values must be enclosed in double quotes ("").
      • Lifecycle & Integration:
        • Introduced as an alpha feature in Kubernetes v1.34, enabled by default in v1.35, and promoted to stable in v1.37.
        • Supported directly across Kubernetes tooling and kubectl output formatting.