diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 92f2372..ec9fae5 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -204,6 +204,7 @@ .install { margin: 0; + max-width: 100%; padding: 0.6rem 0.85rem; border: 1px solid var(--sk-line); background: var(--sk-surface); @@ -217,7 +218,7 @@ border: 0; padding: 0; font-size: inherit; - white-space: nowrap; + white-space: pre; color: var(--sk-fg); } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index d032497..46b43f5 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -103,15 +103,25 @@ const TOOLS = [ line: 'The host-side CLI.', alpha: false, body: 'Verifies, pulls and runs an OCI-packaged sched_ext scheduler on a single machine, with a kernel preflight built in. Reaches for one scheduler for the length of a build, a game session, or a test run.', - install: 'sudo zypper in schedctl', + install: ['sudo zypper in schedctl'], href: '/docs/schedctl/overview', }, { name: 'sked', line: 'The Kubernetes operator.', alpha: true, - body: 'A SchedExt resource names the OCI scheduler image; sked reconciles it into a privileged DaemonSet on every node it should run on. The cluster-native path — schedctl is not installed on the nodes.', - install: 'make deploy IMG=ghcr.io/schedkit/sked:latest', + body: 'A cluster-scoped Scheduler resource selects an OCI scheduler image and a node pool. sked verifies the image and manages a privileged DaemonSet on those nodes. No schedctl installation is needed on the nodes.', + prerequisite: ( + <> + Install cert-manager first, + or supply a webhook certificate. + > + ), + install: [ + 'helm repo add schedkit https://charts.schedkit.io', + 'helm repo update', + 'helm install sked schedkit/sked \\\n --namespace sked-system --create-namespace \\\n --wait --timeout 5m', + ], href: '/docs/sked/overview', }, ]; @@ -142,10 +152,16 @@ function Tools() {
{tool.body}
+ {tool.prerequisite &&{tool.prerequisite}
}
- $
- {tool.install}
+ {tool.install.map((command, index) => (
+
+ {index > 0 && '\n'}
+
+ {command}
+
+ ))}
@@ -225,7 +241,7 @@ const ROUTES: Array<[string, string, string]> = [
],
[
'Nodes already in Kubernetes',
- 'Install sked and declare a SchedExt resource.',
+ 'Install sked with Helm and declare a Scheduler resource.',
'/docs/sked/installation',
],
[