Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
controller
command
|
|
|
pkg
|
|
|
apis
Package apis contains Kubernetes API groups.
|
Package apis contains Kubernetes API groups. |
|
apis/v1alpha1
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=karpenter.k8s.upcloud
|
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=karpenter.k8s.upcloud |
|
cloudprovider
Package cloudprovider implements sigs.k8s.io/karpenter's CloudProvider interface for UpCloud.
|
Package cloudprovider implements sigs.k8s.io/karpenter's CloudProvider interface for UpCloud. |
|
controllers
Package controllers assembles the UpCloud-specific controllers that run alongside Karpenter core.
|
Package controllers assembles the UpCloud-specific controllers that run alongside Karpenter core. |
|
controllers/nodeclaim/garbagecollection
Package garbagecollection terminates UpCloud servers that no longer have a NodeClaim backing them.
|
Package garbagecollection terminates UpCloud servers that no longer have a NodeClaim backing them. |
|
controllers/nodeclaim/labeling
Package labeling reconciles the UpCloud labels on running servers with the labels their NodeClass currently asks for, so that label-only changes do not require replacing nodes.
|
Package labeling reconciles the UpCloud labels on running servers with the labels their NodeClass currently asks for, so that label-only changes do not require replacing nodes. |
|
controllers/nodeclass
Package nodeclass reconciles UpCloudNodeClasses against the UpCloud API, resolving the zones and storage template a NodeClass names and reporting readiness.
|
Package nodeclass reconciles UpCloudNodeClasses against the UpCloud API, resolving the zones and storage template a NodeClass names and reporting readiness. |
|
controllers/nodeclass/hash
Package hash keeps the UpCloudNodeClass hash annotation current, which is what drift detection compares NodeClaims against.
|
Package hash keeps the UpCloudNodeClass hash annotation current, which is what drift detection compares NodeClaims against. |
|
controllers/nodeclass/termination
Package termination holds an UpCloudNodeClass open until the NodeClaims launched from it are gone.
|
Package termination holds an UpCloudNodeClass open until the NodeClaims launched from it are gone. |
|
controllers/providers/instancetype
Package instancetype periodically refreshes UpCloud's server plan catalog.
|
Package instancetype periodically refreshes UpCloud's server plan catalog. |
|
controllers/providers/pricing
Package pricing periodically refreshes UpCloud's price list.
|
Package pricing periodically refreshes UpCloud's price list. |
|
fake
Package fake provides an in-memory UpCloud API for tests.
|
Package fake provides an in-memory UpCloud API for tests. |
|
operator
Package operator wires the UpCloud providers together and hands them to the Karpenter operator.
|
Package operator wires the UpCloud providers together and hands them to the Karpenter operator. |
|
providers/instance
Package instance launches, inspects and terminates UpCloud cloud servers on behalf of NodeClaims.
|
Package instance launches, inspects and terminates UpCloud cloud servers on behalf of NodeClaims. |
|
providers/instancetype
Package instancetype maps UpCloud server plans onto Karpenter instance types.
|
Package instancetype maps UpCloud server plans onto Karpenter instance types. |
|
providers/instancetype/offering
Package offering attaches per-zone availability and price to instance types.
|
Package offering attaches per-zone availability and price to instance types. |
|
providers/pricing
Package pricing turns UpCloud's /price response into the per-hour prices Karpenter uses to rank offerings and to compute consolidation savings.
|
Package pricing turns UpCloud's /price response into the per-hour prices Karpenter uses to rank offerings and to compute consolidation savings. |
|
providers/userdata
Package userdata renders a NodeClass's userData with the values that are only known once Karpenter has chosen a plan and a zone for a particular NodeClaim.
|
Package userdata renders a NodeClass's userData with the values that are only known once Karpenter has chosen a plan and a zone for a particular NodeClaim. |
|
upcloud
Package sdk narrows the UpCloud Go SDK down to the calls this provider makes, so that the rest of the code depends on an interface that can be faked in tests.
|
Package sdk narrows the UpCloud Go SDK down to the calls this provider makes, so that the rest of the code depends on an interface that can be faked in tests. |
Click to show internal directories.
Click to hide internal directories.