Actually, I fixed the issue Murali.
I added the /* after the url defined under hosts section and it worked like 
charm...


Thanks

On Tuesday, April 21, 2020 at 10:10:13 PM UTC-5, vikram yerneni wrote:
>
> I tried to add it over here Murali: 
> https://github.com/helm/charts/blob/master/stable/prometheus/values.yaml#L555
> It did nothing... Still same...
>
> Thanks again for helping me dude... 
>
> On Tuesday, April 21, 2020 at 9:10:30 PM UTC-5, Murali Krishna Kanagala 
> wrote:
>>
>> You can add the arguments here.
>>
>>
>> https://github.com/helm/charts/blob/master/stable/prometheus/values.yaml#L615
>>
>> On Tue, Apr 21, 2020, 7:47 PM vikram yerneni <[email protected]> wrote:
>>
>>> Hi Murali, the container gets created by Helm charts. Let me see if I 
>>> can modify the values here.
>>>
>>> However, the page is loading (I just want to reiterate here). Its just 
>>> the additional *.css & *.js files are not loading...
>>>
>>> Thanks
>>>
>>> On Tuesday, April 21, 2020 at 6:29:33 PM UTC-5, Murali Krishna Kanagala 
>>> wrote:
>>>>
>>>> Try setting the --web.external-url in the container arguments.
>>>>
>>>>
>>>> On Tue, Apr 21, 2020, 5:47 PM vikram yerneni <[email protected]> wrote:
>>>>
>>>>> Fellas, I am using Helm/Stable/Prometheus Server for my Metrics 
>>>>> datasource and the Prometheus Server Dashboard is exposed using 
>>>>> alb-ingress 
>>>>> controller in AWS. Somehow the prometheus webpage is not loading fully 
>>>>> (few 
>>>>> parts of the webpage are not getting loaded and throwing 404 errors). 
>>>>> Here 
>>>>> is the Ingress configuration
>>>>>
>>>>>     ingress: 
>>>>>     ## If true, Prometheus server Ingress will be created
>>>>>
>>>>>     ##
>>>>>
>>>>>     enabled: true
>>>>>
>>>>>
>>>>>     ## Prometheus server Ingress annotations
>>>>>
>>>>>     ##
>>>>>
>>>>>     annotations:
>>>>>
>>>>>        kubernetes.io/ingress.class: 'alb'
>>>>>
>>>>>        #kubernetes.io/tls-acme: 'true'
>>>>>
>>>>>        alb.ingress.kubernetes.io/scheme: internet-facing
>>>>>
>>>>>        alb.ingress.kubernetes.io/load-balancer-attributes: 
>>>>> 'routing.http2.enabled=true,idle_timeout.timeout_seconds=60'
>>>>>
>>>>>        alb.ingress.kubernetes.io/certificate-arn: certname
>>>>>
>>>>>        alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, 
>>>>> {"HTTPS":443}]'
>>>>>
>>>>>        alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": 
>>>>> "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", 
>>>>> "StatusCode": "HTTP_301"}}'
>>>>>
>>>>>     service:
>>>>>
>>>>>       annotations:
>>>>>
>>>>>         alb.ingress.kubernetes.io/target-type: ip
>>>>>
>>>>>     labels: {}
>>>>>
>>>>>     path: /*
>>>>>
>>>>>     hosts:
>>>>>
>>>>>        - prometheus.company.com
>>>>>
>>>>>
>>>>>     ## Extra paths to prepend to every host configuration. This is 
>>>>> useful when working with annotation based services.
>>>>>
>>>>>     extraPaths:
>>>>>
>>>>>      - path: /*
>>>>>
>>>>>        backend:
>>>>>
>>>>>          serviceName: ssl-redirect
>>>>>
>>>>>          servicePort: use-annotation
>>>>>
>>>>>
>>>>> When I access prometheus.company.com, its getting properly redirected 
>>>>> to prometheus.company.com/graph (assuming the redirect is working 
>>>>> fine). However, some parts (*.js & *.css files) of the webpage is 
>>>>> throwing 
>>>>> 404 errors Anyone been through this issue before and if so, how y'all got 
>>>>> it resolved?
>>>>>
>>>>> This configuration is set in the values.yaml file: 
>>>>> https://github.com/helm/charts/blob/master/stable/prometheus/values.yaml
>>>>>
>>>>> Cheers!
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Prometheus Users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/prometheus-users/da00c725-157c-49cb-b544-24aa2c9aa7d1%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/prometheus-users/da00c725-157c-49cb-b544-24aa2c9aa7d1%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Prometheus Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/prometheus-users/0538e51b-9093-4347-adc0-c86f333bddcf%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/prometheus-users/0538e51b-9093-4347-adc0-c86f333bddcf%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/5735c723-78d3-4b68-a63f-0c4916ba48b7%40googlegroups.com.

Reply via email to