Migrate from IstioOperator
Managed control plane doesn't directly support IstioOperator
for
customization. Migrating to managed control plane from Cloud Service Mesh requires
manually converting from an IstioOperator
. This tool helps reduce the friction
by automating that process.
About the migration tool
The migration tool non-destructively evaluates the provided IstioOperator
file
to do the following:
- Check for compatibility issues.
- Convert compatible
IstioOperator
configurations to configuration supported by managed control plane, outputting the new configurations to files. - Output warnings about configuration values that would conflict with default values required by managed control plane.
- Recommend how to use the generated files.
This tool does not examine cluster data or configurations nor does it make changes to a cluster configuration. You must separately apply all generated files.
Before using the migration tool, check the limitations on managed control plane supported features to verify that managed control plane supports your installation of Cloud Service Mesh.
Using the migration tool
The migration tool is available as part of the asmcli
script. You must
download the script
to use this tool.
Run the migration tool:
asmcli experimental mcp-migrate-check -f path/to/istiooperator.yaml
Note the listed files output by the tool, specifically
asm/*meshconfig.yaml
andasm/gateways*
.Examine configuration warnings.
Review the output and follow the actions required to migrate.
Unsupported MeshConfig fields
The following fields on MeshConfig are overridden by managed control plane.
trustDomain
trustDomainAliases
configSources
defaultConfig.proxyMetadata
- These specific fields are overridden. You can add new fields:XDS_ROOT_CA
CA_ROOT_CA
OUTPUT_CERTS
XDS_AUTH_PROVIDER
PROXY_CONFIG_XDS_AGENT
defaultConfig.meshId
defaultConfig.discoveryAddress
Example output
$ asmcli experimental mcp-migrate-check -f some-iop.yaml asmcli: Downloading ASM.. Generating equivalent configuration for Anthos Service Mesh managed control plane... Migrating MeshConfig settings... ✔ Wrote MeshConfig to asm-generated-configs/meshconfig.yaml. Migrating gateway deployments... Checking configuration compatibility... ! Found unsupported configurations: Components.Base: not configurable in managed control plane Components.Pilot: not configurable in managed control plane Hub=gcr.io/gke-release/asm: not configurable in managed control plane Tag=1.10.4-asm.6: not configurable in managed control plane Actions required to migrate: ! Found potentially unsupported configurations; review warnings above before proceeding - Found custom mesh configuration settings. To apply these settings to ASM managed control plane, run: `kubectl apply -f 'asm-generated-configs/meshconfig.yaml'` TIP: steps recommending `kubectl apply` to be run should be integrated into your CI/CD pipeline, if applicable.
What's next
- Learn more about managed control plane supported features