Info
Check region and account info
$ pi info
Region Info:
Region gcp-us-central1
AvailabilityZone gcp-us-central1-a|UP,gcp-us-central1-c|UP
ServiceClusterIPRange 10.96.0.0/12
Account Info:
Email testuser3@test.com
TenantID 00a54ebcc0444bb384e48f6fd7b5597b
DefaultZone gcp-us-central1-a
Resources pod:1/20,volume:1/40,fip:1/5,service:4/5,secret:1/3
Version Info:
Version v1.9-b18042723
Hash beb46e81
Build 2018-04-27T23:33:59+0800
//force to check new version of pi
$ pi info --check-updateRegionis current region nameAvailabilityZoneis all availability zones for userServiceClusterIPRangeis the ip range for create ClusterIP type serviceTenantIDis the user IDDefaultZoneis the default zone for user create pod and volumeResourcesare resources usage and quota
If you see a message similar to the following, pi is not correctly configured or not able to connect to the API Server.
Unable to connect to the server: dial tcp: lookup <server-name>: no such host
or
Unable to connect to the server: dial tcp <server-name:port>: i/o timeoutLast updated