-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Hi i am a beginner and just trying out on asterisk to understand how it works. However i have a problem deploying the asterisk and the asterisk pod giving me the status CrashLoopBackOff. Below are some of the details for your reference. Can you help guide on me to see what is wrong. Thank you
NAME READY STATUS RESTARTS AGE
pod/asterisk-6fc6c99fbc-mvpsj 2/3 CrashLoopBackOff 4 2m5s
pod/kamailio-c46kf 3/3 Running 1 32h
pod/nats-5cbb79bcbc-llx56 1/1 Running 0 32h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/asterisk ClusterIP 10.107.193.176 <none> 5060/UDP 21d
service/kamailio ClusterIP 10.99.13.139 <none> 5060/UDP 21d
service/nats ClusterIP 10.107.162.129 <none> 4222/TCP,6222/TCP,8222/TCP 21d
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
daemonset.apps/kamailio 1 1 1 1 1 type=kamailio 21d
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/asterisk 0/1 1 0 32h
deployment.apps/nats 1/1 1 1 21d
NAME DESIRED CURRENT READY AGE
replicaset.apps/asterisk-6fc6c99fbc 1 1 0 2m5s
replicaset.apps/asterisk-78f755686c 0 0 0 32h
replicaset.apps/asterisk-7bfc96c6 0 0 0 2m30s
replicaset.apps/nats-5cbb79bcbc 1 1 1 32h
kubectl describe pod asterisk --namespace=voip
Name: asterisk-6fc6c99fbc-mvpsj
Namespace: voip
Priority: 0
Node: minikube/192.168.99.100
Start Time: Sat, 28 Aug 2021 09:14:55 +0800
Labels: component=asterisk
pod-template-hash=6fc6c99fbc
Annotations: kubectl.kubernetes.io/restartedAt: 2021-08-28T09:15:22+08:00
Status: Running
IP: 172.17.0.3
IPs:
IP: 172.17.0.3
Controlled By: ReplicaSet/asterisk-6fc6c99fbc
Containers:
asterisk:
Container ID: docker://0c11c510e376c506bcb2ef20755e28a5455cbfd122aec7a92769ad9d59fd970d
Image: cycoresystems/asterisk:16.6.1
Image ID: docker-pullable://cycoresystems/asterisk@sha256:47a24e0797e9705a3750d6f79e5fc59f548b6b2d74e19df47fbc909c48dc6df8
Port: <none>
Host Port: <none>
State: Running
Started: Sat, 28 Aug 2021 09:14:58 +0800
Last State: Terminated
Reason: Error
Exit Code: 1
Started: Sat, 28 Aug 2021 09:14:56 +0800
Finished: Sat, 28 Aug 2021 09:14:57 +0800
Ready: True
Restart Count: 1
Environment: <none>
Mounts:
/etc/asterisk from config (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-sfqbn (ro)
config:
Container ID: docker://78449250d13f3dd818ea1cb95b31549190555decf884ec9c3b0e9c90ccf60a22
Image: cycoresystems/asterisk-config:v0.9.1
Image ID: docker-pullable://cycoresystems/asterisk-config@sha256:287a892b776febe8a550313459fee857918bc10e9e3f5fc80e5575e6df21cf05
Port: <none>
Host Port: <none>
State: Waiting
Reason: CrashLoopBackOff
Las```
t State: Terminated
Reason: Error
Exit Code: 1
Started: Sat, 28 Aug 2021 10:40:52 +0800
Finished: Sat, 28 Aug 2021 10:41:00 +0800
Ready: False
Restart Count: 21
Environment: <none>
Mounts:
/etc/asterisk from config (rw)
/source from custom (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-sfqbn (ro)
natsgw:
Container ID: docker://8656d0d1911bf89d2398ebb9e2b2dd1143373a806afec5432972db09c5292a31
Image: cycoresystems/ari-proxy:v5.0.1
Image ID: docker-pullable://cycoresystems/ari-proxy@sha256:ac7a7f3c59ca79e2eecd1d911c82caac9deba19cd8f8a9a781e72ce67ec43dde
Port: <none>
Host Port: <none>
State: Running
Started: Sat, 28 Aug 2021 09:14:57 +0800
Ready: True
Restart Count: 0
Environment:
NATS_URI: nats://nats:4222
ARI_APPLICATION: demo
ARI_USERNAME: admin
ARI_PASSWORD: admin
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-sfqbn (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
config:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
custom:
Type: Secret (a volume populated by a Secret)
SecretName: asterisk-config
Optional: false
kube-api-access-sfqbn:
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 Pulled 14m (x20 over 89m) kubelet Container image "cycoresystems/asterisk-config:v0.9.1" already present on machine
Warning BackOff 4m10s (x380 over 89m) kubelet Back-off restarting failed container`
``
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels