AppEngine Command Line Tools

Features and Commands

  1. Create an application - create
  2. Update an application - update
  3. Delete an application - delete
  4. Change the number of application instances - replica
  5. Help - help

Help

Help will appear when there is an input error or when you use -h or help in the command

Create an Application

In the automatic deployment tool, forced requirement that the first parameter of each operation is the region name

../deploy create cnbj .....

The keyword to create the application is -c (or -create), directly followed by the string of the created application, or by providing the JSON file address of the string

./deploy create cnbj /usr/local/test/autoDeploy/example-k8s-app-2.json .....

Table of Regions

Region Name
AWS-Beijing cnbj
KSYun-Beijing6 cnbj6

Update an Application

In the automatic deployment tool, forced requirement that the first parameter of each operation is the region name

./deploy update cnbj

The keyword to update the application is -u (or -update), directly followed by the string of the updated application, or by providing the JSON file address of the string. The updated application also has two required parameters, -n (or -namespace) and -a (or -app).

./deploy update cnbj /usr/local/test/autoDeploy/example-k8s-app-2.json -n devtest-test4 -a wangping-goserver

Delete an Application

In the automatic deployment tool, forced requirement that the first parameter of each operation is the region name

./deploy delete cnbj

The keyword to delete the application is -d (or -delete). The deleted application also has two required parameters, -n (or -namespace) and -a (or -app).

./deploy delete cnbj -n devtest-test4 -a wangping-goserver

Change the Number of Application Instances

In the automatic deployment tool, forced requirement that the first parameter of each operation is the region name

./deploy replica cnbj

The keyword to change the number of application instances is -r (or -replica). The change of the number of application instances also has three required parameters, -n (or -namespace) and -a (or -app) as well as -rc (or replica-count)

./deploy replica cnbj -n devtest-test4 -a wangping-goserver -rc 2

The automatic deployment tool uses ak and sk authentication, requiring users to provide a aksk file directory, use -f (or filepath), or use the default file address ./config/config.properties

Application Sample JSON File

example-k8s-app.json

(Chrome: Right click on the link, select "Open Link in new tab"; Firefox: Right-click on the link, select "Save link as ...")

Download Tools

cli.tar.gz

(Chrome: Right click on the link, select "Open Link in new tab"; Firefox: Right-click on the link, select "Save link as ...")

results matching ""

    No results matching ""