Application for managing the full lifecycle of Kubernetes Custom Resource Definitions (CRD)
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Before installing, download and install Node.js. Node.js 8.0 or higher is required.
- Install Minikube for spinning up a local Kubernetes cluster.
- This application uses the Google Cloud SQL API for provisioning in-cluster databases. Create a service account in Google Cloud and save your JSON file to
/var/secrets/google, then create an.envfile and add:GOOGLE_APPLICATION_CREDENTIALS="/var/secrets/google/[filename].json"
git clone git@github.com:blackducksoftware/node-crd-lifecycle.git &&
npm install &&
cd client &&
npm install
- Start up Minikube:
minikube start --vm-driver=virtualbox - Start the server:
npm start - Start the client:
cd client && npm start - Fix the obvious errors you get related to namespaces, configmaps, etc by creating them in your cluster.
Hot reloading is enabled on both the client and server.