X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fso%2Fvalues.yaml;h=b096b55f544a3c159f2d40059f30d2073ce639a8;hb=9591933faf7b9b60258c81ca01649d231a979506;hp=b8b120c0d361b98f3d5370bc8e1926e474008174;hpb=53e5783c293b768caaecec7961bfaf7d18c0a0b0;p=oom.git diff --git a/kubernetes/so/values.yaml b/kubernetes/so/values.yaml old mode 100644 new mode 100755 index b8b120c0d3..b096b55f54 --- a/kubernetes/so/values.yaml +++ b/kubernetes/so/values.yaml @@ -1,4 +1,4 @@ -# Copyright © 2017 Amdocs, Bell Canada +# Copyright © 2018 AT&T USA # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -11,118 +11,97 @@ # 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. - -# Default values for so. -# This is a YAML-formatted file. -# Declare variables to be passed into your templates. -global: # global defaults +################################################################# +# Global configuration defaults. +################################################################# +global: nodePortPrefix: 302 + nodePortPrefixExt: 304 + repository: nexus3.onap.org:10001 readinessRepository: oomk8s - readinessImage: readiness-check:2.0.0 - loggingRepository: docker.elastic.co - loggingImage: beats/filebeat:5.5.0 - -subChartsOnly: - enabled: true - -# application image + readinessImage: readiness-check:2.0.2 + mariadbGalera: + nameOverride: mariadb-galera + serviceName: mariadb-galera + servicePort: "3306" + mariadbRootPassword: secretpassword + #This flag allows SO to instantiate its own mariadb-galera cluster, + #serviceName and nameOverride should be so-mariadb-galera if this flag is enabled + localCluster: false + persistence: + mountPath: /dockerdata-nfs + #This configuration will run the migration. The configurations are for backing up the data + #from DB and then restoring it to the present versions preferred DB. + migration: + enabled: false + dbHost: mariadb-galera + dbPort: 3306 + dbUser: root + dbPassword: secretpassword + +################################################################# +# Application configuration defaults. +################################################################# repository: nexus3.onap.org:10001 -image: openecomp/mso:1.2.1 +image: onap/so/api-handler-infra:1.4.0-STAGING-latest pullPolicy: Always - -# flag to enable debugging - application support required -debugEnabled: false -# application configuration -config: - # message router configuration - dmaapTopic: "AUTO" - # openstack configuration - openStackUserName: "vnf_user" - openStackRegion: "RegionOne" - openStackKeyStoneUrl: "http://1.2.3.4:5000" - openStackServiceTenantName: "service" - openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e" - logstashServiceName: log-ls - logstashPort: 5044 - sniro: - serviceName: sniro-emulator - port: 80 - aai: - serviceName: aai - port: 8443 - messagerouter: - serviceName: message-router - port: 3904 - msb: - serviceName: msb-iag - port: 80 - oof: - serviceName: oof-has-api - port: 8091 - sdnc: - serviceName: sdnc - port: 8282 - sdc: - serviceName: sdc-be - port: 8443 - -# subchart configuration -mariadb: - nameOverride: so-db - -# default number of instances replicaCount: 1 +minReadySeconds: 10 +containerPort: 8080 +logPath: ./logs/apih/ +app: api-handler-infra +service: + type: NodePort + nodePort: 77 + internalPort: 8080 + externalPort: 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: + cpu: 500m + memory: 1Gi + large: + limits: + cpu: 4000m + memory: 8Gi + requests: + cpu: 1000m + memory: 2Gi + unlimited: {} +livenessProbe: + path: /manage/health + scheme: HTTP + initialDelaySeconds: 600 + periodSeconds: 60 + timeoutSeconds: 10 + successThreshold: 1 + failureThreshold: 3 nodeSelector: {} - affinity: {} -# probe configuration parameters -liveness: - initialDelaySeconds: 10 - periodSeconds: 10 - # necessary to disable liveness probe when setting breakpoints - # in debugger so K8s doesn't restart unresponsive container - enabled: true - -readiness: - initialDelaySeconds: 10 - periodSeconds: 10 - -service: - type: NodePort - name: so - portName: so - internalPort: 8080 - nodePort: 23 - internalPort2: 3904 - nodePort2: 25 - internalPort3: 3905 - nodePort3: 24 - internalPort4: 9990 - nodePort4: 22 - internalPort5: 8787 - nodePort5: 50 - -ingress: - enabled: false - -resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # - # Example: - # Configure resource requests and limits - # ref: http://kubernetes.io/docs/user-guide/compute-resources/ - # Minimum memory for development is 2 CPU cores and 4GB memory - # Minimum memory for production is 4 CPU cores and 8GB memory -#resources: -# limits: -# cpu: 2 -# memory: 4Gi -# requests: -# cpu: 2 -# memory: 4Gi +#Used only if localCluster is enabled. Instantiates SO's own cassandra cluster +#helm deploy demo local/onap --namespace onap --verbose --set so.enabled=true \ +# --set so.global.mariadbGalera.localCluster=true \ +# --set so.global.mariadbGalera.nameOverride=so-mariadb-galera \ +# --set so.global.mariadbGalera.serviceName=so-mariadb-galera +mariadb-galera: + nameOverride: so-mariadb-galera + replicaCount: 1 + service: + name: so-mariadb-galera + persistence: + mountSubPath: so/mariadb-galera/data + enabled: true