Skip to Content
InstallationFlux Installation

Flux Installation


This guide will walk you through the process of installing ScaleOps via Flux.

Steps

1. Install Flux CLI (If Required)

Please follow the CLI installation instructions:

2. Install Flux Components (If Required)

Execute the following command:

flux install \ --namespace=flux-system \ --network-policy=false \ --components=source-controller,helm-controller

3. Create ScaleOps Helm Repository Secret

Apply the following yaml file:

apiVersion: v1 kind: Secret metadata: name: scaleops-repo-auth namespace: flux-system stringData: username: scaleops password: <YOUR_SCALEOPS_TOKEN>

4. Create ScaleOps Helm Repository

Apply the following yaml file:

apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: scaleops namespace: flux-system spec: interval: 10m0s url: https://registry.scaleops.com/charts/ secretRef: name: scaleops-repo-auth

5. Create ScaleOps HelmRelease

Apply the following yaml file:

apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: scaleops namespace: flux-system spec: chart: spec: chart: scaleops reconcileStrategy: ChartVersion sourceRef: kind: HelmRepository name: scaleops version: <SCALEOPS_VERSION> interval: 10m0s targetNamespace: scaleops-system install: crds: Create createNamespace: true upgrade: crds: CreateReplace values: scaleopsToken: <YOUR_SCALEOPS_TOKEN> clusterName: <CUSTOMER_NAME>-<CLUSTER_NAME> global: image: registry: registry.scaleops.com

And that’s it! You have successfully installed ScaleOps via Flux.