Done
Details
Assignee
Former userFormer user(Deactivated)Reporter
Former userFormer user(Deactivated)Sprint
NonePriority
Medium
Details
Details
Assignee
Former user
Former user(Deactivated)Reporter
Former user
Former user(Deactivated)Sprint
None
Priority
Created June 21, 2018 at 1:54 PM
Updated August 12, 2023 at 4:14 AM
Resolved September 21, 2018 at 2:26 AM
The values were added as per observations from current CPU and memory values observed in Dashboard of Rancher , optimum values were used during configuration . (kindly refer to the logs and attach
ment)
root@k8s-2:/var/tmp/prateek/oom/kubernetes# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
config11 story11-portal-app-6566d6db96-7zrrd 2/2 Running 0 9m
config11 story11-portal-cassandra-78b65d7fc4-5p9d6 1/1 Running 0 9m
config11 story11-portal-db-5454d9bb7d-f7btw 1/1 Running 0 9m
config11 story11-portal-sdk-7576664b95-hqw89 2/2 Running 0 9m
config11 story11-portal-widget-7468966f6c-5vg9b 1/1 Running 0 9m
config11 story11-portal-zookeeper-55d66bbd75-677qt 1/1 Running 0 9m
=======================
root@k8s-2:/var/tmp/prateek/oom/kubernetes# kubectl describe -n config11 pod story11-portal-cassandra-78b65d7fc4-5p9d6
Name: story11-portal-cassandra-78b65d7fc4-5p9d6
Namespace: config11
Node: k8s-2/10.53.202.93
Start Time: Thu, 20 Sep 2018 13:12:54 +0000
Labels: app=portal-cassandra
pod-template-hash=3462183970
release=story11
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"config11","name":"story11-portal-cassandra-78b65d7fc4","uid":"e292d21b-bcd6-11e8-...
Status: Running
IP: 10.42.170.0
Controlled By: ReplicaSet/story11-portal-cassandra-78b65d7fc4
Containers:
portal-cassandra:
Container ID: docker://8a60486541542469673e3b483785230d27ebe4ecf2900200285c9801b4749425
Image: nexus3.onap.org:10001/onap/music/cassandra_music:3.0.0
Image ID: docker-pullable://nexus3.onap.org:10001/onap/music/cassandra_music@sha256:612481177359846b2cdf8a57a8cfcf51cdb6d6fd1db6fae053c567bc0de62176
Ports: 9160/TCP, 7000/TCP, 7001/TCP, 7199/TCP, 9042/TCP
State: Running
Started: Thu, 20 Sep 2018 13:13:02 +0000
Ready: True
Restart Count: 0
Limits:
cpu: 2
memory: 8Gi
Requests:
cpu: 1
memory: 4Gi
Liveness: exec [/bin/bash -c nodetool status | grep $POD_IP | awk '$1!="UN" { exit 1; }'] delay=10s timeout=1s period=10s #success=1 #failure=3
Readiness: exec [/bin/bash -c nodetool status | grep $POD_IP | awk '$1!="UN" { exit 1; }'] delay=10s timeout=1s period=10s #success=1 #failure=3
=============================================
root@k8s-2:/var/tmp/prateek/oom/kubernetes# kubectl describe -n config11 pod story11-portal-app-6566d6db96-7zrrd
Name: story11-portal-app-6566d6db96-7zrrd
Namespace: config11
Node: k8s-2/10.53.202.93
Start Time: Thu, 20 Sep 2018 13:12:54 +0000
Labels: app=portal-app
pod-template-hash=2122828652
release=story11
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"config11","name":"story11-portal-app-6566d6db96","uid":"e2923234-bcd6-11e8-99b3-0...
Status: Running
IP: 10.42.190.29
Controlled By: ReplicaSet/story11-portal-app-6566d6db96
Init Containers:
portal-app-job-completion:
Container ID: docker://1896126c18eb5e8910d75c26d17ea922e78607acdd66ec48e7f3bc2edee96e2f
Image: oomk8s/readiness-check:2.0.0
Image ID: docker-pullable://oomk8s/readiness-check@sha256:7daa08b81954360a1111d03364febcb3dcfeb723bcc12ce3eb3ed3e53f2323ed
Port: <none>
Command:
/root/job_complete.py
Args:
--job-name
story11-portal-db-config
State: Terminated
Reason: Completed
Exit Code: 0
Started: Thu, 20 Sep 2018 13:13:00 +0000
Finished: Thu, 20 Sep 2018 13:20:46 +0000
Ready: True
Restart Count: 0
Environment:
NAMESPACE: config11 (v1:metadata.namespace)
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-ldwst (ro)
Containers:
portal-app:
Container ID: docker://c0078db282798c2c86b7359ab9909603fb5b5079713a15e4c5585810d219d7a8
Image: nexus3.onap.org:10001/onap/portal-app:2.2.0
Image ID: docker-pullable://nexus3.onap.org:10001/onap/portal-app@sha256:9a15ab0b320118afde8ae16193b1904f496e647c132be580e757eb0ab64f10c0
Ports: 8080/TCP, 8005/TCP, 8009/TCP
Command:
/start-apache-tomcat.sh
-i
-n
State: Running
Started: Thu, 20 Sep 2018 13:20:48 +0000
Ready: True
Restart Count: 0
Limits:
cpu: 2
memory: 10Gi
Requests:
cpu: 1
memory: 6Gi
Liveness: tcp-socket :8080 delay=10s timeout=1s period=10s #success=1 #failure=3
Readiness: tcp-socket :8080 delay=10s timeout=1s period=10s #success=1 #failure=3
Environment: <none>
Mounts:
/etc/localtime from localtime (ro)
=======================================
root@k8s-2:/var/tmp/prateek/oom/kubernetes# kubectl describe -n config11 pod story11-portal-db-5454d9bb7d-f7btw
Name: story11-portal-db-5454d9bb7d-f7btw
Namespace: config11
Node: k8s-2/10.53.202.93
Start Time: Thu, 20 Sep 2018 13:12:54 +0000
Labels: app=portal-db
pod-template-hash=1010856638
release=story11
Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"config11","name":"story11-portal-db-5454d9bb7d","uid":"e297183b-bcd6-11e8-99b3-02...
Status: Running
IP: 10.42.10.30
Controlled By: ReplicaSet/story11-portal-db-5454d9bb7d
Containers:
portal-db:
Container ID: docker://f0e2fd584809ccbc9a8e5ee0bb2e87f5e283188378caf1e2092672c732efc016
Image: nexus3.onap.org:10001/onap/portal-db:2.2.0
Image ID: docker-pullable://nexus3.onap.org:10001/onap/portal-db@sha256:4fac2d7a056b89676a33827e7c7bba9a973698ee7520fd3a919a3ba7c2c3729d
Port: 3306/TCP
State: Running
Started: Thu, 20 Sep 2018 13:13:02 +0000
Ready: True
Restart Count: 0
Limits:
cpu: 800m
memory: 1Gi
Requests:
cpu: 400m
memory: 500Mi
Liveness: tcp-socket :3306 delay=450s timeout=1s period=10s #success=1 #failure=3
Readiness: tcp-socket :3306 delay=450s timeout=1s period=10s #success=1 #failure=3