This document describes the two versions of configuration files use in Google Distributed Cloud.
In Google Distributed Cloud version 1.4, the configuration files changed substantially. The new files are called v1 configuration files. The configuration files that were used in Google Distributed Cloud versions earlier than 1.4 are called v0 configuration files.
As of version 1.7 of Google Distributed Cloud, the v0 configuration files are no longer supported.
Converting configuration files
To convert a v0 configuration file to a v1 admin cluster configuration file:
gkectl create-config admin --from [OLD_CONFIG_PATH] --config [OUTPUT_PATH]
where:
[OLD_CONFIG_PATH] is the path of your v0 configuration file.
[OUTPUT_PATH] is a path of your choice for the generated v1 admin cluster configuration file. If you omit this flag,
gkectl
names the fileadmin-cluster.yaml
and puts it in the current directory.
To convert a v0 configuration file to a v1 user cluster configuration file:
gkectl create-config cluster --from [OLD_CONFIG_PATH] --config [OUTPUT_PATH]
[OLD_CONFIG_PATH] is the path of your v0 configuration file.
[OUTPUT_PATH] is a path of your choice for the generated v1 user cluster configuration file. If you omit this flag,
gkectl
names the fileuser-cluster.yaml
and puts it in the current directory.