Error: [x] : unknown command “package\u00a0install ... for “vcf” when installing Cluster Autoscaler
search cancel

Error: [x] : unknown command “package\u00a0install ... for “vcf” when installing Cluster Autoscaler

book

Article ID: 419435

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

When following the instructions to install the Kubernetes Cluster Autoscaler at Install Cluster Autoscaler by Using VCF CLI you press the Copy button next to the text:

vcf package install cluster-autoscaler-pkgi -n tkg-system --package cluster-autoscaler.kubernetes.vmware.com --version 1.33.0+vmware.2-vks.1 --values-file values.yaml

paste it into your operating system's terminal and receive the error:

[x] : unknown command "package\u00a0install\u00a0cluster-autoscaler-pkgi" for "vcf"

Cause

When you press the Copy button, the text that is copied erroneously has HTML &nbsp; character entities embedded into the command, which causes the VCF CLI to try to run the subcommand "install<Unicode character for &nbsp>" instead of just "install".

Resolution

Instead of using the Copy button, manually highlight the text below and paste it into your terminal:

vcf package install cluster-autoscaler-pkgi -n tkg-system --package cluster-autoscaler.kubernetes.vmware.com --version 1.33.0+vmware.2-vks.1 --values-file values.yaml