[Kubernetes] kubectl get command
기본 구조 kubectl get [리소스 종류] [옵션] 리소스 종류 Pod Service Deployment ConfigMap Secret Node Namespace PersistentVolume StorageClass In...
기본 구조 kubectl get [리소스 종류] [옵션] 리소스 종류 Pod Service Deployment ConfigMap Secret Node Namespace PersistentVolume StorageClass In...
핵심 아이디어: Docker 이미지 레이어 캐시와 GitLab CI의 캐싱 기능을 결합하여 이전 빌드 정보를 재활용하는 것입니다. 구체적인 방법: --cache-from 옵션 활용: docker build 명령어 실행 시 --cache-from 옵션을 사용하여 이전 빌드에서 생성된 이미지를 캐시로 지정합니다. 이...
도커 (Docker) 설치 시스템 업데이트 sudo apt-get update -y sudo apt-get upgrade -y 의존성 패키지 설치 sudo apt install apt-transport-https ca-certificates curl software-properties-common -y 도커 GPG 키 추가 curl -f...
Helm 설치 및 설명 참고 Add Repo the Helm charts helm repo add kafbat-ui https://kafbat.github.io/helm-charts values 수정 - kafka 연결 세팅 ...✂... yamlApplicationConfig: kafka: clusters: - na...
Helm 설치 및 설명 참고 설치 방법 Operator Yaml (strimzi-cluster-operator-0.45.0.yaml) Helm (strimzi-kafka-operator-helm-3-chart-0.45.0.tgz) https://github.com/strimzi/strimzi-kafka-operator...
Helm 설치 및 설명 참고 Install the Helm charts namespace 생성 kubectl create namespace [NAMESPACE NAME] Alloy 배포 helm repo add grafana https://grafana.github.io/helm-char...
Back up gitlab-backup create 위 명령어를 실행하면 .tar 백업파일이 생성된다. 생성된 백업파일은 /var/opt/gitlab/backups 경로에 저장된다. 만약 백업파일의 경로를 변경하려면 vi /etc/gitlab/gitlab.rb 아래내용 수정 gitlab_rai...
Redis는 기본적으로 메모리 기반 저장소이지만, 데이터를 디스크에 저장하기 위해 RDB 또는 AOF 모드를 사용할 수 있다. 이를 설정 파일에서 조정하거나, redis-cli 명령어를 통해 실시간으로 변경할 수 있다. Redis 접속 kubectl get pods -l app=redis # redis라는 label을 가진 Pod 확인 ...
Redis Insight 배포 apiVersion: apps/v1 kind: Deployment metadata: name: redisinsight #deployment name labels: app: redisinsight #deployment label spec: replicas: 1 #a single replica pod ...
P3X Redis UI 배포 apiVersion: apps/v1 kind: Deployment metadata: name: p3x-redis-ui namespace: p3x-redis-ui spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: p3x-red...