본문 바로가기

Kubernetes/NoSQL8

MongoDB Sharded - 설정 변경 1. 개요 - Helm으로 설치된 MongoDB sharded의 설정을 변경하고자 하는 경우 helm 명령어로 사용해야 한다. - MongoDB sharded helm chart by Bitnami This chart bootstraps a deployment on a cluster using the package manager. 2. 환경 - bitnami/mongodb-sharded 3.9.14 - MongoDB 4.4.10 - Helm v3.3.1 3. 설정 변경 절차 a. MongoDB sharded 설정 값 조회 - 'helm get values' 명령어로 최종 설정된 값을 조회한다. 참고로 직접 쿠버네티스 리소스를 수정한 내용들은 조회되지 않는다. $ helm list -A | egrep 'N.. 2021. 12. 7.
MongoDB Sharded - root 암호 변경 시 고려사항 1. 개요 - root 계정 암호 변경 시 고려 사항 MongoDB Sharded를 사용하는 환경에서는 root 계정의 암호를 변경할 경우 암호를 저장하고 있는 secret도 같이 변경해야 한다. - MongoDB sharded helm chart by Bitnami This chart bootstraps a deployment on a cluster using the package manager. 2. 환경 - bitnami/mongodb-sharded 3.9.14 - MongoDB 4.4.10 3. root 계정 암호 변경 절차 a. 암호 변경 - MongoDB에 접속하여 root 계정의 암호를 'mongo'로 변경한다. $ kubectl run -n ontact bizcollabo-mongodb-m.. 2021. 12. 6.
MongoDB Sharded by Bitnami 1. 개요 - MongDB ✓ MongoDB는 크로스 플랫폼 도큐먼트 지향 데이터베이스 시스템이다. ✓ NoSQL 데이터베이스로 분류되는 MongoDB는 JSON과 같은 동적 스키마형 도큐먼트들을 선호한다. - MongoDB Replica sets vs Sharded cluster ✓ https://severalnines.com/database-blog/turning-mongodb-replica-set-sharded-cluster a. Replica sets ✓ Replica Sets are a great way to replicate MongoDB data across multiple servers and have the database automatically failover in case of se.. 2021. 11. 3.
MongoDB Community Kubernetes Operator 1. 개요 - MongDB ✓ MongoDB는 크로스 플랫폼 도큐먼트 지향 데이터베이스 시스템이다. ✓ NoSQL 데이터베이스로 분류되는 MongoDB는 JSON과 같은 동적 스키마형 도큐먼트들을 선호한다. - MongoDB Enterprise server vs Community server ✓ MongoDB Enterprise server는 아래와 같은 추가적인 기능을 제공한다. ▷ in-memory storage engine for high throughput and low latency ▷ advanced security features like LDAP and Kerberos access controls ▷ encryption for data at rest. - MongoDB Enterprise .. 2021. 11. 3.
Redis - corrupted cluster config file 1. Environment - helm chart redis-cluster-6.0.3 / redis 6.2.3 - Helm 3.3.1 / Kubernetes 1.16.15 - Kubernetes 1.16.15 2. Problem - ptts-redis-cluster-1 error : CrashLoopBackOff $ k get pod -n ptts -l app.kubernetes.io/name=redis-cluster -o wide NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES ptts-redis-cluster-0 2/2 Running 0 25d 10.244.4.203 iap10 ptts-redis-cluster-1 1/2 C.. 2021. 10. 2.
Elastic Cloud on Kubernetes (ECK) 2021.05.20, 2020.09.21 1. What is Elastic Cloud on Kubernetes (ECK) - Elastic Cloud on Kubernetes automates the deployment, provisioning, management, and orchestration of Elasticsearch, Kibana and APM Server on Kubernetes based on the operator pattern. - Supported versions (ECK 1.4.1) ✓ kubectl 1.11+ ✓ Kubernetes 1.12+ or OpenShift 3.11+ ✓ Google Kubernetes Engine (GKE), Azure Kubernetes Service.. 2021. 9. 22.
Redis cluster 2021.05.20, 2021.01.20 1. Redis cluster - Redis is an advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs. - Redis cluster chart bootstraps a Redis deployment on a Kubernetes cluster using the Helm package manager. - Reference https://redis.io/ https://bitnami.com/stack/r.. 2021. 9. 22.
Elasticsearch - Index lifecycle error 2020.12.08 a. Problem: Elasticsearch - Index liefecycle error - Environment ECK(Elastic Cloud on Kubernetes) 1.2.1 + Elasticsearch/Kibana 7.9.1, Kubernetes 1.16.15 - Elastic Master log [iap@iap01 ~]$ k logs observer-es-master-nodes-0 -n elastic-cluster | grep "blocked by:" -B1 -A100 | more {"type": "server", "timestamp": "2020-12-02T15:55:08,826Z", "level": "ERROR", "component": "o.e.x.i.IndexLi.. 2021. 9. 15.