-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f8ef5a
commit 0afaa77
Showing
16 changed files
with
158 additions
and
12 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## 개요 | ||
* istio 설치 문서 | ||
|
||
|
||
## 목차 | ||
* [EKS에서 ArgoCD와 helm chart를 사용하여 istio 설치](./eks) | ||
* [kind 클러스터에 istio 설치](./kind_cluster/) | ||
* [helm chart를 사용하여 istio 설치](./manual_helm/) |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## 개요 | ||
* EKS에서 ArgoCD와 helm chart를 사용하여 istio 설치 | ||
|
||
## 설치 방법 | ||
|
||
```sh | ||
kubectl apply -f ./argocd_bootstrap/argocd-apps.yaml | ||
``` |
4 changes: 2 additions & 2 deletions
4
kubernetes/istio/install/addons/README.md → ...rnetes/istio/install/eks/addons/README.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# 개요 | ||
## 개요 | ||
* istio 애드온 설치 메뉴얼 | ||
|
||
# 목차 | ||
## 목차 | ||
* [prometheus](./prometheus.md) | ||
* [grafana](./grafana.md) |
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
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
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
6 changes: 6 additions & 0 deletions
6
kubernetes/istio/install/eks/argocd_bootstrap/values/README.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## 개요 | ||
* istio 관리를 위한 애드온 helm values | ||
|
||
## 목차 | ||
* [grafana](./grafana.yaml) | ||
* [prometheus](./prometheus.yaml) |
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
install-istioctl: | ||
@echo "Install istioctl" | ||
@brew install istioctl | ||
|
||
up: | ||
@echo "Install kind cluster" | ||
@kind create cluster --config kind-config.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
## 개요 | ||
* kind 클러스터에 istio 설치 | ||
|
||
## 전제조건 | ||
* docker가 설치되어 있어야 합니다. | ||
* kind CLI가 설치되어 있어야 합니다. | ||
|
||
## kind 클러스터 생성 | ||
|
||
1. kind 클러스터 생성 | ||
|
||
```sh | ||
kind create cluster --config kind-config.yaml | ||
``` | ||
|
||
2. kind 클러스터 생성 확인 | ||
|
||
```sh | ||
$ kubectl get nodes | ||
NAME STATUS ROLES AGE VERSION | ||
istio-control-plane Ready control-plane 3m51s v1.31.4 | ||
istio-worker Ready <none> 3m40s v1.31.4 | ||
istio-worker2 Ready <none> 3m41s v1.31.4 | ||
``` | ||
|
||
## istio 설치 | ||
|
||
1. istioctl 설치 | ||
|
||
```sh | ||
brew install istioctl | ||
``` | ||
|
||
2. istioctl version 확인 | ||
|
||
```sh | ||
$ istioctl version | ||
Istio is not present in the cluster: no running Istio pods in namespace "istio-system" | ||
client version: 1.24.1 | ||
``` | ||
|
||
3. istio 설치: demo 프로파일 사용 | ||
|
||
```sh | ||
istioctl install --set profile=demo --skip-confirmation | ||
✔ Istio core installed ⛵️ | ||
✔ Istiod installed 🧠 | ||
✔ Egress gateways installed 🛫 | ||
✔ Ingress gateways installed 🛬 | ||
✔ Installation complete | ||
``` | ||
|
||
![](./imgs/istio-profile.png) | ||
|
||
|
||
4. istio 설치 확인 | ||
|
||
```sh | ||
$ kubectl get pod -n istio-system | ||
NAME READY STATUS RESTARTS AGE | ||
istio-egressgateway-94bdb56cb-kxsq5 1/1 Running 0 99s | ||
istio-ingressgateway-86cb558598-zbbv7 1/1 Running 0 99s | ||
istiod-7dccd8956d-8xlzv 1/1 Running 0 113s | ||
``` | ||
|
||
## 참고자료 | ||
* https://istio.io/latest/docs/setup/platform-setup/kind/ | ||
* https://medium.com/@s4l1h/how-to-install-kind-and-istio-ingress-controller-3b510834c762 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
kind: Cluster | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
name: istio | ||
nodes: | ||
- role: control-plane | ||
image: kindest/node:v1.31.4 | ||
kubeadmConfigPatches: | ||
- | | ||
kind: InitConfiguration | ||
nodeRegistration: | ||
kubeletExtraArgs: | ||
node-labels: "ingress-ready=true" | ||
extraPortMappings: | ||
# istio ingress controller | ||
- containerPort: 80 | ||
hostPort: 80 | ||
protocol: TCP | ||
# istio ingress controller | ||
- containerPort: 443 | ||
hostPort: 443 | ||
protocol: TCP | ||
- role: worker | ||
image: kindest/node:v1.31.4 | ||
- role: worker | ||
image: kindest/node:v1.31.4 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 개요 | ||
* helm으로 istio 설치 | ||
|
||
# 설치 방법 | ||
1. **istio-base** helm chart 릴리즈 | ||
2. **istiod helm** chart 릴리즈 | ||
3. **istio-ingress** chart 릴리즈 | ||
4. **(옵션) istio-egress** helm chart 릴리즈 | ||
|
||
|
||
```sh | ||
helm repo add istio https://istio-release.storage.googleapis.com/charts | ||
helm repo update | ||
``` | ||
|
||
* helm chart 릴리즈 | ||
|
||
```sh | ||
helm install istio-base istio/base --version 1.24.0 -n istio-system --create-namespace --set defaultRevision=default | ||
helm install istiod istio/istiod --version 1.24.0 -n istio-system --create-namespace --wait | ||
helm install istio-ingress istio/gateway --version 1.24.0 -n istio-system --create-namespace --wait | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../kubernetes/istio |