Networking

A Verrazzano instance is comprised of both Verrazzano components and several third party products. Collectively, these components are called the Verrazzano system components. In addition, after Verrazzano is installed, a Verrazzano instance can include applications deployed by the user. Applications can also be referred to as components, not to be confused with OAM Components.

All of the system components and applications use the network to some degree. Verrazzano configures networking to provide network security and traffic management. Network settings are configured both at installation and during runtime as applications are deployed into the Kubernetes cluster.

High-level overview

The following diagram shows the high-level overview of Verrazzano networking using ExternalDNS and Let’s Encrypt for certificates. ExternalDNS and cert-manager both run outside the mesh and connect to external services using TLS. This diagram does not show Prometheus scraping.

Verrazzano system traffic enters a platform load balancer over TLS and is routed to the NGINX Ingress Controller, where TLS is terminated. From there, the traffic is routed to one of the system components in the mesh over mutual TLS authentication (mTLS), or using HTTP to a system component, outside the mesh.

Application traffic enters a second Oracle Cloud Infrastructure load balancer over TLS and is routed to the Istio ingress gateway, where TLS is terminated. From there, the traffic is routed to one of several applications using mTLS.

NOTE: Applications can be deployed outside the mesh, but the Istio ingress gateway will send traffic to them using plain text. You need to do some additional configuration to enable TLS passthrough, as described at Istio Gateway Passthrough.

High-level network diagram

Platform network connectivity

A Kubernetes cluster is installed on a platform, such as Oracle OKE, an on-premises installation, a hybrid cloud topology, or such. Verrazzano interfaces only with Kubernetes; it has no knowledge of platform topology or network security. You must ensure that there is network connectivity. For example, the ingresses might use a platform load balancer that provides the entry point into the cluster for Verrazzano consoles and applications. These load balancer IP addresses must be accessible for your users. In the multicluster case, clusters might be on different platform technologies with firewalls between them. Again, you must ensure that the clusters have network connectivity.

Network configuration during installation

A summary of the network-related configuration follows.

Verrazzano does the following as it relates to networking:

  1. Installs and configures NGINX Ingress Controller.
  2. Creates Ingress resources for system components.
  3. Installs and configures Istio.
  4. Enables strict mTLS for the mesh by creating an Istio PeerAuthentication resource.
  5. Creates an Istio egress gateway service.
  6. Creates an Istio ingress gateway service.
  7. Configures several Verrazzano system components to be in the mesh.
  8. Optionally, installs ExternalDNS and creates DNS records.
  9. Creates certificates required by TLS, used by system components.
  10. Creates certificates required by Kubernetes API server to call a webhook.
  11. Creates NetworkPolicies for all of the system components.

Network configuration during application life cycle

Verrazzano does the following as it relates to applications being deployed and terminated:

  1. Optionally, creates an Istio Gateway and VirtualService resources.
  2. Creates Istio AuthorizationPolicies, as needed.
  3. Creates Istio DestinationRules, as needed.
  4. Optionally, creates a self-signed certificate for the application.
  5. Optionally, creates DNS records using ExternalDNS.

Network Security

Learn about Verrazzano network security

Network Traffic

Understand Verrazzano network traffic