:_mod-docs-content-type: ASSEMBLY
[id="ossm-gateway-migration"]
= Gateway migration
include::_attributes/common-attributes.adoc[]
:context: gateway-migration

toc::[]

As a network administrator, the preferred method for deploying ingress and egress gateways is with a `Deployment` resource using gateway injection.

include::modules/ossm-about-gateway-migration.adoc[leveloffset=+1]

include::modules/ossm-migrating-from-smcp-defined-gateways-to-gateway-injection.adoc[leveloffset=+1]

[role="_additional-resources"]
[id="additional-resources_{context}"]
== Additional resources

* xref:../../service_mesh/v2x/ossm-traffic-manage.adoc#ossm-automatic-gateway-injection_traffic-management[Enabling gateway injection]

* xref:../../service_mesh/v2x/ossm-traffic-manage.adoc#ossm-deploying-automatic-gateway-injection_traffic-management[Deploying automatic gateway injection]