istioctlprofilelist# Display the configuration of a profileistioctlprofiledumpdemoistioctlprofiledump--config-pathcomponents.pilotdemo# Show differences in profilesistioctlprofilediffdefaultdemo# Generateing a manifest before installationistioctlmanifestgenerate>generated-manifest.yaml
# setup Istio into your kubernetes cluster$istioctlmanifestapply--setprofile=demo# To enable the Grafana dashboard on top of the default profile$istioctlmanifestapply--setaddonComponents.grafana.enabled=trueDetectedthatyourclusterdoesnotsupportthirdpartyJWTauthentication.FallingbacktolesssecurefirstpartyJWT-ApplyingmanifestforcomponentBase...✔FinishedapplyingmanifestforcomponentBase.-ApplyingmanifestforcomponentPilot...✔FinishedapplyingmanifestforcomponentPilot.Waitingforresourcestobecomeready...-ApplyingmanifestforcomponentEgressGateways...-ApplyingmanifestforcomponentIngressGateways...-ApplyingmanifestforcomponentAddonComponents...✔FinishedapplyingmanifestforcomponentEgressGateways.✔FinishedapplyingmanifestforcomponentIngressGateways.✔FinishedapplyingmanifestforcomponentAddonComponents.✔Installationcomplete
Add a namespace label to instruct Istio to automatically inject Envoy sidecar proxies when you deploy your application later:
switch on/off istio for default namespace
kubectllabelnamespacedefaultistio-injection=enabledkubectlgetnamespace-Listio-injection# Disabling injection for the `default` namespacekubectllabelnamespacedefaultistio-injection-
if you want to exclude a specific pod from getting istio sidecar injected, add this to Deployment kind