- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for dra (0.03 sec)
-
pkg/kubelet/cm/dra/plugin/plugin.go
"k8s.io/client-go/kubernetes" "k8s.io/klog/v2" ) const ( // DRAPluginName is the name of the in-tree DRA Plugin. DRAPluginName = "kubernetes.io/dra" v1alpha3Version = "v1alpha3" ) // Plugin is a description of a DRA Plugin, defined by an endpoint. type plugin struct { sync.Mutex conn *grpc.ClientConn endpoint string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 16:27:05 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/kubelet/cm/dra/types.go
See the License for the specific language governing permissions and limitations under the License. */ package dra import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/kubernetes/pkg/kubelet/config" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" ) // Manager manages all the DRA resource plugins running on a node. type Manager interface { // Start starts the reconcile loop of the manager.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/plugins_store.go
import ( "sync" "k8s.io/klog/v2" ) // PluginsStore holds a list of DRA Plugins. type pluginsStore struct { sync.RWMutex store map[string]*plugin } // draPlugins map keeps track of all registered DRA plugins on the node // and their corresponding sockets. var draPlugins = &pluginsStore{} // Get lets you retrieve a DRA Plugin by name. // This method is protected by a mutex.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 13:11:27 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager.go
"k8s.io/dynamic-resource-allocation/resourceclaim" "k8s.io/klog/v2" drapb "k8s.io/kubelet/pkg/apis/dra/v1alpha3" dra "k8s.io/kubernetes/pkg/kubelet/cm/dra/plugin" "k8s.io/kubernetes/pkg/kubelet/config" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" ) // draManagerStateFileName is the file name where dra manager stores its state const draManagerStateFileName = "dra_manager_state"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/client.go
limitations under the License. */ package plugin import ( "context" "fmt" "time" "google.golang.org/grpc" "k8s.io/klog/v2" drapb "k8s.io/kubelet/pkg/apis/dra/v1alpha3" ) const PluginClientTimeout = 45 * time.Second func NewDRAPluginClient(pluginName string) (drapb.NodeClient, error) { if pluginName == "" { return nil, fmt.Errorf("plugin name is empty") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 16:27:05 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo.go
See the License for the specific language governing permissions and limitations under the License. */ package dra import ( "fmt" "sync" resourcev1alpha2 "k8s.io/api/resource/v1alpha2" "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/kubernetes/pkg/kubelet/cm/dra/state" "k8s.io/kubernetes/pkg/kubelet/cm/util/cdi" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/cm/dra/state/state_checkpoint.go
GetOrCreate() (ClaimInfoStateList, error) Store(ClaimInfoStateList) error } // ClaimInfoState is used to store claim info state in a checkpoint // +k8s:deepcopy-gen=true type ClaimInfoState struct { // Name of the DRA driver DriverName string // ClassName is a resource class of the claim ClassName string // ClaimUID is an UID of the resource claim ClaimUID types.UID // ClaimName is a name of the resource claim
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:27 UTC 2024 - 4.3K bytes - Viewed (0) -
pkg/kubelet/cm/dra/zz_generated.deepcopy.go
See the License for the specific language governing permissions and limitations under the License. */ // Code generated by deepcopy-gen. DO NOT EDIT. package dra import ( container "k8s.io/kubernetes/pkg/kubelet/container" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:27 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/kubelet/cm/dra/manager_test.go
"k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/kubernetes/fake" "k8s.io/dynamic-resource-allocation/resourceclaim" drapbv1 "k8s.io/kubelet/pkg/apis/dra/v1alpha3" "k8s.io/kubernetes/pkg/kubelet/cm/dra/plugin" "k8s.io/kubernetes/pkg/kubelet/cm/dra/state" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" ) const ( driverName = "test-cdi-device" driverClassName = "test" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:29 UTC 2024 - 42K bytes - Viewed (0) -
hack/logcheck.conf
contextual k8s.io/kubernetes/cmd/kube-proxy/.* contextual k8s.io/kubernetes/cmd/kube-scheduler/.* contextual k8s.io/kubernetes/pkg/controller/.* contextual k8s.io/kubernetes/pkg/scheduler/.* contextual k8s.io/kubernetes/test/e2e/dra/.* # As long as contextual logging is alpha or beta, all WithName, WithValues, # NewContext calls have to go through klog. Once it is GA, we can lift # this restriction. Whether we then do a global search/replace remains
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 12:10:09 UTC 2024 - 2.3K bytes - Viewed (0)