mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
Changes to accommodate client-go changes and kube vendor update
to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
4c96ad3c85
commit
34fc1d847e
1179
vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go
generated
vendored
1179
vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go
generated
vendored
File diff suppressed because it is too large
Load Diff
26
vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto
generated
vendored
26
vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto
generated
vendored
@ -216,6 +216,13 @@ enum NamespaceMode {
|
||||
// For example, a container with a PID namespace of NODE expects to view
|
||||
// all of the processes on the host running the kubelet.
|
||||
NODE = 2;
|
||||
// TARGET targets the namespace of another container. When this is specified,
|
||||
// a target_id must be specified in NamespaceOption and refer to a container
|
||||
// previously created with NamespaceMode CONTAINER. This containers namespace
|
||||
// will be made to match that of container target_id.
|
||||
// For example, a container with a PID namespace of TARGET expects to view
|
||||
// all of the processes that container target_id can view.
|
||||
TARGET = 3;
|
||||
}
|
||||
|
||||
// NamespaceOption provides options for Linux namespaces.
|
||||
@ -227,12 +234,16 @@ message NamespaceOption {
|
||||
// PID namespace for this container/sandbox.
|
||||
// Note: The CRI default is POD, but the v1.PodSpec default is CONTAINER.
|
||||
// The kubelet's runtime manager will set this to CONTAINER explicitly for v1 pods.
|
||||
// Namespaces currently set by the kubelet: POD, CONTAINER, NODE
|
||||
// Namespaces currently set by the kubelet: POD, CONTAINER, NODE, TARGET
|
||||
NamespaceMode pid = 2;
|
||||
// IPC namespace for this container/sandbox.
|
||||
// Note: There is currently no way to set CONTAINER scoped IPC in the Kubernetes API.
|
||||
// Namespaces currently set by the kubelet: POD, NODE
|
||||
NamespaceMode ipc = 3;
|
||||
// Target Container ID for NamespaceMode of TARGET. This container must have been
|
||||
// previously created in the same pod. It is not possible to specify different targets
|
||||
// for each namespace.
|
||||
string target_id = 4;
|
||||
}
|
||||
|
||||
// Int64Value is the wrapper of int64.
|
||||
@ -543,6 +554,19 @@ message LinuxContainerResources {
|
||||
string cpuset_cpus = 6;
|
||||
// CpusetMems constrains the allowed set of memory nodes. Default: "" (not specified).
|
||||
string cpuset_mems = 7;
|
||||
// List of HugepageLimits to limit the HugeTLB usage of container per page size. Default: nil (not specified).
|
||||
repeated HugepageLimit hugepage_limits = 8;
|
||||
}
|
||||
|
||||
// HugepageLimit corresponds to the file`hugetlb.<hugepagesize>.limit_in_byte` in container level cgroup.
|
||||
// For example, `PageSize=1GB`, `Limit=1073741824` means setting `1073741824` bytes to hugetlb.1GB.limit_in_bytes.
|
||||
message HugepageLimit {
|
||||
// The value of PageSize has the format <size><unit-prefix>B (2MB, 1GB),
|
||||
// and must match the <hugepagesize> of the corresponding control file found in `hugetlb.<hugepagesize>.limit_in_bytes`.
|
||||
// The values of <unit-prefix> are intended to be parsed using base 1024("1KB" = 1024, "1MB" = 1048576, etc).
|
||||
string page_size = 1;
|
||||
// limit in bytes of hugepagesize HugeTLB usage.
|
||||
uint64 limit = 2;
|
||||
}
|
||||
|
||||
// SELinuxOption are the labels to be applied to the container.
|
||||
|
Reference in New Issue
Block a user