diff --git a/oop-platform-chart/charts/federation-manager/README.md b/oop-platform-chart/charts/federation-manager/README.md index ff7017c04d99a387c600db205f0f0b04399081fe..b01682fa1ca893f7f5cbab87cee974a78e21e675 100644 --- a/oop-platform-chart/charts/federation-manager/README.md +++ b/oop-platform-chart/charts/federation-manager/README.md @@ -118,8 +118,17 @@ federationManager: host: "127.0.0.1" server: "/operatorplatform/federation/v1" port: "8992" + + # Edge cloud platform (lite2edge) — prerequisite for testing federation in this version + edgeCloudPlatform: + host: "lite2edge.lite2edge.svc.cluster.local" + port: "80" + client_name: "lite2edge" + flavour_id: "default" ``` +**Edge cloud platform (lite2edge):** Federation Manager uses this to talk to the edge cloud (lite2edge). Lite2edge is **not** deployed by this chart; deploy it separately (e.g. in namespace `lite2edge`) if you need to test federation. Override `edgeCloudPlatform` if your lite2edge runs at a different host/port or requires a specific `flavour_id`. + ### OpenVPN Configuration (Optional) To enable VPN connectivity for remote federation: diff --git a/oop-platform-chart/charts/federation-manager/values.yaml b/oop-platform-chart/charts/federation-manager/values.yaml index 6d8aee9991330c537c89bd9ab92141a26d71293f..d367c72f9cde25b3bb4efc90f186a9fda76fe02a 100644 --- a/oop-platform-chart/charts/federation-manager/values.yaml +++ b/oop-platform-chart/charts/federation-manager/values.yaml @@ -103,7 +103,7 @@ federationManager: image: repository: labs.etsi.org:5050/oop/code/federation-manager tag: "1.0.0" - pullPolicy: Always + pullPolicy: IfNotPresent service: name: federation-manager @@ -140,14 +140,14 @@ federationManager: port: "30760" edgeCloudPlatform: - host: "127.0.0.1" - port: "30499" - client_name: "federation-manager" - flavour_id: "flavour1" + host: "lite2edge.lite2edge.svc.cluster.local" + port: "80" + client_name: "lite2edge" + flavour_id: "default" artefactManager: - host: "127.0.0.1" - port: "30499" + host: "artefact-manager-service.oop.svc.cluster.local" + port: "8000" enabled: "true" dst_registry: "" dst_username: "" diff --git a/oop-platform-chart/charts/oeg/values.yaml b/oop-platform-chart/charts/oeg/values.yaml index 50051aa16c1851da66eda0a173b5192173e9c36b..bea2440377d3d07275847c1f63e5f7c4fe1d9edf 100644 --- a/oop-platform-chart/charts/oeg/values.yaml +++ b/oop-platform-chart/charts/oeg/values.yaml @@ -15,14 +15,8 @@ mongodb: type: ClusterIP port: 27017 - resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 250m - memory: 256Mi - + resources: {} + # Persistence configuration persistence: enabled: true @@ -45,7 +39,7 @@ oegcontroller: image: repository: labs.etsi.org:5050/oop/code/open-exposure-gateway tag: 1.0.0 - pullPolicy: Always + pullPolicy: IfNotPresent service: name: oeg @@ -53,14 +47,8 @@ oegcontroller: port: 80 targetPort: 8080 - resources: - limits: - cpu: 1000m - memory: 1Gi - requests: - cpu: 500m - memory: 512Mi - + resources: {} + # Environment variables env: mongoUri: "mongodb://oegmongo:27017" diff --git a/oop-platform-chart/charts/portal/values.yaml b/oop-platform-chart/charts/portal/values.yaml index de7e169fa18755800f6eb45c9da59bbeba5e5b59..8b1c4b719d358faef0b77a6c9e8ae8df407eeea6 100644 --- a/oop-platform-chart/charts/portal/values.yaml +++ b/oop-platform-chart/charts/portal/values.yaml @@ -21,10 +21,4 @@ service: targetPort: 3000 nodePort: "" -resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 100m - memory: 256Mi +resources: {} diff --git a/oop-platform-chart/charts/srm/values.yaml b/oop-platform-chart/charts/srm/values.yaml index aee563903a3fe295d0eec00e5b6676b0d4ecfa02..e4e8473c049ec8c39ce4c6d176faccf4d10fa2e4 100644 --- a/oop-platform-chart/charts/srm/values.yaml +++ b/oop-platform-chart/charts/srm/values.yaml @@ -15,14 +15,8 @@ mongodb: type: ClusterIP port: 27017 - resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 250m - memory: 256Mi - + resources: {} + # Persistence configuration persistence: enabled: true @@ -44,7 +38,7 @@ srmcontroller: image: repository: labs.etsi.org:5050/oop/code/service-resource-manager tag: 1.0.0 - pullPolicy: Always + pullPolicy: IfNotPresent service: name: srm @@ -53,14 +47,8 @@ srmcontroller: targetPort: 8080 nodePort: 32415 # Fixed port for testing - resources: - limits: - cpu: 1000m - memory: 1Gi - requests: - cpu: 500m - memory: 512Mi - + resources: {} + # Environment variables for SRM env: kubernetesMasterIp: k3d-sunriseop-server-0 @@ -98,14 +86,8 @@ artifactManager: targetPort: 8000 nodePort: 30080 # Fixed port for testing - resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 250m - memory: 256Mi - + resources: {} + env: pythonPath: "/app" diff --git a/oop-platform-chart/values.yaml b/oop-platform-chart/values.yaml index 9ce0e8f170dee0bae6538d0fbd4e46943a78e1e2..1969e4a1ca406159af0cae5368d724049aed98d7 100644 --- a/oop-platform-chart/values.yaml +++ b/oop-platform-chart/values.yaml @@ -26,13 +26,7 @@ srm: service: type: ClusterIP port: 27017 - resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 250m - memory: 256Mi + resources: {} persistence: enabled: true accessMode: ReadWriteOnce @@ -57,13 +51,7 @@ srm: port: 8080 targetPort: 8080 nodePort: "" - resources: - limits: - cpu: 1000m - memory: 1Gi - requests: - cpu: 500m - memory: 512Mi + resources: {} env: empStorageUri: "mongodb://mongosrm:27017" artifactManagerAddress: "http://artefact-manager-service:8000" @@ -270,10 +258,4 @@ portal: targetPort: 3000 nodePort: "" - resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 100m - memory: 256Mi + resources: {}