2.0 - 从命令行界面列出应用程序 - Teradata AppCenter

Teradata® AppCenter 用户指南

prodname
Teradata AppCenter
vrm_release
2.0
created_date
2020 年 9 月
category
用户指南
featnum
B035-1111-090K-CHS
"" 用户、管理员
  1. 从包含 AppCenter 二进制文件的位置,使用命令行界面登录到 AppCenter
  2. 运行命令 appcenter apps <host.url>。例如:
    appcenter apps appcenter.jem.ac.ter.io
    
    appcenter apps 的可选命令标记包括以下内容:
    标记 说明 示例
    -h appcenter apps 的帮助
    appcenter apps -h
    
    --per-page<number> 按页列出指定数量的应用程序
    appcenter apps --per-page 5
    --page<number> 转到第一页以外的特定应用程序页
    appcenter apps -page 2
    -p 在格式化列表视图中显示应用程序
    appcenter apps -p

    下面是应用程序列表结果的示例:

    appcenter apps appcenter.env.company.com --per-page 2 --page 1 -p
    [
        {
            "name": "kts-jupyter",
            "ephemeral": false,
            "cpus": 0.1,
            "memory": 600,
            "icon": "arrow_drop_down_circle",
            "color": "pink-600",
            "owners": {
                "users": [
                    "sp186129"
                ],
                "groups": []
            },
            "collaborators": {
                "users": [],
                "groups": []
            },
            "app_id": "1c4a83c2-5b16-4895-a1ea-ebe44fa51e8c",
            "app_type": "custom",
            "config": {
                "PATH": {
                    "type": "text",
                    "required": false,
                    "default": "/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
                },
                "LANGUAGE": {
                    "type": "text",
                    "required": false,
                    "default": "en_US.UTF-8"
                },
                "XDG_CACHE_HOME": {
                    "type": "text",
                    "required": false,
                    "default": "/home/jovyan/.cache/"
                },
                "SHELL": {
                    "type": "text",
                    "required": false,
                    "default": "/bin/bash"
                },
                "DEBIAN_FRONTEND": {
                    "type": "text",
                    "required": false,
                    "default": "noninteractive"
                },
                "LC_ALL": {
                    "type": "text",
                    "required": false,
                    "default": "en_US.UTF-8"
                },
                "CONDA_DIR": {
                    "type": "text",
                    "required": false,
                    "default": "/opt/conda"
                },
                "NB_UID": {
                    "type": "text",
                    "required": false,
                    "default": "1000"
                },
                "LANG": {
                    "type": "text",
                    "required": false,
                    "default": "en_US.UTF-8"
                },
                "NB_USER": {
                    "type": "text",
                    "required": false,
                    "default": "jovyan"
                },
                "HOME": {
                    "type": "text",
                    "required": false,
                    "default": "/home/jovyan"
                }
            },
            "installed_by": "abc12345",
            "install_time": "2019-10-17T17:07:48.895Z",
            "last_updated_by": "abc12345",
            "last_updated_time": "2019-10-17T17:08:22.207Z",
            "public": true,
            "last_version_status": "succeeded",
            "tag_names": [],
            "app_state": "running",
            "favorite": false,
            "access_url": "https://kts-jupyter.env.company.com",
            "versions": {
                "v1": {
                    "image_tag": "latest",
                    "registry": "quay.ac.vam.io",
                    "image": "appcenter_apps/jupyter",
                    "containerPort": "8888",
                    "exposedPorts": [
                        "8888"
                    ]
                }
            }
        },
        {
            "name": "kts-nginx",
            "ephemeral": false,
            "cpus": 0.1,
            "memory": 600,
            "icon": "format_italic",
            "color": "light-blue-700",
            "owners": {
                "users": [
                    "sp186129"
                ],
                "groups": []
            },
            "collaborators": {
                "users": [],
                "groups": []
            },
            "app_id": "3a62b2a6-4b0b-4235-959c-e4eg7f5b82b8",
            "app_type": "custom",
            "config": {
                "PATH": {
                    "type": "text",
                    "required": false,
                    "default": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
                },
                "NJS_VERSION": {
                    "type": "text",
                    "required": false,
                    "default": "1.13.1.0.1.10-1~stretch"
                },
                "NGINX_VERSION": {
                    "type": "text",
                    "required": false,
                    "default": "1.13.1-1~stretch"
                }
            },
            "installed_by": "sp186129",
            "install_time": "2019-10-17T17:02:46.807Z",
            "last_updated_by": "sp186129",
            "last_updated_time": "2019-10-17T17:03:07.369Z",
            "public": true,
            "last_version_status": "succeeded",
            "tag_names": [],
            "app_state": "running",
            "favorite": false,
            "access_url": "https://kts-nginx.env.company.com",
            "versions": {
                "v1": {
                    "image_tag": "latest",
                    "registry": "sdartifact.td.company.com:7002",
                    "image": "pkgs-generic-snapshot-sd/uda/company/company-tests/nginx",
                    "containerPort": "80",
                    "exposedPorts": [
                        "80"
                    ],
                    "image_pull_secret_name": "kts-nginx-1"
                }
           }
        }
    ]