Skip to content

Latest commit

 

History

History

helloworld

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Demonstrate a simple helloworld application

Tool Requirements

  • OpenShift CLI Version >= 4.3.0
    Needed for kustomize
oc version

Summary

Demonstrate a simple helloworld web application for getting started with ACM applications. This web application serves one page which displays the text 'Hello World'.

Prerequisite

  • 1+ managed-clusters total
  • Those Managed-Cluster to target, must have a label with metadata.labels.usage: development

Application Console: Create a new application

Using the application console, you can easily create an Application to run this demo.

Console

  1. Open the Red Hat Advanced Cluster Management for Kubernetes console
  2. Navigate on the left navigation menu to Managed applications
  3. Click the Create application button
  4. Enter the following values:
  • Name: helloworld
  • Namespace: helloworld
  • Repository types: Git
  • URL: https://github.com/open-cluster-management/application-samples.git
  • Branch: main
  • Path: helloworld
  • Select Deploy application resources only on clusters matching specified labels
  • Label name: usage
  • Label value: development
  1. Click Save

Viewing

  1. Navigate on the left navigation menu to Managed applications
  2. Click the helloworld Application name.
  3. View the Topology
  4. Click the Route node to obtain the application URL
  5. Click the URL to see the helloworld sample application