Adding Kubernetes Deployment and Scaling to a Dockerized Loopback App on IBM Cloud
Published in
11 min readNov 30, 2018
Previously, see here, I created an FDIC-API application similar to the FDIC Developer Portal. In this tutorial, I want to deploy that FDIC API application to a Kubernetes cluster using a deployment with autoscaling.
Steps:
- Requirements
- Create a Kubernetes Cluster
- Get the FDIC-API Source Code
- Setup CouchDB on Localhost
- Run the FDIC-API with Docker
- Setup Current-Context for Kubernetes
- Create Kubernetes Namespace and Secrets
- Add Kubernetes Configuration for CouchDB
- Add Kubernetes Configuration for FDIC-API
- Add Kubernetes Auto-Scaling
Requirements
- IBM Cloud account,
- Free Kubernetes cluster on IBM Cloud, (alternatively choose another free Kubernetes cluster account on RedHat OpenShift for instance), to see an overview of the limitations of the free cluster versus the standard cluster, see Why IBM Cloud Kubernetes Service.
- Free private Container Registry on IBM Cloud, (alternatively choose another free private container registry, on Docker Hub or…