MCPcopy
hub / github.com/aws/karpenter-provider-aws

github.com/aws/karpenter-provider-aws @v1.13.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.13.0 ↗
1,844 symbols 7,420 edges 282 files 380 documented · 21%
README

CI GitHub stars GitHub forks GitHub License Go Report Card Coverage Status contributions welcome

Karpenter is an open-source node provisioning project built for Kubernetes. Karpenter improves the efficiency and cost of running workloads on Kubernetes clusters by:

  • Watching for pods that the Kubernetes scheduler has marked as unschedulable
  • Evaluating scheduling constraints (resource requests, nodeselectors, affinities, tolerations, and topology spread constraints) requested by the pods
  • Provisioning nodes that meet the requirements of the pods
  • Removing the nodes when the nodes are no longer needed

Come discuss Karpenter in the #karpenter channel, in the Kubernetes slack or join the Karpenter working group bi-weekly calls. If you want to contribute to the Karpenter project, please refer to the Karpenter docs.

Check out the Docs to learn more.

Talks

Extension points exported contracts — how you extend this code

Type (Interface)
Type is a resource type that can be cleaned through a cluster clean-up operation and through an expiration-based cleanup [10 …
test/hack/resource/pkg/resourcetypes/resourcetypes.go
Bootstrapper (Interface)
Bootstrapper can be implemented to generate a bootstrap script that uses the params from the Bootstrap type for a specif [5 …
pkg/providers/amifamily/bootstrap/bootstrap.go
Parser (Interface)
(no doc) [5 implementers]
pkg/controllers/interruption/messages/types.go
RateLimiterProvider (Interface)
(no doc) [4 implementers]
kwok/ec2/ratelimiting.go
BatchExecutor (FuncType)
BatchExecutor is a function that executes a slice of inputs against the batched API. inputs will be mutated The returned
pkg/batcher/batcher.go
Strategy (Interface)
(no doc) [1 implementers]
kwok/strategy/strategy.go
EC2API (Interface)
(no doc) [1 implementers]
pkg/aws/sdk.go
AtomicErrorOption (FuncType)
(no doc)
pkg/fake/atomic.go

Core symbols most depended-on inside this repo

String
called by 1221
test/hack/resource/pkg/resourcetypes/resourcetypes.go
Get
called by 284
pkg/providers/ssm/provider.go
Create
called by 230
pkg/providers/instance/instance.go
Set
called by 200
pkg/fake/atomic.go
ExpectCreated
called by 200
test/pkg/environment/common/expectations.go
List
called by 169
pkg/providers/instance/instance.go
StatusConditions
called by 153
pkg/apis/v1/ec2nodeclass_status.go
Add
called by 122
pkg/batcher/batcher.go

Shape

Method 962
Function 546
Struct 267
Interface 44
TypeAlias 20
FuncType 5

Languages

Go100%
TypeScript1%

Modules by API surface

test/pkg/environment/common/expectations.go79 symbols
test/pkg/environment/aws/expectations.go48 symbols
pkg/apis/v1/zz_generated.deepcopy.go46 symbols
pkg/aws/sdk.go42 symbols
pkg/apis/v1/ec2nodeclass.go35 symbols
kwok/ec2/ratelimiting.go33 symbols
pkg/providers/instancetype/types.go32 symbols
pkg/providers/instance/filter/filter.go31 symbols
pkg/providers/instancetype/instancetype.go29 symbols
pkg/providers/instance/instance.go29 symbols
pkg/providers/pricing/pricing.go27 symbols
pkg/providers/amifamily/resolver.go25 symbols

Dependencies from manifests, versioned

github.com/Masterminds/semver/v3v3.4.0 · 1×
github.com/Pallinder/go-randomdatav1.2.0 · 1×
github.com/andybalholm/cascadiav1.3.3 · 1×
github.com/avast/retry-gov3.0.0+incompatible · 1×
github.com/aws/amazon-vpc-resource-controller-k8sv1.7.20 · 1×
github.com/aws/aws-sdk-go-v2v1.41.12 · 1×
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstreamv1.7.8 · 1×
github.com/aws/aws-sdk-go-v2/configv1.32.23 · 1×
github.com/aws/aws-sdk-go-v2/credentialsv1.19.22 · 1×
github.com/aws/aws-sdk-go-v2/feature/ec2/imdsv1.18.28 · 1×
github.com/aws/aws-sdk-go-v2/internal/configsourcesv1.4.28 · 1×

For agents

$ claude mcp add karpenter-provider-aws \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact