kubernetes | private registry용 secret생성
사설 harbor
사설 harbor
유니티 챌린지로 데모 게임(김치런)을 만들고 webGL Build 후 unity에 업로드 및 unity에서 제공하는 링크로 데모게임 까지 테스트 완료하였습니다. 하지만 개인 테스트 K8S에 업로드 하고 싶어서 이것저것 테스트 해보고 업로드 하게 되었습니다. 완성된 데모게임 https://play.unity.com/en/games/40499aa7-3656-45cf-ab52-60a0e0c10a82/demo2sdjo Unity 설정 변경 에디터 종속을 제외하기위한 설정으로 압축방식을 바꿀겁니다. https://docs.unity.cn/kr/2023.2/Manual/webgl-deploying.html https://stackoverflow.com/questions/72453065/unable-to-parse-build-build-framework-js-br Build 압축방식 변경 Edit > Project Settings > Player > … Read more
You need a Kubernetes cluster with Prometheus server installed and running. What is Prometheus NodeExporter Prometheus Node Exporter is an open-source tool designed to expose system-level metrics for servers, making them available to Prometheus for monitoring. It provides detailed insights into the hardware and operating system, including metrics like CPU usage, memory usage, disk I/O, … Read more
MinIO보다 다른 글에서 consul를 이용한 설정을 더 추천함…MinIO는 lock기능이 없음. OpenTofu OpenTF로 명명된 OpenTofu는 오픈 소스, 커뮤니티 기반 및 Linux Foundation에서 관리하는 Terraform의 포크입니다. MinIO 버킷 생성 버전관리 활성해서 생성 추천. 테스트 예제
동적 StorageClass 설정 CSP: NaverCloud NKS-NAS-CSI Overview Harbor를 설치하기위해 테스트 중 권한 오류가 계속 떨어져서 원인이 무엇인지 찾기 시작… Naver Cloud에서 제공하는 nks-nas-csi는 pvc요청마다 최소 100GB 씩 pv를 생성하는 문제 발견. 오류 발생 nks-nas-csi를 이용해서 StorageClass를 구성하였으나 권한 오류가 계속 발생… 일반 StorageClass yaml 예제 문제가 해결된 StorageClass yaml 예제 정확히 무엇이 원인인지는 의문이나 nolock … Read more
Helm을 사용하는 과정중 필요에 따라 기록 하고 있습니다. 필요에따라 업데이트 되는 글 내용으로 완성된 글이 아닙니다. Helm 이란? Helm은 Kubernetes 애플리케이션의 배포, 관리, 업그레이드 및 설정을 간소화하기 위해 사용되는 패키지 관리 도구입니다. Helm은 Kubernetes 환경에서 애플리케이션 배포를 효율적이고 일관되게 수행할 수 있도록 도와줍니다. 주요 기능 구성 요소 사용 사례 기본 명령어 예시 Helm 설치 gpg키 … Read more
velero는 쿠버네티스 자원을 백업 및 복구 할수 있도록 도와주는 도구 입니다.velero는 helm 배포 및 velero CLI를 이용한 배포 방식이 있습니다.이번 포스팅에서는 velero CLI를 이용합니다.또한 제 개인 연구환경이 On-premise환경이므로 MinIO를 백엔드로 이용합니다. Velero velero란? Velero는 Kubernetes 클러스터에 대한 백업 및 복구, 복제, 마이그레이션을 지원하는 오픈소스 도구입니다. Velero를 사용하면 클러스터의 리소스와 Persistent Volume(PV)의 데이터를 백업하고 복구할 수 … Read more
This article was written in Korean and then translated into English, so there may be inaccuracies. Tested on Kubernetes version 1.30.5.The physical equipment used is as follows: Prerequisites Exclude any remaining Taints after deploying the gpu-operator.Ensure proper Pod scheduling by excluding tainted nodes during deployment. Node Preparation Tasks Adjusting Linux Kernel File System Notification Limits … Read more
쿠버네티스 1.30.5버전에서 테스트 하였습니다.사용된 물리장비는 아래와 같습니다. name cpu mem 비고 tk8s-master01 2 Core / 4 Thread 8GB 노트북 tk8s-worker01 4 Core 8GB vm tk8s-gpu 8 Core / 16 Thread 32GB pc 사전 준비 gpu-operator를 배포후 Taint가 남아있다면 제외한다.POD 스케줄을 고려하여 제외하여 배포. 노드 사전 작업 이 설정은 많은 수의 pod를 처리할 수 있도록 Linux … Read more
쿠버네티스 1.30.5버전에서 테스트 하였습니다. 버그(?) 현상이 있어 계속 확인 중인데, RBAC, AuthorizationPolicy, OAuth2-proxy등 엮인게 많아 거의 포기 상태입니다..너무 어려워ㅠ… 사전 준비 gpu-operator를 배포후 Taint가 남아있다면 제외한다.POD 스케줄을 고려하여 제외하여 배포. Kubeflow 설치 git에서 소스를 다운 받는다. 노드 사전 작업 이 설정은 많은 수의 pod를 처리할 수 있도록 Linux 커널의 파일 시스템 알림 제한값을 조정하는 것 … Read more