nodeselectorresources

package
v0.0.0-...-1e16d9c Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package nodeselectorresources contains the logic for the node-label-resource-plugin.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServeGRPCServer

func ListenAndServeGRPCServer(port int, nodeLabels map[string]string, clientset *kubernetes.Clientset) error

ListenAndServeGRPCServer creates the gRPC server and makes it listen on the given port.

Types

type NodeDetails

type NodeDetails struct {
	Schedulable bool
	Allocatable corev1.ResourceList
	Pods        map[string]corev1.ResourceList
}

NodeDetails stores details of the Node.

Jump to

Keyboard shortcuts

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