Skip to content

Commit

Permalink
update docs (#1962)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzneal committed Jun 21, 2022
1 parent a37422b commit 9a1666b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 8 additions & 4 deletions hack/docs/instancetypes_gen_docs.go
Expand Up @@ -49,10 +49,14 @@ func main() {
if err := enc.Encode(provider); err != nil {
log.Fatalf("encoding provider, %s", err)
}
instanceTypes, err := cp.GetInstanceTypes(ctx, &v1alpha5.Provider{
Raw: buf.Bytes(),
Object: nil,
})
prov := &v1alpha5.Provisioner{
Spec: v1alpha5.ProvisionerSpec{
Provider: &v1alpha5.Provider{
Raw: buf.Bytes(),
},
},
}
instanceTypes, err := cp.GetInstanceTypes(ctx, prov)
if err != nil {
log.Fatalf("listing instance types, %s", err)
}
Expand Down
1 change: 1 addition & 0 deletions website/content/en/preview/tasks/configuration.md
Expand Up @@ -20,6 +20,7 @@ There are two main configuration mechanisms that can be used to configure Karpen
| AWS_NODE_NAME_CONVENTION | \-\-aws-node-name-convention | The node naming convention used by the AWS cloud provider. DEPRECATION WARNING: this field may be deprecated at any time |
| CLUSTER_ENDPOINT | \-\-cluster-endpoint | The external kubernetes cluster endpoint for new nodes to connect with |
| CLUSTER_NAME | \-\-cluster-name | The kubernetes cluster name for resource discovery |
| ENABLE_PROFILING | \-\-enable-profiling | Enable the profiling on the metric endpoint |
| HEALTH_PROBE_PORT | \-\-health-probe-port | The port the health probe endpoint binds to for reporting controller health |
| KUBE_CLIENT_BURST | \-\-kube-client-burst | The maximum allowed burst of queries to the kube-apiserver |
| KUBE_CLIENT_QPS | \-\-kube-client-qps | The smoothed rate of qps to kube-apiserver |
Expand Down

0 comments on commit 9a1666b

Please sign in to comment.