This release updates output of show
and list
commands to return the API response as defined in the UpCloud Go SDK. See below for detailed list of changes.
In addition, kubernetes create
will now, by default, block all access to the cluster. To be able to connect to the cluster, define list of allowed IP addresses and/or CIDR blocks or allow access from any IP.
Added
- Breaking: Add
--kubernetes-api-allow-ip
argument tokubernetes create
command. This changes default behavior from allow access from any IP to block access from all IPs. To be able to connect to the cluster, define list of allowed IP addresses and/or CIDR blocks or allow access from any IP. - Add
Kubernetes API allowed IPs
field tokubernetes show
output. - Add
kubernetes nodegroup show
for displaying node-group details. This also adds Nodes table and Anti-affinity field that were not available in previouskubernetes show
output. - Add
kubernetes modify
command for modifying IP addresses that are allowed to access cluster's Kubernetes API. - Add
Kubernetes API allowed IPs
field tokubernetes show
output. - Add
database session list
for listing active database sessions. - Add
database session cancel
for cancelling an active database session.
Changed
- Breaking: In JSON and YAML output of
database list
: return the full API response. Value oftitle
is not replaced with value fromname
, iftitle
is empty. - Breaking: In JSON and YAML output of
database types
: return the full API response. This changes the top level datatype from list to object, where keys are the available database type, e.g.,pg
andmysql
. - Breaking: In JSON and YAML output of
ip-address list
: return the full API response. This changespartofplan
key topart_of_plan
andptrrecord
key toptr_record
. The top level data-type changes from list to object. - Breaking: In JSON and YAML output of
loadbalancer list
: return the full API response. This changesstate
field tooperational_state
. - Breaking: In JSON and YAML output of
network list
andnetwork show
: return the full API response. Servers list will only contain server UUID and name. Innetwork list
output, the top level data-type changes from list to object. - Breaking: In JSON and YAML output of
server list
andserver show
: return the full API response. This changes fieldhost_id
tohost
.nics
is replaced withnetworking
subfieldinterfaces
.storage
is replaced withstorage_devices
.labels
contain subfieldlabel
which in turn contains the labels. Inserver list
output, the top level data-type changes from list to object. - Breaking: In JSON and YAML output of
server firewall show
: return the full API response. This removes fieldsdestination
andsource
fields in favor of[destination|source]_address_start
,[destination|source]_address_end
,[destination|source]_port_start
and[destination|source]_port_end
. - Breaking: In JSON and YAML output of
server plans
: return the full API response. The top level data-type changes from list to object. - Breaking: In JSON and YAML output of
storage list
andstorage show
: return the full API response. This changesservers
field to containserver
field, which in turn contains the servers.labels
field will not be outputted if empty. Instorage list
output, the top level data-type changes from list to object. - Breaking: In JSON and YAML output of
zone list
: return the full API response. The top level data-type changes from list to object. - In JSON and YAML output of
kubernetes list
: return the full API response. - In human readable output of
kubernetes show
command, show node-groups as table. Node-group details are available withkubernetes nodegroup show
command.
Fixed
- Breaking: In JSON and YAML output of
ip-address show
: use same JSON keys as in API documentation. This removescredits
key that was used in place offloating
.
Removed
- Breaking: Remove
database connection list
anddatabase connection cancel
commands in favor ofdatabase session
counterparts - Breaking: In JSON and YAML output of
database properties * show
: pass-through the API response. This removeskey
field from the output.