Add new model files and update Ansible playbooks for Qwen3.5 and Qwen3.6
- Created model files for Qwen3.5 with different context lengths. - Added a new Ansible host variable file for CI server configuration. - Updated GPU server host variables to include Ollama models and model files. - Enhanced playbooks for Podman to manage Ollama models, including copying model files and checking existing models. - Introduced a new playbook for setting up Qwen3.6 with specific configurations. - Updated Windows SSH tasks to improve security and configuration management. - Added a Python utility to parse Ollama model names from command output. - Modified Terraform configurations to include new DNS entries and proxy settings. - Improved Nginx proxy configurations with timeout settings.
This commit is contained in:
@@ -4,10 +4,12 @@ resource "kubernetes_ingress_v1" "openwebui" {
|
||||
namespace = kubernetes_namespace.openwebui.metadata[0].name
|
||||
|
||||
annotations = {
|
||||
"kubernetes.io/ingress.class" = "public"
|
||||
"cert-manager.io/cluster-issuer" = "letsencrypt-prod"
|
||||
"kubernetes.io/tls-acme" = "true"
|
||||
"nginx.ingress.kubernetes.io/ssl-redirect" = "true"
|
||||
"kubernetes.io/ingress.class" = "public"
|
||||
"cert-manager.io/cluster-issuer" = "letsencrypt-prod"
|
||||
"kubernetes.io/tls-acme" = "true"
|
||||
"nginx.ingress.kubernetes.io/ssl-redirect" = "true"
|
||||
"nginx.ingress.kubernetes.io/proxy-read-timeout" = "600s"
|
||||
"nginx.ingress.kubernetes.io/proxy-send-timeout" = "600s"
|
||||
}
|
||||
}
|
||||
spec {
|
||||
|
||||
@@ -3,4 +3,7 @@ locals {
|
||||
|
||||
app_version = var.tag
|
||||
app_fqdn = var.fqdn
|
||||
|
||||
searxng_config = templatefile("${path.module}/resources/settings.yml.tpl", {})
|
||||
searxng_config_checksum = md5(local.searxng_config)
|
||||
}
|
||||
|
||||
@@ -26,6 +26,17 @@ resource "kubernetes_config_map" "searxng_config" {
|
||||
}
|
||||
}
|
||||
|
||||
resource "kubernetes_config_map" "searxng_config_file" {
|
||||
metadata {
|
||||
name = "searxng-config-file"
|
||||
namespace = kubernetes_namespace.searxng.metadata[0].name
|
||||
}
|
||||
|
||||
data = {
|
||||
"settings.yml" = local.searxng_config
|
||||
}
|
||||
}
|
||||
|
||||
resource "kubernetes_secret" "searxng_secrets" {
|
||||
metadata {
|
||||
name = "searxng-keys"
|
||||
@@ -64,6 +75,9 @@ resource "kubernetes_deployment" "searxng" {
|
||||
labels = {
|
||||
app = "searxng"
|
||||
}
|
||||
annotations = {
|
||||
"checksum/config" = local.searxng_config_checksum
|
||||
}
|
||||
}
|
||||
|
||||
spec {
|
||||
@@ -145,6 +159,12 @@ resource "kubernetes_deployment" "searxng" {
|
||||
name = "searxng-tmp"
|
||||
mount_path = "/tmp"
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
name = "searxng-config-file"
|
||||
mount_path = "/etc/searxng/settings.yml"
|
||||
sub_path = "settings.yml"
|
||||
}
|
||||
}
|
||||
|
||||
volume {
|
||||
@@ -158,6 +178,13 @@ resource "kubernetes_deployment" "searxng" {
|
||||
name = "searxng-tmp"
|
||||
empty_dir {}
|
||||
}
|
||||
|
||||
volume {
|
||||
name = "searxng-config-file"
|
||||
config_map {
|
||||
name = kubernetes_config_map.searxng_config_file.metadata[0].name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
use_default_settings: true
|
||||
search:
|
||||
formats:
|
||||
- html
|
||||
- json
|
||||
Reference in New Issue
Block a user