일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- python os
- c3 step graph
- 정규식 활용
- InfluxDB
- regex_search
- snmp
- 정규식 컴파일
- subporcess path
- linux시간으로 변경
- python subprocess
- CentOS7
- telegraf
- centos pyhon 설치
- influxdb 설치
- 백준
- c++ 정규식
- gcc 업데이트
- grafana dashboard
- c3 초
- g++ 업데이트
- 1697
- c3 second
- 정규식 문자열 출력
- snmp test
- c3 축 없애기
- semanage
- gcc regex
- c3 축 가리기
- python popen
- selinux port 등록
- Today
- Total
목록분류 전체보기 (560)
리셋 되지 말자

https://not-to-be-reset.tistory.com/343 글에 작성한 대로, 모델 다운로드 링크가 만료되고 코드가 동작하지 않아서 다시 포스팅 합니다. 단일 인스턴스 부터 쿠버네티스 클러스터까지 확장해 나가려고 합니다. 개발환경 2023. 3. 22 기준 m1 맥북에서 진행 github 주소 https://github.com/kyeongjun-dev/csapi 최종 디렉토리 구조 아래와 같이 파일 이름이 변경됩니다. tree csapi/ csapi/ ├── celery │ ├── Dockerfile │ ├── model.h5 │ ├── requirements.txt │ ├── run.py │ ├── tasks.py │ └── test_input.png └── docker-compose.ym..

https://not-to-be-reset.tistory.com/343 글에 작성한 대로, 모델 다운로드 링크가 만료되고 코드가 동작하지 않아서 다시 포스팅 합니다. 단일 인스턴스 부터 쿠버네티스 클러스터까지 확장해 나가려고 합니다. 개발환경 2023. 3. 22 기준 m1 맥북에서 진행 github 주소 https://github.com/kyeongjun-dev/csapi (구) 코드 동작하게 만들기 먼저 코드가 동작하게 만들어 봅시다. 아래와 같이 필요한 파일들을 준비 및 작성합니다. tree . . ├── Dockerfile ├── model.h5 ├── requirements.txt ├── run.py └── test_input.png model.h5 파일은 아래 명령어로 다운로드 가능합니다 (언..
apiVersion: v1 kind: Pod metadata: name: python spec: containers: - name: python image: python:3.10-slim command: - "sleep" - "infinity" kubectl apply -f -
개요 보통 데이터베이스는 쿠버네티스에 올려서 사용하지 않는다지만, operator 패턴을 이용해 데이터베이스를 쿠버네티스에서 운영하는 사례가 많아지고 있다고 한다.(링크) 그래서 mongodb operator를 찾아보던 중, community 버전으로 사용이 가능한 operator를 발견했다. (깃허브링크) 하지만 단점이 있었는데, 우선 MongoCommunity라는 CRD를 사용해서 mongodb 클러스터를 생성하기 때문에 CPU/Memory 기반으로 Pod 스케일링이 가능한 HPA를 사용할 수 없었다. 실제로 테스트 해보니, statefulset의 replica 수를 늘리면 operator에서 강제로 replica 수를 원래대로 수정해버렸다... 방법은 MongoCommunity CRD가 기재된 ya..
use company db.createUser({ user: 'master', pwd: 'password!', roles: [{ role: 'readWrite', db: 'company' }] }) db.createCollection('employees') db.updateUser("master", { roles: [{ role: 'readWrite', db: 'company' }, { role: 'clusterAdmin', db: 'admin' }] })
참고사이트 https://stackoverflow.com/questions/18215389/how-do-i-measure-request-and-response-times-at-once-using-curl How do I measure request and response times at once using cURL? I have a web service that receives data in JSON format, processes the data, and then returns the result to the requester. I want to measure the request, response, and total time using cURL. My ex... stackoverflow.com 사용법..
참고사이트 - https://stackoverflow.com/questions/13814413/how-to-auto-login-in-mysql-from-a-shell-script id, password로 접속해야할 때 -p 옵션을 이용하면 계속 패스워드를 입력해야 하는 상황이 있다. mysql -uroot -hdb-dns-name -p -e "show databases;" Enter password: 이때 접속하는 유저의 홈 디렉토리에 .my.cnf 파일을 작성하면 패스워드 입력 없이 자동으로 로그인이 가능하다. 이때는 -p 옵션 없이 사용해야 한다. [client] user=root password=password
참고 사이트 - https://aws.amazon.com/ko/blogs/containers/addressing-latency-and-data-transfer-costs-on-eks-using-istio/ Addressing latency and data transfer costs on EKS using Istio | Amazon Web Services Data transfer charges are often overlooked when operating Amazon Elastic Kubernetes Service (Amazon EKS) clusters; understanding these charges would help reduce cost while operating your workload on ..