Sponsored by Deepsite.site

GreenDoc - SUSEAI Demo Lab

Created By
alessandro-festa9 months ago
A set of bundles to demonstrate SUSE AI capabilities
Content

GreenDoc - SUSEAI Demo Lab

Author: Alessandro Festa

Rev. Number: v1.0

SUSE AI Demo enviroment is a simple document that is intended to describe how to implement a local lab to demonstrate capabilites of SUSE AI in the context of specific usecase If you are interested in understanding more what is SUSE AI please refer to http://suse.com/products/ai

The applications in this repo are pulled from the SUSE Application Collection https://apps.rancher.io/ check the documentation at https://docs.apps.rancher.io/ to learn more about AppCo

This GreenDoc is structured in the following way:

  • Cluster setup
  • Rancher Fleet setup (for automation of the GreenDoc)
  • GreenDoc Configuration
  • GreenDoc deployment
  • Demo

Cluster Setup

For the purpose of this GreenDoc we'll use K3s.

Create namespaces used in the environment

kubectl create namespace cert-manager
kubectl create namespace suseai

Create secrets for namespaces

kubectl create secret docker-registry application-collection \
--docker-server=dp.apps.rancher.io \
--docker-username=<your registered account on appco> \
--docker-password=<INSERT YOUR TOKEN FROM APPCO> \
-n cert-manager
kubectl create secret docker-registry application-collection \
--docker-server=dp.apps.rancher.io \
--docker-username=<your registered account on appco>\
--docker-password=<INSERT YOUR TOKEN FROM APPCO> \
-n suseai
kubectl create secret docker-registry application-collection \
--docker-server=dp.apps.rancher.io \
--docker-username=<your registered account on appco> \
--docker-password=<INSERT YOUR TOKEN FROM APPCO> \
-n fleet-local

Use Rancher Application Collection for components

Deploy cert-manager helm chart

helm upgrade --install cert-manager \
  oci://dp.apps.rancher.io/charts/cert-manager \
  --version 1.17.1 \
  -n cert-manager \
  --create-namespace \
  --set crds.enabled=true \
  --set "global.imagePullSecrets[0].name"="application-collection"

Deploy Rancher Fleet

helm -n cattle-fleet-system install --create-namespace --wait \
    fleet-crd https://github.com/rancher/fleet/releases/download/v0.12.0/fleet-crd-0.12.0.tgz
helm -n cattle-fleet-system install --create-namespace --wait \
    fleet https://github.com/rancher/fleet/releases/download/v0.12.0/fleet-0.12.0.tgz

At this point we are ready to pickup the greendoc recipe

Deploy a minimal SUSEAI Stack with Rancher Fleet

Let's create a minimal github configuration and save it as suseai.yaml

apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
  name: suseai
  # This namespace is special and auto-wired to deploy to the local cluster
  namespace: fleet-local
spec:
  repo: https://github.com/alessandro-festa/bundles
  helmSecretName: basic-auth-secret
  ociRegistry:
    authSecretName: application-collection
  branch: main
  paths:
  - k8s-assistant

and add a generic secret for basic authentication

kubectl create secret generic basic-auth-secret \--from-literal=username=<your registered account on appco> \
--from-literal=password=<INSERT YOUR TOKEN FROM APPCO> \
-n fleet-local

Now let's execute the config with kubectl

kubectl apply -f rancher-config.yaml

You should have the SUSE AI stack plus an mcpo server installed. We used as example the kubernetes mcp server from https://github.com/manusa/kubernetes-mcp-server

Let's check that!

Checkin MCPO Server

Open a browser and go to http://localhost:8000 you should see an image similar to the one below

MCP Server main page

Click on the kubernetes you should see a similar page

MCP K8s page

Let's authorize and try a simple query Click on the Authorize button and type top-secretas token

MCP Authorization

Now let's move to a test like get node informations. Use the try out option and check the results.

MCP Results

It works!

Configure Open-WebUI

We now need to configure OWUI to use the MCP server. Last release of OWUI has a new feature names "Tools Servers".

Let's open the admin settings

OWUI Admin Settings

Move to Tools

OWUI Tools Settings OWUI Tools Settings

Add the mcp server connection `http://mcp-service.suseai.svc.cluster.local:8000/kubernetes`` OWUI Tools Configuration

if everything goes right you shouild see a succesfull message

OWUI Tools Settings

Now let's configure the model to use the tool

First move to models and select the model you want to use with through the pen icon. Second check two parameters as per images below

OWUI Tools Settings

Switch Function Calling to `native``

OWUI Tools Settings

And finally select the `tool``

OWUI Tools Settings

Click save and try it ... you should see a tool in the chat (see the number 1 in the picture?)

OWUI Tools Settings

Ask something like "list the pods in the namespace suseai"

without and with the tool check the difference! OWUI Tools Settings

OWUI Tools Settings

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
DeepChatYour AI Partner on Desktop
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
WindsurfThe new purpose-built IDE to harness magic
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Playwright McpPlaywright MCP server
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
ChatWiseThe second fastest AI chatbot™
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。