Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

nelm

> DevOps
Open source

Nelm is a Helm 4 alternative. It is a Kubernetes deployment tool that manages Helm Charts and deploys them to Kubernetes. The Nelm goal is to provide a modern a

1.1K stars0 likes1 views
WebsiteGitHub

About

Nelm is a Helm 4 alternative. It is a Kubernetes deployment tool that manages Helm Charts and deploys them to Kubernetes. The Nelm goal is to provide a modern a

Nelm is a Helm 4 alternative. It is a Kubernetes deployment tool that manages Helm Charts and deploys them to Kubernetes. It is also the deployment engine of werf. Nelm does everything that Helm does, but better, and even quite some on top of it. Nelm is based on an improved and partially rewritten Helm codebase, to introduce:

  • terraform plan-like capabilities with two-stage deployment support;
  • improved CRD management;
  • out-of-the-box secrets management;
  • advanced resource ordering capabilities;
  • advanced resource lifecycle capabilities;
  • improved resource state/error tracking;
  • continuous printing of logs, events, resource statuses, and errors during deployment;
  • fixed hundreds of Helm bugs, e.g. "no matches for kind Deployment in version apps/v1beta1";
  • performance and stability improvements and more.

The Nelm goal is to provide a modern alternative to Helm, with long-standing issues fixed and many new major features introduced. Nelm moves fast, but our focus remains on Helm Chart and Release compatibility, to ease the migration from Helm.

Nelm is production-ready: as the werf deployment engine, it was battle-tested across thousands of projects for years.

Table of Contents

  • Install
  • Quickstart
  • CLI overview
  • Helm compatibility
  • Key features
    • Advanced resource ordering
    • Advanced resource lifecycle capabilities
    • Resource state tracking
    • Printing logs and events during deploy
    • Release planning and two-stage deployment workflow support
    • Encrypted values and encrypted files
    • Improved CRD management
  • Usage
    • Encrypted values files
    • Encrypted arbitrary files
  • Reference
    • werf.io/weight annotation
    • werf.io/deploy-dependency- annotation
    • werf.io/delete-dependency- annotation
    • .external-dependency.werf.io/resource annotation
    • .external-dependency.werf.io/name annotation
    • werf.io/ownership annotation
    • werf.io/deploy-on annotation
    • werf.io/delete-policy annotation
    • werf.io/resource-policy annotation
    • werf.io/delete-propagation annotation
    • werf.io/track-termination-mode annotation
    • werf.io/fail-mode annotation
    • werf.io/failures-allowed-per-replica annotation
    • werf.io/no-activity-timeout annotation
    • werf.io/sensitive annotation
    • werf.io/sensitive-paths annotation
    • werf.io/log-regex annotation
    • werf.io/log-regex-for- annotation
    • werf.io/log-regex-skip annotation
    • werf.io/log-regex-skip-for- annotation
    • werf.io/skip-logs annotation
    • werf.io/skip-logs-for-containers annotation
    • werf.io/show-logs-only-for-number-of-replicas annotation
    • werf.io/show-logs-only-for-containers annotation
    • werf.io/show-service-messages annotation
    • werf_secret_file function
    • dump_debug function
    • printf_debug function
    • include_debug function
    • tpl_debug function
  • Feature gates
    • NELM_FEAT_PREVIEW_V2 environment variable
    • NELM_FEAT_REMOTE_CHARTS environment variable
    • NELM_FEAT_NATIVE_RELEASE_LIST environment variable
    • NELM_FEAT_NATIVE_RELEASE_UNINSTALL environment variable
    • NELM_FEAT_PERIODIC_STACK_TRACES environment variable
    • NELM_FEAT_FIELD_SENSITIVE environment variable
    • NELM_FEAT_CLEAN_NULL_FIELDS environment variable
    • NELM_FEAT_MORE_DETAILED_EXIT_CODE_FOR_PLAN environment variable
  • More documentation
  • Limitations
  • Contributing
  • Special thanks
  • Future plans

Install

Follow instructions on GitHub Releases.

Quickstart

  1. Create a directory for a new chart:

    bash
    mkdir mychart
    cd mychart
  2. Create Chart.yaml with the following content:

    yaml
    apiVersion: v2
    name: mychart
    version: 1.0.0
    dependencies:
    - name: cert-manager
      version: 1.13.3
      repository: https://charts.jetstack.io
  3. Generate Chart.lock:

    bash
    nelm chart dependency download
  4. Create values.yaml with the following content:

    yaml
    cert-manager:
      installCRDs: true
      startupapicheck:
        enabled: false
  5. Deploy the first release:

    bash
    nelm release install -n myproject -r myproject
  6. Plan the second release with an increased number of replicas, where only a single field in a single Deployment will be updated:

    bash
    nelm release plan install -n myproject -r myproject --set cert-manager.replicaCount=2
  7. Deploy the second release, where only the Deployment will be updated:

    bash
    nelm release install -n myproject -r myproject --set cert-manager.replicaCount=2

