sudo apt-get update -y && sudo apt-get install systemd systemd-sysv -y
And ensure /etc/wsl.config
contains the following:
Assumes rootless containerd, nerdctl and dependencies are installed via https://github.com/containerd/nerdctl/tree/main?tab=readme-ov-file#install
Verify buildkitd is setup appropriatlely via https://github.com/containerd/nerdctl/blob/main/docs/build.md
Update the following VS Code Settings accordingly:
dev.containers.dockerComposePath
:nerdctl compose
dev.containers.dockerPath
:nerdctl
dev.containers.dockerSocketPath
:/run/user/1000/containerd/containerd.sock
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: fortio | |
name: fortio | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
#!/usr/bin/env bash | |
# Script pre-reqs: az cli (and logged in) and kind (k8s in docker) | |
export RESOURCE_GROUP="oidc-issuer" | |
export SUBSCRIPTION_ID="$(az account show --query id -o tsv)" | |
export AZURE_TENANT_ID="$(az account show --query tenantId -otsv)" | |
export AZURE_STORAGE_ACCOUNT="oidcissuer$(openssl rand -hex 4)" | |
export AZURE_STORAGE_CONTAINER="oidc-test" | |
export SERVICE_ACCOUNT_ISSUER="https://${AZURE_STORAGE_ACCOUNT}.blob.core.windows.net/${AZURE_STORAGE_CONTAINER}/" |
I believe everyone does their best work in an environment of creativity, clarity, and empathy.
What you can expect from me | What I ask from you |
---|
#!/bin/sh -eux | |
# Docker | |
sudo apt-get update | |
sudo apt-get install -y\ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ |
--- | |
kind: Cluster | |
apiVersion: kind.x-k8s.io/v1alpha4 | |
networking: | |
apiServerAddress: "0.0.0.0" | |
apiServerPort: 6443 | |
kubeadmConfigPatchesJSON6902: | |
- group: kubeadm.k8s.io | |
version: v1beta2 | |
kind: ClusterConfiguration |
--- | |
kind: Cluster | |
apiVersion: kind.sigs.k8s.io/v1alpha3 | |
nodes: | |
- role: control-plane | |
- role: worker |
#!/bin/bash | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2015 Microsoft Azure | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
--- | |
kind: Cluster | |
apiVersion: kind.sigs.k8s.io/v1alpha3 | |
nodes: | |
- role: control-plane | |
- role: worker | |
- role: worker |