omurilo / ollama-terraform-minikube

Provision ollama with terraform and minikube

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ollama Terraform Provisioner with minikube

To use this module you need define some of variables or use defaults.

export TF_VAR_cluster_gpus=nvidia|all # to enable or "" to disable minikube gpu usage
export TF_VAR_ollama_host=your_favorite_host.your_domain.your_tld
export TF_VAR_open_webui_host=your_favorite_open_webui_host.your_domain.your_tld
export TF_VAR_gpu_enabled=true|false # to disable or enable gpu ollama usage
export TF_VAR_gpu_driver=nvidia|amd # to set a type of gpu driver ollama use
export TF_VAR_gpu_number=2 # to define a number of gpus to ollama use

To provisione a minikube with ollama and open-webui you need install terraform version 1.7.4 or bellow, you need install docker too.

install docker insttall terraform

About

Provision ollama with terraform and minikube

License:MIT License


Languages

Language:HCL 76.6%Language:Smarty 23.4%