Giter VIP home page Giter VIP logo

Comments (8)

ktsakalozos avatar ktsakalozos commented on May 29, 2024

Hi @jbottum,

Thank you for reporting this.

josh@ubuntu:~$ microk8s.kubetl get all
microk8s.kubetl: command not found

This is a typo. It should be microk8s.kubectl. If you got this typo anywhere from the web please point us to the right direction and we will correct it.

josh@ubuntu:~$ microk8s.enable dns dashboard
Applying DNS manifest
The connection to the server 127.0.0.1:8080 was refused - did you specify the right host or port?
The connection to the server 127.0.0.1:8080 was refused - did you specify the right host or port?

We need to see why the apiserver failed to start. Can you make sure port 8080 on your machine is available (no other service is listening on it)? Can you show me the output of sudo systemctl status snap.microk8s.daemon-apiserver.service and sudo journalctl -u snap.microk8s.daemon-apiserver.service

Thank you.

from microk8s.

jbottum avatar jbottum commented on May 29, 2024

thanks. do I need to run a command to make 8080 available ? (sorry if its a basic question, i work in sales :)

here is some output

josh@ubuntu:~$ microk8s.kubectl get all
error: the server doesn't have a resource type "cronjobs"

josh@ubuntu:~$ sudo systemctl status snap.microk8s.daemon-apiserver.service
[sudo] password for josh: 
● snap.microk8s.daemon-apiserver.service - Service for snap application microk8s.daemon-apiser
   Loaded: loaded (/etc/systemd/system/snap.microk8s.daemon-apiserver.service; enabled; vendor
   Active: failed (Result: exit-code) since Mon 2018-06-18 23:38:44 CDT; 1 weeks 6 days ago
 Main PID: 18109 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavaila

josh@ubuntu:~$ sudo journalctl -u snap.microk8s.daemon-apiserver.service
-- Logs begin at Tue 2018-06-19 23:55:20 CDT, end at Mon 2018-07-02 10:30:13 CDT. --
-- No entries --
josh@ubuntu:~$ 

from microk8s.

tvansteenburgh avatar tvansteenburgh commented on May 29, 2024

@jbottum What's the output of sudo netstat -tnlp | grep 8080?

from microk8s.

jbottum avatar jbottum commented on May 29, 2024

nothing that i can see...I tried 3 times...

sudo netstat -tnlp | grep 8080
[sudo] password for josh: 
josh@ubuntu:~$ sudo netstat -tnlp | grep 8080
josh@ubuntu:~$ sudo netstat -tnlp | grep 8080
josh@ubuntu:~$ 

from microk8s.

ktsakalozos avatar ktsakalozos commented on May 29, 2024

@jbottum try this:

First remove the version of microk8s you already have, it might be disabled.
sudo snap enable microk8s
sudo snap remove microk8s

Then redeploy from the edge channel since it has a lot of fixes:
sudo snap install microk8s --edge --classic

from microk8s.

jbottum avatar jbottum commented on May 29, 2024

ok, removing and reinstalling has fixed the installation issue, thank you

from microk8s.

jbottum avatar jbottum commented on May 29, 2024

from microk8s.

Oipo avatar Oipo commented on May 29, 2024

My apologies, I added this comment thinking it was my own issue. Please ignore what I said.

from microk8s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.