Skip to content

kind: Model create service with random name #78

@Slach

Description

@Slach

I installed operator via
kubectl apply --server-side=true -f https://github.com/nekomeowww/ollama-operator/raw/refs/heads/main/dist/install.yaml

I applied following manifest in ollama-operator-system namespace

apiVersion: ollama.ayaka.io/v1
kind: Model
metadata:
  name: devstral
spec:
  image: "devstral:24b"

Got following events

Normal  WaitingForDeployment              16m (x16 over 17m)  ollama-model-controller  Waiting for deployment ollama-model-devstral to become ready
Normal  WaitingForDeployment              12m                 ollama-model-controller  Waiting for deployment ollama-model-devstral to become ready
Normal  ServiceCreated                    12m                 ollama-model-controller  Service ollama-srv-2d97a3 created                                                                                 Normal  ModelAvailable                    12m (x3 over 12m)   ollama-model-controller  Model is available

why service name is ollama-srv-2d97a3 instead of something like ollama-model-devstral?
How to control service name?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions