Skip to content
/ k8setup Public

Configuration for deploying polaris to kubernetes

Notifications You must be signed in to change notification settings

orppst/k8setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polaris Deployment

This repository contains the configuration to deploy the Polaris proposal tool to a kubernetes cluster

The manifests below assume that components are deployed to the orp-pst namespace this should be manually created as below

kubectl create namespace orp-pst

The database k8s operator that is used is [crunchydata](https://access.crunchydata.com/documentation/postgres-operator/latest)

  • db contains postgres setup for the database functionality.
kubectl apply -k db
  • keycloak contains keycloak setup for AAI functionality. in order to set up the admin username and password (use different values obviously!)
kubectl create secret generic keycloakadm-secret -n orp-pst --from-literal='username=adm' --from-literal='password=adm'

then create

kubectl apply -k keycloak
  • for now the individual components of the tool are installed from the source code directories with the
quarkus build -Dquarkus.container-image.push=true --no-tests
kubectl apply -f build/kubernetes/kubernetes.yml 

N.B. for any image pushes it is necessary to login to the repository first

if building on ARM Mac then cannot build and push directly in one go - need to build with the correct arch.

quarkus build -Dquarkus.docker.buildx.platform=linux/amd64 --no-tests
docker push kilburn.jb.man.ac.uk/orppst/pst-gui:0.1
docker login -u pahjbo https://kilburn.jb.man.ac.uk   

Minikube notes

if running this setup on minikube, then it is necessary to make sure that the default storage class is on so that the persistent volume claims will be met

 minikube addons enable default-storageclass

About

Configuration for deploying polaris to kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published