Skip to content

Commit

Permalink
build(ci): generate fabric8 models 0.1.0-alpha.11 for robot.roboscale…
Browse files Browse the repository at this point in the history
….io v0.2.6-alpha.14, fleet.roboscale.io v0.1.6-alpha.14 and connection-hub.roboscale.io v0.1.7-alpha.10
  • Loading branch information
tunahanertekin authored and github-actions[bot] committed Dec 4, 2023
1 parent 6638011 commit a3ed145
Show file tree
Hide file tree
Showing 15 changed files with 359 additions and 142 deletions.
65 changes: 53 additions & 12 deletions crds/base/robot.roboscale.io_metricsexporters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -281,17 +281,61 @@ spec:
usage:
description: Usage metrics.
properties:
gpu:
description: GPU usage information. Will be deprecated after implementing
checks for each GPU instance.
gpuDeviceStatuses:
description: GPU device information.
properties:
lastUpdateTimestamp:
description: Last update time.
type: string
utilization:
description: Volatile GPU utilization. Shows a percentage
gathered from `nvidia-smi` command.
dcgmEndpoint:
description: DCGM endpoint.
type: string
devices:
additionalProperties:
properties:
device:
description: GPU device name.
type: string
model:
description: GPU device model.
type: string
uuid:
description: GPU device UUID.
type: string
type: object
description: Available GPU devices.
type: object
metrics:
description: GPU device metrics from DCGM exporter.
properties:
fbMemoryFree:
additionalProperties:
type: string
description: Framebuffer memory free (in MiB).
type: object
fbMemoryUsed:
additionalProperties:
type: string
description: Framebuffer memory used (in MiB).
type: object
gpuUtil:
additionalProperties:
type: string
description: GPU utilization (in %).
type: object
memoryUtil:
additionalProperties:
type: string
description: Memory utilization (in %).
type: object
powerUsage:
additionalProperties:
type: string
description: Power draw (in W).
type: object
temp:
additionalProperties:
type: string
description: GPU temperature (in C).
type: object
type: object
type: object
gpuInstanceUsage:
additionalProperties:
Expand All @@ -308,9 +352,6 @@ spec:
type: object
description: GPU virtual cores.
type: object
gpuModel:
description: GPU model
type: string
network:
description: Network usage information.
properties:
Expand Down
42 changes: 28 additions & 14 deletions crds/base/robot.roboscale.io_robots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -950,10 +950,12 @@ spec:
description: Status of remote Cloud IDE RelayServer. Created
only if the instance type is Physical Instance.
properties:
connection:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: string
type: object
resource:
description: Generic status for any owned resource.
properties:
Expand Down Expand Up @@ -1016,10 +1018,12 @@ spec:
robotIDEStatus:
description: Status of RobotIDE.
properties:
connection:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: string
type: object
resource:
description: Generic status for any owned resource.
properties:
Expand Down Expand Up @@ -1082,10 +1086,12 @@ spec:
robotVDIStatus:
description: Status of RobotVDI.
properties:
connection:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: string
type: object
resource:
description: Generic status for any owned resource.
properties:
Expand Down Expand Up @@ -1962,10 +1968,12 @@ spec:
description: Status of remote Cloud IDE RelayServer. Created
only if the instance type is Physical Instance.
properties:
connection:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: string
type: object
resource:
description: Generic status for any owned resource.
properties:
Expand Down Expand Up @@ -2027,10 +2035,12 @@ spec:
robotIDEStatus:
description: Status of RobotIDE.
properties:
connection:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: string
type: object
resource:
description: Generic status for any owned resource.
properties:
Expand Down Expand Up @@ -2092,10 +2102,12 @@ spec:
robotVDIStatus:
description: Status of RobotVDI.
properties:
connection:
connections:
additionalProperties:
type: string
description: Address of the robot service that can be
reached from outside.
type: string
type: object
resource:
description: Generic status for any owned resource.
properties:
Expand Down Expand Up @@ -2383,9 +2395,11 @@ spec:
required:
- created
type: object
url:
urls:
additionalProperties:
type: string
description: Connection URL.
type: string
type: object
type: object
type: object
type: object
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.roboscale.robot</groupId>
<artifactId>robot-fabric8-client</artifactId>
<version>0.1.0-alpha.10</version>
<version>0.1.0-alpha.11</version>
<name>robot-fabric8-client</name>
<url>https://robolaunch.io</url>
<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
package io.roboscale.robot.v1alpha1.metricsexporterstatus;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gpu","gpuInstanceUsage","gpuModel","network","storage"})
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"gpuDeviceStatuses","gpuInstanceUsage","network","storage"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class Usage implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* GPU usage information. Will be deprecated after implementing checks for each GPU instance.
* GPU device information.
*/
@com.fasterxml.jackson.annotation.JsonProperty("gpu")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("GPU usage information. Will be deprecated after implementing checks for each GPU instance.")
@com.fasterxml.jackson.annotation.JsonProperty("gpuDeviceStatuses")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("GPU device information.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.Gpu gpu;
private io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.GpuDeviceStatuses gpuDeviceStatuses;

public io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.Gpu getGpu() {
return gpu;
public io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.GpuDeviceStatuses getGpuDeviceStatuses() {
return gpuDeviceStatuses;
}

public void setGpu(io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.Gpu gpu) {
this.gpu = gpu;
public void setGpuDeviceStatuses(io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.GpuDeviceStatuses gpuDeviceStatuses) {
this.gpuDeviceStatuses = gpuDeviceStatuses;
}

/**
Expand All @@ -38,22 +38,6 @@ public void setGpuInstanceUsage(java.util.Map<java.lang.String, io.roboscale.rob
this.gpuInstanceUsage = gpuInstanceUsage;
}

/**
* GPU model
*/
@com.fasterxml.jackson.annotation.JsonProperty("gpuModel")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("GPU model")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String gpuModel;

public String getGpuModel() {
return gpuModel;
}

public void setGpuModel(String gpuModel) {
this.gpuModel = gpuModel;
}

/**
* Network usage information.
*/
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package io.roboscale.robot.v1alpha1.metricsexporterstatus.usage;

@com.fasterxml.jackson.annotation.JsonInclude(com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL)
@com.fasterxml.jackson.annotation.JsonPropertyOrder({"dcgmEndpoint","devices","metrics"})
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@javax.annotation.processing.Generated("io.fabric8.java.generator.CRGeneratorRunner")
public class GpuDeviceStatuses implements io.fabric8.kubernetes.api.model.KubernetesResource {

/**
* DCGM endpoint.
*/
@com.fasterxml.jackson.annotation.JsonProperty("dcgmEndpoint")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("DCGM endpoint.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private String dcgmEndpoint;

public String getDcgmEndpoint() {
return dcgmEndpoint;
}

public void setDcgmEndpoint(String dcgmEndpoint) {
this.dcgmEndpoint = dcgmEndpoint;
}

/**
* Available GPU devices.
*/
@com.fasterxml.jackson.annotation.JsonProperty("devices")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("Available GPU devices.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private java.util.Map<java.lang.String, io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.gpudevicestatuses.Devices> devices;

public java.util.Map<java.lang.String, io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.gpudevicestatuses.Devices> getDevices() {
return devices;
}

public void setDevices(java.util.Map<java.lang.String, io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.gpudevicestatuses.Devices> devices) {
this.devices = devices;
}

/**
* GPU device metrics from DCGM exporter.
*/
@com.fasterxml.jackson.annotation.JsonProperty("metrics")
@com.fasterxml.jackson.annotation.JsonPropertyDescription("GPU device metrics from DCGM exporter.")
@com.fasterxml.jackson.annotation.JsonSetter(nulls = com.fasterxml.jackson.annotation.Nulls.SKIP)
private io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.gpudevicestatuses.Metrics metrics;

public io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.gpudevicestatuses.Metrics getMetrics() {
return metrics;
}

public void setMetrics(io.roboscale.robot.v1alpha1.metricsexporterstatus.usage.gpudevicestatuses.Metrics metrics) {
this.metrics = metrics;
}
}

Loading

0 comments on commit a3ed145

Please sign in to comment.