### Install Redis using Helm Source: https://github.com/nebius/nebius-k8s-applications/blob/main/litellm/chart/charts/redis/README.md Installs the Bitnami Redis Helm chart using the 'helm install' command. This is the quickest way to get started. ```console helm install my-release oci://registry-1.docker.io/bitnamicharts/redis ``` -------------------------------- ### Install PostgreSQL Chart with values.yaml Source: https://github.com/nebius/nebius-k8s-applications/blob/main/apache-airflow/chart/charts/postgresql/README.md Example of installing the PostgreSQL Helm chart by providing a YAML file containing configuration values. ```bash helm install my-release -f values.yaml oci://REGISTRY_NAME/REPOSITORY_NAME/postgresql ``` -------------------------------- ### Install PostgreSQL Chart with --set Source: https://github.com/nebius/nebius-k8s-applications/blob/main/apache-airflow/chart/charts/postgresql/README.md Example of installing the PostgreSQL Helm chart using the --set argument to specify parameters like the database password. Remember to replace placeholders with your actual registry and repository names. ```bash helm install my-release \ --set auth.postgresPassword=secretpassword oci://REGISTRY_NAME/REPOSITORY_NAME/postgresql ``` -------------------------------- ### Install Flowise with nameOverride Source: https://github.com/nebius/nebius-k8s-applications/blob/main/flowise/chart/README.md Use the `--set` argument to customize chart values during installation. This example sets the `nameOverride` parameter. ```bash helm install my-release \ --set nameOverride=my-name cowboysysop/flowise ``` -------------------------------- ### Add Qdrant Helm Repository and Install Source: https://github.com/nebius/nebius-k8s-applications/blob/main/qdrant-qdrant/chart/README.md Quickly add the Qdrant Helm repository, update it, and install a Qdrant instance using Helm. ```bash helm repo add qdrant https://qdrant.github.io/qdrant-helm helm repo update helm upgrade -i your-qdrant-installation-name qdrant/qdrant ``` -------------------------------- ### Start Minikube and Enable NVIDIA Plugin Source: https://github.com/nebius/nebius-k8s-applications/blob/main/generative-virtual-screening/chart/README.md Starts Minikube with specific configurations for GPU access and enables the NVIDIA device plugin. ```bash minikube start --driver docker --container-runtime docker --gpus all --cpus 8 minikube addons enable nvidia-device-plugin ``` -------------------------------- ### Install Qdrant Helm Chart from Source Source: https://github.com/nebius/nebius-k8s-applications/blob/main/qdrant-qdrant/chart/README.md Install the Qdrant Helm chart directly from its source directory using the Helm upgrade command. ```bash helm upgrade -i your-qdrant-installation-name charts/qdrant ``` -------------------------------- ### Set Role During Helm Install Source: https://github.com/nebius/nebius-k8s-applications/blob/main/cvat-cvat/chart/charts/vector/README.md Example of how to set the Vector role (e.g., Agent) during chart installation using the `--set` flag. ```bash helm install --name \ --set role=Agent \ vector/vector ``` -------------------------------- ### Install MariaDB Chart Source: https://github.com/nebius/nebius-k8s-applications/blob/main/flowise/chart/charts/mariadb/README.md Installs the MariaDB chart using Helm. Ensure you have added the Bitnami repository first. ```console helm repo add my-repo https://charts.bitnami.com/bitnami helm install my-release my-repo/mariadb ``` -------------------------------- ### Install MariaDB Chart with a Values File Source: https://github.com/nebius/nebius-k8s-applications/blob/main/flowise/chart/charts/mariadb/README.md Install the MariaDB Helm chart by providing a YAML file with configuration values. ```bash helm install my-release -f values.yaml my-repo/mariadb ``` -------------------------------- ### Install Helm Source: https://github.com/nebius/nebius-k8s-applications/blob/main/nvidia-network-operator/chart/charts/sriov-network-operator/README.md Installs the Helm v3 binary using the official installation script. Ensure Helm is installed before proceeding with the operator deployment. ```bash $ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 $ chmod 500 get_helm.sh $ ./get_helm.sh ``` -------------------------------- ### Image Configuration Example Source: https://github.com/nebius/nebius-k8s-applications/blob/main/clickhouse/chart/charts/common/README.md Example configuration for specifying Docker image details like registry, repository, tag, and pull policy. ```yaml registry: type: string description: Docker registry where the image is located example: docker.io repository: type: string description: Repository and image name example: bitnami/nginx tag: type: string description: image tag example: 1.16.1-debian-10-r63 pullPolicy: type: string description: Specify a imagePullPolicy. pullSecrets: type: array items: type: string description: Optionally specify an array of imagePullSecrets (evaluated as templates). debug: type: boolean description: Set to true if you would like to see extra information on logs example: false ## An instance would be: # registry: docker.io # repository: bitnami/nginx # tag: 1.16.1-debian-10-r63 # pullPolicy: IfNotPresent # debug: false ``` -------------------------------- ### Install kube-state-metrics Helm Chart Source: https://github.com/nebius/nebius-k8s-applications/blob/main/grafana-and-prometheus/chart/charts/prometheus/charts/kube-state-metrics/README.md Installs the kube-state-metrics Helm chart for a given release name. Flags can be used for customization. ```console helm install [RELEASE_NAME] prometheus-community/kube-state-metrics [flags] ``` -------------------------------- ### Install Traefik with Helm Source: https://github.com/nebius/nebius-k8s-applications/blob/main/cvat-cvat/chart/charts/traefik/README.md Basic installation of the Traefik Helm chart. This command deploys Traefik with default configurations. ```bash helm install traefik traefik/traefik ``` -------------------------------- ### Install Helm Chart Source: https://github.com/nebius/nebius-k8s-applications/blob/main/generative-virtual-screening/chart/README.md Installs the Generative Virtual Screening Helm chart. Ensure you are in the 'generative-virtual-screening-chart/' directory. ```bash cd generative-virtual-screening-chart/ helm install "${CHART_NAME}" . --debug ``` -------------------------------- ### Install PostgreSQL Chart with values.yaml Source: https://github.com/nebius/nebius-k8s-applications/blob/main/flowise/chart/charts/postgresql/README.md Installs the PostgreSQL chart using a custom configuration defined in a values.yaml file. ```console helm install my-release -f values.yaml oci://registry-1.docker.io/bitnamicharts/postgresql ``` -------------------------------- ### Install Development Version of Network Operator Source: https://github.com/nebius/nebius-k8s-applications/blob/main/nvidia-network-operator/chart/README.md Clone the repository, update chart dependencies, and install the Network Operator using Helm. View deployed pods to confirm installation. ```bash # Clone Network Operatro Repository $ git clone https://github.com/Mellanox/network-operator.git # Update chart dependencies $ cd network-operator/deployment/network-operator && helm dependency update # Install Operator $ helm install -n network-operator --create-namespace --wait network-operator ./ # View deployed resources $ kubectl -n network-operator get pods ``` -------------------------------- ### Install Argo CD Chart with Helm Source: https://github.com/nebius/nebius-k8s-applications/blob/main/argo-project-argo-cd/chart/README.md Installs the Argo CD chart using Helm, adding the repository and then performing the installation with a specified release name. ```bash $ helm repo add argo https://argoproj.github.io/argo-helm "argo" has been added to your repositories $ helm install my-release argo/argo-cd NAME: my-release ... ``` -------------------------------- ### Install MariaDB Chart with Root Password and Database Source: https://github.com/nebius/nebius-k8s-applications/blob/main/flowise/chart/charts/mariadb/README.md Use the `--set` argument to specify the root password and create a database during Helm installation. ```bash helm install my-release \ --set auth.rootPassword=secretpassword,auth.database=app_database \ my-repo/mariadb ``` -------------------------------- ### Install Redis HA Helm Chart Source: https://github.com/nebius/nebius-k8s-applications/blob/main/argo-project-argo-cd/chart/charts/redis-ha/README.md Installs the redis-ha chart with default configurations. This deploys a highly available Redis master/slave setup with Sentinel. ```bash helm install dandydev/redis-ha ``` -------------------------------- ### Get MLflow Tracking Credentials Source: https://github.com/nebius/nebius-k8s-applications/blob/main/ml-flow/README.md Retrieve MLflow Tracking username and password from Kubernetes secrets. Ensure you have kubectl installed and configured for your cluster. ```bash export MLFLOW_TRACKING_USERNAME=$(kubectl get secret mlflow-tracking -n -o jsonpath="{.data.admin-user}" | base64 --decode) export MLFLOW_TRACKING_PASSWORD=$(kubectl get secret mlflow-tracking -n -o jsonpath="{.data.admin-password}" | base64 --decode) echo $MLFLOW_TRACKING_USERNAME echo $MLFLOW_TRACKING_PASSWORD ``` -------------------------------- ### README.md Links Section Example Source: https://github.com/nebius/nebius-k8s-applications/blob/main/Create-Application-Guide.md Provides an example of how to structure the 'Links' section in a `README.md` file, including documentation and source code links. ```markdown ## Links [Documentation](https://nginx.org/en/docs/index.html) [Source code](https://github.com/nginx/nginx) ``` -------------------------------- ### UI Installation Form Field Example Source: https://github.com/nebius/nebius-k8s-applications/blob/main/Create-Application-Guide.md Defines a string input field for a Gravity UI Dynamic Form. The field name must correspond to a path in chart/values.yaml. ```yaml "gradioExampleValues.simpleString": { "type": "string", "viewSpec": { "layoutTitle": "String input", "layout": "row", "type": "base", "disabled": false }, "required": true } ``` -------------------------------- ### Adding Init Containers to ClickHouse Pods Source: https://github.com/nebius/nebius-k8s-applications/blob/main/clickhouse/chart/README.md Define init containers to perform setup tasks before the main ClickHouse container starts. Specify the container name, image, and ports. ```yaml initContainers: - name: your-image-name image: your-image imagePullPolicy: Always ports: - name: portname containerPort: 1234 ``` -------------------------------- ### Basic Configuration Example Source: https://github.com/nebius/nebius-k8s-applications/blob/main/nebius-observability-agent/README.md A basic configuration for the Nebius Observability Agent, enabling both logs and metrics collection while excluding the 'kube-system' namespace. ```yaml config: logs: enabled: true collectAgentLogs: false excludedNamespaces: - kube-system metrics: enabled: true collectAgentMetrics: false collectK8sClusterMetrics: false ``` -------------------------------- ### Start Minikube Cluster and Enable Metrics Source: https://github.com/nebius/nebius-k8s-applications/blob/main/cvat-cvat/chart/charts/vector/docs/quickstart.md Start a local Kubernetes cluster using minikube and enable the metrics-server addon. This is useful for local development and testing. ```bash minikube start minikube addons enable metrics-server minikube status ``` -------------------------------- ### Validate Multiple Values with common.validations.values.multiple.empty Source: https://github.com/nebius/nebius-k8s-applications/blob/main/cvat-cvat/chart/charts/clickhouse/charts/zookeeper/charts/common/README.md This example shows how to use the 'common.validations.values.multiple.empty' helper to ensure that specific values are not empty. It defines configurations for two values and demonstrates how to set them during Helm installation. ```yaml {{- $validateValueConf00 := (dict "valueKey" "path.to.value00" "secret" "secretName" "field" "password-00") -}} {{- $validateValueConf01 := (dict "valueKey" "path.to.value01" "secret" "secretName" "field" "password-01") -}} {{ include "common.validations.values.multiple.empty" (dict "required" (list $validateValueConf00 $validateValueConf01) "context" $) }} ``` -------------------------------- ### Show All Configurable Options Source: https://github.com/nebius/nebius-k8s-applications/blob/main/grafana-and-prometheus/chart/charts/prometheus/README.md Run this command to display all configurable options with detailed comments for the Prometheus Helm chart. ```console helm show values prometheus-community/prometheus ``` -------------------------------- ### Install KubeRay CRDs and Operator Separately Source: https://github.com/nebius/nebius-k8s-applications/blob/main/vllm/chart/charts/kuberay-operator/README.md Installs KubeRay CRDs using kubectl and then installs the KubeRay operator using Helm, skipping CRD installation. This is useful when different permissions are required for CRD and operator installations. ```sh # Step 1: Install CRDs only (for cluster admin) kubectl create -k "github.com/ray-project/kuberay/ray-operator/config/crd?ref=v1.1.0&timeout=90s" # Step 2: Install KubeRay operator only. (for developer) helm install kuberay-operator kuberay/kuberay-operator --version 1.1.0 --skip-crds ``` -------------------------------- ### Install KubeRay Operator (Stable) Source: https://github.com/nebius/nebius-k8s-applications/blob/main/ray-serve/chart/charts/kuberay-operator/README.md Installs both CRDs and the KubeRay operator from the official Helm repository. Ensure you have Helm v3+ installed. ```bash helm repo add kuberay https://ray-project.github.io/kuberay-helm/ # Install both CRDs and KubeRay operator v1.4.0. helm install kuberay-operator kuberay/kuberay-operator --version 1.4.0 # Check the KubeRay operator Pod in `default` namespace kubectl get pods # NAME READY STATUS RESTARTS AGE # kuberay-operator-6fcbb94f64-mbfnr 1/1 Running 0 17s ``` -------------------------------- ### Install Helm Source: https://github.com/nebius/nebius-k8s-applications/blob/main/nvidia-network-operator/chart/README.md Installs the Helm package manager using a provided script. Ensure Helm is installed before proceeding with chart deployments. ```bash curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 chmod 500 get_helm.sh ./get_helm.sh ``` -------------------------------- ### Install Python Libraries Source: https://github.com/nebius/nebius-k8s-applications/blob/main/generative-virtual-screening/nebius-changes/files/generative-virtual-screening.ipynb Installs necessary Python libraries for cheminformatics and 3D visualization. Ensure these are installed before proceeding with NIM interactions. ```python ! pip install py3Dmol ! pip install rdkit import os import py3Dmol import requests from IPython.display import display from rdkit import Chem from rdkit.Chem import Draw ``` -------------------------------- ### Download Hugging Face Notebooks Source: https://github.com/nebius/nebius-k8s-applications/blob/main/jupyterhub/chart/files/notebooks/default.ipynb Clone the Hugging Face notebooks repository to access example code and tutorials. ```bash !git clone https://github.com/huggingface/notebooks.git ``` -------------------------------- ### Install MLflow using Helm Source: https://github.com/nebius/nebius-k8s-applications/blob/main/ml-flow/chart/README.md Installs the MLflow Helm chart with a specified release name. Ensure you have Helm 3.2.0+ and Kubernetes 1.19+ installed. ```console helm install my-release oci://registry-1.docker.io/bitnamicharts/mlflow ``` -------------------------------- ### Initialize MariaDB Instance with Custom Scripts Source: https://github.com/nebius/nebius-k8s-applications/blob/main/flowise/chart/charts/mariadb/README.md Use custom scripts for initializing a fresh MariaDB instance. Scripts can be provided directly or via a ConfigMap. Supported extensions are .sh, .sql, and .sql.gz. ```bash helm install my-release bitnami/mariadb --set initdbScriptsConfigMap=my-configmap ``` -------------------------------- ### Run Hello Milvus Script Source: https://github.com/nebius/nebius-k8s-applications/blob/main/milvus-milvus/testing_scripts/readme.md Execute hello_milvus.py after installing Milvus and setting up port forwarding to check accessibility and basic operations. Consider commenting out the collection deletion block for repeated runs. ```python python3 hello_milvus.py ``` -------------------------------- ### Persistence Configuration Example Source: https://github.com/nebius/nebius-k8s-applications/blob/main/clickhouse/chart/charts/common/README.md Example configuration for enabling and defining persistence settings for a Helm chart, including storage class, access mode, and size. ```yaml enabled: type: boolean description: Whether enable persistence. example: true storageClass: type: string description: Ghost data Persistent Volume Storage Class, If set to "-", storageClassName: "" which disables dynamic provisioning. example: "-" accessMode: type: string description: Access mode for the Persistent Volume Storage. example: ReadWriteOnce size: type: string description: Size the Persistent Volume Storage. example: 8Gi path: type: string description: Path to be persisted. example: /bitnami ## An instance would be: # enabled: true # storageClass: "-" # accessMode: ReadWriteOnce # size: 8Gi # path: /bitnami ``` -------------------------------- ### Install Milvus CLI Source: https://github.com/nebius/nebius-k8s-applications/blob/main/milvus-milvus/testing_scripts/readme.md Install the milvus-cli package using pip3. ```bash pip3 install milvus-cli ``` -------------------------------- ### Install CRDs and KubeRay Operator Separately Source: https://github.com/nebius/nebius-k8s-applications/blob/main/ray-serve/chart/charts/kuberay-operator/README.md Installs CRDs and the KubeRay operator as separate steps, useful when different permissions are required. The operator is installed using the `--skip-crds` flag. ```bash # Step 1: Install CRDs only (for cluster admin) kubectl create -k "github.com/ray-project/kuberay/ray-operator/config/crd?ref=v1.4.0&timeout=90s" # Step 2: Install KubeRay operator only. (for developer) helm install kuberay-operator kuberay/kuberay-operator --version 1.4.0 --skip-crds ``` -------------------------------- ### Redis Entrypoint Script Source: https://github.com/nebius/nebius-k8s-applications/blob/main/cvat-cvat/chart/charts/redis/templates/NOTES.txt Command to replicate the container startup script for Redis. ```bash /opt/bitnami/scripts/redis/entrypoint.sh /opt/bitnami/scripts/redis/run.sh ``` -------------------------------- ### Example values.yaml for ExistingSecret Source: https://github.com/nebius/nebius-k8s-applications/blob/main/flowise/chart/charts/postgresql/charts/common/README.md Shows how to configure the 'existingSecret' in your values.yaml file, specifying the secret name and key mappings. ```yaml # values.yaml --- name: mySecret keyMapping: password: myPasswordKey ``` -------------------------------- ### Traefik HorizontalPodAutoscaler Example Source: https://github.com/nebius/nebius-k8s-applications/blob/main/cvat-cvat/chart/charts/traefik/EXAMPLES.md Example of a HorizontalPodAutoscaler resource for Traefik, defining scaling parameters. ```yaml apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: release-name-traefik namespace: flux-system labels: app.kubernetes.io/name: traefik app.kubernetes.io/instance: release-name-flux-system helm.sh/chart: traefik-24.0.0 app.kubernetes.io/managed-by: Helm spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: release-name-traefik maxReplicas: 3 ``` -------------------------------- ### Install KubeRay Operator and RayCluster Source: https://github.com/nebius/nebius-k8s-applications/blob/main/ray-serve/chart/README.md This sequence of commands sets up a KinD cluster, adds the KubeRay Helm repository, installs the KubeRay operator and CRDs, and then installs a RayCluster. It includes specific instructions for x86_64 and arm64 architectures. ```sh # Step 1: Create a KinD cluster kind create cluster # Step 2: Register a Helm chart repo helm repo add kuberay https://ray-project.github.io/kuberay-helm/ # Step 3: Install both CRDs and KubeRay operator v1.1.0. helm install kuberay-operator kuberay/kuberay-operator --version 1.1.0 # Step 4: Install a RayCluster custom resource # (For x86_64 users) helm install raycluster kuberay/ray-cluster --version 1.1.0 # (For arm64 users, e.g. Mac M1) # See here for all available arm64 images: https://hub.docker.com/r/rayproject/ray/tags?page=1&name=aarch64 helm install raycluster kuberay/ray-cluster --version 1.1.0 --set image.tag=nightly-aarch64 ``` -------------------------------- ### README.md Legal Section Example Source: https://github.com/nebius/nebius-k8s-applications/blob/main/Create-Application-Guide.md Shows an example of the 'Legal' section in a `README.md` file, referencing terms and conditions for third-party components like Helm charts and Nginx. ```markdown ## Legal By using the application, you agree to their terms and conditions: [the helm-chart](https://github.com/nebius/nebius-k8s-applications/blob/main/LICENSE) and [Nginx](https://nginx.org/LICENSE). ``` -------------------------------- ### Install Weaviate using Helm Source: https://github.com/nebius/nebius-k8s-applications/blob/main/weaviate/chart/README.md Installs Weaviate on your Kubernetes cluster using the added Helm chart. ```bash helm install my-weaviate weaviate/weaviate ``` -------------------------------- ### Redis Entrypoint Scripts Source: https://github.com/nebius/nebius-k8s-applications/blob/main/ray-serve/chart/charts/redis/templates/NOTES.txt Commands to replicate container startup scripts for Redis and Redis Sentinel. ```bash /opt/bitnami/scripts/redis/entrypoint.sh /opt/bitnami/scripts/redis/run.sh ``` ```bash /opt/bitnami/scripts/redis-sentinel/entrypoint.sh /opt/bitnami/scripts/redis-sentinel/run.sh ``` -------------------------------- ### Uninstall Qdrant Helm Installation Source: https://github.com/nebius/nebius-k8s-applications/blob/main/qdrant-qdrant/chart/README.md Remove a Qdrant installation managed by Helm using the uninstall command. ```bash helm uninstall your-qdrant-installation-name ``` -------------------------------- ### ClickHouse Entrypoint Script Source: https://github.com/nebius/nebius-k8s-applications/blob/main/clickhouse/chart/templates/NOTES.txt Command to replicate the container startup scripts for ClickHouse. ```bash /opt/bitnami/scripts/clickhouse/entrypoint.sh /opt/bitnami/scripts/clickhouse/run.sh ``` -------------------------------- ### Install Redis Cluster Source: https://github.com/nebius/nebius-k8s-applications/blob/main/litellm/chart/charts/redis/README.md Install the Redis cluster using Helm, specifying the values.yaml file and cluster configuration. ```bash helm install new-redis -f values.yaml . --set cluster.enabled=true --set cluster.slaveCount=3 ``` -------------------------------- ### PostgreSQL Container Startup Script Source: https://github.com/nebius/nebius-k8s-applications/blob/main/apache-airflow/chart/charts/postgresql/templates/NOTES.txt This command replicates the container startup scripts for PostgreSQL, useful for debugging or understanding the initialization process. ```bash /opt/bitnami/scripts/postgresql/entrypoint.sh /opt/bitnami/scripts/postgresql/run.sh ```