Ollama
The Ollama plugin requires no credentials — only a reachable Ollama server address.
apiVersion: genkit.dev/v1alpha1kind: PluginConfigmetadata: name: ollamaspec: type: ollama credentialsRef: name: ollama-empty # any Secret name; can be empty extraConfig: serverAddress: "http://ollama.ollama.svc.cluster.local:11434"---apiVersion: genkit.dev/v1alpha1kind: Modelmetadata: name: llama-3spec: provider: ollama model: llama3:8b pluginConfigRef: name: ollamaextraConfig
Section titled “extraConfig”| Field | Type | Description |
|---|---|---|
serverAddress | string | Required. HTTP URL of an Ollama server. |
- The flow Pod must have network reach to
serverAddress. Run Ollama in the same cluster (e.g. as aDeployment+Service) for the simplest setup. credentialsRefis required by the CRD schema but unused — point it at any emptySecret.
Reference
Section titled “Reference”genkit-goplugin:go/plugins/ollama- Ollama:
ollama.com