k8s에서 sidecar 테스트를 위해 진행했는데... 잘 되는 것 확인!
윈도우에서도 잘 된다.!
var builder = WebApplication.CreateBuilder(args);
var socketName = "my.socket";
var socketPath = Path.Join(Path.GetTempPath(), socketName);
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
socketPath = Path.Join("/tmp", socketName);
if (File.Exists(socketPath))
File.Delete(socketPath);
// Configure Kestrel to listen at the UDS path
builder.WebHost.ConfigureKestrel(
opts => opts.ListenUnixSocket(socketPath));
'설정' 카테고리의 다른 글
| ollama windows 설치 시 실행 오류 시 (0) | 2024.12.25 |
|---|---|
| bash 셸로 uuid 생성 (0) | 2024.11.17 |
| 우분투 리눅스 논리 볼륨 확장하기 (0) | 2023.08.12 |
| ilspy를 이용한 모델 추출 스크립트 (0) | 2022.08.11 |
| base64 인코딩 디코딩 커맨드라인. (0) | 2021.12.07 |