See PROVISION.md
for instructions on setting up the demo environment
This involves clicking "create" filling out three templates Project
, IIS Web Application
and IIS Frontend Application
(in that order).
Before proceeding, be sure that the pipeline run windows-efi-installer
mentioned earlier has completed successfully.
-
Log into Developer Hub using your userX gitlab credentials (provided vi demo hub)
-
Launch Developer Hub Console and create 'Project`
- Log in as
user1
. - Click "Create" and select the
Project
catalog item. - Fill out the
Project
template:- Component Name: Provide a name for the new component.
- Owner: Set this to
group:user1
. - GitLab URL: Enter your GitLab URL without the
https://
prefix. - Development Item: Leave this as the default value.
- Complete the template setup.
- Create IIS Web Application:
- After the
Project
template is provisioned, create anIIS Web Application
using the corresponding catalog item. - Keep defaults for all the steps
- This application can take a few minutes to be up and running (15+ minutes sometimes)
- Create Frontend Application:
- After the
IIS Web Application
template is provisioned, create anIIS Frontend Application
using the corresponding catalog item. - Choose the backend you created in step 2
- Keep defaults for IIS deployment options step
- Sync with ArgoCD:
- Wait for ArgoCD to automatically sync, or manually trigger the sync from the ArgoCD console.
-
Locate the new project in the OpenShift console. For instance, if the project name is
test
, you will find atest-dev
project. -
verify front end is up with and accessible via the
istio-ingressgateway
route - this will run even if the backend is down, but will only display red status circles. They will show up as green if the backend is up.
export GATEWAY=$(oc get route istio-ingressgateway -n istio-system -o template --template '{{ .spec.host }}')
echo $GATEWAY
curl -o /dev/null -s -w "%{http_code}\n" $GATEWAY
(example output:)
istio-ingressgateway-istio-system.apps.cluster-nqwzb.nqwzb.sandbox1400.opentlc.com
200 # <- http return code
Note: If the return code is not 200
, something is not right
- Access the front end webpage using the
$GATEWAY
URL in a browser (note:http
nothttps
)
If the status shows green next to Service
and Data
, then the front end is successfully communicating with the IIS service running on the VM.
- Check istio connectivity in Kiali
- Go to the topology view of your namespace and click the
Kiali
link in the upper right corner
- View the flow of traffic in the
Graph
view in Kiali