feat: dodaj Kubernetes manifeste za FastAPI + Postgres
This commit is contained in:
12
manifests/app/service.yaml
Normal file
12
manifests/app/service.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: fastapi-api-service
|
||||
namespace: student-<vas-username>
|
||||
spec:
|
||||
selector:
|
||||
app: fastapi-api
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8000
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user