Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dario-vega/oke-with-nosql-database
(todo)
https://github.com/dario-vega/oke-with-nosql-database
Last synced: 1 day ago
JSON representation
(todo)
- Host: GitHub
- URL: https://github.com/dario-vega/oke-with-nosql-database
- Owner: dario-vega
- Created: 2021-10-04T08:04:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-29T12:44:28.000Z (over 2 years ago)
- Last Synced: 2024-11-06T21:49:18.243Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# oke-with-nosql-database
Draft version
Building the image and pushing to OCI docker registry
````
docker login ${ocir_docker_repository} --username ${ocir_namespace}/${ocir_user_name}
docker build -t express-nosql .
docker tag express-nosql:latest ${ocir_docker_repository}/${ocir_namespace}/nosqldemos/express-nosql:latest
docker push ${ocir_docker_repository}/${ocir_namespace}/nosqldemos/express-nosql:latest
````Deploy using OKE
````
kubectl create secret docker-registry ocirsecret --docker-server=${ocir_docker_repository} --docker-username='${ocir_namespace}/${ocir_user_name}' --docker-password=TheAuthToken --docker-email='[email protected]'
kubectl apply -f express-nosql-oke.yaml
#test the app kubectl get svc and kubectl get pods -o wide
kubectl delete -f express-nosql-oke.yaml
````