REFACTOR(app): use nsenter for host access

- Replace SSH with nsenter for host access
- Simplify host command execution
This commit is contained in:
2025-12-24 13:46:57 +09:00
parent e035601b95
commit 363716e229
8 changed files with 72 additions and 61 deletions

View File

@@ -15,11 +15,14 @@ spec:
labels:
app: mas
spec:
hostPID: true # 호스트 프로세스 네임스페이스 접근
serviceAccountName: mas
containers:
- name: mas
image: gitea0213.kro.kr/bluemayne/mas:latest
imagePullPolicy: Always
securityContext:
privileged: true # nsenter 사용을 위한 권한
ports:
- containerPort: 8000
name: http
@@ -70,7 +73,7 @@ spec:
cpu: "1000m"
volumeMounts:
- name: projects
mountPath: /app/projects
mountPath: /mnt/projects
volumes:
- name: projects
hostPath: