kubectl gs

  • Added

    • Add clusterresourcesets and clusterresourcesetbindings CRDs to the information about Cluster API CRDs and controllers.

    Removed

    • Removed the --num-availability-zones flag from the kubectl-gs template commands. The --availability-zones flag should be used to specify a list of availability zones.

    Changed

    • Build release binaries using go 1.16. Kubectl-gs is now available for Linux and Darwin ARM64 machines including Apple M1 Macs.
    • Upgrade dependency github.com/giantswarm/app to 4.9.0
    • Fetch installation information using a new service, instead of relying on the Giant Swarm REST API.
  • Changed

    • Disallow provided cluster IDs from starting with a digit.
  • Added

    • Add support for showing information about Cluster API CRDs and controllers.

    Changed

    • Switch to a PKCE authentication flow.

    Fixed

    • If the CLI quits with an error, display the error via the default OS error stream.
  • Changed

    • Allow having node pools with the scaling set to 0.
  • Changed

    • The MachinePool CRs now hold a reference to the Spark CR in their spec.template.spec.bootstrap.configRef field.
    • Add missing fields when templating AzureMachine and AzureCluster, in order to pass CAPZ validation.
  • Changed

    • Make the login command validate the current context before considering it good to go.
    • Re-enabled the --pods-cidr flag in the template cluster command.
    • Return the Cluster API Cluster resource when using the get clusters command with YAML/JSON output.
  • Added

    • Add support for getting nodepools.

    Removed

    • Remove the mention of the unexistent ‘create cluster’ command.
  • Added

    • Add support for node pool autoscaling on Azure.
  • This releases removes the default value for the --provider flag in the template cluster and template nodepool commands.

    WARNING: BREAKING CHANGE

    This is a breaking change as the default behaviour is changed. Please ensure you always specify the provider flag such as --provider=aws or --provider=azure.

  • Changed

    • Allow for empty --release flag in AWS since it is defaulted in the admission controller.
    • Allow for empty --master-az flag in AWS since it is defaulted in the admission controller.
    • Allow for empty --name flag in AWS since it is defaulted in the admission controller.

    Removed

    • Removed the --domain flag since it is managed by admission controller.
    • Removed defaulting of the --provider flag for template cluster and template nodepool commands.