Services and Discovery

Services and Discovery

Services and Discovery are the communication hub of your cluster. Think of it like a subway system within your cluster. The communications hub consists of three parts:

  1. Ingress - Directs access to HTTP and HTTPS routes for Services
  2. Services - Provide the “Traffic” Rules of the Cluster via Policies
  3. Endpoints - Track the cluster’s topology information


Ingress acts as a traffic light to direct the routing of services within the cluster through HTTP and HTTPS routes from outside the cluster. Defined rules tell the Ingress which routes to use for a given service.

The Ingress page is blank until an app is deployed. Once an app is deployed, you’ll see the: - Name, - Type, - Service, - Hosts, - Address (if applicable), - Number of Ports, - Age, - and Labels.

data center ingress

Creating Ingress

Critical Stacks creates in an Ingress in a few clicks. You can create an Ingress using the Simple form or the Command Line Tool (Advanced).

Simple 1. Click the Create Ingress button. 2. Select Simple. 3. The Create Ingress form opens. 4. Type an Ingress Name. 5. Select the Name of Service from the drop-down menu. 6. Assign a Port Number. 7. Select a TLS Secret from the drop-down menu, if necessary. 8. Click Save.


Advanced 1. Click the Create Ingress button. 2. Select Advanced. 3. The Advanced Editor opens. 4. Complete the metadata fields. 5. Click Create. 6. Click OK.

The newly created Ingress appears in the list and the Ingress counter increases by 1.


Services provide the access to a set of Pods through policies. The Critical Stack UI provides a means to view the Services running on your cluster.

data center services

Creating a Service

To create a new Service use the Create a New Service form or the Advanced Editor. Before you create a service, you’ll need to have a Pod or Deployment ready to use.

  1. Click the Create Service button.
  2. Type a Service Name.
  3. Enter the Selector.
  4. Select a Mode from the Mode drop-down menu.
  5. Type a Name.
  6. Select a Protocol from the Protocol drop-down menu.
  7. Assign a Port.
  8. Assign a Target Port.
  9. Click the + sign to add additional Ports and Protocols, and repeat Steps 5-8.
  10. Click Save.

The new service appears in the Services list. Notice the Services counter went up by 1.


Endpoints are a list of IP addresses and Ports assigned to Services within the cluster.

data center endpoints

Creating an Endpoint

  1. Click the Create Endpoints button.
  2. The Advanced Editor opens.
  3. Enter a name, ip, and port.
  4. Click Create.
  5. Click OK.

The new endpoint appears at the top of the list.