fix: update invidious deployment and service configurations for consistency and readiness checks

This commit is contained in:
2025-04-15 19:14:51 +05:30
parent 537a942ab7
commit 2aa871fb7e
3 changed files with 58 additions and 73 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: invidious-db
name: invidious-db-service
namespace: default
spec:
selector:
@@ -15,11 +15,11 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: companion
name: invidious-companion-service
namespace: default
spec:
selector:
app: companion
app: invidious-companion
ports:
- protocol: TCP
port: 8282
@@ -40,3 +40,19 @@ spec:
targetPort: 3000
nodePort: 3111
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: invidious-companion-external-service
namespace: default
spec:
type: NodePort
selector:
app: invidious-companion
ports:
- port: 8282
targetPort: 8282
nodePort: 8282
protocol: TCP