CSCI-GA-2820-FA24-001 / orders

NYU DevOps Orders Service Fall 2024
Apache License 2.0
0 stars 1 forks source link

78 deploy to kubernetes #87

Closed Hyxpillow closed 1 week ago

Hyxpillow commented 2 weeks ago

This branch implements a fully functional microservice deployed in Kubernetes. The following features have been completed:

  1. Configured PostgreSQL as the database for the microservice using a StatefulSet.
  2. Organized Kubernetes manifests under the k8s/ directory:
    • deployment.yaml: Defines the application's deployment.
    • ingress.yaml: Configures external access to the application.
    • postgres.yaml: Manages the PostgreSQL StatefulSet and related resources.
    • pv.yaml: Configures PersistentVolumes for PostgreSQL.
    • secret.yaml: Stores sensitive configuration like database credentials.
    • service.yaml: Exposes the application and database within the cluster.
  3. Added a /health endpoint for readiness and liveness probes.
  4. Verified that the application runs successfully in the local Kubernetes environment using make cluster and kubectl apply -f k8s

Resolve #78

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
service/routes.py 98.03% <100.00%> (-1.97%) :arrow_down:
Kirei-Nan commented 1 week ago

LGTM