Documentation
¶
Index ¶
Constants ¶
const GroupName = "nodeagent.config.gardener.cloud"
GroupName is the group name used in this package.
Variables ¶
var ( // SchemeBuilder used to register the NodeAgentConfiguration resource. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type NodeAgentConfiguration ¶
type NodeAgentConfiguration struct {
metav1.TypeMeta
// ClientConnection specifies the kubeconfig file and the client connection settings for the proxy server to use
// when communicating with the kube-apiserver of the shoot cluster.
ClientConnection componentbaseconfig.ClientConnectionConfiguration
// LogLevel is the level/severity for the logs. Must be one of [info,debug,error].
LogLevel string
// LogFormat is the output format for the logs. Must be one of [text,json].
LogFormat string
// Server defines the configuration of the HTTP server.
Server ServerConfiguration
// Debugging holds configuration for Debugging related features.
Debugging *componentbaseconfig.DebuggingConfiguration
// FeatureGates is a map of feature names to bools that enable or disable alpha/experimental features. This field
// modifies piecemeal the built-in default values from "github.com/gardener/gardener/pkg/operator/features/features.go".
// Default: nil
FeatureGates map[string]bool
// OperatingSystemConfigSecretName defines the name of the secret in the shoot cluster control plane, which contains
// the Operating System Config (OSC) for the gardener-node-agent.
OperatingSystemConfigSecretName string
// AccessTokenSecretName defines the name of the secret in the shoot cluster control plane, which contains
// the `kube-apiserver` access token for the gardener-node-agent.
AccessTokenSecretName string
// Image is the container image reference to the gardener-node-agent.
Image string
// HyperkubeImage is the container image reference to the hyperkube containing kubelet.
HyperkubeImage string
// KubernetesVersion contains the kubernetes version of the kubelet, used for annotating the corresponding node
// resource with a kubernetes version annotation.
KubernetesVersion *semver.Version
// KubeletDataVolumeSize sets the data volume size of an unformatted disk on the worker node, which is used for
// /var/lib on the worker.
KubeletDataVolumeSize *int64
}
NodeAgentConfiguration defines the configuration for the gardener-node-agent.
func (*NodeAgentConfiguration) DeepCopy ¶
func (in *NodeAgentConfiguration) DeepCopy() *NodeAgentConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAgentConfiguration.
func (*NodeAgentConfiguration) DeepCopyInto ¶
func (in *NodeAgentConfiguration) DeepCopyInto(out *NodeAgentConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeAgentConfiguration) DeepCopyObject ¶
func (in *NodeAgentConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Server ¶
type Server struct {
// BindAddress is the IP address on which to listen for the specified port.
BindAddress string
// Port is the port on which to serve requests.
Port int
}
Server contains information for HTTP(S) server configuration.
func (*Server) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.
func (*Server) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerConfiguration ¶
type ServerConfiguration struct {
// HealthProbes is the configuration for serving the healthz and readyz endpoints.
HealthProbes *Server
// Metrics is the configuration for serving the metrics endpoint.
Metrics *Server
}
ServerConfiguration contains details for the HTTP(S) servers.
func (*ServerConfiguration) DeepCopy ¶
func (in *ServerConfiguration) DeepCopy() *ServerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfiguration.
func (*ServerConfiguration) DeepCopyInto ¶
func (in *ServerConfiguration) DeepCopyInto(out *ServerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.