| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The original purpose of this repo is to create a minimal install of the Data Catalog project into a minikube cluster on your machine, with a configurable number of namespaces.
The repo is now responsible for operational deployment of the SciCat components (catanie, catamel etc.) to development and production environments. This repo should be coupled with a private secrets repository.
Install.sh
Running this will install:
Start.sh
Running this will start minikube and set up helm access. It will also deploy a registry for docker images and an nginx ingress controller.
NOTE: If you are using OS X, you cannot use a local registry as Docker is running inside a VM and you need to forward the port from within there. If you are running a local docker registry, you will need to port forward this connection and these can be found in proxies.sh
run.sh -d {DOCKER_REPO}
This looks inside the namespaces directory and creates them (default is only to make dev.
You will need to provide a docker repo (defaulting to localhost) if, for example, you are using a different registry. It needs to be the full qualified address.
For each namespace, a Rabbit MQ and MongoDB pod is deployed.
The services directory contains all custom code and this is deployed through helm.
kubectl proxy
Running the above command will allow you to view the Kubernetes dashboard at 127.0.0.1:8001/ui and you should see all services under the dev namespace.
Proxies for Catanie and Catamel
kubectl port-forward --namespace dev $(kubectl get po -n dev | grep catanie | awk '{print $1;}') 8000:80
kubectl port-forward --namespace dev $(kubectl get po -n dev | grep catamel | awk '{print $1;}') 3000:3000The scripts in this repository should do most of the work for you, that work is summarised here:
https://docs.docker.com/registry/insecure/
`kubectl config use-context
kubectl run early-ibis-mongodb-client --rm --tty -i --image bitnami/mongodb --command -- mongo --host early-ibis-mongodb
export POD_NAME=$(kubectl get pods --namespace dev -l "app=calico-lynx-rabbitmq" -o jsonpath="{.items[0].metadata.name}")
kubectl port-forward $POD_NAME 5672:5672 15672:15672| Back | FazBrowse Home | New Git URL |