mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
rebase: update kubernetes to 1.28.0 in main
updating kubernetes to 1.28.0 in the main repo. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
b2fdc269c3
commit
ff3e84ad67
22
vendor/k8s.io/kubelet/pkg/apis/stats/v1alpha1/types.go
generated
vendored
22
vendor/k8s.io/kubelet/pkg/apis/stats/v1alpha1/types.go
generated
vendored
@ -59,6 +59,9 @@ type NodeStats struct {
|
||||
// Stats about the rlimit of system.
|
||||
// +optional
|
||||
Rlimit *RlimitStats `json:"rlimit,omitempty"`
|
||||
// Stats pertaining to swap resources. This is reported to non-windows systems only.
|
||||
// +optional
|
||||
Swap *SwapStats `json:"swap,omitempty"`
|
||||
}
|
||||
|
||||
// RlimitStats are stats rlimit of OS.
|
||||
@ -131,6 +134,9 @@ type PodStats struct {
|
||||
// ProcessStats pertaining to processes.
|
||||
// +optional
|
||||
ProcessStats *ProcessStats `json:"process_stats,omitempty"`
|
||||
// Stats pertaining to swap resources. This is reported to non-windows systems only.
|
||||
// +optional
|
||||
Swap *SwapStats `json:"swap,omitempty"`
|
||||
}
|
||||
|
||||
// ContainerStats holds container-level unprocessed sample stats.
|
||||
@ -159,6 +165,9 @@ type ContainerStats struct {
|
||||
// +patchMergeKey=name
|
||||
// +patchStrategy=merge
|
||||
UserDefinedMetrics []UserDefinedMetric `json:"userDefinedMetrics,omitempty" patchStrategy:"merge" patchMergeKey:"name"`
|
||||
// Stats pertaining to swap resources. This is reported to non-windows systems only.
|
||||
// +optional
|
||||
Swap *SwapStats `json:"swap,omitempty"`
|
||||
}
|
||||
|
||||
// PodReference contains enough information to locate the referenced pod.
|
||||
@ -237,6 +246,19 @@ type MemoryStats struct {
|
||||
MajorPageFaults *uint64 `json:"majorPageFaults,omitempty"`
|
||||
}
|
||||
|
||||
// SwapStats contains data about memory usage
|
||||
type SwapStats struct {
|
||||
// The time at which these stats were updated.
|
||||
Time metav1.Time `json:"time"`
|
||||
// Available swap memory for use. This is defined as the <swap-limit> - <current-swap-usage>.
|
||||
// If swap limit is undefined, this value is omitted.
|
||||
// +optional
|
||||
SwapAvailableBytes *uint64 `json:"swapAvailableBytes,omitempty"`
|
||||
// Total swap memory in use.
|
||||
// +optional
|
||||
SwapUsageBytes *uint64 `json:"swapUsageBytes,omitempty"`
|
||||
}
|
||||
|
||||
// AcceleratorStats contains stats for accelerators attached to the container.
|
||||
type AcceleratorStats struct {
|
||||
// Make of the accelerator (nvidia, amd, google etc.)
|
||||
|
Reference in New Issue
Block a user