Skip to content

Instantly share code, notes, and snippets.

View badnetmask's full-sized avatar

Mauricio Teixeira badnetmask

View GitHub Profile
# This configuration is provided AS IS, without ANY guaruantees that it will work.
# I highly recommend that you only use it if you understand what it's doing.
# Don't blame me if it doesn't work. Don't ask for support.
# Use it at your own risk.
# You have been warned.
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: llama-cpp-models
ollama:
mountPath: "/root/.ollama"
gpu:
# REQUIRED FOR AMD/VULKAN: Set to false to prevent automatic ROCm image selection
# The chart auto-appends "-rocm" suffix when type="amd", which we don't want for Vulkan
enabled: false
models:
# Automatically pull models at container startup
pull:
- llama3.2:3b
# DO NOT install NFD (already deployed independently)
node-feature-discovery:
enabled: false
# Enable KMM but we won't use it for driver installation (using Talos built-in driver)
# KMM CRDs are required by the operator even if not managing drivers
kmm:
enabled: true
# DeviceConfig - configure driver and metrics
---
# Custom NodeFeatureRule for AMD GPUs not in the GPU Operator's default list
# This adds support for AMD Strix Halo (device ID 1586) - RX 7900 GRE / Radeon 8050S / Radeon 8060S
apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule
metadata:
name: amd-gpu-custom-label-rule
spec:
rules:
- name: amd-gpu-custom
name: Renovate
on:
schedule:
# The "*" (#42, asterisk) character has special semantics in YAML, so this
# string has to be quoted.
- cron: '0/15 * * * *'
jobs:
renovate:
name: EE build dual node
on:
push:
branches:
- main
# Uncomment to run only when specific files change
# paths:
# - '**/ansible-navigator.yaml'
# - '**/execution-environment.yml'
name: EE build single node
on:
push:
branches:
- main
# Uncomment to run only when specific files change
# paths:
# - '**/ansible-navigator.yaml'
# - '**/execution-environment.yml'
[Unit]
Description=Forgejo Runner
Documentation=https://forgejo.org/docs/latest/admin/actions/
After=docker.service
[Service]
ExecStart=/usr/local/bin/forgejo-runner daemon --config /home/runner/config.yaml
ExecReload=/bin/kill -s HUP $MAINPID
# This user and working directory must already exist
- name: Get list of Forgejo runner releases
ansible.builtin.uri:
url: https://data.forgejo.org/api/v1/repos/forgejo/runner/releases/latest
return_content: true
register: runner_releases
- name: Install Forgejo runner
when: runner_releases.json.tag_name is defined
block:
version: "3"
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
ports:
- 80:80
- 443:443
labels:
caddy: (stepca)
caddy.tls: [REDACTED email]