- Inspecting the cluster and current workloads
- Creating a custom
IstioOperatormanifest (demo.yaml) - Validating and applying the manifest with
istioctl - Verifying pods and resource overrides
- Enabling automatic sidecar injection and redeploying Bookinfo
--set flags because it centralizes configuration in a declarative manifest that the operator will reconcile.
Prerequisites
kubectlconfigured to your target clusteristioctlon your PATH- A running Kubernetes cluster with some sample workloads (e.g., Bookinfo)
1) Inspect cluster state
Example: the cluster already has Bookinfo pods running:istioctl can talk to the cluster:
2) Create a minimal IstioOperator manifest
Create and editdemo.yaml:
demo profile:
kubectl describe pod:
Kubernetes Deployments cannot be renamed. To change the name of a gateway deployment managed by the operator you must disable the old gateway and enable a new one with the desired name. The operator will delete and recreate the deployment.
3) Example: Customize gateways and resource overrides
To change gateway names (e.g., add-gateway) and reduce resource sizes, update demo.yaml. The operator will handle removing disabled resources and creating the newly named ones.
Example IstioOperator manifest (add to or replace your demo.yaml as needed):
y when prompted):

4) Enable automatic sidecar injection for your namespace
Check current namespaces and labels:5) Redeploy Bookinfo so pods get sidecar-injected
Delete any existing Bookinfo resources, then re-apply the sample manifest so the pods are recreated with the Istio sidecar:2/2 READY:
Notes on istioctl profile and operator fields
Recent istioctl releases removed the profile subcommand. If you run istioctl profile you may see:
Quick reference: common commands
Links and references
- Istio operator API and examples: https://istio.io/latest/docs/setup/install/operator/
- Bookinfo sample (used above): https://github.com/istio/istio/tree/release-1.11/samples/bookinfo
- Istio documentation (profiles, configuration, operator): https://istio.io/docs/