Skip to content

Service

A service can be defined as an abstraction on top of pods that provides a single IP address and DNS name by which pods can be accessed.


Accessing Service Configuration

  1. Open the project added earlier and click Cruize.

    Cruize

  2. Click on the blueprint version count on the blueprint card. After clicking the count, the blueprint versions page will be displayed, which contains a list of blueprint versions.

    Cruize

  3. Click on the View configurations kebab menu option or click on the blueprint version name to view blueprint configurations.

  4. Go to the Deployments tab and click Edit deployment definition from the Action column of any deployment.

  5. The deployment definition page will open. Now go to the Service tab as shown in the image below.

    Add Service


Adding a New Service

  1. Click the Add New Service button. After clicking, the following form will be displayed as shown in the image below.

    Add Service

  2. Add a service by entering the following details:

    Field Description
    Service name Enter the service name
    Service type Default type is 'ClusterIP', change as applicable
    Port Mapping Add container port(s) here. At least one container port is required.
    Labels & Annotations Optional - Add labels and annotations here

Field Requirements

1. Service Name

Naming requirements: - Only lowercase alphanumeric characters, hyphens (-), or periods (.) are allowed - Must start and end with an alphanumeric character - Name must be unique - Maximum 63 characters allowed

Add Service


2. Service Type

Select the service type: 1. ClusterIP 2. NodePort 3. LoadBalancer

Add Service


3. Port Mapping

  • Click the Add Container Port(s) button. You will see the container port list as shown in the image below. Select the required container port(s) and click the Add ports button.
  • While adding a container port, you will see only the ports that are not used by any other service in that deployment.

Add Service

  • Only the service port/port is editable from the added container port(s) list as shown in the image below.

Add Service


4. Labels & Annotations

Click here to learn more about labels and annotations.


  1. Provide all details and click the Save button.

    Add Service


View Service Labels and Annotations

To view service labels & annotations:

  • Click the View icon as shown in the image below.

    View Service


Edit Service

To edit service data:

  • Click the Edit icon as shown in the image below.

    Edit Service


Delete Service

To delete a service:

  • Click the Delete icon as shown in the image below.

    Delete Service