File tree Expand file tree Collapse file tree
roles/tackle/templates/kai Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,41 +9,9 @@ metadata:
99 app.kubernetes.io/component: kai
1010 app.kubernetes.io/part-of: tackle
1111data:
12- lightspeed-stack.yaml: |
13- # Minimal Lightspeed Stack configuration for running ONLY Llama Stack server
14- # This config disables all LCS features and just uses the project to start Llama Stack
15- name: Llama Stack Server Only
16- service:
17- # LCS service won't actually run with this config - we're just using it for Llama Stack
18- host: 0.0.0.0
19- port: 8080
20- auth_enabled: false
21- workers: 1
22-
23- # This is the key - we're NOT using Llama Stack as a library or connecting to external server
24- # Instead, we'll use the project's ability to start Llama Stack as a separate server
25- llama_stack:
26- use_as_library_client: false
27- # Dummy URL since we're not actually connecting to anything
28- url: http://localhost:8321
29- api_key: unused
30-
31- # Disable all LCS features since we only want Llama Stack
32- user_data_collection:
33- feedback_enabled: false
34- transcripts_enabled: false
35-
36- # Use in-memory cache (minimal)
37- conversation_cache:
38- type: "noop"
39-
40- # No authentication
41- authentication:
42- module: "noop"
4312 run.yaml: |
4413 version: 2
4514 image_name: starter
46- external_providers_dir: /tmp/.llama/providers.d
4715 apis:
4816 - inference
4917 providers:
Original file line number Diff line number Diff line change 2828 containers:
2929 - name: llm-proxy
3030 image: "{{ kai_llm_proxy_image_fqin }}"
31+ command: ["/app-root/.venv/bin/llama"]
3132 args:
32- - --config
33- - /app/lightspeed-stack.yaml
33+ - stack
34+ - run
35+ - /app/run.yaml
36+ - --port
37+ - "8321"
3438 ports:
3539 - containerPort: 8321
3640 name: http
5862 successThreshold: 1
5963 failureThreshold: 3
6064 env:
61- - name: RUN_CONFIG_PATH
62- value: /app/run.yaml
63- - name: INPUT_CONFIG
64- value: /app/run.yaml
65- - name: LIGHTSPEED_STACK_CONFIG_PATH
66- value: /app/lightspeed-stack.yaml
67- - name: LLAMA_STACK_CONFIG_DIR
68- value: /tmp/.llama
6965{% if trusted_ca_enabled | default (false ) | bool %}
7066 # For self-signed certificates
7167 - name: SSL_CERT_FILE
You can’t perform that action at this time.
0 commit comments