Updating charts to use common resource template
[oom.git] / kubernetes / so / values.yaml
index 20cf8d2..60d0424 100755 (executable)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 repository: nexus3.onap.org:10001
-image: onap/so/api-handler-infra:latest
+image: onap/so/api-handler-infra:1.3.0-STAGING-latest
 pullPolicy: IfNotPresent
 replicaCount: 1
 minReadySeconds: 10
@@ -21,23 +21,35 @@ logPath: ./logs/apih/
 app: api-handler-infra
 service:
     type: NodePort
-    nodePort: 58
-    internalPort: 10100
+    nodePort: 77
+    internalPort: 8080
     portName: so-apih-port
 updateStrategy:
     type: RollingUpdate
     maxUnavailable: 1
     maxSurge: 1
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
 resources:
+  small:
+    limits:
+      cpu: 2000m
+      memory: 4Gi
     requests:
-      memory: 1Gi
       cpu: 500m
+      memory: 1Gi
+  large:
     limits:
-      memory: 4Gi
-      cpu: 2000m
+      cpu: 4000m
+      memory: 8Gi
+    requests:
+      cpu: 1000m
+      memory: 2Gi
+  unlimited: {}
 livenessProbe:
-    path: /manage/health 
-    scheme: HTTPS
+    path: /manage/health
+    scheme: HTTP
     initialDelaySeconds: 600
     periodSeconds: 60
     timeoutSeconds: 10
@@ -52,4 +64,4 @@ global:
 mariadb:
   nameOverride: so-db
 nodeSelector: {}
-affinity: {}
\ No newline at end of file
+affinity: {}