Skip to content

kollama undeploy

No need to worry about deleting past Model deployments and having to re-download the model image!

Ollama Operator deploys a separate StatefulSet resource for storing downloaded Ollama model images and its corresponding storage resource in addition to the normal Deployment type resource for Models.

Therefore, even if the deployment of a Model is deleted, it will not affect the model images that have already been downloaded. They are stored in a separate resource called ollama-models-store until manually deleted.

You can check the status of ollama-models-store with the following command:

shell
kubectl describe statefulset ollama-models-store

kollama undeploy is used to delete the deployment of a Model.

Use cases

Delete the deployment of a Model

shell
kollama undeploy phi

Delete the deployment of a Model in a specific namespace

shell
kollama undeploy phi --namespace=production

Flags

--namespace

If present, the namespace scope for this CLI request.

Contributors

No contributors

Changelog

No recent changes