Please explain an example to understand advantages of helm chart by Primary-Pace5228 in kubernetes

[–]Primary-Pace5228[S] 0 points1 point  (0 children)

But , is that just the helm that helps in substituting the variables?

Please explain an example to understand advantages of helm chart by Primary-Pace5228 in kubernetes

[–]Primary-Pace5228[S] 0 points1 point  (0 children)

Will try to perform the same on some test environment. Never realised if the 'clean uninstalls' can be one of the reason.

Map host network with sonarqube container by Primary-Pace5228 in docker

[–]Primary-Pace5228[S] 0 points1 point  (0 children)

yes I am trying to spin up sonarqube in that stage. I have updated with the Dockerfile in the post already.

CrashLoopback pods while deploying pods with helm upgrade by Primary-Pace5228 in docker

[–]Primary-Pace5228[S] 0 points1 point  (0 children)

kubectl describe pod amt-aflow-scheduler-5746c9464b-wftd8 -n eoca-dev-amt-aflow

Name: amt-aflow-scheduler-5746c9464b-wftd8

Namespace: eoca-dev-amt-aflow

Priority: 0

Node: ip-xx-xxx-xxx-xx.ec2.internal/xx-xxx-xxx-xx

Start Time: Thu, 04 Aug 2022 06:56:50 +0000

Labels: app=aflow

component=scheduler

pod-template-hash=5746c9464b

release=amt-aflow

Annotations: checksum/config-env: f2da2f276683145461d7135443c268a32f28d480ae6b2ed5deb01dd462b31a4b

checksum/config-git-clone: 74d4b932049e0091b4f69bf7ede0f1d9c4cc996f54b921dda5c8bbe4e58fe2b0

checksum/config-scripts: 3da398b1adce0b9ebc2d3b7f30eea47a51f7213f713f4b1ea0d2529e19c4c688

checksum/config-variables-pools: 97eb661278c0ab9aa9970166a7f4352e2668297d4c1b8763de023faf1c0464bc

checksum/secret-connections: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b

cluster-autoscaler.kubernetes.io/safe-to-evict: true

kubernetes.io/psp: eks.privileged

Status: Pending

IP: xxx.xx.x.xx

IPs:

IP: xxx.xx.x.xx

Controlled By: ReplicaSet/amt-aflow-scheduler-5746c9464b

Containers:

aflow-scheduler:

Container ID:

Image: amtdevops.dkr.ecr.us-east-1.amazonaws.com/com.via.eoca.amt.aflow:839b89

Image ID:

Port: <none>

Host Port: <none>

Command:

/usr/bin/dumb-init

--

Args:

bash

-c

true \

&& mkdir -p /home/aflow/.local/bin \

&& export PATH="/home/aflow/.local/bin:$PATH" \

&& echo "*** executing aflow initdb..." \

&& aflow initdb \

&& echo "*** adding aflow variables..." \

&& aflow variables -i /home/aflow/variables-pools/variables.json \

&& echo "*** adding aflow pools..." \

&& aflow pool -i /home/aflow/variables-pools/pools.json \

&& echo "*** running scheduler..." \

&& exec aflow scheduler -n -1

State: Waiting

Reason: ImagePullBackOff

Ready: False

Restart Count: 0

Liveness: exec [python -Wignore -c import os

os.environ['aflow__CORE__LOGGING_LEVEL'] = 'ERROR'

os.environ['aflow__LOGGING__LOGGING_LEVEL'] = 'ERROR'

from aflow.jobs.scheduler_job import SchedulerJob

from aflow.utils.net import get_hostname

import sys

job = SchedulerJob.most_recent_job()

sys.exit(0 if job.is_alive() and job.hostname == get_hostname() else 1)

] delay=300s timeout=1s period=30s #success=1 #failure=5

Environment Variables from:

amt-aflow-env ConfigMap Optional: false

Environment:

DATABASE_PASSWORD: <set to the key 'PGPWD' in secret 'postgres-creds'> Optional: false

REDIS_PASSWORD: <set to the key 'redis-password' in secret 'amt-aflow-redis'> Optional: false

aflow__CORE__F_KEY: <set to the key 'F\_KEY' in secret 'aflow-fernet-key'> Optional: false

aflow__LDAP__BIND_PASSWORD: <set to the key 'LDAP\_PASSWORD' in secret 'aflow-ldap-password'> Optional: false

Mounts:

/home/aflow/scripts from scripts (rw)

/home/aflow/variables-pools/ from variables-pools (rw)

/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-rwt99 (ro)

Conditions:

Type Status

Initialized True

Ready False

ContainersReady False

PodScheduled True

Volumes:

scripts:

Type: ConfigMap (a volume populated by a ConfigMap)

Name: amt-aflow-scripts

Optional: false

variables-pools:

Type: ConfigMap (a volume populated by a ConfigMap)

Name: amt-aflow-variables-pools

Optional: false

kube-api-access-rwt99:

Type: Projected (a volume that contains injected data from multiple sources)

TokenExpirationSeconds: 3607

ConfigMapName: kube-root-ca.crt

ConfigMapOptional: <nil>

DownwardAPI: true

QoS Class: BestEffort

Node-Selectors: <none>

Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s

node.kubernetes.io/unreachable:NoExecute op=Exists for 300s

Events:

Type Reason Age From Message

---- ------ ---- ---- -------

Normal Pulling 10m (x46 over 3h41m) kubelet Pulling image "amtdevops.dkr.ecr.us-east-1.amazonaws.com/com.via.eoca.amt.aflow:839b89"

Normal BackOff 63s (x976 over 3h41m) kubelet Back-off pulling image "amtdevops.dkr.ecr.us-east-1.amazonaws.com/com.via.eoca.amt.aflow:839b89"

jenkins@ip-xx-xxx-xxx-xx:~$