cd postgres kubectl create -f secret.yaml kubectl create -f deployment.yaml
to connect to the postgres from inside its container:
kubectl get pods kubectl exec -it postgres-deployment-f9d9848f5-hqbp2 -- /bin/bash psql -U dbsuper esgcet [no password necessary]
kubectl create secret tls hostcert-secret --cert=$ESGF_CONFIG/certificates/hostcert/hostcert.crt --key=$ESGF_CONFIG/certificates/hostcert/hostcert.key kubectl create configmap esgf-trust-bundle --from-file=$ESGF_CONFIG/certificates/esg-trust-bundle.pem
kubectl create -f deployment.yaml kubectl create -f service.yaml
kubectl create -f deployment.yaml kubectl create -f service.yaml
curl -v http://localhost:8983/solr/#/datasets
kubectl create -f deployment.yaml kubectl create -f service.yaml
from within container: curl -v 'http://localhost:8080/esg-search/search'
from outside: http://192.168.64.12:32374/esg-search/search
BUT REALLY SLOW!!!! WHILE SOLR IS FAST....
kubectl create -f deployment.yaml kubectl create -f service.yaml
from within the container: curl -v http://localhost:8080/esgf-idp/
from outside: curl -v 'http://192.168.64.12:31137/esgf-idp/'
kubectl create -f deployment.yaml kubectl create -f service.yaml
test:
http://my-node.esgf.org:30906/projects/testproject/ AFTER MAPPING MINIKUBE IP: 192.168.64.12 to 'my-node.esgf.org'