Files
Adrian Duke 620a1ec697 simulation: Introduce particle CUE module for radicle-node
Adds a `radicle-node` particle CUE module to simulation. Partial for
brevity in review as the `cue.mod` files found in the NEXT commit are
less relevant and autogenerated by Timoni + CUE.

Creates a set of roles: `peer`, `seed`, `bootstrap` that can be arranged
into toplogies for deployment in a k8s system. Images are provided by
Radicle Garden via quay.io.
2026-05-11 12:53:17 +01:00

31 lines
682 B
CUE

@if(debug)
package main
// Values used by debug_tool.cue.
// Debug example 'cue cmd -t debug -t name=test -t namespace=test -t mv=1.0.0 -t kv=1.28.0 build'.
values: {
podAnnotations: "cluster-autoscaler.kubernetes.io/safe-to-evict": "true"
message: "Hello Debug"
image: {
repository: "docker.io/nginx"
tag: "1-alpine"
digest: ""
}
test: {
enabled: true
image: {
repository: "docker.io/curlimages/curl"
tag: "latest"
digest: ""
}
}
affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: [{
matchExpressions: [{
key: "kubernetes.io/os"
operator: "In"
values: ["linux"]
}]
}]
}