k8sutil

package
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IntelEpc       corev1.ResourceName = "sgx.intel.com/epc"
	IntelEnclave   corev1.ResourceName = "sgx.intel.com/enclave"
	IntelProvision corev1.ResourceName = "sgx.intel.com/provision"
	AzureEpc       corev1.ResourceName = "kubernetes.azure.com/sgx_epc_mem_in_MiB"
	AlibabaEpc     corev1.ResourceName = "alibabacloud.com/sgx_epc_MiB"
)

Resource tags for Kubernetes SGX device plugins.

Variables

This section is empty.

Functions

func GetEPCResourceLimit

func GetEPCResourceLimit(resourceKey string) string

GetEPCResourceLimit returns the amount of EPC to set for k8s deployments depending on the used sgx device plugin.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL