<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Wasm on Thorsten Hans</title>
		<link>https://thorsten-hans.com/tags/wasm/</link>
		<description>Recent content in Wasm on Thorsten Hans</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Tue, 02 Nov 2021 14:19:39 +0000</lastBuildDate>
		
			<atom:link href="https://thorsten-hans.com/tags/wasm/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Distribute WebAssembly modules as OCI artifacts</title>
				<link>https://thorsten-hans.com/distribute-webassembly-modules-as-oci-artifacts/</link>
				<pubDate>Tue, 02 Nov 2021 14:19:39 +0000</pubDate>
				<guid>https://thorsten-hans.com/distribute-webassembly-modules-as-oci-artifacts/</guid>
				<description>&lt;p&gt;When using WebAssembly (Wasm) on platforms different than the browser, we have to care about distribution. How can we securely transfer our Wasm modules to desired environments? How can we verify integrity to ensure Wasm modules were not compromised during distribution?&lt;/p&gt;&#xA;&lt;p&gt;Let&amp;rsquo;s take a look at the container world. Container registries (those that implement the Docker Registry 2.0 standard (or to be more precise, the &lt;a href=&#34;https://github.com/opencontainers/distribution-spec&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;OCI distribution spec&lt;/a&gt;&#xA;)) are a trusted distribution channel that addresses all the questions raised before. This does not mean that we have to package our Wasm modules as containers! Container registries can store and distribute more than just containers. Container registries can store any OCI compliant artifact. And that&amp;rsquo;s exactly what we will create from our Wasm modules to leverage container registries as a trusted distribution channel.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Add krustlet node pools to Azure Kubernetes Service</title>
				<link>https://thorsten-hans.com/add-krustlet-node-pools-to-azure-kubernetes-service/</link>
				<pubDate>Tue, 26 Oct 2021 14:23:42 +0000</pubDate>
				<guid>https://thorsten-hans.com/add-krustlet-node-pools-to-azure-kubernetes-service/</guid>
				<description>&lt;p&gt;If we had traveled three years back in time, running WebAssembly (Wasm) workloads in Kubernetes would have sounded like fiction. Today, it&amp;rsquo;s real! With &lt;a href=&#34;https://krustlet.dev&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;krustlet&lt;/a&gt;&#xA;, developers can run Wasm workloads directly in Kubernetes. This article will look at what krustlet is and how we can bring it to our Azure Kubernetes Service (AKS) clusters.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-is-krustlet&#34;&gt;What is Krustlet&lt;/h2&gt;&#xA;&lt;p&gt;Krustlet is a &lt;a href=&#34;https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Kubernetes kubelet&lt;/a&gt;&#xA; written in Rust to run Wasm workloads in Kubernetes. Nodes running &lt;em&gt;krustlet&lt;/em&gt; have special tolerations assigned, which we can use within Kubernetes manifests, to ensure Wasm workloads will be scheduled to &lt;em&gt;krustlet&lt;/em&gt; nodes. Under the covers, &lt;em&gt;krustlet&lt;/em&gt; uses &lt;a href=&#34;https://wasmtime.dev/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;wasmtime&lt;/a&gt;&#xA; as the runtime for our Wasm workloads using the &lt;code&gt;wasm32-wasi&lt;/code&gt; architecture.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
