-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Time box this spike for a week
Description
Find out what's needed to deploy LB4 applications to IBM Cloud Kubernetes and write a short document describing the steps.
Updated per discussion with @raymondfeng @bajtos @jjtang1:
- Use Shopping app, because todo app is too simple.
- Modify the shopping app so that it is using database in docker container.
- Outcome of the spike: a tutorial in how to deploy to kubernetes and identify the pain point.
This spike/task is only limited to document the steps on how to deploy to k8s, and not about implementing any changes that would enhance the user experience (This will be the longer term goal).
Take our existing Todo application as the project to deploy, but make the following changes:
- Use Cloudant (free Lite plan) to persist our Todo items. To do so, we need to temporarily modify db datasource to use cloudant connector and add this connector to project dependencies.
- When deploying to IBM Cloud Kubernetes, the application must be configured to use a cloud-based Cloudant instance.
- When developing and testing locally, the app should use local docker-based Cloudant Developer Edition.
- There may be other settings we need to tweak when deploying to cloud, for example the port number where to listen.
Besides the deployment guide, this spike should also identify the biggest pain points - things we need to improve to make the deployment experience smoother.
Acceptance criteria
- Using the simple app, document the steps in a new page under "How tos" of our docs.
- A list of pain points - steps that are difficult to perform and should be simplified. The list can be posted as a comment here in this issue.
- Create a backlog of tasks that arise from the findings of this spike e.g. a deployment guide for IBM Cloud Kubernetes added to our docs.