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.
Before you begin 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
- Install minikube and kubectl on a computer and add in $PATH environmental Variable.
- 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
- Start the Minikube service with the following command:
minikube start
- Start the Minikube dashboard with the following command:
minikube dashboard
- To deploy the application on Minikube dashboard, click CREATE.
- Select
CREATE FROM FILE and browse to the
sampleapp.json
file. - Click UPLOAD.
- 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