Closed Martin-Hogge closed 4 years ago
The asterisk-config crash is because it still has CLOUD=gcp
somewhere. My guess is that you may have changed it for one container in the Pod, but not all.
The dispatchers error is definitely an RBAC problem. I would double-check the RoleBinding there.
The kamailio error is indicating rtpproxy is not running, so you'll need to check that container in the kamailio Pod. It's probably another non-updated CLOUD variable.
The asterisk-config crash is because it still has CLOUD=gcp somewhere. My guess is that you may have changed it for one container in the Pod, but not all.
Indeed I've forgotten to update the CLOUD
variable in the asterisk deployment.
The dispatchers error is definitely an RBAC problem. I would double-check the RoleBinding there.
At a first glance the RBAC seems good as when I'm running
kubectl auth can-i get nodes --as=system:serviceaccount:voip:default -n voip
I get a yes
response. But I'm still investigating on this one.
The kamailio error is indicating rtpproxy is not running, so you'll need to check that container in the kamailio Pod. It's probably another non-updated CLOUD variable.
I've updated the 2 CLOUD
variable in the yaml deployment. Should I've updated elsewhere ? The rtpproxy
seems good as the pod is in a running state and the logs shows
INFO:main:GLOBAL: rtpproxy started, pid 1
Thank you for your time and your help.
Hi,
I tried to setup asterisk onto my kubernetes cluster but without successes and I'm not sure on what is going wrong here.
What I did:
CLOUD
variable to "" (instead of gcp)Issues I'm facing:
Asterisk config container CrashLoopBackOff
Kamailio dispatchers CrashLoopBackOff
But I did well create the role & rolebinding as they are described here in this repository.
Kamailio container is running with errors
The container is running but when looking at the logs I see several errors:
I'm very new to asterisk and PBX stuffs so I'm a bit lost here and any hints on the direction I should follow in order to get it up and running on my kubernetes cluster would be welcome.
Thank you.