DEV Community

Cover image for Enabling Service Mesh for Oracle Kubernetes Engine
Mahmoud Rabie
Mahmoud Rabie

Posted on

Enabling Service Mesh for Oracle Kubernetes Engine

In a ๐™ข๐™ž๐™˜๐™ง๐™ค๐™จ๐™š๐™ง๐™ซ๐™ž๐™˜๐™š๐™จ ๐™–๐™ง๐™˜๐™๐™ž๐™ฉ๐™š๐™˜๐™ฉ๐™ช๐™ง๐™š, monolithic applications are broken down into smaller microservices that ๐™˜๐™ค๐™ข๐™ข๐™ช๐™ฃ๐™ž๐™˜๐™–๐™ฉ๐™š ๐™ค๐™ซ๐™š๐™ง ๐™ฉ๐™๐™š ๐™ฃ๐™š๐™ฉ๐™ฌ๐™ค๐™ง๐™  using an ๐˜ผ๐™‹๐™„.

This causes:
(1) a ๐™จ๐™ช๐™ง๐™œ๐™š ๐™ค๐™› ๐™ฃ๐™š๐™ฉ๐™ฌ๐™ค๐™ง๐™  ๐™ฉ๐™ง๐™–๐™›๐™›๐™ž๐™˜ and
(2) increases the ๐™˜๐™ค๐™ข๐™ฅ๐™ก๐™š๐™ญ๐™ž๐™ฉ๐™ฎ and ๐™ค๐™ซ๐™š๐™ง๐™–๐™ก๐™ก ๐™–๐™ฉ๐™ฉ๐™–๐™˜๐™  ๐™จ๐™ช๐™ง๐™›๐™–๐™˜๐™š in the architecture.

Adding a ๐™จ๐™š๐™ง๐™ซ๐™ž๐™˜๐™š ๐™ข๐™š๐™จ๐™ to the microservices ๐™–๐™ก๐™ก๐™š๐™ซ๐™ž๐™–๐™ฉ๐™š๐™จ ๐™ข๐™–๐™ฃ๐™ฎ ๐™ค๐™› ๐™ฉ๐™๐™š ๐™˜๐™๐™–๐™ก๐™ก๐™š๐™ฃ๐™œ๐™š๐™จ introduced with a microservices architecture and provides the ๐™›๐™ค๐™ก๐™ก๐™ค๐™ฌ๐™ž๐™ฃ๐™œ ๐™—๐™š๐™ฃ๐™š๐™›๐™ž๐™ฉ๐™จ:
(1) ๐ŸšฆAllows you to ๐™˜๐™ค๐™ฃ๐™ฉ๐™ง๐™ค๐™ก the microservices ๐™ฉ๐™ง๐™–๐™›๐™›๐™ž๐™˜ ๐™›๐™ก๐™ค๐™ฌ.
(2) ๐Ÿ”ญ Provides ๐™ซ๐™ž๐™จ๐™ž๐™—๐™ž๐™ก๐™ž๐™ฉ๐™ฎ into your ๐™–๐™ฅ๐™ฅ๐™ก๐™ž๐™˜๐™–๐™ฉ๐™ž๐™ค๐™ฃ๐™จ.
(3) ๐Ÿ” Enables microservices to ๐™˜๐™ค๐™ฃ๐™ฃ๐™š๐™˜๐™ฉ ๐™จ๐™š๐™˜๐™ช๐™ง๐™š๐™ก๐™ฎ without any changes to the application code.

๐™Š๐˜พ๐™„ ๐™Ž๐™š๐™ง๐™ซ๐™ž๐™˜๐™š ๐™ˆ๐™š๐™จ๐™ uses a ๐™จ๐™ž๐™™๐™š๐™˜๐™–๐™ง ๐™ข๐™ค๐™™๐™š๐™ก. This architecture:
(1) encapsulates the code implementing the network functionality into a network proxy and then
(2) relies on traffic from and to services to be redirected into the sidecar proxy.

In Oracle ๐™†๐™ช๐™—๐™š๐™ง๐™ฃ๐™š๐™ฉ๐™š๐™จ ๐™€๐™ฃ๐™œ๐™ž๐™ฃ๐™š (๐™Š๐™†๐™€), the application container sits ๐™–๐™ก๐™ค๐™ฃ๐™œ๐™จ๐™ž๐™™๐™š ๐™ฉ๐™๐™š ๐™ฅ๐™ง๐™ค๐™ญ๐™ฎ ๐™จ๐™ž๐™™๐™š๐™˜๐™–๐™ง ๐™˜๐™ค๐™ฃ๐™ฉ๐™–๐™ž๐™ฃ๐™š๐™ง ๐™ž๐™ฃ ๐™ฉ๐™๐™š ๐™จ๐™–๐™ข๐™š ๐™ฅ๐™ค๐™™. Since they are in the same pod, they share:
(1) the ๐™จ๐™–๐™ข๐™š ๐™ฃ๐™š๐™ฉ๐™ฌ๐™ค๐™ง๐™  ๐™ฃ๐™–๐™ข๐™š๐™จ๐™ฅ๐™–๐™˜๐™š and
(2) ๐™„๐™‹ ๐™–๐™™๐™™๐™ง๐™š๐™จ๐™จ,
allowing the ๐™˜๐™ค๐™ฃ๐™ฉ๐™–๐™ž๐™ฃ๐™š๐™ง๐™จ ๐™ฉ๐™ค ๐™˜๐™ค๐™ข๐™ข๐™ช๐™ฃ๐™ž๐™˜๐™–๐™ฉ๐™š ๐™ซ๐™ž๐™– โ€œ๐™ก๐™ค๐™˜๐™–๐™ก๐™๐™ค๐™จ๐™ฉ.โ€

๐™€๐™ฃ๐™–๐™—๐™ก๐™š ๐™Š๐˜พ๐™„ ๐™Ž๐™š๐™ง๐™ซ๐™ž๐™˜๐™š ๐™ˆ๐™š๐™จ๐™ ๐™ค๐™ฃ ๐™ฎ๐™ค๐™ช๐™ง ๐™†๐™ช๐™—๐™š๐™ง๐™ฃ๐™š๐™ฉ๐™š๐™จ ๐™–๐™ฅ๐™ฅ๐™ก๐™ž๐™˜๐™–๐™ฉ๐™ž๐™ค๐™ฃ๐™จ
https://docs.oracle.com/en/solutions/oci-service-mesh-oke/index.html#GUID-12216A44-2E62-48D8-8C89-864335BE9EF6

Image description

Top comments (0)