question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

istio-ingressgateway cannot be brought up at microk8s.enable istio

See original GitHub issue

microk8s v1.14 is installed on my ubuntu box via snap. When I did a microk8s.enable istio, everything spins up except for istio-ingressgateway service.

From dashboard, I see the following two events of the service looped and probably are preventing the service from being brought up:

message: unable to get metrics for resource cpu: no metrics returned from resource metrics API
source: horizontal-pod-autoscaler
message: failed to get cpu utilization: unable to get metrics for resource cpu: no metrics returned from resource metrics API
source: horizontal-pod-autoscaler

Add-ons:

jaeger: disabled
fluentd: enabled
gpu: disabled
storage: enabled
registry: enabled
ingress: disabled
dns: enabled
metrics-server: disabled
prometheus: enabled
istio: enabled
dashboard: enabled

All other components are running fine. What is going on here?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
akingscotecommented, Apr 8, 2020

youll need metallb installed as well i think

sudo microk8s.enable metallb

For the IP range, ensure that its on the same network as your normal interface.

ifconfig
...
ens33     Link encap:Ethernet  HWaddr 00:0c:29:6a:96:41  
          inet addr:192.168.0.42  Bcast:192.168.0.255  Mask:255.255.255.0
...

So my network here is 192.168.0.0/24, so i used the range 192.168.0.50-60 for metallb

Then run the following and it should work:

wget https://raw.githubusercontent.com/istio/istio/master/samples/bookinfo/networking/destination-rule-all.yaml
sudo microk8s.kubectl apply -f destination-rule-all.yaml
0reactions
stale[bot]commented, Mar 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

istio-ingressgateway cannot be brought up at microk8s.enable ...
When I did a microk8s.enable istio , everything spins up except for istio-ingressgateway service. From dashboard, I see the following two events ...
Read more >
MicroK8s - Istio
Enable Istio with the following command: $ microk8s.enable istio. When prompted, choose whether to enforce mutual TLS authentication among ...
Read more >
Istio / Ingress Gateways
Describes how to configure an Istio gateway to expose a service outside of the service mesh.
Read more >
Installing Gateways - Istio
Some of Istio's built in configuration profiles 7 deploy gateways during installation. For example, a call to istioctl install with default settings will...
Read more >
Traffic Management Problems - Istio
Traffic Management Problems · Requests are rejected by Envoy · Route rules don't seem to affect traffic flow · 503 errors after setting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found