Questions tagged [microk8s]

MicroK8s, developed by Canonical, is a lightweight Minimal CNCF-certified distribution of Kubernetes. Designed for local development, IoT appliances, CI/CD, and use at the edge, MicroK8s is available as a snap and available on Linux, Windows and Mac.

415 questions
0
votes
1 answer

Microk8s at windows host-access doesnt work. Why connection refused when i trying to connect from vm to host?

I can't connect with local mysql server that placed on host machine. microk8s 2.0.1 multipass 1.6.1 windows 10 windows defender disabled :) All commands are work fine: apply, get pods, get nodes, get events, secrets, services... inspect not found…
Programmer
  • 77
  • 1
  • 6
0
votes
1 answer

K8s Spring Application cannot connect to Mysql DB

I wanted to try and deploy my spring boot application on kubernetes. I setted up a test environment with microk8s (dns,storage,ingress enabled) which consists of a pod running the application itself and a pod with the MySQL database. Each pod has…
Azzarian
  • 153
  • 2
  • 13
0
votes
1 answer

Is it possible to attain public ip with MicroK8S

Is it possible to attain public ip with MicroK8S? Upon enabling the ingress addon the ip is 127.0.0.1.
Yanir
  • 95
  • 9
0
votes
1 answer

How to assign a public ip to a pod on dedicated servers

I have applications needs to give each pod a public ip and expose ports on this public ip. I am trying not to use virtual machines. matellb has similar feature. But, it binds a address to a service not pod. And, it wastes a lot of bandwidth.
Lod
  • 1
  • 2
0
votes
1 answer

microk8s disable kubeflow file disable.kubeflow.sh errors

I'm trying to disable kubeflow on microk8s. I installed/ enabled kubeflow using: # install MicroK8s sudo snap install microk8s --classic # update ufw to allow pop-pop and pod-internet comms sudo ufw allow in on cni0 && sudo ufw allow out on…
Preston
  • 7,399
  • 8
  • 54
  • 84
0
votes
1 answer

How do you install mayastor for openebs with microk8s to use as PV/SC?

I have a 3 node microk8s cluster running on virtualbox Ubuntu vms. And I am trying to get mayastor for openebs working to use with PVCs. I have followed the steps in this…
fabian
  • 11
  • 4
0
votes
2 answers

microk8s kubeflow dashboard access - Failed to exchange authorization code with token: oauth2: cannot fetch token: 401 Unauthorized

After installing microk8s and then enabling kubeflow I'm given the username, password and link to Kubeflow dashboard. Then I access the dashboard as expected and all is well. BUT after restarting my machine and executing microk8s start I can no…
Nathan
  • 37
  • 4
0
votes
0 answers

microk8s nodeport exposed service refuses connection

On my server in microk8s I created an kubernetes service which is exposed via NodePort, but it refuses the connection. I am not sure why. No matter if I try to telnet to the NodePort port (31000), it always refuses the connection. Similar service is…
WinterMute
  • 145
  • 2
  • 11
0
votes
1 answer

How can I access Microk8s in Read only mode?

I would like to read state of K8s using µK8s, but I don't want to have rights to modify anything. How to achieve this? The following will give me full access: microk8s.kubectl Insufficient permissions to access MicroK8s. You can either try again…
digital_infinity
  • 534
  • 6
  • 20
0
votes
1 answer

How can I acces the Kubernetes Dashboard on a remote Machine

I am new at kubernetes and I am trying to setup a clsuter on a remote server. For this I use microk8s and a server from hetzner-cloud (https://www.hetzner.com/de/cloud). I entered the server with ssh and followd the microk8s installation…
0
votes
0 answers

Istio on Microk8s not routing

I am trying to expose the monitoring services of istio: grafana, prometheus, kiali and jaeguer through istio gateway and istio virtual-service but without success the strange thing is when accessing through the curl the page is returned, but when…
0
votes
0 answers

Private docker.io registry in microk8s

I have issue with microk8s hitting rate limit for docker.io registry ctr: failed to copy: httpReaderSeeker: failed open: unexpected status code…
Midi
  • 459
  • 1
  • 5
  • 19
0
votes
1 answer

Can't delete a pod added trough Kubernetes Dashboard

I added a pod through Kubernetes Dashboard. I used Create new resource and I created a pod from input. I then tried to delete it with: kubectl delete -n default pod pod-name-0 It deletes it, but gets redeployed. As I understand, I should delete…
lovrodoe
  • 473
  • 8
  • 18
0
votes
0 answers

snap.microk8s.daemon-kubelet is not working due to containerd on centos 8

I installed microk8s on centos 8. While starting microk8s, it fails according to following error. $ cat /etc/centos-release CentOS Linux release 8.3.2011 $ microk8s inspect Inspecting Certificates Inspecting services Service…
0
votes
1 answer

MicroK8s containers unable to start. All pods stuck on "ContainerCreating" state. Ubuntu 20.10 RP4

I've been Googling and going through logs to try and solve this, but I can't seem to get microk8s to work on my Raspberry Pi, running Ubuntu 20.10 I snap install v1.15 sudo snap install microk8s --classic --channel=1.15/stable I can confirm that…
MagicPossum
  • 251
  • 5
  • 16