Thursday, September 26, 2019

Cloud - KSA

Kubernetes Service Architecture

Kubernetes uses Services to logically group a set of pods together and expose your application for external network connectivity. There are three types of services, or ServiceTypes.

  • ClusterIP
  • NodePort
  • LoadBalancer

LoadBalancer

A LoadBalancer service is the standard way to expose a service to the internet. On GKE, this will spin up a Network Load Balancer that will give you a single IP address that will forward all traffic to your service

NodePort 


This creates a Port mapping on the underlying node that allow application to accessed directly with node address IP and port.


Cluster IP


This creates a internal IP address for use within the AKS cluster. This helps to manage internal workload within cluster.


Ingress

Ingress is actually NOT a type of service. Instead, it sits in front of multiple services and act as a “smart router” or entrypoint into your cluster.

Ingress is probably the most powerful way to expose your services, but can also be the most complicated. There are many types of Ingress controllers, from the 

  • Google Cloud Load Balancer, 
  • Nginx, 
  • Contour, 
  • Istio, and more.

No comments:

Azure Cloud shell commands cheetsheet

  Certainly! Here's a cheat sheet of commonly used Azure Cloud Shell commands: Azure Account az login : Authenticate and log in to your ...