Post-installation configuration
Provides a walk-through of the provisioned environment and the steps to validate it is ready to begin on-boarding developers.
Explore the provisioned resources
IBM Cloud resources
Once the Terraform scripts have finished, you can see the resources that the scripts created in IBM Cloud:
- In the IBM Cloud console, open the Resource List
- On the Resource List page, filter by your Resource Group by selecting the resource group from the
Group
dropdown (e.g.appdev-team
) - You should see these resources listed under the following sections:
- Clusters: 1, either Kubernetes or OpenShift
- Services: depending on the configuration could be quite a few (LogDNA, Sysdig, Activity Tracker, Watson Assistant, Watson Studio, PostgreSQL, MongoDB, etc)
- Storage: possibly Cloud Object Storage
Cluster resources
Log in to the cluster and look at the console to see the resources that have been provisioned within the cluster.
Access the cluster console
- In the IBM Cloud console, open the Resource List
- On the Resource List page, filter by your Resource Group by selecting the resource group from the
Group
dropdown (e.g.appdev-team
) - Expand the Clusters section and click on the appropriate cluster
- Click the button to open the Kubernetes or OpenShift web console
```shell scriptoc login {server_url} -u {username} -p {password}oc console```
- Navigate to the
tools
namespace/project. - Look at the status of the pods in the cluster. All should be either in
running
orcompleted
state. - If LogDNA or Sysdig were bound to the cluster then a
ibm-observe
namespace/project should have been created containing a pod for each node in the cluster
Validate LogDNA
If LogDNA was provisioned and/or bound to the cluster, check that log data is flowing into LogDNA
Validate/complete the SysDig setup
Complete the setup of Sysdig and check the monitoring data is flowing
Validate the Developer Dashboard
Test opening the Developer Dashboard
Log into the cluster from the command-line
Run either or all of the CLI options to load the dashboard
oc dashboardkubetl dashboardigc dashboard
Validate the installed tools
- Log into the cluster from the command-line
- Run the IGC CLI
credentials
command to list the credentials for the toolsoc credentials -n tools - Use the url and credentials provided for each tool to validate the provided credentials
Additional configuration
The following post installation setup is required. To get the developers enabled quickly, make sure you have completed at least post installation tasks. The customization is optional and down to development team needs.
Customize the Dashboard configuration
Perform the steps in Configure Dashboard to customize tiles and menu items for the tools that are external to the cluster.
Set up user access
Configure the RBAC rules in the development cluster. This restricts who can change the parts of the cluster where the tools are installed.
- Run the RBAC script
./terraform/scripts/rbac.sh
found in theibm-garage-iteration-zero
repository
Create a CI namespace/project
- Log into the cluster from the command-line
- Run the IGC CLI
sync
command to create the namespace/projectoc sync {project}
Setup a GitOps repo
- Follow the steps to create a GitOps repo.
- Follow the steps to add configuration for the CI pipeline, using the namespace created in the previous step.
Test the pipeline
The best way to verify that the tools have been configured properly is to deploy a sample pipeline. Follow the deploy an app steps for one of the starter kits to ensure that all the tools have been configured properly.
Note: Use the project/namespace created in the previous two steps when deploying the app