# ============LICENSE_START=============================================== # Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============LICENSE_END================================================= # --- apiVersion: apps/v1 kind: Deployment metadata: name: servicemanager namespace: servicemanager labels: app: servicemanager spec: replicas: 1 selector: matchLabels: app: servicemanager template: metadata: labels: app: servicemanager version: v1 spec: containers: - name: servicemanager image: "nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-plt-servicemanager:0.1.1" imagePullPolicy: IfNotPresent env: - name: SERVICE_MANAGER_ENV value: "" ports: - containerPort: 8095 resources: limits: memory: 256Mi cpu: "250m" requests: memory: 128Mi cpu: "80m" volumeMounts: - name: config-volume mountPath: /app/servicemanager/.env subPath: .env volumes: - name: config-volume configMap: name: env-configmap --- apiVersion: v1 kind: Service metadata: name: servicemanager namespace: servicemanager spec: selector: app: servicemanager ports: - protocol: TCP port: 80 targetPort: 8095 nodePort: 31575 type: NodePort