Difference between revisions of "Install Istio"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | * <code>[[brew install istioctl]]</code> | ||
− | https://istio.io/docs/setup/getting-started/#download | + | [https://istio.io/docs/setup/getting-started/#download Getting Started Istio documentation] |
[[curl -L]] https://istio.io/downloadIstio | [[sh]] - | [[curl -L]] https://istio.io/downloadIstio | [[sh]] - | ||
[[cd]] istio* | [[cd]] istio* | ||
Line 27: | Line 28: | ||
== Related terms == | == Related terms == | ||
− | * Uninstall: <code>istioctl manifest generate --set profile=demo | [[kubectl delete]] -f -</code> | + | * Uninstall [[Istio]]: <code>istioctl manifest generate --set profile=demo | [[kubectl delete]] -f -</code> |
− | + | * [[Snap install Kubernetes]] | |
+ | * <code>[[helm install istio-base]] istio/base -n istio-system</code> | ||
== See also == | == See also == |
Latest revision as of 15:31, 24 June 2022
Getting Started Istio documentation
curl -L https://istio.io/downloadIstio | sh - cd istio* istioctl manifest apply --set profile=demo kubectl label namespace default istio-injection=enabled kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
Review status:
kubectl get services kubectl get pods kubectl exec -it $(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}') -c ratings -- curl productpage:9080/productpage | grep -o "<title>.*</title>" <title>Simple Bookstore App</title>
Associtate to gateway
kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml kubectl get gateway
export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}') export SECURE_INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="https")].nodePort}') export INGRESS_HOST=$(minikube ip) minikube tunnel export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT
istioctl dashboard kiali
Related terms[edit]
- Uninstall Istio:
istioctl manifest generate --set profile=demo | kubectl delete -f -
- Snap install Kubernetes
helm install istio-base istio/base -n istio-system
See also[edit]
Advertising: