REFACTOR(app): use nsenter for host access
- Replace SSH with nsenter for host access - Simplify host command execution
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -16,5 +16,5 @@ commonLabels:
|
||||
# 이미지 태그 설정 (ArgoCD Image Updater가 자동으로 업데이트)
|
||||
images:
|
||||
- name: gitea0213.kro.kr/bluemayne/mas
|
||||
newTag: main-sha-761478757e461a432dc761b4c9d9cef8bc811d7b
|
||||
newTag: main-sha-d0fd2a5037d2fc4a31d800a1dfbf9d585aa7534a
|
||||
|
||||
|
||||
Reference in New Issue
Block a user