Skip to content

Latest commit

 

History

History
194 lines (163 loc) · 6.85 KB

appdeploy-access.md

File metadata and controls

194 lines (163 loc) · 6.85 KB
copyright lastupdated keywords subcollection
years
2020, 2021
2021-07-20
applications in code engine, apps in code engine, http requests in code engine, deploy apps in code engine, app workloads in code engine, deploying workloads in code engine, application, app, memory, cpu, environment variables
codeengine

{:DomainName: data-hd-keyref="APPDomain"} {:DomainName: data-hd-keyref="DomainName"} {:android: data-hd-operatingsystem="android"} {:api: .ph data-hd-interface='api'} {:apikey: data-credential-placeholder='apikey'} {:app_key: data-hd-keyref="app_key"} {:app_name: data-hd-keyref="app_name"} {:app_secret: data-hd-keyref="app_secret"} {:app_url: data-hd-keyref="app_url"} {:authenticated-content: .authenticated-content} {:beta: .beta} {:c#: data-hd-programlang="c#"} {:cli: .ph data-hd-interface='cli'} {:codeblock: .codeblock} {:curl: .ph data-hd-programlang='curl'} {:deprecated: .deprecated} {:dotnet-standard: .ph data-hd-programlang='dotnet-standard'} {:download: .download} {:external: target="_blank" .external} {:faq: data-hd-content-type='faq'} {:fuzzybunny: .ph data-hd-programlang='fuzzybunny'} {:generic: data-hd-operatingsystem="generic"} {:generic: data-hd-programlang="generic"} {:gif: data-image-type='gif'} {:go: .ph data-hd-programlang='go'} {:help: data-hd-content-type='help'} {:hide-dashboard: .hide-dashboard} {:hide-in-docs: .hide-in-docs} {:important: .important} {:ios: data-hd-operatingsystem="ios"} {:java: .ph data-hd-programlang='java'} {:java: data-hd-programlang="java"} {:javascript: .ph data-hd-programlang='javascript'} {:javascript: data-hd-programlang="javascript"} {:new_window: target="_blank"} {:note .note} {:note: .note} {:objectc data-hd-programlang="objectc"} {:org_name: data-hd-keyref="org_name"} {:php: data-hd-programlang="php"} {:pre: .pre} {:preview: .preview} {:python: .ph data-hd-programlang='python'} {:python: data-hd-programlang="python"} {:route: data-hd-keyref="route"} {:row-headers: .row-headers} {:ruby: .ph data-hd-programlang='ruby'} {:ruby: data-hd-programlang="ruby"} {:runtime: architecture="runtime"} {:runtimeIcon: .runtimeIcon} {:runtimeIconList: .runtimeIconList} {:runtimeLink: .runtimeLink} {:runtimeTitle: .runtimeTitle} {:screen: .screen} {:script: data-hd-video='script'} {:service: architecture="service"} {:service_instance_name: data-hd-keyref="service_instance_name"} {:service_name: data-hd-keyref="service_name"} {:shortdesc: .shortdesc} {:space_name: data-hd-keyref="space_name"} {:step: data-tutorial-type='step'} {:subsection: outputclass="subsection"} {:support: data-reuse='support'} {:swift: .ph data-hd-programlang='swift'} {:swift: data-hd-programlang="swift"} {:table: .aria-labeledby="caption"} {:term: .term} {:terraform: .ph data-hd-interface='terraform'} {:tip: .tip} {:tooling-url: data-tooling-url-placeholder='tooling-url'} {:troubleshoot: data-hd-content-type='troubleshoot'} {:tsCauses: .tsCauses} {:tsResolve: .tsResolve} {:tsSymptoms: .tsSymptoms} {:tutorial: data-hd-content-type='tutorial'} {:ui: .ph data-hd-interface='ui'} {:unity: .ph data-hd-programlang='unity'} {:url: data-credential-placeholder='url'} {:user_ID: data-hd-keyref="user_ID"} {:vbnet: .ph data-hd-programlang='vb.net'} {:video: .video}

Accessing your app

{: #access-service}

After your app deploys, you can access it through a URL. {: shortdesc}

From the console, your application URL is available from the components page and on the application details page.

From the CLI, run the ibmcloud ce app get command to find the URL of your app. To have the command output only the URL of the app, specify the --output url option with the app get command.

Access details about your app

{: #access-app-details}

Find details about your app from the console or with the CLI. {: shortdesc}

{{site.data.keyword.codeengineshort}} has quotas for apps and revisions of the apps within a project and app limits, such as memory and CPU. For more information about {{site.data.keyword.codeengineshort}} limits, see Limits and quotas for {{site.data.keyword.codeengineshort}}. {: important}

Accessing app details from the console

{: #access-appdetails-ui}

Details about your app are available in the console from the app page by clicking the name of your app from the list of applications within your project.

Accessing app details with the CLI

{: #access-appdetails-cli}

To view details of your app with the CLI, use the app get command. For a complete listing of options, see the ibmcloud ce app get command. {: shortdesc}

For example, the following app get command displays details about the myapp app.

ibmcloud ce app get --name myapp

{: pre}

Example output

Getting job 'myjob'...
OK

Name:          myjob
ID:            abcdefgh-abcd-abcd-abcd-1a2b3c4d5e6f
Project Name:  myproject
Project ID:    01234567-abcd-abcd-abcd-abcdabcd1111
Age:           2m4s
Created:       2021-02-17T15:41:12-05:00

Image:                docker.io/ibmcom/hello
Resource Allocation:
  CPU:                1
  Ephemeral Storage:  500Mi
  Memory:             4G

Revisions:
  myapp-00001:
    Age:                100s
    Latest:             true
    Traffic:            100%
    Image:              docker.io/ibmcom/hello (pinned to d6fd55)
    Running Instances:  1

Runtime:
  Concurrency:    100
  Maximum Scale:  10
  Minimum Scale:  0
  Timeout:        300

Conditions:
  Type                 OK    Age  Reason
  ConfigurationsReady  true  86s
  Ready                true  60s
  RoutesReady          true  60s

Events:
  Type    Reason   Age   Source              Messages
  Normal  Created  102s  service-controller  Created Configuration "myapp"
  Normal  Created  102s  service-controller  Created Route "myapp"

Instances:
  Name                                    Revision     Running  Status       Restarts  Age
  myapp-00001-deployment-699c45ddd-c25rm  myapp-00001  1/2      Terminating  0         102s

{: screen}

Application status

{: #app-status}

The following table shows the possible status that your application might have.

Status Description
Deploying The application is deploying. Deployment time includes the time before the app is scheduled as well as time to download images over the network, which can take a while.
Ready The application is deployed and ready to use.
Ready (with warnings) The deployment of a new application revision failed, but the original deployment is available.
Failed The application deployment terminated, and at least one instance terminated in failure. The instance either exited with nonzero status or was terminated by the system.
Unknown For some reason, the state of the application cannot not be obtained, typically due to an error in communicating with the host.