Complete the code to install Istio's base components using Istioctl.
istioctl install --set profile=[1] -yThe demo profile installs Istio with default features suitable for learning and testing.
Complete the command to label the default namespace for automatic sidecar injection.
kubectl label namespace default istio-injection=[1]The label value enabled tells Istio to inject sidecars automatically in the namespace.
Fix the error in the command to check Istio pods in the istio-system namespace.
kubectl get pods -n [1]Istio components run in the istio-system namespace by default.
Fill both blanks to create a virtual service routing HTTP traffic to the productpage service.
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: productpage spec: hosts: - [1] http: - route: - destination: host: [2]
The hosts field uses the full service domain name, while the destination.host uses the short service name.
Fill all three blanks to define a destination rule with load balancing set to round robin.
apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: [1] spec: host: [2] trafficPolicy: loadBalancer: simple: [3]
The destination rule name and host should match the service name. The load balancer simple type for round robin is roundRobin (camelCase).