Fineract-CN-Helm/fineract-cn/templates/portfolio.yml [1:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: v1
kind: Service
metadata:
  name: portfolio-service
  namespace: {{ .Values.namespace }}
spec:
  selector:
    app: portfolio-ms
  ports:
    - port: 2026
      targetPort: 2026
  # type: LoadBalancer

---

apiVersion: apps/v1
kind: Deployment
metadata:
  name: portfolio-ms-cluster
  namespace: {{ .Values.namespace }}
spec:
  replicas: 1
  selector:
    matchLabels:
      app: portfolio-ms
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: portfolio-ms
    spec:
      containers:
      - name: portfolio-ms
        image: {{ .Values.portfolio.image }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



kubernetes_scripts/Fineract-CN-Helm/fineract-cn/templates/portfolio.yml [1:38]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: v1
kind: Service
metadata:
  name: portfolio-service
  namespace: {{ .Values.namespace }}
spec:
  selector:
    app: portfolio-ms
  ports:
    - port: 2026
      targetPort: 2026
  # type: LoadBalancer

---

apiVersion: apps/v1
kind: Deployment
metadata:
  name: portfolio-ms-cluster
  namespace: {{ .Values.namespace }}
spec:
  replicas: 1
  selector:
    matchLabels:
      app: portfolio-ms
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: portfolio-ms
    spec:
      containers:
      - name: portfolio-ms
        image: {{ .Values.portfolio.image }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



