Deploying TIBCO Product and Service Catalog in Single Node, Single Pod Topology

This section explains the deployment of TIBCO Product and Service Catalog in a single node, single pod topology.

Prerequisites

The prerequisites to deploy a single host, single pod topology are:
  • Install Kubernetes and kubectl and add the installation directory in the PATH variable. For details, see Kubernetes Documentation.
  • You must be logged in as a non-root user to perform this procedure.

Minikube is a lighter version of Kubernetes, thus it can be used as an alternative to Kubernetes for single pod deployment.

Procedure

  1. Install minikube and kubectl on a computer and add in $PATH environmental Variable.
  2. To pull the image in minikube, connect to the Docker image repository.
    kubectl create secret docker-registry regcred
    --docker-server=<your-registry-server>
    --docker-username=<your-name>
    --docker-password=<your-pword>
    --docker-email=<your-email>

    For example,

    kubectl create secret docker-registry regcred
    --docker-server=https://reldocker.tibco.com
    --docker-username=ronaw
    --docker-password=????????
    --docker-email=raw@xyz.com
  3. Start the Minikube service with the following command:
    minikube start
  4. Start the Minikube dashboard with the following command:
    minikube dashboard
  5. To deploy the application on Minikube dashboard, click CREATE.
  6. Select CREATE FROM FILE and browse to the sampleapp.json file.
  7. Click UPLOAD.
  8. Run Minikube as external IP with the following command:
    kubectl port-forward deploymentpodname port-forward
    Example:
    kubectl port-forward fcapp-698f9776cd-tlfh7 8080 6080 8070