nutanix-core-files-cluster-operator

by Nutanix

Helm chartv1.2.0App 1.2.0Verified publisher

A Helm chart for deploying the CN Files operator

About this chart

Quick Start

Installation

  1. Basic installation with defaults:

    ./manage-files-operator.sh install
    
  2. Installation with custom release name:

    ./manage-files-operator.sh install -r my-rwx-operator
    
  3. Installation with custom values file:

    ./manage-files-operator.sh install -f custom-values.yaml
    

Uninstallation

  1. Basic uninstallation:

    ./manage-files-operator.sh uninstall
    
  2. Uninstall specific release:

    ./manage-files-operator.sh uninstall -r my-rwx-operator
    

Script Usage

Syntax

./manage-files-operator.sh <install|uninstall> [OPTIONS]

Operations

  • install - Install CN-RWX Operator
  • uninstall - Uninstall CN-RWX Operator

Options

OptionDescriptionDefault
-r, --release NAMEHelm release namecn-rwx
-f, --values FILEValues file for Helm./values.yaml
--fileserver FILEFileServer YAML file./fileserver/fileserver.yaml
-h, --helpShow help message-

Examples

  1. Install with all defaults:

    ./manage-files-operator.sh install
    
  2. Install with custom configuration:

    ./manage-files-operator.sh install \
      -r production-rwx \
      -f production-values.yaml \
      --fileserver production-rwxerver.yaml
    
  3. Uninstall everything:

    ./manage-files-operator.sh uninstall -r production-rwx
    

Configuration

Default Configuration

The script uses these default values:

  • Release Name: cn-rwx
  • Namespace: ntnx-system
  • Values File: ./values.yaml
  • FileServer Config: ./fileserver/fileserver.yaml

Customizing Values

Create a custom values.yaml file to override default settings:

operator:
  image:
    repository: quay.io/nutanix/files-operator
    tag: latest
    pullPolicy: Always

resources:
  limits:
    cpu: 500m
    memory: 128Mi
  requests:
    cpu: 10m
    memory: 64Mi

Installation Process

The installation script performs these steps:

  1. Validates inputs - Checks if required files exist
  2. Installs Helm chart - Deploys operator and dependencies
  3. Creates FileServer instances - Applies FileServer resources (if file exists)
  4. Waits for readiness - Ensures pods are running

What Gets Installed

  • CN-RWX Operator deployment
  • Custom Resource Definitions (CRDs)
  • RBAC resources (ServiceAccount, ClusterRole, ClusterRoleBinding)
  • ConfigMaps and Secrets
  • Service definitions
  • FileServer instances (optional)

Uninstallation Process

The uninstallation script performs these steps:

  1. Deletes FileServer instances - Graceful cleanup of managed resources
  2. Waits for cleanup - Ensures resources are properly removed
  3. Uninstalls Helm release - Removes operator and most resources
  4. Deletes CRDs - Removes Custom Resource Definitions
  5. Verifies cleanup - Ensures complete removal

Cleanup Order

The script follows this order to ensure clean uninstallation:

  1. FileServer custom resources
  2. Helm release (operator, RBAC, services)
  3. Custom Resource Definitions
  4. Any remaining pods/resources

Verification

After Installation

# Check Helm releases
helm -n ntnx-system list

# Verify operator pods
kubectl -n ntnx-system get pods

# Check FileServer resources
kubectl -n ntnx-system get fileserver

# View operator logs
kubectl -n ntnx-system logs -l control-plane=nutanix-cn-rwx-operator

After Uninstallation

# Ensure Helm release is gone
helm -n ntnx-system list

# Verify no operator pods remain
kubectl -n ntnx-system get pods

# Check CRDs are removed
kubectl get crd | grep fileservers.nutanix.com

Deploy nutanix-core-files-cluster-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nutanix-core-files-cluster-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartnutanix-core-files-cluster-operator is pinned at v1.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply