github kubernetes-sigs/hierarchical-namespaces v1.1.0-rc2
HNC v1.1.0 RC2

latest releases: v1.1.0, v1.1.0-rc3
pre-release20 months ago

Release in progress, do not use

HNC v1.1.0 RC2 adds beta support for hierarchical resource quotas (HRQ) and opt-in propagation.

New: please sign up for low-volume announcements of new versions, proposed changes, and critical issues at kubernetes-hnc-announce.

Installing

You can install or upgrade HNC on your cluster using the following commands (admin privileges required):

# Select the latest version of HNC
HNC_VERSION=v1.1.0-rc2

# Install HNC. Afterwards, wait up to 30s for HNC to refresh the certificates on its webhooks.
kubectl apply -f https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/${HNC_VERSION}/default.yaml 

WARNING: if your cluster already has HNC installed, please ensure you are using HNC v1.0.0 or later before trying to upgrade to v1.1.0.

To install the kubectl plugin on your workstation, either use Krew or install manually:

  • [NOT SUPPORTED FOR RELEASE CANDIDATES] Via Krew: Install Krew if you don't have it already, then run the command kubectl krew update && kubectl krew install hns.

  • Manually: Switch to any directory in your PATH (e.g. ~/bin) and run the following commands:

    # Ensure HNC_VERSION is set as above
    HNC_PLATFORM=linux_amd64 # also supported: linux_arm64, darwin_amd64, darwin_arm64, windows_amd64
    curl -L https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/${HNC_VERSION}/kubectl-hns_${HNC_PLATFORM} -o ./kubectl-hns
    chmod +x ./kubectl-hns
    
    # Ensure the plugin is working
    kubectl hns
    # The help text should be displayed
    

For more instructions, see the user guide.

What's changed since HNC v1.0

  • Beta: Hierarchical Resource Quotas (HRQ) and opt-in propagation

Full Changelog

Testing signoff

Target Manifest Tests By When Result
GKE 1.24 (regular channel) default make test-e2e @adrianludwin tbd tbd
GKE 1.24 (regular channel) ha make test-e2e @adrianludwin tbd tbd
GKE 1.24 (regular channel) hrq make test-e2e @adrianludwin tbd tbd
KIND 1.25 default make test-smoke @adrianludwin tbd tbd

Don't miss a new hierarchical-namespaces release

NewReleases is sending notifications on new releases.