summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal
AgeCommit message (Collapse)AuthorFilesLines
2018-05-16Increase portal-db initial liveness probe timeGary Wu1-2/+2
The initial liveness probe against portal-db was too quick, causing the container to be terminated in the middle of DB schema initialization and leaving the DB in a corrupted state. This change increases the initial delay before the liveness probe. Change-Id: I2f428ea33b60c3a99ca1e49dc8e59405aa4d824c Issue-ID: PORTAL-283 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-11Update readiness-check to 2.0.0Gary Wu1-1/+1
Change-Id: I3477393d2ba98fe1d48561efc6991e88d8e03793 Issue-ID: OOM-1076 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-10Merge "Sync OOM docker versions with docker-manifest.csv"Mandeep Khinda4-4/+4
2018-05-10Improve docker registry secret managementBorislavG6-6/+0
Change-Id: I2d1ff878c215becc9856af184eb0b11defd75e1d Issue-ID: OOM-1064 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-09Sync OOM docker versions with docker-manifest.csvGary Wu4-4/+4
Update the docker image versions to match docker-manifest.csv commit b8a8ccd85b022503db1aa0691ed1047269fb0757 Change-Id: Ia11bb77a4061611bc85d030f271017d68781f4d0 Issue-ID: OOM-1053 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-08Sync docker image images with docker-manifest.csvGary Wu1-1/+1
Update the docker image versions in the OOM helm charts with the versions specified in the docker-manifest.csv in the integration repo. This is as of integration repo commit ed53a301dbeaad568b21b9545cb9ce6c5c040b29 Change-Id: Ib844402ff9f3bdecfbd8e9f474eaac1561aff5b0 Issue-ID: OOM-1053 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-06Fix inconsistent repository referencesBorislavG6-9/+9
Issue-ID: OOM-874 Changes to be committed: modified: aai/charts/aai-babel/templates/deployment.yaml modified: aai/charts/aai-champ/templates/deployment.yaml modified: aai/charts/aai-data-router/templates/deployment.yaml modified: aai/charts/aai-gizmo/templates/deployment.yaml modified: aai/charts/aai-modelloader/templates/deployment.yaml modified: aai/charts/aai-resources/templates/deployment.yaml modified: aai/charts/aai-search-data/templates/deployment.yaml modified: aai/charts/aai-sparky-be/templates/deployment.yaml modified: aai/charts/aai-traversal/templates/deployment.yaml modified: aai/charts/aai-traversal/templates/job.yaml modified: appc/charts/appc-cdt/templates/deployment.yaml modified: appc/templates/statefulset.yaml modified: clamp/charts/mariadb/templates/deployment.yaml modified: clamp/templates/deployment.yaml modified: cli/templates/deployment.yaml modified: common/dgbuilder/templates/deployment.yaml modified: common/mariadb-galera/templates/statefulset.yaml modified: dcaegen2/charts/dcae-bootstrap/templates/job.yaml modified: dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml modified: dcaegen2/charts/dcae-healthcheck/templates/deployment.yaml modified: dcaegen2/charts/dcae-redis/templates/statefulset.yaml modified: dmaap/charts/dmaap-bus-controller/templates/deployment.yaml modified: dmaap/charts/dmaap-bus-controller/values.yaml modified: esr/charts/esr-gui/templates/deployment.yaml modified: esr/templates/deployment.yaml modified: msb/charts/kube2msb/templates/deployment.yaml modified: msb/charts/msb-discovery/templates/deployment.yaml modified: msb/charts/msb-eag/templates/deployment.yaml modified: msb/charts/msb-iag/templates/deployment.yaml modified: multicloud/charts/multicloud-ocata/templates/deployment.yaml modified: multicloud/charts/multicloud-vio/templates/deployment.yaml modified: multicloud/charts/multicloud-windriver/templates/deployment.yaml modified: multicloud/templates/deployment.yaml modified: policy/charts/brmsgw/templates/deployment.yaml modified: policy/charts/drools/charts/nexus/templates/deployment.yaml modified: policy/charts/drools/templates/statefulset.yaml modified: policy/charts/mariadb/templates/deployment.yaml modified: policy/charts/pdp/templates/statefulset.yaml modified: policy/templates/deployment.yaml modified: portal/charts/portal-app/templates/deployment.yaml modified: portal/charts/portal-cassandra/templates/deployment.yaml modified: portal/charts/portal-mariadb/templates/deployment.yaml modified: portal/charts/portal-sdk/templates/deployment.yaml modified: portal/charts/portal-widget/templates/deployment.yaml modified: portal/charts/portal-zookeeper/templates/deployment.yaml modified: sdnc/charts/dmaap-listener/templates/deployment.yaml modified: sdnc/charts/sdnc-portal/templates/deployment.yaml modified: sdnc/charts/ueb-listener/templates/deployment.yaml modified: sdnc/templates/statefulset.yaml modified: uui/charts/uui-server/templates/deployment.yaml modified: uui/templates/deployment.yaml modified: vid/charts/mariadb/templates/deployment.yaml modified: vid/templates/deployment.yaml Change-Id: I00aaa1eff3b870db3b475365eeda3f2e10aef6b9 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-02K8s Portal Cassandra mem settingst782s2-0/+3
Issue-ID: PORTAL-211 Change-Id: Id43f281366bc4faf5ce7bf6787897d23b30962e8 Signed-off-by: st782s <statta@research.att.com>
2018-05-01exposing portal on port 8989 outside the clusterMandeep Khinda13-101/+64
-introducing a loadBalancer object instead of node port. this will let us use port 8989 instead of 300xx -removing port forwarding helper script -making URLs configurable for flexibility Issue-ID: OOM-633 Change-Id: I92a0205e6ed68b2217c08d124ddfaf1a1f73a6cd Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-04-27OOM direct portal accessMandeep Khinda17-33/+119
-must include suffix of "onap.org" in URL for single signon -this isn't truly configurable - portal-app needs to be rebuilt See: portal/docs/tutorials/portal-sdk/single-signon.rst -must update local etc hosts with "fake" dns names -must use kubectl to portforward application ports into the pods -fixed zookeeper service name, -this is needed to be able to login (auth) -adding helper script to launch port-forwarding Issue-ID: OOM-633 Change-Id: I019f33f71a673467c420d1e44ee6c42da4a95f4b Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-04-24Merge "Make all services independent of helm Release.Name"Mike Elliott19-49/+55
2018-04-24Make all services independent of helm Release.NameBorislavG19-49/+55
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-24changing portal liveness/readiness probeMandeep Khinda1-4/+14
Inspired by aai-cassandra's stateful set Using nodetool instead of a port. Issue-ID: MUSIC-72 Change-Id: I877300d772c3357855756a9dcac6f148381615da Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-04-19getting portal-cassandra music to startMandeep Khinda3-34/+13
-Fixed pv/pvc problem. -The docker image changed so that it was not chown'ng files coupled with the tweaks to the mount directory this fixes the read-only file system issue. -The portal-cassandra container is not considered running yet by K8s though Port 9160 is not opened so the liveness probe will tear it down unless it is disabled by the person deploying the chart. Issue-ID: OOM-900 Change-Id: I004fcb77c70db92679c10c7488594cb3000a11d9 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-04-16Update readiness-check versionBorislavG4-4/+4
Readiness check version is not sinchronized in many pods This causing deployment failures. Issue-ID: OOM-936 Change-Id: Ieef91df17836adcdf24db536440d0a1624a50591 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-11fixing invalid portal db imagesMandeep Khinda2-6/+6
Finding strange issues with image pulling and names subst. When using registry.hub.docker.com and an Always pull policy the Job pod would sit there pulling images forever even though they are actually up to date and present. Therefore reverting back to plain old oomk8s/blah Issue-ID: OOM-746 Change-Id: Iec5de0e1314ac85fa4e8de6599922f1e0fd0e367 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-04-10Add pv and pvc to portal-cassandraRoger Maitland3-0/+108
Change-Id: I058848f3f40d7759201175986c57cd96ac232a4a Signed-off-by: Roger Maitland <Roger.Maitland@amdocs.com> Issue-ID: OOM-900
2018-04-06Correcting portal k8s configmap service namesMandeep Khinda15-35/+59
The service.name is really a port name and was being used wrong. Need a better way than this to get dependant chart names. This gets it working. Issue-ID: OOM-842 Change-Id: I6a78a5adb0e69524a90aa3386009a0d87ebed73c Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-04-05Removing portal schema from configmapMandeep Khinda13-403/+174
-Trying a new way to initialize maria db's. -Docker image contains project sources and sql files are fetched and executed agains't the target database. -duplicates are silently ignored. -A script that takes some basic params will do the heavy lifting -A 2nd job to make some OOM specific changes (carry over from amsterdam) -docker image has been pushed to oomk8s under the 2.0.0 number Issue-ID: OOM-858 Change-Id: I56d0c9c5aa1d3c4a9df2998634b9147db626d1fb Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-03-29Standardizing ONAP PortalMandeep Khinda76-980/+2755
-synched up with Beijing (master) -pods come up without cassandra music: sed: couldn't edit /docker-entrypoint-initdb.d/\ zzz_portal.cql: not a regular file ONAPPORTAL webapp in tomcat is failing to star resulting in HTTP 404 robot health Not sure how logging works in beijing so removed some of the ubuntu-init dir creation. need someone familiar with logging to investigate -addressed some CI comments. -removing configmap now that portaldb was fixed Issue-ID: OOM-746 Change-Id: I123d1ec6889db40b1721475a43665ef8efefc057 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-03-28Apache2 license addition for sql and js filesvaibhav_16dec1-0/+15
Issue-ID: OOM-825 Change-Id: I0cd8748adc7aa1a66cefd4a2b7d660d671a550b3 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-27Add standardized helm chart for logBorislavG2-1/+4
Change-Id: Ic9f0eb567716224893955d9379e9ed9308b9ea79 Issue-ID: OOM-740 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-03-17Portal selective readiness checkJerome Doucerain1-0/+3
added a condition on pap readiness Issue-ID: OOM-746 Change-Id: Id8a84b798dfab10038e24ed09d5d2c6712fbbeb4 Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
2018-03-22Fix license for PV and PVC yamlsMike Elliott1-0/+2
When conditions are used at the start of the yaml the hashed (#) comments of the license are not parsable by the json parser. There license comments have been wrapped in {{/* */}}. Change-Id: I16c539ae4280f8ecacfdedb1f8caad894f3a081f Issue-ID: OOM-821 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-03-22License addition in all yamlsvaibhav_16dec10-0/+140
Issue-ID: OOM-821 Change-Id: I627ac962afe8cd6bf2859a30a0e88f6c9ac89d34 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-01Run all components in one namespaceBorislavG14-56/+56
Change-Id: I5fcd4d577c1fda4de27842807c7cf7a5d372756e Issue-ID: OOM-722 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-02-25portal persistence folder parametrizationkerenj3-4/+5
Issue-ID: OOM-145 Change-Id: Ie41334345d1a3799d1bb0add8a2a97dc6918bd03 Signed-off-by: kerenj <keren.joseph@amdocs.com>
2018-02-22portal - readiness image updatekerenj1-1/+1
changes can be seen in reviews: 31743 and 31721 Issue-ID: OOM-514 Change-Id: I7373540d34ba605abb372690f7636d353b99b414 Signed-off-by: kerenj <keren.joseph@amdocs.com>
2018-02-15Replica Scaling of Portal and Vid Containervaibhav_16dec5-0/+8
Issue-ID: OOM-690 Change-Id: Ia26adc82d04add9b1e18c51b361c21755512c137 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-01-24portal config segmayank17-39/+1182
Issue-ID: OOM-557 Change-Id: I79f73ce84102caae5fdd4570cf1acb26cb3eeb4c Signed-off-by: mayank <mayank.gupta@amdocs.com>
2018-01-19Fixed incorrect APP url to access CLIEC2 Default User1-1/+1
Fixed incorrect APP url to access CLI by clicking CLI icon in portal Issue-ID: OOM-600 Change-Id: Ib9ca089f64b33e246d1ca09bfd22b5e44dd36c6c Signed-off-by: EC2 Default User <chenxiaobo99@hotmail.com>
2018-01-17Refresh /etc/hosts in VNC - reviewedyuryn4-25/+33
Change-Id: Ie2c9648e067867d00c035dd9f35560be2ecd6724 Issue-ID: OOM-413 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2018-01-03Fix firefox tab crashes in VNCyuryn2-1/+23
Change-Id: Ie295257d98ddf32693309535e15c6ad9529f10fc Issue-ID: OOM-531 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-12-17Remove redundant filebeat from portal-dbBorislavG1-25/+1
Portal-db is maria-db. It has no logback.xml configuration. The filebeat in this pod is redundant. Issue-ID: OOM-517 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com> Change-Id: I9118491ff6d9c51851cc915143b9962d98a883e4
2017-12-15Merge "Migrate to R1 released docker images"Mandeep Khinda1-3/+3
2017-12-08Migrate to R1 released docker imagesAlexis de Talhouët1-3/+3
Change-Id: Iac46cbae69404d17e1f4e59f85ed18fc7ecd01dd Issue-ID: OOM-432 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> (cherry picked from commit f033f949c49cc195be1f3a6bdf79759f7e0983ca)
2017-11-22Update annotations to spec for portalvasundhra3-164/+98
Issue-ID: OOM-406 Change-Id: I03e1da331a551f655ebf023f954d944b02926f37 Signed-off-by: vasundhra <vasundhra.choudhary@amdocs.com>
2017-10-29Add option to disable specific deploymentsyuryn6-1/+19
Add option to disable any deployment by using conditions in helm templates. Each deployment will get helm parameter - boolean flag allowing to disable it. The flags can be listed in the custom values.yaml file that can be passed to the createAll script with '-v' command line option. Change-Id: I32b795de46c72915c2201c94c23f4e061971bb56 Issue-ID: OOM-380 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-10-25synching up portal config againMandeep Khinda4-38/+26
PORTAL-130 renamed various mounts and FQDNs -it also added an additional logback.xml for portalsdk What I did was move the 2 logback files into the config/log dir so that the centralized logging team can update them as required. Was able to login to the portal using the vnc session Issue-ID: OOM-340 Change-Id: Id1872422e7d876953ecb0a92ce55a8753d9d7eaa Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-10-17Synching up portal configMandeep Khinda3-14/+6
-moving container tags to 1.3 -pulling latest docker config mount files -changing mariadb password back to original. there was no reason to change in the first place -robot health check passes: Basic Portal Health Check | PASS | Issue-ID: OOM-340 Change-Id: I77d22b701aa27473a9cfce25031c13f9be845dae Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-27added filebeat to all componentsyuryn3-1/+50
Deployment of: filebeat containar for each relevant component + chown of log dir to root - prevents filebeat complaining about filebeat file + ecomp web app renamed onap - fixed dep-pap.yaml + fixed multiple volumeMounts in vid-server Change-Id: I74f8f2abd5feeba1d37b044d2a023674fd41c994 Issue-ID:OOM-110 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-26Revert "added filebeat to all components"Alexis de Talhouët3-50/+1
Pods aren't starting properly. Let's not take any risk, so reverting. 3m 18s 4 kubelet, kubernetes-5 spec.containers{vid-server} Normal Killing Killing container with id docker://vid-server:FailedPostStartHook This reverts commit 4ca69ea2b6a2aaaf0974953a3c3dec7694fdfcb0. Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I7953ac3b0e2a4ecbdd1a7d2a48cb9a1964bf08ab Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-09-24added filebeat to all componentsItay Hassid3-1/+50
Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I3605a975ee9dbe3e34b8fa6b17fef52e9d29b975 Signed-off-by: Itay Hassid <itay.hassid@amdocs.com>
2017-09-21Update to use newly named portal containersMike Elliott1-4/+4
Portal container names now include a hyphen. K8s deployment descriptors updated to point to new containers. Change-Id: I7b6b08a9d707b1b9747c6f45de70df7392cfca8f Issue-Id: OOM-310 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2017-09-14Containers time zone syncyuryn4-0/+24
Make sure time zones on the containers are in sync with the hosting machines Change-Id: Ie22608bda63cbcdf564f73adcdd3e829afad05ca Issue-ID: OOM-299 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-13Fix persistent volumes for multiple onap instancesBorislavG1-3/+3
Deploy multiple namespaces fails due to existing persistence volumes. "persistent-volume "appc-db" already exists" Need to change all persistent volume names to include namespace. Change-Id: I40a3048bef14f813b133ea75e2f664f669183e82 Issue-ID: OOM-294 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2017-09-12Merge "Add service end point annotation for portal"rui hu1-0/+11
2017-09-12Add service end point annotation for portalHuabingZhao1-0/+11
Issue-Id: OOM-234 Change-Id: Ie18c2744c60b08ec8cfd80804c99da20530f7f65 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-11synching portal config with upstreamMandeep Khinda2-12/+19
on master branch there were changes to portals vm_init script and docker-compose process that needed to be ported to oom. src of config are on master in portal/deliveries/ reverted the docker image name changes. upstream master has introuced a "-" between apps, db and wms. these images were cauing NPEs during portal spring boot so went back to original image names until further notice. Issue-ID: OOM-276 Change-Id: I708628f4b375325f2f2b753d1a374699b763098a Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-06Persistent volumes for Database storageBorislavG2-2/+32
Addition of persistent volumes for all DBs including persistence of policy mariadb (with initial configuration data) Change-Id: I029e724c3f8bba7fe3599b0955a4a3d213c08163 Issue-ID: OOM-268 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>