Aai-cassandra is a statefulset.

So, we have to overwrite the value of replicaCount: 1 in


aai/charts/aai-cassandra/values.yaml

I generally deploy each component individually because of setup and resource 
constraints.

If you deploy individual components then override something like below

Below is just an example in my setup. You may want to fine tune Probe values 
based on resources in your setup

global:
  repository: xx.xx.xx.xx:5000
  pullPolicy: IfNotPresent
  flavor: unlimited

liveness:
  initialDelaySeconds: 120

aai-cassandra:

  replicaCount: 1
aai-data-router:
  liveness:
    initialDelaySeconds: 120
aai-sparky-be:
  liveness:
    initialDelaySeconds: 120
aai-spike:
  liveness:
    initialDelaySeconds: 120
aai-champ:
  liveness:
    initialDelaySeconds: 120
  readiness:
    initialDelaySeconds: 120
aai-resources:
  readiness:
    initialDelaySeconds: 120

If you are deploying all ONAP components together (using helm deploy plugin) 
then you may have to do something like below to override

global:
  repository: xx.xx.xx.xx:5000
  pullPolicy: IfNotPresent
  flavor: unlimited

aai:
  liveness:
    initialDelaySeconds: 120

  aai-cassandra:

    replicaCount: 1
  aai-data-router:
    liveness:
      initialDelaySeconds: 120
  aai-sparky-be:
    liveness:
      initialDelaySeconds: 120
 aai-spike:
    liveness:
      initialDelaySeconds: 120
  aai-champ:
    liveness:
      initialDelaySeconds: 120
    readiness:
      initialDelaySeconds: 120
  aai-resources:
    readiness:
      initialDelaySeconds: 120

Thanks,
Kranthi

From: DeWayne Filppi <[email protected]>
Date: Thursday, March 14, 2019 at 4:14 PM
To: Kranthi Guttikonda <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [onap-discuss] OOM: K8S deployment minimum nodes

Perhaps there is some adjustment to the Helm charts needed, because the 
aai-cassandra container fails claiming it needs 2 nodes.  Granted, I'm using 
Casablanca code.  Are you aware of any tweaks needed to the charts?

On Thu, Mar 14, 2019 at 1:01 PM Kranthi Guttikonda 
<[email protected]<mailto:[email protected]>> wrote:
Hi DeWayne,

I don’t think there is such requirement. You can deploy the whole ONAP in 
single HP or DELL gen9 v4 or above server (having 256GB RAM, 56 CPU (with hyper 
threading)). All you need to do is increase the --max-pods in kubelet. I did 
this with Rancher and kubeadm and able to deploy ONAP successfully in single 
server.

Attached the rancher POST call for reference.

Also I did test ONAP Casablanca with helm v2.12.3 and kubelet version 1.13.4 as 
well. With latest kubeadm you need to adjust the value of maxPods in 
“/var/lib/kubelet/config.yaml” and restart the kubelet

Coming to taints, affinities and nodeSelector fields unless you specify ONAP 
charts doesn’t have these enabled as default.

Thanks,
Kranthi

From: <[email protected]<mailto:[email protected]>> on 
behalf of "DeWayne Filppi via Lists.Onap.Org<http://Lists.Onap.Org>" 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, March 14, 2019 at 3:37 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] OOM: K8S deployment minimum nodes

  Has anyone established the minimum number of compute nodes that ONAP can run 
on (in a K8S deployment)?  Not counting Rancher or the Kubernetes master.  I 
know it's at least 2, but was wonder if anyone had established the minimum.  
I'm not talking about resource limitations, I'm talking about actual 
deployments or pods having taints or affinities that require a certain number 
of nodes.

Thanks,

DeWayne





--

DeWayne Filppi


Director, Sr. Architect CTO Office

+972523609583<http://+17145121706>cloudify.co<https://cloudify.co/> 
@cloudifysource<mailto:@cloudifysource>


[Image removed by sender.]

[Image removed by sender.]<https://cloudify.co/>  [Image removed by sender.] 
<https://github.com/cloudify-cosmo/>   [Image removed by sender.] 
<https://www.linkedin.com/company/cloudifyco/>   [Image removed by sender.] 
<https://twitter.com/CloudifySource>   [Image removed by sender.] 
<https://www.youtube.com/user/cloudifysource>





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16052): https://lists.onap.org/g/onap-discuss/message/16052
Mute This Topic: https://lists.onap.org/mt/30432518/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to