summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-09-05fix SDC api hostnameMandeep Khinda1-1/+1
the SDC widget in the onap portal was broken due to an incorrect hostname entry for the front end endpoint Issue-ID: OOM-151 Change-Id: Ia51bd805655da66eea7bbb617991f30ae6fd223f Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-05sparky-fe -> sparky-be. OOM-264nagu1-1/+1
fixes invalid host file entry in vnc-portal pod Change-Id: I85effcc4f9e84ae8d9921816398547abfe82d520 Signed-off-by: nagu <nagaraja_sr@infosys.com>
2017-08-31NodePort Helm Parametrizationkerenj2-5/+6
parameterization of node ports, and create/delete update to fix multi ONAP instances creation(in diff NS). Issue-ID: OOM-52 Change-Id: Iaa3f5bc43f70b95cdc349389e25ef8b804a7a329 Signed-off-by: kerenj <keren.joseph@amdocs.com>
2017-08-25refactor helm files to use namespace prefixMandeep Khinda6-34/+35
-removed the full namespace from each template. better lets us reuse variables. -made secret end up in a configurable namespace -fixed some bugs where secrets were missing -updated createAll and delete to make use of namespace prefix removing the need for seds to replace the word onap. *** all containers at this point come up in my env. except for aai model loader which is failing cause its still at 1.0 and its trying to talk to a 1.1 sdc and it doesnt auth properly. *** Issue-ID:OOM-215 Change-Id: I15815a01469786a391e272fde4bdaa53ff48091c Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-08-24portal K8S-Helm Parameterizationkerenj8-36/+68
changed portal k8s deployment to support helm parameterization Issue-ID: OOM-52 Change-Id: I8ad9681b597a87113089f194e1a0e8a9e550bb08 Signed-off-by: kerenj <keren.joseph@amdocs.com>
2017-08-21ONAP Portal 1.1 workMandeep Khinda5-16/+97
-Updating yamls, and config pod data and tag -VNC pod is currently WIP as the other services are not available yet. Issue-ID: OOM-151 Change-Id: I8f201645481888657d42bfe0e16ca505187521c7 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-08-17Revert aaf060dac3d302f94ce99e5c63002f046e4d3f0eMunir Ahmad2-13/+13
Issue-ID: OOM-145 This reverts commit aaf060dac3d302f94ce99e5c63002f046e4d3f0e. Change-Id: I0f04c394846d553b60b1c0c3a334f98c021d804e Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-08-17update dir path from dockerdata-nfs to dockerdataMunir Ahmad2-13/+13
issue-id: OOM-145 Change-Id: I3f16fc32188118901612e1b93ec707fc1d513680 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-08-03[OOM-3] Docker credentials secret missingBorislav Glozman3-0/+6
Change-Id: I30df3cc11315b757a1d3e3da832681682a970825 Signed-off-by: Borislav Glozman <Borislav.Glozman@amdocs.com>