Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Kubernetes Deployment for CodeGraphContext

This directory contains Kubernetes manifests for deploying CodeGraphContext.

Files

  • deployment.yaml - Main application deployment
  • service.yaml - Service configuration
  • pvc.yaml - Persistent Volume Claim for data storage
  • configmap.yaml - Configuration management
  • neo4j-deployment.yaml - Optional Neo4j database deployment

Quick Start

  1. Create namespace:

    kubectl create namespace codegraphcontext
  2. Deploy CodeGraphContext:

    kubectl apply -f k8s/ -n codegraphcontext
  3. Check status:

    kubectl get pods -n codegraphcontext
  4. Access the pod:

    kubectl exec -it deployment/codegraphcontext -n codegraphcontext -- bash

Scaling

To scale the deployment:

kubectl scale deployment/codegraphcontext --replicas=3 -n codegraphcontext

Monitoring

View logs:

kubectl logs -f deployment/codegraphcontext -n codegraphcontext

Cleanup

kubectl delete namespace codegraphcontext