### Install AIStor Prompt Operator with Kustomize Source: https://github.com/minio/aistor/blob/master/README.md Installs only the AIStor Prompt Operator using Kustomize. The installation involves applying the namespace configuration and then applying the Kustomize resources for the prompt operator from a GitHub URL. ```shell # 1) Create aistor namespace kubectl apply --server-side -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # 2) Install AIStor Prompt Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/prompt ``` -------------------------------- ### Install AIStor Operators via Helm Source: https://context7.com/minio/aistor/llms.txt Installs AIStor operators, including the object store and admin job, using Helm. Requires adding the AIStor Helm repository and specifying a license key. This method facilitates a quick setup with default configurations. ```bash # Add the AIStor Helm repository helm repo add aistor https://aistor.min.io/ helm repo update # View available charts helm search repo aistor # Install AIStor operators with default configuration (Object Store + AdminJob) helm install --namespace aistor \ --create-namespace operators aistor/operators \ --set global.license="YOUR_LICENSE_KEY_HERE" # Expected output: # NAME: operators # LAST DEPLOYED: Tue May 20 16:03:59 2025 # NAMESPACE: aistor # STATUS: deployed # REVISION: 1 # NOTES: # Thank you for installing AIStor Operators v20250512190907.0.0. Your release # is named "operators". # # The following operators have been installed: # - adminjob-operator # - object-store-operator # # A license has been installed. ``` -------------------------------- ### Install AIStor Operators via Kustomize Source: https://context7.com/minio/aistor/llms.txt Installs AIStor operators using Kustomize manifests. This method allows for selective installation of individual operators or all operators at once. It requires `kubectl` and ensures declarative configuration management. ```bash # Install all AIStor operators at once kubectl apply --server-side -k https://min.io/k8s/aistor # Or install operators selectively: # 1. Create the aistor namespace kubectl apply --server-side -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # 2. Install Object Store Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/object-store # 3. Install AdminJob Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/adminjob # 4. Install AIHub Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/aihub # 5. Install Key Manager Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/keymanager # 6. Install Prompt Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/prompt # 7. Install WARP Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/warp ``` -------------------------------- ### Install Prompt Operator (Bash) Source: https://context7.com/minio/aistor/llms.txt This snippet details the installation of the Prompt Operator for AI prompt management using Helm. It installs the 'operators' chart, enabling only the prompt operator and disabling others. A license key is required. Verification includes checking the deployment and logs of the prompt-operator. ```bash # Install Prompt Operator for AI prompt management helm install --namespace aistor \ --create-namespace operators aistor/operators \ --set global.license="YOUR_LICENSE_KEY_HERE" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.prompt.disabled=false # Verify Prompt Operator kubectl get deployment -n aistor prompt-operator kubectl logs -n aistor deployment/prompt-operator ``` -------------------------------- ### Install all AIStor Operators with Kustomize Source: https://github.com/minio/aistor/blob/master/README.md Installs all AIStor operators simultaneously using Kustomize and kubectl. This command applies the Kustomize configuration from a specified min.io URL, ensuring all operators are deployed efficiently. ```shell kubectl apply --server-side -k https://min.io/k8s/aistor ``` -------------------------------- ### Install DirectPV CSI Driver (Bash) Source: https://context7.com/minio/aistor/llms.txt These commands install the DirectPV CSI driver for local storage. It includes commands to apply the base configuration and an alternative for OpenShift with legacy support. Verification steps check for running pods, the CSI driver registration, and available storage classes. It also shows how to list DirectPV drives and volumes. ```bash # Install DirectPV base configuration kubectl apply --server-side -k https://min.io/k8s/aistor/resources/directpv/base # For OpenShift with legacy support kubectl apply --server-side -k https://min.io/k8s/aistor/resources/directpv/openshift-with-legacy # Verify DirectPV installation kubectl get pods -n directpv kubectl get csidriver directpv-min-io kubectl get storageclass directpv-min-io # List DirectPV drives kubectl get directpvdrives kubectl get directpvvolumes ``` -------------------------------- ### Install AIStor Object Store Operator with Kustomize Source: https://github.com/minio/aistor/blob/master/README.md Installs only the AIStor Object Store Operator using Kustomize. This command first applies a namespace configuration and then applies the Kustomize resources for the object-store operator from a GitHub URL. ```shell # 1) Create aistor namespace kubectl apply --server-side -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # 2) Install AIStor Object Store Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/object-store ``` -------------------------------- ### Install AIHub Operator (Bash) Source: https://context7.com/minio/aistor/llms.txt Instructions for installing the AIHub Operator using Helm. This command deploys the 'operators' Helm chart with specific configurations to enable only the AIHub operator, disabling object-store and adminjob. It requires a license key and Helm to be installed. Verification involves checking the deployment and Custom Resource Definition (CRD). ```bash # Install AIHub Operator only helm install --namespace aistor \ --create-namespace operators aistor/operators \ --set global.license="YOUR_LICENSE_KEY_HERE" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.aihub.disabled=false # Verify installation kubectl get deployment -n aistor aihub-operator kubectl get crd aihubs.aistor.min.io ``` -------------------------------- ### Install AIStor AIHub Operator with Kustomize Source: https://github.com/minio/aistor/blob/master/README.md Installs only the AIStor AIHub Operator using Kustomize. The process includes applying the namespace configuration and then applying the Kustomize resources for the aihub operator from a specified GitHub URL. ```shell # 1) Create aistor namespace kubectl apply --server-side -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # 2) Install AIStor AIHub Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/aihub ``` -------------------------------- ### Install AIStor Object Store Operator via OpenShift OperatorHub Source: https://context7.com/minio/aistor/llms.txt Deploys the AIStor Object Store Operator on OpenShift using OperatorHub. This involves creating a project and applying a Subscription manifest for automatic installation and updates. ```bash # For Object Store Operator Bundle oc new-project aistor oc apply -f https://raw.githubusercontent.com/minio/aistor/master/resources/OperatorHub/ObjectStore/Subscription.yaml # Subscription manifest content: # apiVersion: operators.coreos.com/v1alpha1 # kind: Subscription # metadata: # name: minio-object-store-operator # namespace: aistor # spec: # channel: stable # installPlanApproval: Automatic # name: minio-object-store-operator # source: certified-operators # sourceNamespace: openshift-marketplace # startingCSV: minio-object-store-operator.v2025.5.12190907 ``` -------------------------------- ### Install AIStor Key Manager Operator Bundle on OpenShift Source: https://github.com/minio/aistor/blob/master/README.md Installs the AIStor Key Manager Operator bundle on OpenShift. This process includes creating the 'aistor' namespace and applying the Subscription YAML from a GitHub URL. The bundle installs the KeyManager CRD. ```shell # 1) Create aistor namespace oc new-project aistor # 2) Install AIStor Key Manager Operator bundle oc apply -f https://raw.githubusercontent.com/minio/aistor/master/resources/OperatorHub/KeyManager/Subscription.yaml ``` -------------------------------- ### Install AIStor AIHub Operator with Helm Source: https://github.com/minio/aistor/blob/master/README.md Installs the AIStor AIHub Operator using Helm. Requires a license key and disables the object-store and adminjob operators while enabling aihub. The output confirms the deployment status and notes the installed operator. ```shell helm install --namespace aistor --create-namespace operators aistor/operators \ --set global.license="" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.aihub.disabled=false ``` -------------------------------- ### Install AIStor AdminJob Operator with Kustomize Source: https://github.com/minio/aistor/blob/master/README.md Installs only the AIStor AdminJob Operator using Kustomize. This involves applying the namespace configuration first, followed by the Kustomize resources specific to the adminjob operator from a GitHub URL. ```shell # 1) Create aistor namespace kubectl apply --server-side -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # 2) Install AIStor AdminJob Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/adminjob ``` -------------------------------- ### Deploy AIStor Object Store with Helm Source: https://context7.com/minio/aistor/llms.txt Deploys the AIStor Object Store using Helm. This process involves fetching default values, customizing them in `values.yaml`, and then performing the Helm installation. Verification steps include checking pods, services, and the object store resource status. ```bash # Get the default values file helm show values aistor/object-store > values.yaml # Edit values.yaml to customize: # - Storage size and class # - Number of servers and volumes # - Resource requests/limits # - Networking configuration # - Security settings # Deploy the object store helm install my-objectstore aistor/object-store \ -n my-objectstore \ --create-namespace \ -f values.yaml # Verify deployment kubectl get pods -n my-objectstore kubectl get svc -n my-objectstore # Get object store endpoints kubectl get objectstore -n my-objectstore -o yaml ``` -------------------------------- ### Install AIStor Prompt Operator with Helm Source: https://github.com/minio/aistor/blob/master/README.md Installs the AIStor Prompt Operator using Helm. This command requires a license key and disables the object-store and adminjob operators while enabling the prompt operator. The output confirms successful deployment and lists the installed prompt-operator. ```shell helm install --namespace aistor --create-namespace operators aistor/operators \ --set global.license="" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.prompt.disabled=false ``` -------------------------------- ### Install AIStor WARP Operator with Kustomize Source: https://github.com/minio/aistor/blob/master/README.md Installs only the AIStor WARP Operator using Kustomize. This command first applies the namespace configuration and then applies the Kustomize resources for the warp operator from a GitHub URL. ```shell # 1) Create aistor namespace kubectl apply --server-side -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # 2) Install AIStor WARP Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/warp ``` -------------------------------- ### Install AIStor WARP Operator with Helm Source: https://github.com/minio/aistor/blob/master/README.md Installs the AIStor WARP Operator using Helm. This command requires a license key and disables the object-store and adminjob operators while enabling the warp operator. The output confirms the deployment and notes the installation of the warp-operator. ```shell helm install --namespace aistor --create-namespace operators aistor/operators \ --set global.license="" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.warp.disabled=false ``` -------------------------------- ### Install AIStor Object Store Operator Bundle on OpenShift Source: https://github.com/minio/aistor/blob/master/README.md Installs the AIStor Object Store Operator bundle on OpenShift. This involves creating the 'aistor' namespace and then applying the Subscription YAML file from a GitHub URL. The bundle includes ObjectStore, AdminJob, and PolicyBinding CRDs. ```shell # 1) Create aistor namespace oc new-project aistor # 2) Install AIStor Object Store Operator bundle oc apply -f https://raw.githubusercontent.com/minio/aistor/master/resources/OperatorHub/ObjectStore/Subscription.yaml ``` -------------------------------- ### Install AIStor Key Manager Operator with Kustomize Source: https://github.com/minio/aistor/blob/master/README.md Installs only the AIStor Key Manager Operator using Kustomize. This command first applies the namespace configuration and then applies the Kustomize resources for the keymanager operator from a GitHub URL. ```shell # 1) Create aistor namespace kubectl apply --server-side -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # 2) Install AIStor Key Manager Operator kubectl apply --server-side -k https://min.io/k8s/aistor/resources/operators/base/keymanager ``` -------------------------------- ### Install WARP Operator (Bash) Source: https://context7.com/minio/aistor/llms.txt Command to install the WARP Performance Benchmarking Operator using Helm. This deploys the 'operators' chart, enabling only the WARP operator for performance testing. It requires a license key. Verification involves checking the WARP operator deployment and its CRD. ```bash # Install WARP Operator for performance testing helm install --namespace aistor \ --create-namespace operators aistor/operators \ --set global.license="YOUR_LICENSE_KEY_HERE" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.warp.disabled=false # Verify WARP Operator deployment kubectl get deployment -n aistor warp-operator kubectl get crd warps.aistor.min.io ``` -------------------------------- ### Install AIStor Object Store Helm Chart Source: https://github.com/minio/aistor/blob/master/README.md Deploys an AIStor object store instance using the `aistor/object-store` chart. It requires a custom `values.yaml` file (obtained using `helm show values`) for configuration and creates a dedicated namespace for the object store. ```shell helm install my-objectstore aistor/object-store -n my-objectstore --create-namespace -f values.yaml ``` -------------------------------- ### Install AIStor Key Manager Operator via Helm Source: https://context7.com/minio/aistor/llms.txt Installs only the Key Manager Operator using Helm, while disabling other operators like the object store and admin job. This is useful for specific configurations where only key management functionality is required initially. ```bash # Install Key Manager Operator (disable other operators) helm install --namespace aistor \ --create-namespace operators aistor/operators \ --set global.license="YOUR_LICENSE_KEY_HERE" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.keymanager.disabled=false ``` -------------------------------- ### Install AIStor Operators Helm Chart Source: https://github.com/minio/aistor/blob/master/README.md Installs the core AIStor Operators chart, which includes the AIStor Object Store Operator and AIStor AdminJob Operator. Requires a Kubernetes environment, kubectl, helm, and a valid license key. ```shell helm install --namespace aistor \ --create-namespace operators aistor/operators \ --set global.license="" ``` -------------------------------- ### Install AIStor Key Manager Helm Chart Source: https://github.com/minio/aistor/blob/master/README.md Deploys the AIStor Key Manager using the `aistor/keymanager` chart. This command requires the `values.yaml` file and the generated HSM key value to configure the Key Manager securely. ```shell helm install my-keymanager aistor/keymanager -n my-keymanager --create-namespace --set hsm.hsm="hsm:aes256:HSMKEYVALUE" ``` -------------------------------- ### Install AIStor Key Manager Operator Helm Chart Source: https://github.com/minio/aistor/blob/master/README.md Installs the AIStor Key Manager Operator by deploying the `aistor/operators` chart with specific configurations to disable the object store and admin job operators while enabling the key manager operator. A license key is required. ```shell helm install --namespace aistor --create-namespace operators aistor/operators \ --set global.license="" \ --set operators.object-store.disabled=true \ --set operators.adminjob.disabled=true \ --set operators.keymanager.disabled=false ``` -------------------------------- ### Show Default Values for AIStor Object Store Chart Source: https://github.com/minio/aistor/blob/master/README.md Retrieves the default configuration values for the AIStor Object Store chart, saving them to a `values.yaml` file for customization. This file can then be used during the Helm installation. ```shell helm show values aistor/object-store > values.yaml ``` -------------------------------- ### Add and Update AIStor Helm Repository Source: https://github.com/minio/aistor/blob/master/README.md Commands to add the official AIStor Helm repository and update its local cache to fetch the latest chart information. Ensure you have Helm CLI installed. ```shell helm repo add aistor https://aistor.min.io/ helm repo update ``` -------------------------------- ### Deploy Key Manager with HSM Key (Bash) Source: https://context7.com/minio/aistor/llms.txt This snippet demonstrates how to deploy the Key Manager with an HSM master key. It involves generating the key using a Docker container, fetching Helm values, deploying with Helm, and verifying the deployment and connectivity. Dependencies include Docker and Helm. ```bash # Generate HSM master key docker run quay.io/minio/aistor/minkms:latest --soft-hsm # Output: hsm:aes256:ABCD1234EFGH5678IJKL9012MNOP3456 # Get Key Manager values helm show values aistor/keymanager > keymanager-values.yaml # Deploy Key Manager with HSM key helm install my-keymanager aistor/keymanager \ -n my-keymanager \ --create-namespace \ --set hsm.hsm="hsm:aes256:ABCD1234EFGH5678IJKL9012MNOP3456" # Verify Key Manager deployment kubectl get pods -n my-keymanager kubectl get keymanager -n my-keymanager # Test Key Manager connectivity kubectl exec -n my-keymanager deployment/my-keymanager -- minkms status ``` -------------------------------- ### Kustomize Configuration and Deployment for AIStor Source: https://context7.com/minio/aistor/llms.txt This snippet details the main Kustomization configuration for AIStor, including namespace, common annotations, and resource definitions. It also provides kubectl commands for applying, previewing, and verifying the kustomization. This configuration is essential for deploying AIStor components declaratively on Kubernetes. ```yaml apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: aistor commonAnnotations: aistor.min.io/authors: MinIO, Inc. aistor.min.io/license: Enterprise aistor.min.io/support: https://subnet.min.io resources: - resources/namespace.yaml - resources/operators/base/adminjob - resources/operators/base/aihub - resources/operators/base/keymanager - resources/operators/base/object-store - resources/operators/base/prompt - resources/operators/base/warp ``` ```bash # Apply full kustomization kubectl apply --server-side -k . # Preview kustomization without applying kubectl kustomize . # Verify all resources kubectl get all -n aistor kubectl get crd | grep aistor.min.io ``` -------------------------------- ### Apply Namespace Configuration (Bash) Source: https://context7.com/minio/aistor/llms.txt This bash script applies the AIStor namespace configuration, which includes security policies. It uses `kubectl apply` to create the namespace defined in a remote YAML file. The commands also verify the namespace creation and its applied policies. ```bash # Apply namespace configuration kubectl apply -f https://raw.githubusercontent.com/minio/aistor/master/resources/namespace.yaml # Verify namespace and security policies kubectl get namespace aistor -o yaml kubectl describe namespace aistor ``` -------------------------------- ### AIStor License Management and Verification Source: https://context7.com/minio/aistor/llms.txt This section outlines the process for obtaining and applying an AIStor license using Kubernetes secrets. It includes steps for encoding the license content, creating a Kubernetes secret, and verifying that the license has been correctly applied by checking the secret and operator logs. This is crucial for enabling enterprise features. ```bash # For customers: Get license from SUBNET # Visit: https://subnet.min.io/ # For trial: Register for 60-day trial # Visit: https://min.io/training/learningsubscription?ref=blog.min.io#subscription-trial-license # Encode license for secret echo -n "YOUR_LICENSE_CONTENT" | base64 # Create and apply license secret kubectl create secret generic minio-license \ --from-literal=minio.license="BASE64_ENCODED_LICENSE" \ --namespace aistor # Verify license kubectl get secret minio-license -n aistor -o jsonpath='{.data.minio\.license}' | base64 -d # Check operator logs for license validation kubectl logs -n aistor deployment/object-store-operator | grep -i license ``` -------------------------------- ### Show Default Values for AIStor Key Manager Chart Source: https://github.com/minio/aistor/blob/master/README.md Fetches the default configuration parameters for the AIStor Key Manager chart and saves them to a `values.yaml` file. This file is crucial for customizing the Key Manager deployment. ```shell helm show values aistor/keymanager > values.yaml ``` -------------------------------- ### Create AIStor License Secret Source: https://context7.com/minio/aistor/llms.txt Creates a Kubernetes Secret to store the AIStor license key. The license key must be base64 encoded and placed in a `license.yaml` file, which is then applied to the cluster. ```bash # Create license.yaml file cat > license.yaml < kind: Secret metadata: name: minio-license namespace: aistor type: Opaque ``` ```shell kubectl apply --server-side -f license.yaml ``` -------------------------------- ### Generate Soft HSM Key for AIStor Key Manager Source: https://github.com/minio/aistor/blob/master/README.md Generates a soft Hardware Security Module (HSM) key using the `minkms` command from the official MinIO AIStor image. This key is essential for securing sensitive data managed by the Key Manager. ```shell docker run quay.io/minio/aistor/minkms:latest --soft-hsm hsm:aes256:HSMKEYVALUE ``` -------------------------------- ### Create AIStor Namespace with Security Policies (YAML) Source: https://context7.com/minio/aistor/llms.txt This YAML defines a Kubernetes Namespace named 'aistor' with specific security policies applied. It enforces restricted pod security standards at the 'latest' version for enforcement, audit, and warning levels. This configuration is typically applied using `kubectl apply`. ```yaml apiVersion: v1 kind: Namespace metadata: name: aistor labels: pod-security.kubernetes.io/enforce: restricted pod-security.kubernetes.io/enforce-version: latest pod-security.kubernetes.io/audit: restricted pod-security.kubernetes.io/audit-version: latest pod-security.kubernetes.io/warn: restricted pod-security.kubernetes.io/warn-version: latest ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.