본문 바로가기

분류 전체보기355

ubuntu squashfs + overlayfs https://github.com/jc-lab/ubuntu-overlayfs-installer jc-lab/ubuntu-overlayfs-installer Contribute to jc-lab/ubuntu-overlayfs-installer development by creating an account on GitHub. github.com 참고 힘들었따..ㅠㅠ 덕분에 cloud-init 에 많이 배우게 되었다. hostname 및 netplan 등을 cloud-init을 통해 설정한다. datasource에는 몇가지 방법이 있는데 nocloud-net의 경우 /var/lib/cloud/seed/nocloud-net/에 meta-data 와 user-data가 있는 경우 활성화된다. 이를 rootfs 이.. 2020. 6. 18.
k8s 특정 노드에서 schedule 하지 않게 하기 지난 번 rook-ceph 사용시 XFS파일시스템을 사용하면서 osd가 있는 볼륨에서 rbd를 사용하면 Kernel에서 Hang이 걸리는 문제가 있었다. 따라서 storage전용 node에서는 Scheduling을 막아야 한다. 이는 taint 으로 가능하다. $ kubectl label nodes node-type.cluster.label/ceph-storage=true $ kubectl taint nodes node-type.cluster.label/ceph-storage=true:PreferNoSchedule # CephCluster 에서 아래 내용을 꼭 추가해줘야 한다! placement: osd: tolerations: - key: node-type.cluster.label/ceph-storag.. 2020. 6. 4.
MariaDB & Ceph & Galera 성능 테스트 스펙 복잡함..ㅋ HDD여러개.. 네트워크 1Gbps 꾸진..... node들... 가벼운 참고용... Kubernetes : v1.16.8 rook-ceph : v14.2.8 전체.. Type transactions (per sec) queries (per sec) ignored errors reconnects MariaDB & HostPath 38.43 (100%) 768.62 (100%) X X MariaDB & Ceph 20.40 (53%) 407.91 (53%) X X MariaDB-Galera & CEPH 16.73 (43.5%) 339.32 (44.1%) 16 (0.25/s) X MariaDB & HostPath DBMS : mariadb (without clustering) storage .. 2020. 5. 27.
멈춘 Promise 디버깅 하기 소스 초반에..import * as uuids from 'uuid';const promiseMap: Map = new Map();const OrigPromise: PromiseConstructor = global.Promise as PromiseConstructor;function arrayArguments(input: IArguments): any[] { const arr = []; for(let i=0; i { const uuid = uuids.v4(); promiseMap.set(uuid, { uuid, stack }); func(function() { promiseMap.del.. 2020. 4. 27.
bitnami/mariadb-galera 오류날때 helm으로 bitnami/mariadb-galera를 설치했을 때 아래와 같은 오류가 난다. (2020-04-23기준 mariadb-galera-2.0.1 차트) (bitnami github에서 받아서 설치하면 Access denied 'root'... 오류가 난다.. 그냥 github안쓰고 직접 해야 오류 안난다.. WSREP_SST: [ERROR] xtrabackup_checkpoints missing, failed innobackupex/SST on donor (20200423 05:34:56.967) WSREP_SST: [ERROR] Cleanup after exit with status:2 (20200423 05:34:56.969) 이런 경우 helm install 하자마자 statefulse.. 2020. 4. 23.
asn1-stream-reader: Java asn.1 stream 파서 https://bintray.com/jc-lab/java-utils/asn1-stream-reader Package asn1-stream-reader - jc-lab bintray.com 전에 node.js 에서 ASN1을 Stream형태로 파싱하는 라이브러리를 만든 적이 있습니다. https://ablog.jc-lab.net/219 asn1-stream: Node.JS asn1 stream 파서 https://www.npmjs.com/package/asn1-stream asn1-stream ASN1 parser with a stream interface www.npmjs.com asn1을 stream으로 파싱하는걸 찾았는데 없네요... infinite length 파싱은 구현은 대충 해 놓았지만.. a.. 2020. 4. 15.
반응형