From 9a1666b9eeb950bb93bbdc197ddd17557adcdd50 Mon Sep 17 00:00:00 2001 From: Todd Neal Date: Tue, 21 Jun 2022 14:17:49 -0500 Subject: [PATCH] update docs (#1962) --- hack/docs/instancetypes_gen_docs.go | 12 ++++++++---- website/content/en/preview/tasks/configuration.md | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/hack/docs/instancetypes_gen_docs.go b/hack/docs/instancetypes_gen_docs.go index 297a562e81e0..919e4cc80266 100644 --- a/hack/docs/instancetypes_gen_docs.go +++ b/hack/docs/instancetypes_gen_docs.go @@ -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) } diff --git a/website/content/en/preview/tasks/configuration.md b/website/content/en/preview/tasks/configuration.md index b7a4f2947471..a4ffc2cca187 100644 --- a/website/content/en/preview/tasks/configuration.md +++ b/website/content/en/preview/tasks/configuration.md @@ -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 |