Pi Docs
  • Overview
  • What is Pi
  • How It Works
  • Benefits
  • Features
  • Pricing
  • Quota and Limits
  • FAQ
  • Quickstart
    • Install CLI
    • Launch Your First Pod
    • Understand the network
    • Use Volume for Stateful Workload
    • Use Private Image
  • Feature
    • Pod
    • Rootfs
    • Job
    • Volume
    • Floating IP
    • Network
    • Service
    • Secret
    • Region and Zone
  • Reference
    • CLI
      • Info
      • Pod
        • run
        • create
        • delete
        • exec
        • logs
        • get
        • describe
      • Job
        • create
        • delete
        • get
        • describe
      • Service
        • create
        • get
        • describe
        • delete
      • Secret
        • create
        • get
        • describe
        • delete
      • Volume
        • create
        • get
        • delete
      • Floating IP
        • create
        • get
        • name
        • delete
    • API/v1.9
      • Info
        • Get
      • Event
        • Get
      • Pod
        • Create
        • List
        • Read
        • Log
        • Exec
        • Delete
      • Job
        • Create
        • List
        • Read
        • Delete
      • Service
        • Create
        • List
        • Get
        • Delete
      • Secret
        • Create
        • List
        • Get
        • Delete
      • Volume
        • Create
        • List
        • Get
        • Delete
      • Floating IP
        • Create
        • List
        • Get
        • Name
        • Delete
  • FAQ
    • Privacy Policy
    • Terms of Service
    • Acceptable Use Policy
  • Docs version
Powered by GitBook
On this page
  1. Reference
  2. CLI

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-update
  • Region is current region name

  • AvailabilityZone is all availability zones for user

  • ServiceClusterIPRange is the ip range for create ClusterIP type service

  • TenantID is the user ID

  • DefaultZone is the default zone for user create pod and volume

  • Resources are 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 timeout
PreviousCLINextPod

Last updated 7 years ago