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

Can't access container's port in microk8s

Trying to run container in microk8s. According to https://docs.docker.com/get-started/part3/ , after deploy the service. microk8s.kubectl get services shows: NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE …
Eric
  • 22,183
  • 20
  • 145
  • 196
0
votes
1 answer

WebSocket connection failed - JHipster on Kubernetes

I run JHipster app on Kubernetes [microk8s] with ingress on remote host. Ingress sets by default https. In browser console I get: WebSocket connection to 'wss://XXXXXX/websocket/tracker/041/tjk33h4t/websocket?access_token=XXXXXXXXXXXXXXXX' failed:…
Nico
  • 505
  • 4
  • 14
0
votes
2 answers

How to assign a DNS name to an application in a local Kubernetes cluster?

I have a local Kubernetes cluster based on MicroK8s running on an Ubuntu 18.04 machine. What I want to achieve: Generally I want to expose my applications to DNS names and test them locally. My setup: I created the following test deployment…
Sasha Shpota
  • 9,436
  • 14
  • 75
  • 148
0
votes
1 answer

Registering multiple Services and configure route in KONG with file

Whenever I need to register my EKS services and required routes with kong, I have to manually execute CURL method( post/get ) commands for same, Services and routes get register successfully, but my requirement is to build or automate above multiple…
Zester07
  • 183
  • 1
  • 2
  • 14
0
votes
3 answers

How to connect to microk8s API through Python Kubernetes client?

I'm trying to connect to my microk8s Kubernetes cluster which is listening on port 16443 with the Python Kubernetes client: #!/usr/bin/python3 import kubernetes from kubernetes import client from kubernetes.client import ApiClient def…
Kalle Richter
  • 8,008
  • 26
  • 77
  • 177
0
votes
0 answers

What is the configuration for inter-pod communication in microk8s

I am setting up a set of applications using microk8s. I have two deployment resources - let us say - backend & application- Backend deployment has a service - let us say backend-service.myns.svc.cluster.local. From the pod running the other…
nashter
  • 1,181
  • 1
  • 15
  • 33
0
votes
1 answer

How to make Traefik compatible with Microk8s

I have a working setup on Minikube with Traefik as ingress controller. I tried to use that setup on Microk8s but Traefik is not able to work and although I can see the Traefik dashboard and it says that everything is working but every time I try to…
AVarf
  • 4,481
  • 9
  • 47
  • 74
0
votes
2 answers

Kubernetes and istio sidecar automatic injection

I'm trying to set up the automatic sidecar injection for istio on Kubernetes on-premises (istio 1.1.5 k8s 1.13.5). Once I labeled my namespace as istio-injection=enabled I got on my pod the following error for istio-sidecar container Readiness probe…
Manuel Castro
  • 1,633
  • 3
  • 24
  • 38
0
votes
1 answer

How to get bearer tokens in microk8s?

I want to log in to the microk8s dashboard, but I need a bearer token. How can I find the bearer token for user admin in microk8s Kubernetes?
John McGehee
  • 9,117
  • 9
  • 42
  • 50
0
votes
1 answer

Running JFrog in MicroK8s open files too low

I would like run a local Maven proxy with JFrog on my Microk8s instance. I get the following error message: ERROR: Max number of open files 1024, is too low. Cannot run Artifactory! My deployment yaml file looks like this: apiVersion: apps/v1 kind:…
indigo
  • 338
  • 1
  • 9
-1
votes
0 answers

How to check which process is taking how much memory in a k8 pod

How to check which process is taking how much memory in a k8 pod. How to list down all the processes running in a pod and their memory usage.
-1
votes
1 answer

Kubernetes networking internet-pod

I have an application that the management wants to migrated from Docker to K8s. This application is like a blackbox from our point of view, and expect to communicate with a database over port 5993 using the gRPC protocol. In Docker I simply…
Mirco
  • 165
  • 2
  • 13
-1
votes
1 answer

How to get internal kubernetes endpoint name with kubectl only?

How to use kubectl to obtain the internal endpoint name? Similar to the kubernetes dashboard. Our production environment does not permit using of Dashboard. As an example,...This is needed for Helm3 Parameter to install kibana UI to point to…
-1
votes
1 answer

Microk8s on RaspberryPI: Prometheus Service Discovery does not correctly find master node as target, duplicates one of the worker nodes

As training platform, I setup a microk8s cluster on 3 RaspberryPI 4s. In principle it's working fine, I can deploy applications, etc. As it's consisting of 3 nodes, it also automatically made high availability availble. master node…
Survis
  • 11
  • 2
-1
votes
1 answer

How to rename a docker image from MiroK8S?

I have imported a TAR file to a MicroK8S setup using this command : microk8s ctr images import my-service.tar After import, the image has an other name like : import-2021-09-08:1.0.1 Any idea on how to import to an other name or how to change the…
Mike Marquet
  • 124
  • 1
  • 7
1 2 3
27
28