CLI overview

…

Helm compatibility

Nelm is built upon the Helm codebase with some parts of Helm reimplemented. It is backward-compatible with Helm Charts and Helm Releases.

Helm Charts can be deployed by Nelm with no changes. All the obscure Helm Chart features, such as lookup functions, are supported.

To store release information, Nelm uses Helm Releases. You can deploy the same release with Helm and Nelm interchangeably, and it will work just fine. No migration needed from/to Helm.

Nelm has a different CLI layout, flags and environment variables, but we largely support all the same features as Helm.

Helm plugins support is not planned due to technical difficulties with the Helm plugins API. Instead, we intend to implement functionality of the most useful plugins natively, like we already did with nelm release plan install and nelm chart secret.

Generally, the migration from Helm to Nelm should be as simple as changing Helm commands to Nelm commands in your CI, for example:

Helm command Nelm command equivalent
helm upgrade --install --atomic --wait -n myns myrls ./chart nelm release install --auto-rollback -n myns -r myrls ./chart
helm uninstall -n myns myrls nelm release uninstall -n myns -r myrls
helm template ./chart nelm chart render ./chart
helm dependency build nelm chart dependency download

Key features

Advanced resource ordering

The resource deployment subsystem of Helm is rewritten from scratch in Nelm. During the deployment, Nelm builds the Directed Acyclic Graph (DAG) of all operations we want to perform in the cluster to do the release, then the DAG is executed. The DAG allowed us to implement advanced resource ordering capabilities, such as:

  • The werf.io/weight annotation: similar to helm.sh/hook-weight, but also works for non-hook resources. Resources with the same weight deployed in parallel.
  • The werf.io/deploy-dependency- annotation: do not deploy the annotated resource until the dependency is present or ready. This is the most powerful and effective way to enforce deployment order in Nelm.
  • The .external-dependency.werf.io/resource annotation: do not deploy the annotated resource until the dependency is ready. The dependency can be an external, non-release resource, e.g. a resource created by a third-party operator.
  • Helm Hooks and their weights are supported, too.

Advanced resource lifecycle capabilities

Helm doesn't offer any resource lifecycle capabilities, except helm.sh/resource-policy: keep and helm.sh/hook-delete-policy for Hooks. On top of these, Nelm offers the following:

  • The werf.io/delete-policy annotation. Inspired by helm.sh/hook-delete-policy, but works for any resource. Set before-creation to always recreate the resource, before-creation-if-immutable to only recreate if the resource is immutable, succeeded or failed to delete the resource on success or failure.
  • The werf.io/ownership annotation. anyone allows to get Hook-like behavior for regular resources: don't delete the resource if it is removed from the Chart or when the whole release is removed, and never check or apply release annotations.
  • The werf.io/deploy-on annotation. Inspired by helm.sh/hook. Render and deploy the resource only on install/upgrade/rollback/uninstall in a pre/main/post stage.
  • The werf.io/resource-policy annotation. Inspired by helm.sh/resource-policy, but adds more options: set skip-create, skip-update, skip-recreate or skip-delete to skip the corresponding operation.

These annotations make Helm Hooks obsolete: regular resources can do all the same things now.

Resource state tracking

Nelm has powerful resource tracking built from the ground up, much more advanced than what Helm has:

  • Reliable detection of resources readiness, presence, absence or failures.
  • Standard Kubernetes Resources have their own smart status trackers.
  • Popular Custom Resources have hand-crafted rules to detect their statuses.
  • For unknown Custom Resources, we heuristically determine their readiness by analyzing their status fields. Works for most Custom Resources. No false positives.
  • The table with statuses, errors, and other info about currently tracked resources is printed every few seconds during the deployment.

Printing logs and events during deploy

During the deployment, Nelm finds Pods of deploying resources and periodically prints their container logs. With annotation werf.io/show-service-messages: "true", resource events are also printed. Can be configured with CLI flags and annotations.

Release planning and two-stage deployment workflow support

nelm release plan install shows exactly what's going to happen in the cluster on the next release. It shows diffs between the current and to-be resource versions, utilizing robust dry-run Kubernetes Server-Side Apply capabilities.

To ensure that these exact changes will be applied during the release install, you can utilize a two-stage deployment workflow:

  1. Plan: Generate, review, and save a plan artifact usi

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gocdci-cdcicdcontinuous-delivery

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理