- [login_id]: 로그인 ID
- [password]: 로그인 암호
- [Server URL]: API 서버 IP 주소 또는 도메인
- [X-Subject-Token]: 첫 번째 API 요청 결과 값 중 X-Subject-Token 값을 붙여넣기
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Fetch API test with KoreanJSON</title> | |
<meta charset="utf-8" /> | |
</head> | |
<body> | |
<h1>KoreanJSON - Post</h1> | |
<form> | |
Post ID: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
좋은 호텔과 직원, 2018년 3월 2일 영국 런던 더 로열 호텔, 깨끗한 객실, 좋은 서비스, 버킹엄 궁전과 웨스트민스터 사원 근처의 훌륭한 위치 등. 우리는 머무는 동안 정말 즐거웠습니다. 안뜰은 매우 평화롭고, 같은 그룹에 속해 있고 미슐랭 스타를 받은 인도 식당(생선 요리로 유명한 서해안식)으로 갔습니다. 우리는 맛있는 테스터 메뉴를 먹었습니다. 객실은 주방, 휴게실, 침실, 그리고 거대한 욕실이 매우 잘 갖춰져 있었습니다. 매우 권장합니다. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
## Sample MongoDB connection test | |
## Source code from: https://github.com/Azure-Samples/azure-cosmos-db-mongodb-python-getting-started | |
## Recommended ways to execute this sample (assuming on Linux with Python 3) | |
## $ python3 -m venv .venv | |
## $ source .venv/bin/activate | |
## $ pip install pymongo | |
## $ python mongodb-connection-test.py |
-
참고: MS Learn을 통해 Docker를 자세히 살펴보시는 것을 추천합니다
-
Docker 설치하기 (Ubuntu 20.04 LTS) 공식 docker.com 설치 안내 링크
# root 계정 전환
sudo su -
- 쿠버네티스 튜토리얼 홈페이지에 있는 내용을 실습합니다.
- 실습 환경은 오픈 소스 쿠버네티스를 직접 설치하셔도 되며, 여기에서는 퍼블릭 클라우드에서 제공하는 관리형 클라우드인 AKS (Azure Kubernetes Service)와 EKS (Elastic Kubernetes Service) 2가지에 대한 실습 내용을 작성해 보았습니다.
# mysql-deployment.yaml 다운로드
curl -O https://kubernetes.io/examples/application/wordpress/mysql-deployment.yaml
- 팁1: 자동완성 from 쿠버네티스 치트시트 문서
source <(kubectl completion bash) # bash-completion 패키지를 먼저 설치한 후, bash의 자동 완성을 현재 셸에 설정한다
echo "source <(kubectl completion bash)" >> ~/.bashrc # 자동 완성을 bash 셸에 영구적으로 추가한다
- 팁2: Linux에서 alias를 사용하여 "k"만을 입력하는 사람이 많다!
cat <<EOF >> ~/.bashrc
alias k=kubectl
- 참고: 인터넷 상에 여러 YAOBank yaml 파일이 있는데, 그 중 현재 기준으로 Star/Fork가 가장 많은 것을 참고
# 생성
curl -s -O https://raw.githubusercontent.com/tigera/ccol1/main/yaobank.yaml
sed -i 's/nodeSelector/#nodeSelector/g' yaobank.yaml && sed -i 's/kubernetes.io/#kubernetes.io/g' yaobank.yaml
kubectl apply -f yaobank.yaml
NewerOlder