-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release3.0 and Kubernetes v1.23 #4
Comments
Hello Vinay, In release 2.0 an application runs as docker container or as kubernetes pod. So the pyos need the socket to dockerd. about your case : For you information https://endoflife.date/kubernetes See you, Alexandre |
Hi Alexandre, Thanks for the note. I tried deploying the abcdesktop with the openstack-magnum-k8 and it seems working, except that the
The log read (attached below) shows an error
I could not resolve this issue, and I also remember that there was no such issue in the DO deployment. The logs of
|
Hi Vinay, I agree with your security point of view.
Out-of-the-box, Nginx doesn't support using environment variables inside most configuration blocks. Thank you for you secure point of view See you Alexandre |
Hi Vinay, I agree with this issue. If we define the nginx config file as a configmap, we don't need to update it. Please restart the
Let me know if this new image fix your issue Thank you again for your message best regards, Alexandre |
Hi Alexandre, Thanks for looking into the issue. I do not see the previous error after restarting, but the
|
The following may or may not be a related issue, but the logs of A trailing end of the logs read is attached below.
|
Hi Vinay, Nginx works fine. Alexandre |
Hello Vinay, Could you please update the od.config file to set the option
Set Then, please update the config map abcdesktop-config and restart pyos pod.
I hope that it will pass the kubernetes's pod security admission. See you Alexandre |
Hi Alexandre, Thanks for the help. The best regards, The logs from pyos and nginx are attached below.
From the nginx pod
|
Hello Vinay, Pyos's pod says, it's ok
nginx's pod crashes, and it should not. This can occurs if the FQDN's resolver name
This should be
Thank you so much for your feedback and for this troubleshooting commands Alexandre |
Hi Alexandre, Thanks for the help in troubleshooting the issue.
I also checked and the CoreDNS configuration seems to be correct and is set up to handle DNS queries within the cluster.
My nginx config map is attached below
|
Hi Vinay, I've checked your configuration file, but I don't know that's going wrong with the If the command Running The error.log for nginx is located in `/var/log/nginx/error.log' I hope this troubleshooting page will give you some details to go in deep with the openstack-magnum-k8 issue. Thank you for your help, Alexandre |
Hi Alexandre, The nginx logs (as described here: regards, |
Hi Vinay, Thank you for reading the troubleshooting page. I has rewritten, with more step and comment ( I'm sorry for the confuse )
Let's have a look You patched the kubectl apply -f https://raw.githubusercontent.com/abcdesktopio/conf/main/kubernetes/debug/nginx-3.0.yaml
deployment.apps/nginx-od configured At this point, you can delete all nginx pods, to make sure that no one is still running
You can have more than one pod deleted A new one is created by kubernetes after few seconds Then check that nginx pod has been updated and that the status is
few seconds is really important ;-) kubectl get pods -l run=nginx-od -n abcdesktop
NAME READY STATUS RESTARTS AGE
nginx-od-666df64f4-whtng 1/1 Running 0 26s Now, you can continue and run the command to start nginx manually. Nginx web service is not started inside the container, only the pod is started. The TCP port 80 is free. We need to get a shell inside the container to start the nginx web service by hands. Run the command kubectl exec -n abcdesktop -it deployment/nginx-od -- bash
root@nginx-od-666df64f4-whtng:/# /usr/local/openresty/nginx/sbin/nginx -p /etc/nginx -c nginx.conf -e /var/log/nginx/error.log At this point you should read the nginx error message, this is what we need to fix the issue. Thank you again Alexandre |
Hi Alexandre,
--> There is no output here! When I kill the process (
Further, to debug..
|
Dear Alexandre,
I needed to migrate my abcdesktop deployment from a DigitalOcean cluster to a Openstack-magnum based cluster with Kubernetes COE. Unfortunately, my infrastructure does not support cluster templates with K8 version =>1.24. So, I have only K8-v1.23. Sadly, the Openstack-Magnum is not known for keeping up with the kubernetes versions.
Based on (https://www.abcdesktop.io/2.0/features/), It is not very explicitly clear to me if I can deploy version3.0 on K8-v1.23 or not. Would you please clarify this?
best regards,
Vinay
The text was updated successfully, but these errors were encountered: