-
Notifications
You must be signed in to change notification settings - Fork 132
Nginx Ingress goes down after updates for config #998
Comments
Hello there, maybe this output from Nginx ingress could help ` - - [09/Dec/2020:07:21:47 +0000] "GET /oauth2/auth HTTP/1.1" 401 21 "-" "Mozilla/5.0 [kubeprod-oauth2-proxy-4180] [] 102:4180 21 0.004 401 4549f29063eb6dc6533b9
|
Hi, I am afraid that, in the case of statefulsets, not all parameters can be edited after deploying (immutable fields). In this kind of cases, you may need to remove and redeploy the prometheus statefulset in order to work. About the other issue, could you show the status of all the deployed pods? |
Hi @javsalgar, Regarding Prometheus I used doc from this repo here is the link https://github.com/bitnami/kube-prod-runtime/blob/master/docs/components.md#override-storage-parameters But, in any case, the second problem is more important for me. There everything is up and running, but ingress doesn't work. It works partially. I can authorise myself with auth.mydomain.com. And after that, I could load kibana or grafana pages but always receive those errors like in my screenshot from first comment. I had similar before and only one thing helped - reinstalling all k8s cluster. How to rebuild or reconfigure ingress without reinstalling all cluster? Thanks |
Could you provide the Kibana and Grafana logs to see if there's anything meaningful? |
I could connect to Grafana or Kibana with kubectl port-forwarding from my local PC. I can see logs for all pods in kibana. The problem is that I couldn't connect that stuff through ingress. Not only app from kubeprod namespace also our app through ingress. With port-forwarding everything works. Output from Nginx you already have seen in previous comments. What logs are you interested in? Pod? |
For example, if you try to open kibana.myhost.com with a clean browser. You couldn't do that. Nginx doesn't redirect to the authorization page for some reason. |
Hi, Indeed, it seems that the nginx process could be crashing for some reason
Did you try installing it with the default values and it worked? That could help us get to the exact configuration value that is making nginx crash. |
Hi, The only way is to delete the AKS cluster and create a new one. After that, I can install BKPR with even customized values. |
Hello there, As I see it is difficult to find the reason for my problem. Does somebody use BKPR with AKS? |
Hello there, I faced with an issue for Nginx ingress. I need to add some config to the nginx pod and I used kubeprod-manifest.jsonnet.
// Cluster-specific configuration (import "https://releases.kubeprod.io/files/v1.6.1/manifests/platforms/aks.jsonnet") { config:: import "kubeprod-autogen.json", // Place your overrides here nginx_ingress+: { config+: { data+: { "proxy-body-size": "20m", }, }, }, prometheus+: { storage:: 32768, } }
I applied this manifest with kubeprod install aks ...
And received an error from Prometheus like
ERROR Error: Error updating statefulsets kubeprod.prometheus: StatefulSet.apps "prometheus" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden
and more importantly I couldn't load kibana, grafana or prometheus page anymore from my domain
Could you suggest something here?
The text was updated successfully, but these errors were encountered: