- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
45 lines
911 B
Plaintext
45 lines
911 B
Plaintext
# MCP Server Kubernetes Service
|
|
# Exposes MCP server for AI/LLM integration
|
|
#
|
|
# Usage:
|
|
# nickel eval --format json mcp-server-service.yaml.ncl | yq -P > mcp-server-service.yaml
|
|
# kubectl apply -f mcp-server-service.yaml
|
|
|
|
{
|
|
apiVersion = "v1",
|
|
kind = "Service",
|
|
metadata = {
|
|
name = "mcp-server",
|
|
labels = {
|
|
app = "mcp-server",
|
|
component = "provisioning-platform",
|
|
},
|
|
annotations = {
|
|
"description" = "MCP server for AI/LLM integration",
|
|
},
|
|
},
|
|
spec = {
|
|
# Internal service for MCP (typically accessed via stdio or WebSocket)
|
|
type = "ClusterIP",
|
|
|
|
selector = {
|
|
app = "mcp-server",
|
|
},
|
|
|
|
ports = [
|
|
{
|
|
name = "http",
|
|
protocol = "TCP",
|
|
port = 8888,
|
|
targetPort = 8888,
|
|
},
|
|
{
|
|
name = "metrics",
|
|
protocol = "TCP",
|
|
port = 8889,
|
|
targetPort = 8889,
|
|
},
|
|
],
|
|
},
|
|
}
|