
Previous changes enabled the auto-versioning of helm charts to ensure FluxCD helm controller recognizes chart changes. As a result of this refactor, the package name `stx-kubernetes-power-manager-helm` became outdated. This commit updates its name to `stx-kubernetes-power-manager`. It also improves chart versioning based on the Debian environment. Story: 2010929 Task: 49969 Test Plan: PASS: Build all packages generating an application tarball and check whether the charts' versions are correct. PASS: Validate basic application lifecycle operations: upload/apply/remove/delete. Author: Guilherme Santos <guilherme.santos@windriver.com> Change-Id: I82d3ce1ead5a4215268593b4cc9037b3e96074d7 Signed-off-by: Guilherme Santos <guilherme.santos@windriver.com>
104 lines
4.2 KiB
YAML
104 lines
4.2 KiB
YAML
spec:
|
|
versions:
|
|
- name: v1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: PowerWorkload is the Schema for the powerworkloads API
|
|
properties:
|
|
apiVersion:
|
|
description: 'APIVersion defines the versioned schema of this representation
|
|
of an object. Servers should convert recognized schemas to the latest
|
|
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
|
type: string
|
|
kind:
|
|
description: 'Kind is a string value representing the REST resource this
|
|
object represents. Servers may infer this from the endpoint the client
|
|
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
description: PowerWorkloadSpec defines the desired state of PowerWorkload
|
|
properties:
|
|
allCores:
|
|
description: AllCores determines if the Workload is to be applied
|
|
to all cores (i.e. use the Default Workload)
|
|
type: boolean
|
|
name:
|
|
description: The name of the workload
|
|
type: string
|
|
powerNodeSelector:
|
|
additionalProperties:
|
|
type: string
|
|
description: The labels signifying the nodes the user wants to use
|
|
type: object
|
|
powerProfile:
|
|
description: PowerProfile is the Profile that this PowerWorkload is
|
|
based on
|
|
type: string
|
|
reservedCPUs:
|
|
description: Reserved CPUs are the CPUs that have been reserved by
|
|
Kubelet for use by the Kubernetes admin process This list must match
|
|
the list in the user's Kubelet configuration
|
|
items:
|
|
properties:
|
|
cores:
|
|
items:
|
|
type: integer
|
|
type: array
|
|
powerProfile:
|
|
type: string
|
|
required:
|
|
- cores
|
|
type: object
|
|
type: array
|
|
workloadNodes:
|
|
properties:
|
|
containers:
|
|
items:
|
|
properties:
|
|
exclusiveCpus:
|
|
description: The exclusive CPUs given to this Container
|
|
items:
|
|
type: integer
|
|
type: array
|
|
id:
|
|
description: The ID of the Container
|
|
type: string
|
|
name:
|
|
description: The name of the Container
|
|
type: string
|
|
pod:
|
|
description: The name of the Pod the Container is running
|
|
on
|
|
type: string
|
|
powerProfile:
|
|
description: The PowerProfile that the Container is utilizing
|
|
type: string
|
|
workload:
|
|
description: The PowerWorkload that the Container is utilizing
|
|
type: string
|
|
type: object
|
|
type: array
|
|
cpuIds:
|
|
items:
|
|
type: integer
|
|
type: array
|
|
name:
|
|
type: string
|
|
type: object
|
|
required:
|
|
- name
|
|
type: object
|
|
status:
|
|
description: PowerWorkloadStatus defines the observed state of PowerWorkload
|
|
properties:
|
|
'node:':
|
|
description: The Node that this Shared PowerWorkload is associated
|
|
with
|
|
type: string
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|