Get "Customizations contain arguments that are not supported" error when creating TKGI kubernetes profile
search cancel

Get "Customizations contain arguments that are not supported" error when creating TKGI kubernetes profile

book

Article ID: 401637

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

When creating TKGI kubernetes profile `tkgi create-kubernetes-profile my-profile.json` with profile content: 

{
  "name": "my-profile",
  "description": "My Profile",
  "customizations": [
    {
      "component": "kube-apiserver",
      "arguments": {
      },
      "file-arguments": {
        "audit-policy-file": "/tmp/custom-audit-policy.yml"
      }
    }
  ]
}

it fails with output

Error: Customizations contain arguments that are not supported.

 

Cause

Though the specified argument is valid Kubernetes process argument, it is not supported by TKGI API.

Resolution

Please use supported arguments, you will find the supported arguments at TKGI Kubernetes Profile Use Cases