curl -L https://git.io/getLatestIstio | sh -
文件&文件夹 | 内容 |
---|---|
bin | istioctl命令行工具 |
install | 安装所需的YAML配置文件等 |
samples | 示例文件和应用 |
Istio.VERSION | Istio的配置文件 |
export PATH=$PWD/bin:$PATH
istioctl manifest apply
$ istioctl manifest apply --set profile=demo
- Applying manifest for component Base...
✔ Finished applying manifest for component Base.
- Applying manifest for component Tracing...
- Applying manifest for component IngressGateway...
- Applying manifest for component Galley...
- Applying manifest for component Kiali...
- Applying manifest for component Pilot...
- Applying manifest for component Citadel...
- Applying manifest for component Prometheus...
- Applying manifest for component Policy...
- Applying manifest for component EgressGateway...
- Applying manifest for component Injector...
- Applying manifest for component Telemetry...
- Applying manifest for component Grafana...
✔ Finished applying manifest for component Tracing.
✔ Finished applying manifest for component Kiali.
✔ Finished applying manifest for component Citadel.
✔ Finished applying manifest for component Policy.
✔ Finished applying manifest for component IngressGateway.
✔ Finished applying manifest for component Galley.
✔ Finished applying manifest for component Prometheus.
✔ Finished applying manifest for component EgressGateway.
✔ Finished applying manifest for component Pilot.
✔ Finished applying manifest for component Injector.
✔ Finished applying manifest for component Telemetry.
✔ Finished applying manifest for component Grafana.
istioctl profile dump demo
$ istioctl manifest apply --set trafficManagement.components.pilot.k8s.resources.requests.memory=200Mi
- Applying manifest for component Base...
✔ Finished applying manifest for component Base.
- Applying manifest for component Citadel...
- Applying manifest for component IngressGateway...
- Applying manifest for component Pilot...
- Applying manifest for component Prometheus...
- Applying manifest for component Galley...
- Applying manifest for component Policy...
- Applying manifest for component Injector...
- Applying manifest for component Telemetry...
- Pruning objects for disabled component Kiali...
- Pruning objects for disabled component Tracing...
- Pruning objects for disabled component Grafana...
- Pruning objects for disabled component EgressGateway...
✔ Finished pruning objects for disabled component Kiali.
✔ Finished pruning objects for disabled component EgressGateway.
✔ Finished pruning objects for disabled component Grafana.
✔ Finished applying manifest for component Citadel.
✔ Finished applying manifest for component Prometheus.
✔ Finished applying manifest for component IngressGateway.
✔ Finished applying manifest for component Injector.
✔ Finished applying manifest for component Policy.
✔ Finished pruning objects for disabled component Tracing.
✔ Finished applying manifest for component Pilot.
✔ Finished applying manifest for component Galley.
✔ Finished applying manifest for component Telemetry.
✔ Installation complete
kubectl get svc -n istio-system
$ kubectl get pods -n istio-system
NAME READY STATUS RESTARTS AGE
grafana-6c8f45499-sflnl 1/1 Running 0 23h
istio-citadel-767757649c-hcjqn 1/1 Running 1 23h
istio-egressgateway-5585c98cdb-6frzp 0/1 Running 0 23h
istio-galley-6d467f5567-99hff 1/1 Running 0 23h
istio-ingressgateway-77d7cc794-rd4ch 0/1 Running 0 23h
istio-pilot-58584cfd66-mjxl7 1/1 Running 0 23h
istio-policy-5dc7977678-k5r5j 1/1 Running 2 23h
istio-sidecar-injector-68d9b4bb87-z2ps4 1/1 Running 1 23h
istio-telemetry-5b8f48df4b-b4t2t 1/1 Running 2 23h
istio-tracing-78548677bc-4cn6q 1/1 Running 0 23h
kiali-fb5f485fb-7txxq 1/1 Running 0 23h
prometheus-685585888b-stfx6 1/1 Running 0 23h
istioctl manifest apply --set trafficManagement.components.pilot.k8s.resources.requests.memory=200Mi