Tips for running a single-node Kubernetes cluster on WSL2 with Podman
-
Edit
/etc/containers/containers.conf:- Set
cgroup_managertocgroupfs
- Set
- Set
events_loggertofile
Tips for running a single-node Kubernetes cluster on WSL2 with Podman
Edit /etc/containers/containers.conf:
cgroup_manager to cgroupfsevents_logger to file| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net" | |
| "os" | |
| "os/signal" |
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "os/exec" | |
| "time" | |
| ) | |
| func run(timeout int, command string, args ...string) string { |
| *PPD-Adobe: "4.3" | |
| *% Adobe Systems PostScript(R) Printer Description File | |
| *% Copyright 1987-1996 Adobe Systems Incorporated. | |
| *% All Rights Reserved. | |
| *% Permission is granted for redistribution of this file as | |
| *% long as this copyright notice is intact and the contents | |
| *% of the file is not altered in any way from its original form. | |
| *% End of Copyright statement | |
| *FileVersion: "1.0" | |
| *FormatVersion: "4.3" |