Guangrong, I don’t have an answer in the context of the DCAE controller but OOM/Kubernetes has facilities to help build a Holmes cluster in the containerized version of DCAE (which is being worked on). The cluster can be static (which is believe is what most projects intend for Beijing) or dynamic (the OOM team would love to work with you on this). Here are some links I hope you find useful:
* OOM Scaling: https://wiki.onap.org/display/DW/Beijing+Scope#BeijingScope-Scale-clusterONAPservicestoenableseamlessscaling * K8s auto-scaling: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ Here is a sample of how an auto-scaler is configured: apiVersion: autoscaling/v2beta1 kind: HorizontalPodAutoscaler metadata: name: php-apache namespace: default spec: scaleTargetRef: apiVersion: apps/v1beta1 kind: Deployment name: php-apache minReplicas: 1 maxReplicas: 10 metrics: - type: Resource resource: name: cpu targetAverageUtilization: 50 status: observedGeneration: 1 lastScaleTime: <some-time> currentReplicas: 1 desiredReplicas: 1 currentMetrics: - type: Resource resource: name: cpu currentAverageUtilization: 0 currentAverageValue: 0 The OOM team would be happy to work with you on implementing this. Cheers, Roger From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of fu.guangr...@zte.com.cn Sent: Friday, February 2, 2018 2:58 AM To: l...@research.att.com Cc: onap-discuss@lists.onap.org; tang.pe...@zte.com.cn Subject: [onap-discuss] [dcae][dcaegen2][holmes] A Question on Auto Scailing of DCAE Microservices Lusheng, The Holmes team is currently working on the auto scaling plans for Holmes. We need to confirm something with you. To my understanding, the microservice should only focus on how to maintain and balance its data flow rather than how the docker containers/vms are scaled by their controller. As a DCAE application, I think it's DCAE controller's responsiblity to determine when and how to scale in or scale out Holmes instances. Is that correct? If what my understanding is correct, does DCAE have any specific requirements regarding collecting the status and metrics of its microservices? Regards, Guangrong This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at https://www.amdocs.com/about/email-disclaimer <https://www.amdocs.com/about/email-disclaimer>
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss