This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: dns-resolve | |
| spec: | |
| containers: | |
| - name: test-resolve | |
| image: mcr.microsoft.com/windows/servercore/iis:windowsservercore-ltsc2019 | |
| command: ["powershell.exe"] | |
| args: ["/C", "for ($num = 1 ; $num -le 10000 ; $num++){ resolve-dnsname google.com }"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param ($url) | |
| Invoke-WebRequest -UseBasicParsing -Uri $url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "syscall" | |
| "unsafe" | |
| "golang.org/x/sys/windows" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "metadata": { | |
| "name": "busybox" | |
| }, | |
| "image":{ | |
| "image": "mcr.microsoft.com/windows/nanoserver:1809" | |
| }, | |
| "command": [ | |
| "ping", | |
| "-t", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| disabled_plugins = [] | |
| imports = [] | |
| oom_score = 0 | |
| plugin_dir = "" | |
| required_plugins = [] | |
| root = "C:\\ProgramData\\root" | |
| state = "C:\\ProgramData\\state" | |
| version = 2 | |
| [cgroup] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "math/rand" | |
| "net/http" |