Minimal Setup
This sample demonstrates how to set up and run Binacle.Net on an existing Kubernetes cluster.
π οΈ Prerequisites
- An existing Kubernetes cluster.
- One or more eshops already running in the cluster, typically with Nginx Ingress Controller.
- Binacle.Net will run in the same cluster and not be exposed.
kubectlconfigured to interact with your cluster.
Download the following files
Customize (Optional)
Edit the json in the binacle-presets-configmap.yaml file to customize the presets as needed.
[!Note]
binacle-pvc.yamlassumes your cluster has dynamic provisioning enabled. Otherwise, youβll need to create a corresponding PersistentVolume.
π Running the Application
Apply all the configurations by running:
kubectl apply -f binacle-pvc.yaml
kubectl apply -f binacle-presets-configmap.yaml
kubectl apply -f binacle-deployment.yaml
kubectl apply -f binacle-net-service.yaml
This will launch the Binacle.Net API with:
- π Custom Presets: Loaded from your
binacle-presets-configmap.yaml. - π Logs Folder: A persistent volume will be created to store API logs for monitoring and debugging.
- βοΈ Service: A ClusterIP service will be created to allow internal communication within the cluster.
π Accessing the API
Once the deployment is running, other services in the same cluster can interact with the API on:
http://binacle-net-service:8080/