summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates
AgeCommit message (Collapse)AuthorFilesLines
2018-02-15Replica Scaling of Policy Containervaibhav_16dec6-4/+7
Issue-ID: OOM-689 Change-Id: Iff389af637dec0b85e568dd9b4cfa641f11eb3fc Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-01-25Policy config segreggationvaibhav_16dec8-25/+126
Issue-ID: OOM-553 Change-Id: I8dab41aea5b0fad1395f6deb47b2faa6f7dcbdbc Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-01-18Fix policyAlexis de Talhouët5-18/+10
- remove useless init-check in deployment to match requirement from policy team: https://gerrit.onap.org/r/gitweb?p=policy/docker.git;a=blob;f=docker-compose.yml;h=96fd5073e9d51908dabd04643aa96b42820ac681;hb=HEAD - add missing drools port (9696) - update configuration files to reflect latest Change-Id: I3399c21a3357b649fdc078a0bd4ba4af1f751a9b Issue-ID: OOM-490 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-01-18Disable persisting policy mariadbAlexis de Talhouët2-37/+0
See https://lists.onap.org/pipermail/onap-discuss/2018-January/007199.html Change-Id: Ib75fbb40e99b6c97ccee9285750c9463f9c6a4f8 Issue-ID: OOM-548 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> (cherry picked from commit ccb051441f45e5cf7ee4fa8e59726e794741a2c9)
2017-11-22Update annotations to spec for policyvasundhra5-178/+113
Issue-ID: OOM-406 Change-Id: I23e47dd28502cefc7b64fad7704aacdee51f1fc7 Signed-off-by: vasundhra <vasundhra.choudhary@amdocs.com>
2017-10-29Add option to disable specific deploymentsyuryn8-0/+26
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-09-27added filebeat to all componentsyuryn3-0/+89
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-89/+0
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-0/+89
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-15Fix annotation issue for policyHuabingZhao1-2/+2
The json format is not correct due to lacking of a comma. Issue-Id: OOM-222 Change-Id: I5af614d02e8cddd96efa80d09d72dcf264756ae1 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-14Merge "Containers time zone sync"Mandeep Khinda6-0/+38
2017-09-14Containers time zone syncyuryn6-0/+38
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-14move policy config to onap 1.1Mandeep Khinda3-27/+2
was the cause of the robot failure for policy in oom Issue-ID: OOM-297 Change-Id: Iabb24cc7a007ef852cde3ebe2cbb9226bb4153b3 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com> Signed-off-by: Ahmed Alabulrahman <ahmed.alabdulrahman@amdocs.com>
2017-09-13Revert "moving certs and keys to k8s secrets"Keren Joseph1-5/+0
This reverts commit 59ffd500ea34c201fbb3edc39e64655fa8381be0. Tested locally and does not work. DmaaP fails to come up causing many other pods to crash loop. failed to start container "dmaap": Error response from daemon: {"message":"invalid header field value "oci runtime error: container_linux.go:247:starting container process caused "process_linux.go:359: container init caused "rootfs_linux.go:53: mounting "/var/lib/kubelet/pods/9ae222e0-98a9-11e7-badd-02cfc855c3b9 /volumes/kubernetes.io~secret/mykey" to rootfs "/var/lib/docker/aufs/mnt /b92c56185f3371cb1f091679780d40797dd2c6124cd00cb8fe68da2b247363a8" at "/var/lib/docker/aufs/mnt/.../appl/dmaapMR1/etc/keyfile" caused "not a directory"""n""} Issue-ID: OOM-293 Change-Id: I348ffa14718bd6e89e99f2859cf6612c10370559 Signed-off-by: Mandeep Khinda <mandeep.khinda@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-12moving certs and keys to k8s secretsKeren Joseph1-0/+5
changed location of used certs and keys files, updated deploy yamls and create/delete all Issue-ID: OOM-293 Change-Id: I53766b7028d6b725bf381875105b196246ff2ee1 Signed-off-by: Keren Joseph <keren.joseph@amdocs.com>
2017-09-08Merge "Policy 1.1 in Kubernetes"Mandeep Khinda7-88/+12
2017-09-08Policy 1.1 in KubernetesEric Au7-88/+12
- up verion containers to use 1.1 - pap and brmsgw report it is waiting for pap 9091 port to be open but pdp and pypdp reports pap 9091 port is open - removed push-policies.sh from 1.1 due to comment in CR - removed pypdp container from 1.1 due to comment in CR - removed pypdp.conf from 1.1 due to comment in CR - removed ip_addr.txt from 1.1 due to comment in CR Change-Id: Ibb685ec603a59dba56aa9673044ae1923d993191 Issue-Id: OOM-249 Signed-off-by: Eric Au <kachun.au@amdocs.com>
2017-09-06Persistent volumes for Database storageBorislavG2-0/+37
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-05Merge "NodePort Helm Parametrization"Yury Novitsky1-6/+6
2017-09-01add service port to annotationHuabingZhao1-0/+2
Issue-Id: OOM-222 Change-Id: Iaebaf08d595adfeae405799572b10d59adad61a5 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-08-31NodePort Helm Parametrizationkerenj1-6/+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-30add service endpoint annotationHuabingZhao1-0/+18
Issue-Id: OOM-222 Change-Id: I9735c7bad45a8dad474a2ef66143e606868170d1 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-08-25refactor helm files to use namespace prefixMandeep Khinda8-27/+27
-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-24policy K8S-Helm Parameterizationkerenj8-0/+577
changed policy k8s deployment to support helm parameterization. updated images to 1.1 Issue-ID: OOM-52 Change-Id: I4eb0626c7c00ace2c266d6ddbb1313f3b654d69e Signed-off-by: kerenj <keren.joseph@amdocs.com>