- Dockerfile for Python 3.12 FastAPI app - Drone CI pipeline to build and push to internal registry - Kubernetes manifests (Deployment, Service, Secret, Namespace) - ArgoCD Application for GitOps deployment - Kustomize base configuration
16 lines
237 B
YAML
16 lines
237 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: invest-api
|
|
namespace: invest-api
|
|
labels:
|
|
app: invest-api
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: invest-api
|
|
ports:
|
|
- port: 8000
|
|
targetPort: 8000
|
|
protocol: TCP
|