springbootmicroservicedailybuffer

(★ 70)

Spring Cloud Example (API Gateway, Zipkin, Redis, Authentication, Config Server, Docker, Kubernetes )

파일 탐색기

  • .gitignore
  • docker-compose.yml
  • Jenkinsfile
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

username

설명 보기 ▼

사용자를 관리.
설정 모드에서 사용.
더 많은 정보: <https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/security/s1/sec-s1-xe-3se-3850-cr-book/sec-s1-xe-3se-3850-cr-book_chapter_0110.html>.

username {{admin}} privilege 15 secret {{password}}

관리자 계정 생성:

🔍

docker run

설명 보기 ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

kubectl apply

설명 보기 ▼

Manage applications through files defining Kubernetes resources.
Create and update resources in a cluster.

kubectl apply {{[-f|--filename]}} {{path/to/file}}

Apply a configuration to a resource by file name:

kubectl apply {{[-k|--kustomize]}} {{path/to/directory}}

Apply a configuration to a resource from `kustomization.yaml` in a directory:

{{cat pod.json}} | kubectl apply {{[-f|--filename]}} -

Apply a configuration to a resource by `stdin`:

🔍

kubectl get

설명 보기 ▼

Get Kubernetes objects and resources.

kubectl get {{[ns|namespaces]}}

Get all namespaces in the current cluster:

kubectl get {{[no|nodes]}} {{[-n|--namespace]}} {{namespace}}

Get nodes in a specified namespace:

kubectl get {{[po|pods]}} {{[-n|--namespace]}} {{namespace}}

Get pods in a specified namespace:

🔍

minikube start

설명 보기 ▼

Start `minikube` with different configurations.

minikube start --kubernetes-version {{v1.24.0}}

Start `minikube` with a specific Kubernetes version:

minikube start --memory {{2048}} --cpus {{2}}

Start `minikube` with specific resource allocations (e.g., memory and CPU):

minikube start --driver {{virtualbox}}

Start `minikube` with a specific driver (e.g., VirtualBox):

🔍

minikube

설명 보기 ▼

Kubernetes를 로컬에서 실행.
더 많은 정보: <https://minikube.sigs.k8s.io/docs/>.

minikube start

클러스터 시작:

minikube ip

클러스터의 IP 주소 가져오기:

minikube service {{my_service}} --url

노드 포트를 통해 노출된 my_service라는 서비스에 접근하고 URL 가져오기:

// repository documentation