From f2997ecb07a409bd5145635f978fe881ef45ebf8 Mon Sep 17 00:00:00 2001 From: Saurabh Parekh Date: Tue, 19 Mar 2024 15:21:47 -0700 Subject: [PATCH] Add apiServerExtraArgs as optional configuration to docs --- .../optional/api-server-extra-args.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docs/content/en/docs/getting-started/optional/api-server-extra-args.md diff --git a/docs/content/en/docs/getting-started/optional/api-server-extra-args.md b/docs/content/en/docs/getting-started/optional/api-server-extra-args.md new file mode 100644 index 0000000000000..129d2e920d33e --- /dev/null +++ b/docs/content/en/docs/getting-started/optional/api-server-extra-args.md @@ -0,0 +1,36 @@ +--- +title: "API Server Extra Args" +linkTitle: "API Server Extra Args" +weight: 10 +aliases: + /docs/reference/clusterspec/optional/etcd/ +description: > + EKS Anywhere cluster yaml specification API Server Extra Args reference +--- + +## API Server Extra Args support (optional) + +#### Provider support details +| | vSphere | Bare Metal | Nutanix | CloudStack | Snow | +|:--------------:|:-------:|:----------:|:-------:|:----------:|:----:| +| **Supported?** | ✓ | ✓ | ✓ | ✓ | ✓ | + +In order to configure a cluster with api server extra args, you need to configure your cluster by updating the cluster configuration file to include the details below. The feature flag `API_SERVER_EXTRA_ARGS_ENABLED=true` needs to be set. + +This is a generic template with some example api server extra args configuration below for reference: +```yaml +apiVersion: anywhere.eks.amazonaws.com/v1alpha1 +kind: Cluster +metadata: + name: my-cluster-name +spec: + ... + controlPlaneConfiguration: + apiServerExtraArgs: + ... + service-account-issuer: "https://issuer-url" + service-account-jwks-uri: "https://issuer-url/openid/v1/jwks" +``` + +### controlPlaneConfiguration.apiServerExtraArgs (required) +A list of [flags](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/#options) to configure for the api server. \ No newline at end of file