<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installation on SpinKube</title><link>/docs/install/</link><description>Recent content in Installation on SpinKube</description><generator>Hugo</generator><language>en</language><atom:link href="/docs/install/index.xml" rel="self" type="application/rss+xml"/><item><title>Quickstart</title><link>/docs/install/quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/install/quickstart/</guid><description>&lt;p>This Quickstart guide demonstrates how to set up a development Kubernetes cluster, install SpinKube and
deploy your first Spin application. This example creates a kind cluster with the Spin containerd shim pre-installed on all nodes. In production, you should use the runtime class manager to install and manage the lifecycle of the containerd shim. Jump to the &lt;a href="/docs/install/installing-with-helm/">Helm installation&lt;/a> for more production cluster installation instructions.&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>For this Quickstart guide, you will need:&lt;/p></description></item><item><title>Installing the `spin kube` plugin</title><link>/docs/install/spin-kube-plugin/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/install/spin-kube-plugin/</guid><description>&lt;p>The &lt;code>kube&lt;/code> plugin for &lt;code>spin&lt;/code> (The Spin CLI) provides first class experience for working with Spin
apps in the context of Kubernetes.&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>Ensure you have the Spin CLI (&lt;a href="https://developer.fermyon.com/spin/v2/upgrade">version 2.3.1 or
newer&lt;/a>) installed on your machine.&lt;/p>
&lt;h2 id="install-the-plugin">Install the plugin&lt;a class="td-heading-self-link" href="#install-the-plugin" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>Before you install the plugin, you should fetch the list of latest Spin plugins from the
spin-plugins repository:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#e0def4;background-color:#191724;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#6e6a86"># Update the list of latest Spin plugins&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>spin plugins update
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Plugin information updated successfully
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Go ahead and install the &lt;code>kube&lt;/code> using &lt;code>spin plugin install&lt;/code>:&lt;/p></description></item><item><title>Installing with Helm</title><link>/docs/install/installing-with-helm/</link><pubDate>Fri, 16 Feb 2024 00:00:00 +0000</pubDate><guid>/docs/install/installing-with-helm/</guid><description>&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>For this guide in particular, you will need:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://kubernetes.io/docs/tasks/tools/">kubectl&lt;/a> - the Kubernetes CLI&lt;/li>
&lt;li>&lt;a href="https://helm.sh">Helm&lt;/a> - the package manager for Kubernetes&lt;/li>
&lt;/ul>
&lt;h2 id="install-spin-operator-with-helm">Install Spin Operator With Helm&lt;a class="td-heading-self-link" href="#install-spin-operator-with-helm" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>The following instructions are for installing Spin Operator using a Helm chart (using &lt;code>helm install&lt;/code>).&lt;/p>
&lt;h3 id="prepare-the-cluster">Prepare the Cluster&lt;a class="td-heading-self-link" href="#prepare-the-cluster" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;p>Before installing the chart, you&amp;rsquo;ll need to ensure the following are installed:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://github.com/cert-manager/cert-manager">cert-manager&lt;/a> to automatically provision and manage
TLS certificates (used by spin-operator&amp;rsquo;s admission webhook system). For detailed installation
instructions see &lt;a href="https://cert-manager.io/docs/installation/">the cert-manager documentation&lt;/a>.&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#e0def4;background-color:#191724;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.20.0/cert-manager.yaml
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ul>
&lt;li>&lt;a href="https://github.com/spinframework/runtime-class-manager">Runtime Class Manager&lt;/a> is required to install WebAssembly shims on Kubernetes nodes that don&amp;rsquo;t already include them. See more details at the project&amp;rsquo;s &lt;a href="https://github.com/spinframework/runtime-class-manager/blob/main/README.md">README.md&lt;/a>.&lt;/li>
&lt;/ul>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#e0def4;background-color:#191724;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#6e6a86"># Install Runtime Class Manager&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>helm upgrade --install runtime-class-manager &lt;span style="color:#31748f">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#31748f">&lt;/span> --namespace runtime-class-manager &lt;span style="color:#31748f">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#31748f">&lt;/span> --create-namespace &lt;span style="color:#31748f">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#31748f">&lt;/span> --version 0.2.0 &lt;span style="color:#31748f">\
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#31748f">&lt;/span> oci://ghcr.io/spinframework/charts/runtime-class-manager
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#6e6a86"># Create Shim resource for installing the containerd-shim-spin binary&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kubectl apply -f https://github.com/spinframework/containerd-shim-spin/releases/download/v0.27.2/runtime-class-manager-shim-v1alpha1-v0.27.2.yaml
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#6e6a86"># Label all Nodes where the shim should be installed (and thus where Spin Apps may run)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#6e6a86"># Note: this specific key and value matches the nodeSelector configuration used in the Shim resource above&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>kubectl label node --all &lt;span style="color:#ebbcba">spin&lt;/span>&lt;span style="color:#908caa">=&lt;/span>&lt;span style="color:#ebbcba">true&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>You should now see a &lt;code>wasmtime-spin-v2&lt;/code> RuntimeClass and all labeled Nodes should be ready to run Spin Apps.&lt;/p></description></item><item><title>Installing on Azure Kubernetes Service</title><link>/docs/install/azure-kubernetes-service/</link><pubDate>Fri, 16 Feb 2024 00:00:00 +0000</pubDate><guid>/docs/install/azure-kubernetes-service/</guid><description>&lt;p>In this tutorial, you install Spin Operator on an Azure Kubernetes Service (AKS) cluster and deploy
a simple Spin application. You will learn how to:&lt;/p>
&lt;ul>
&lt;li>Deploy an AKS cluster&lt;/li>
&lt;li>Install Spin Operator Custom Resource Definitions&lt;/li>
&lt;li>Install and verify containerd shim via Runtime Class Manager&lt;/li>
&lt;li>Deploy a simple Spin App custom resource on your cluster&lt;/li>
&lt;/ul>
&lt;!-- TODO: To learn more about any of these concepts, please visit the [Spin Operator Conceptual article](link-to-concept-article). -->
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>Please ensure you have the following tools installed before continuing:&lt;/p></description></item><item><title>Installing on Linode Kubernetes Engine (LKE)</title><link>/docs/install/linode-kubernetes-engine/</link><pubDate>Tue, 23 Jul 2024 00:00:00 +0000</pubDate><guid>/docs/install/linode-kubernetes-engine/</guid><description>&lt;p>This guide walks through the process of installing and configuring SpinKube on Linode Kubernetes
Engine (LKE).&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>This guide assumes that you have an &lt;a href="https://login.linode.com/">Akamai Linode&lt;/a> account that is
configured and has sufficient permissions for creating a new LKE cluster.&lt;/p>
&lt;p>You will also need recent versions of &lt;code>kubectl&lt;/code> and &lt;code>helm&lt;/code> installed on your system.&lt;/p>
&lt;h2 id="creating-an-lke-cluster">Creating an LKE Cluster&lt;a class="td-heading-self-link" href="#creating-an-lke-cluster" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>LKE has a managed control plane, so you only need to create the pool of worker nodes. In this
tutorial, we will create a 2-node LKE cluster using the smallest available worker nodes. This should
be fine for installing SpinKube and running up to around 100 Spin apps.&lt;/p></description></item><item><title>Installing on Rancher Desktop</title><link>/docs/install/rancher-desktop/</link><pubDate>Fri, 16 Feb 2024 00:00:00 +0000</pubDate><guid>/docs/install/rancher-desktop/</guid><description>&lt;p>&lt;a href="https://rancherdesktop.io/">Rancher Desktop&lt;/a> is an open-source application that provides all the
essentials to work with containers and Kubernetes on your desktop.&lt;/p>
&lt;h3 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;ul>
&lt;li>An operating system compatible with Rancher Desktop (Windows, macOS, or Linux).&lt;/li>
&lt;li>Administrative or superuser access on your computer.&lt;/li>
&lt;/ul>
&lt;h3 id="step-1-installing-rancher-desktop">Step 1: Installing Rancher Desktop&lt;a class="td-heading-self-link" href="#step-1-installing-rancher-desktop" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;ol>
&lt;li>&lt;strong>Download Rancher Desktop&lt;/strong>:
&lt;ul>
&lt;li>Navigate to the &lt;a href="https://github.com/rancher-sandbox/rancher-desktop/releases">Rancher Desktop releases
page&lt;/a>. We tested this documentation with Rancher Desktop &lt;code>1.19.1&lt;/code> with Spin &lt;code>v3.2.0&lt;/code>, but it should work with more recent versions.&lt;/li>
&lt;li>Select the appropriate installer for your operating system.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>Install Rancher Desktop&lt;/strong>:
&lt;ul>
&lt;li>Run the downloaded installer and follow the on-screen instructions to complete the
installation.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ol>
&lt;h3 id="step-2-configure-rancher-desktop">Step 2: Configure Rancher Desktop&lt;a class="td-heading-self-link" href="#step-2-configure-rancher-desktop" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;ul>
&lt;li>Open Rancher Desktop&lt;/li>
&lt;li>Configure &lt;code>containerd&lt;/code> as your container runtime engine (under &lt;strong>Preferences&lt;/strong> -&amp;gt; &lt;strong>Container Engine&lt;/strong>).&lt;/li>
&lt;li>Make sure that the Enable Wasm option is checked in the &lt;strong>Preferences&lt;/strong> → &lt;strong>Container Engine&lt;/strong>
section. Remember to always apply your changes.&lt;/li>
&lt;/ul>
&lt;p>&lt;img alt="Rancher preferences" src="../rancher-desktop-preferences.png">&lt;/p></description></item><item><title>Installing on Microk8s</title><link>/docs/install/microk8s/</link><pubDate>Wed, 19 Jun 2024 00:00:00 +0000</pubDate><guid>/docs/install/microk8s/</guid><description>&lt;p>This guide walks through the process of installing and configuring Microk8s and SpinKube.&lt;/p>
&lt;h2 id="prerequisites">Prerequisites&lt;a class="td-heading-self-link" href="#prerequisites" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>This guide assumes you are running Ubuntu 24.04, and that you have Snap enabled (which is the
default).&lt;/p>
&lt;blockquote>
&lt;p>The testing platform for this installation was an Akamai Edge Linode running 4G of memory and 2
cores.&lt;/p>
&lt;/blockquote>
&lt;h2 id="installing-spin">Installing Spin&lt;a class="td-heading-self-link" href="#installing-spin" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>You will need to &lt;a href="https://developer.fermyon.com/spin/quickstart">install Spin&lt;/a>. The easiest way is
to just use the following one-liner to get the latest version of Spin:&lt;/p></description></item><item><title>Executor Compatibility Matrices</title><link>/docs/install/compatibility-matrices/</link><pubDate>Fri, 08 Nov 2024 00:00:00 +0000</pubDate><guid>/docs/install/compatibility-matrices/</guid><description>&lt;h2 id="containerd-shim-spin-executor">&lt;code>containerd-shim-spin&lt;/code> Executor&lt;a class="td-heading-self-link" href="#containerd-shim-spin-executor" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>The &lt;a href="https://github.com/spinframework/containerd-shim-spin">Spin containerd shim&lt;/a> project is a containerd shim implementation for Spin.&lt;/p>
&lt;h3 id="spin-operator-and-shim-feature-map">Spin Operator and Shim Feature Map&lt;a class="td-heading-self-link" href="#spin-operator-and-shim-feature-map" aria-label="Heading self-link">&lt;/a>&lt;/h3>
&lt;p>If a feature is configured in a &lt;code>SpinApp&lt;/code> that is not supported in the version of the shim being
used, the application may not execute as expected. The following maps out the versions of the &lt;a href="https://github.com/spinframework/containerd-shim-spin">Spin
containerd shim&lt;/a>, Spin Operator, and &lt;code>spin kube&lt;/code>
plugin that have support for specific features.&lt;/p></description></item></channel></rss>