diff --git a/openshift/README.md b/openshift/README.md index ae11200..f8bfae3 100644 --- a/openshift/README.md +++ b/openshift/README.md @@ -1,10 +1,10 @@ # Minishift set-up (rebranded minikube) +- Install minishift (https://docs.okd.io/latest/minishift/getting-started/index.html) -- Install virtualbox (or kvm) ``` -minikube start +minishift start ``` @@ -35,6 +35,15 @@ Now run the template as a new app: oc new-app obp-api-example # App name comes from the template name in yaml file. ``` +Add a route for the service: +``` + +oc expose svc/obpapi-service +``` + +See if it works: + + ### Seed the sandbox: Deploy a bootstrap pod We have a bootstrap node which creates an initial user for you automatically. diff --git a/openshift/obpapi_openshift.yaml b/openshift/obpapi_openshift.yaml index 51375cf..d6b61f4 100644 --- a/openshift/obpapi_openshift.yaml +++ b/openshift/obpapi_openshift.yaml @@ -60,7 +60,7 @@ objects: image: openbankproject/obp-api # docker build -t obpapi-kube . resources: requests: - memory: "600Mi" + memory: "1200Mi" env: - name: OBP_DB_DRIVER valueFrom: @@ -75,8 +75,6 @@ objects: ports: - containerPort: 8080 name: http - - containerPort: 5432 - name: postgres - kind: Service apiVersion: v1 metadata: