Java backend, based on springboot, control the while system and respond to frontend requests.
Configuration files are located in ../yamls
- backend-configmap.yaml: Contains configuration information for the backend service, such as database connection strings, etc.
- backend-deployment.yaml: Defines the deployment configuration for the backend service, including the image used, the number of replicas, etc.
- backend-service.yaml: Defines a service to allow the backend service to be accessed by other services within the cluster or from outside the cluster.
kubectl apply -f backend-configmap.yaml
kubectl apply -f backend-deployment.yaml
kubectl apply -f backend-service.yaml
- Check Deployment status:
kubectl get deployments
- Check Pod status:
kubectl get pods
- Check Service status:
kubectl get services