apiVersion: v1
kind: Service
metadata:
  name: fastapi-service
spec:
  selector:
    framework: fastapi
  type: LoadBalancer
  ports:
    - protocol: 'TCP'
      port: 80
      targetPort: 8080  # inside of the container