nutanix-core-files-cluster-operator
by Nutanix
A Helm chart for deploying the CN Files operator
About this chart
Quick Start
Installation
-
Basic installation with defaults:
./manage-files-operator.sh install -
Installation with custom release name:
./manage-files-operator.sh install -r my-rwx-operator -
Installation with custom values file:
./manage-files-operator.sh install -f custom-values.yaml
Uninstallation
-
Basic uninstallation:
./manage-files-operator.sh uninstall -
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 Operatoruninstall- Uninstall CN-RWX Operator
Options
| Option | Description | Default |
|---|---|---|
-r, --release NAME | Helm release name | cn-rwx |
-f, --values FILE | Values file for Helm | ./values.yaml |
--fileserver FILE | FileServer YAML file | ./fileserver/fileserver.yaml |
-h, --help | Show help message | - |
Examples
-
Install with all defaults:
./manage-files-operator.sh install -
Install with custom configuration:
./manage-files-operator.sh install \ -r production-rwx \ -f production-values.yaml \ --fileserver production-rwxerver.yaml -
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:
- Validates inputs - Checks if required files exist
- Installs Helm chart - Deploys operator and dependencies
- Creates FileServer instances - Applies FileServer resources (if file exists)
- 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:
- Deletes FileServer instances - Graceful cleanup of managed resources
- Waits for cleanup - Ensures resources are properly removed
- Uninstalls Helm release - Removes operator and most resources
- Deletes CRDs - Removes Custom Resource Definitions
- Verifies cleanup - Ensures complete removal
Cleanup Order
The script follows this order to ensure clean uninstallation:
- FileServer custom resources
- Helm release (operator, RBAC, services)
- Custom Resource Definitions
- 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- 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.
- 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