This directory contains Kubernetes manifests for deploying CodeGraphContext.
deployment.yaml- Main application deploymentservice.yaml- Service configurationpvc.yaml- Persistent Volume Claim for data storageconfigmap.yaml- Configuration managementneo4j-deployment.yaml- Optional Neo4j database deployment
-
Create namespace:
kubectl create namespace codegraphcontext
-
Deploy CodeGraphContext:
kubectl apply -f k8s/ -n codegraphcontext
-
Check status:
kubectl get pods -n codegraphcontext
-
Access the pod:
kubectl exec -it deployment/codegraphcontext -n codegraphcontext -- bash
To scale the deployment:
kubectl scale deployment/codegraphcontext --replicas=3 -n codegraphcontextView logs:
kubectl logs -f deployment/codegraphcontext -n codegraphcontextkubectl delete namespace codegraphcontext