Skip to content

Instantly share code, notes, and snippets.

View jsturtevant's full-sized avatar
💻
right clicking and viewing the source

James Sturtevant jsturtevant

💻
right clicking and viewing the source
View GitHub Profile
@jsturtevant
jsturtevant / error.log
Created August 21, 2021 20:54
aks-containerd-error
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m39s default-scheduler Successfully assigned default/aspnet-store-76cb6c767c-bkxxf to aks-agentpool-20139558-vmss000000
Warning Failed 27s kubelet Failed to pull image "jsturtevant/whoami-aspnet:latest": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/jsturtevant/whoami-aspnet:latest": failed to extract layer sha256:6420f996a252eca66165a2ceddf9261caa1cec78548194ab34b5d6bb300acac1: link /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/699/fs/Files/Program Files/common files/Microsoft Shared/Ink/en-US/micaut.dll.mui /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/699/fs/Files/Program Files (x86)/common files/Microsoft Shared/ink/en-US/micaut.dll.mui: no such file or directory: unknown
Warning Failed 27s
package main
import (
"bytes"
"flag"
"fmt"
"io/ioutil"
"log"
"math/rand"
"net/http"
goroutine 3886 [select]:
github.com/containerd/ttrpc.(*Client).dispatch(0xc000440580, 0x22bf240, 0xc0008909c0, 0xc0005dc360, 0xc0000dd000, 0xc0009e9120, 0x5)
D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/containerd/ttrpc/client.go:155 +0x18c
github.com/containerd/ttrpc.defaultClientInterceptor(0x22bf240, 0xc0008909c0, 0xc0005dc360, 0xc0000dd000, 0xc0009e9110, 0xc0009e9120, 0x1e, 0x2030002)
D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/containerd/ttrpc/interceptor.go:49 +0x55
github.com/containerd/ttrpc.(*Client).Call(0xc000440580, 0x22bf240, 0xc0008909c0, 0x20bc79a, 0x17, 0x20a1a36, 0x5, 0x2009c80, 0xc000890b70, 0x2009dc0, ...)
D:/a/containerd/containerd/src/github.com/containerd/containerd/vendor/github.com/containerd/ttrpc/client.go:132 +0x33a
github.com/containerd/containerd/runtime/v2/task.(*taskClient).Stats(0xc000006e78, 0x22bf240, 0xc0008909c0, 0xc000890b70, 0xf, 0xd6c3ad, 0x6109a3fb)
D:/a/containerd
disabled_plugins = []
imports = []
oom_score = 0
plugin_dir = ""
required_plugins = []
root = "C:\\ProgramData\\root"
state = "C:\\ProgramData\\state"
version = 2
[cgroup]
@jsturtevant
jsturtevant / hpa.yaml
Last active May 12, 2021 22:06
windows metrics issue repo
kubectl run -i --tty load-generator --rm --image=busybox --restart=Never -- /bin/sh -c "while sleep 0.01; do wget -q -O- http://win-webserver; done"
@jsturtevant
jsturtevant / container-hp.json
Last active August 9, 2024 17:59
cri pod specs
{
"metadata": {
"name": "busybox"
},
"image":{
"image": "mcr.microsoft.com/windows/nanoserver:1809"
},
"command": [
"ping",
"-t",
@jsturtevant
jsturtevant / capz.sh
Last active October 9, 2023 18:26
windows.e2e
export E2E_ARGS="-kubetest.use-ci-artifacts"
export WINDOWS=true
export KUBERNETES_VERSION="latest"
export CONFORMANCE_NODES=4
export WINDOWS_FLAVOR=containerd
export SKIP_CLEANUP=true
./scripts/ci-conformance.sh
# once capz e2e managementcluster is created first time, add these envs:
package main
import (
"fmt"
"os"
"syscall"
"unsafe"
"golang.org/x/sys/windows"
)
<?xml version="1.0"?>
<WindowsPerformanceRecorder Version="1">
<Profiles>
<EventCollector Id="Collector" Name="Collector">
<BufferSize Value="256"/>
<Buffers Value="1024"/>
</EventCollector>
<EventProvider Id="Microsoft.Virtualization.RunHCS" Name="0B52781F-B24D-5685-DDF6-69830ED40EC3"/>
@jsturtevant
jsturtevant / webrequest.ps1
Last active January 22, 2021 22:10
simplewebrequest.ps1
param ($url)
Invoke-WebRequest -UseBasicParsing -Uri $url