View Image Builder Details
This section describes how to view image builder details.
Prerequisites
You need to join a project and have the Application Workloads View permission in the project. For more information, see Project Members and Project Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Application Workloads View permissions and enter your workspace.
-
Click Image Builders in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
-
In the image builder list, click the name of an image builder to open its details page.
-
On the image builder details page, view the resource attributes of the image builder in the Attributes area.
Parameter Description Name
The name of the image builder. It is automatically generated by the system in the format of <image namespace>-<image name>-<image tag>-<random code>.
Project
The project to which the image builder belongs.
Type
The type of the image builder.
-
s2i: Build images using source code.
-
b2i: Build images using artifacts.
Builder Image
The image address, name, and tag of the builder itself.
Image Name
The namespace and name of the target image generated by the build.
Code Repository URL
The address of the source code repository. Currently, only Git repositories are supported.
Pull Policy
The policy for pulling base images or dependency images during the build process.
-
Prefer local image (IfNotPresent): Preferentially uses images stored on the node by the container runtime.
-
Always pull image (Always): Always attempts to pull images from the image registry.
-
Use local image only (Never): Uses only images stored on the node by the container runtime.
Remote Trigger
The URL used to trigger an image build. Sending an HTTP GET request to this address will trigger an image build. The address shown here is only accessible from within the cluster. To access it from outside the cluster, you need to perform the following steps:
-
Expose the s2ioperator-trigger-service service externally via NodePort or LoadBalancer.
-
Send an HTTP GET request to the external access address of the s2ioperator-trigger-service service and the same path to trigger an image build.
Creation Time
The creation time of the image builder.
Creator
The user who created the image builder.
-
-
On the image builder details page, click the Run Records tab to view the run records of the image builder.
Parameter Description Last Build Environment
The build environment used for the last image build.
-
For building images from source code, it displays the builder image, code repository URL, and the branch where the code resides.
-
For building images from artifacts, it displays the builder image, artifact file name, and artifact file size.
Run Records
The run records of the image builds, showing the sequence number, status, image name, start time, and last message.
Click
next to the sequence number to view the image build logs.
-
-
On the image builder details page, click the Resource Status tab to view the pod running status of the image builder.
-
Click
to view information about the containers running in the pod.
-
Click the name of a pod to view its details.
-
Enter keywords in the search box above the pod list to search for pods by name.
-
Click
in the upper right corner of the pod list to refresh the list information.
-
-
On the image builder details page, click the Image Artifacts tab to view the container images generated by the build.
The Image Artifacts tab displays the name, size, pull command, and release time of the container images.
-
On the image builder details page, click the Environment Variables tab to view the container environment variables of the image builder.
-
On the image builder details page, click the Events tab to view the resource events of the image builder.