Questions tagged [kubernetes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

outgoing dnat doesn't work in charmed ubuntu with calico

After installing kubernetes charmed, 1.20, on vsphere cloud with calico plugin, it's not possible to reach outside ip addresses from inside pod. The command used for installing the kubernetes cluster ...
1
vote
1answer
25 views

Charmed K8s - Volume not created by Ceph storage class

I've deployed an on premise baremetal K8s Cloud with charmed Kubernetes. And I use Ceph for the storage. The deployment of the cluster went well but when I want to create a Volume (via a PVC) the ...
0
votes
0answers
21 views

Can I run ubuntu desktop OS on a raspberry pi kubernetes setup?

I was wondering if I took 3 raspberry pi's with a kubernetes setup where I have them linked on a server and control them remotely. Can I run ubuntu desktop os for a graphical interface on that?
0
votes
0answers
27 views

How do I fix the read-only issue in Ubuntu without running fsck?

I have multiple clusters running Ubuntu 16.04LTS (about 300 servers total). Every week one of the servers switches to read-only. All I seem to be able to find is the quick fix of running fsck, what I ...
0
votes
0answers
23 views

Ceph Charmed kubernetes on vmware doesn't work

After installing ceph charmed on vsphere cloud, it's not possible to create persistent volume on kubernetes 1.20. These are the commands, as described https://ubuntu.com/kubernetes/docs/storage, ...
0
votes
0answers
23 views

Etcd state unhealthy after deploying charmed-kubernetes 1.20

After installing, in a vsphere cloud, the charmed-kubernetes 1.20 with the following command: juju deploy ./bundle.yaml --overlay vsphere-overlay.yaml --trust with two masters, 2 workers,3 etcd, 1 ...
0
votes
0answers
11 views

How to access a LXD-based Charmed Kubernetes cluster from corporate network

I have installed Charmed Kubernetes over LXD on one of our servers that is running Ubuntu 20.04 LTS, following these instructions, however I don't know how to make it accessible from other servers. I ...
0
votes
0answers
18 views

Troubleshoot Wi-Fi

I am confused with my Wii-Fii Connection to the network! It shows connection to my network but jumps back and forth: To have a connection and to not to have? Does someone knows how to troubleshoot the ...
1
vote
1answer
141 views

How to fix signature key?

I have tried with sudo apt-get update and sudo apt-get upgrade. And i get this error with kubernetes error: I have tried with these following commands below: sudo rm /var/lib/apt/lists/* -vf sudo apt-...
0
votes
0answers
15 views

How to install kubernetes using automatic deb version?

I use ubuntu 20.04 (focal) and need use kubernetes but the official package is kubernetes-xenial and the snap version is broken and no have support. How to create a command for install automatic last ...
0
votes
0answers
37 views

Howto run kubectl from snap package?

By example: $ sudo snap install kubectl --classic; $ kubectl cluster-info dump; The connection to the server localhost:8080 was refused - did you specify the right host or port? $ ps -aux | grep kube; ...
0
votes
1answer
81 views

Docker login permission denied from private repo in Kubectl

I have few private repository in docker hub and i want to deploy it in my laptop below are the issue im getting when deploying images. And all images have download but still issue having root@master-...
0
votes
1answer
180 views

How to remove docker package from apt update?

On Ubuntu 20.04 I had problems installing minikube due to some docker issues, so I decided to update it, but sudo apt update outputs docker package error: Err:18 https://get.docker.com/ubuntu docker ...
1
vote
1answer
86 views

Installing Ubuntu Kubernates 1.20 on localhost -> Documentation lead to error -> Waiting for 3 kube-system pods to start

I was created fresh Ubuntu 20.03 on VirtualBox than started installation using documentation. Machine have Quadro RTX Card (maybe it impacts?). Documentation is messy because there is many ways to do -...
0
votes
0answers
140 views

Set no_proxy environment variable for a prefix of IPs

I have some machines that are behind a proxy. Those machines has a K8s installed. I have been having problems to use some commands of the k8s because I need to install some packages, therefore I need ...
0
votes
1answer
167 views

Remove node from Microk8s cluster

I've dead node which I probably removed using kubectl instead of microk8s command. The problem is that microk8s status still shows it among datastore standby nodes. How can it be deleted from the ...
0
votes
0answers
21 views

Use kubectl to apply myapp.yaml to a worker or write our own charm for the app?

I am using focal with Juju and k8s and I am a newbie. I am wondering whether the Juju charm system will allow me to simply kubectl apply -f myapp.yaml or whether we must actually develop our own charm ...
0
votes
1answer
126 views

Add ubuntu repository command fails to run [duplicate]

Sorry for the newb question. I'm trying to add a repository to my ubuntu machine: $ sudo curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - <<EOF >/etc/apt/...
0
votes
0answers
653 views

Running sudo snap on WSL2 with ubuntu18.04

By following WSL: Am I running version 1 or version 2? I've verified that my WSL is version 2. Running uname -a outputs "Linux DESKTOP 4.4.0-18362-Microsoft" I want to install microk8s on ...
0
votes
0answers
42 views

Kubernetes cluster federation with Microk8s

I recently discovered Microk8s and found it very compelling. In our setup we would need to implement a Federated Kubernetes setup, distributed on three sites. I didn't find any way to setup microk8s ...
0
votes
1answer
308 views

Microk8s for Mysql High- Availability

I am trying to setup MySQL HA Database with Microk8s Kubernetes. The goal is to have MySQL running on all 3 nodes with 1 floating IP in between them, and that if any of the nodes bursts up in flames ...
0
votes
0answers
26 views

Setting Charmed-Kubernetes on Ubuntu

Lookig to see if there is a working compatablility of the following which will work together: 1.Juju 2.Lxc 3.Charmed-kubernetes 4.Ubunbu That all work together follow the local install guidelines ?
0
votes
0answers
133 views

Setup of Charmed Kubernetes

Having issues with deploying juju charmed-kubernetes folling the instructions via this link https://ubuntu.com/kubernetes/docs/install-local However, its stuck on the kubernets-master waiting on 3 ...
0
votes
0answers
355 views

microk8s on LXC: Service snap.microk8s.daemon-proxy is not running

I installed microk8s in a LXD container snap install microk8s --classic When I inspect the instance it shows that snap.microk8s.daemon-proxy is not running root@mk8s1:~# microk8s inspect Inspecting ...
0
votes
0answers
41 views

Landscape: No package information is available for the selected computers

I installed Landscape 19.10 on prem and attached two K8S servers (one master, one worker). Everything is working fine, but on the "packages tab" in Landscape I get the following error ...
0
votes
1answer
152 views

Unable to resolve DNS for kubernetes cluster on Ubuntu only

I've been reading through the forums all day and can't find an answer to this so I'm hoping I can get help here. I've setup a kubernetes cluster with DNS using a CNAME to point it to my cluster as per ...
0
votes
0answers
49 views

Kubernetes 1.19 is out! Get it in one command with sudo snap install microk8s [duplicate]

I have three Ubuntu VM on Microsoft Azure. Every-time I login (through ssh) on my VMs in the Azure I see the following hint: * Kubernetes 1.19 is out! Get it in one command with: sudo snap install ...
0
votes
1answer
47 views

Unexpected termination of pods

I have created a fresh charmed cluster using Juju bundle: Kubernetes Calico #884 Running kubectl commands like kubectl logs <podname> -f, the terminal connection disconnects with error: rpc ...
0
votes
0answers
822 views

Kubernetes connection refused?

When run kubectl version i get the client version back but not the server-version? Picture below: How can i solve this error? The connection to the server localhost:8080 was refused - did you specify ...
0
votes
0answers
50 views

Ubuntu Core on BareMetal

Is anyone using Ubuntu Core on BareMetal or VM? Do you think it is recommended for running Kubernetes nodes? Since Ubuntu Core has Fewer packages to attack, fewer bugs to fix, fewer forced changes; it ...
0
votes
1answer
3k views

How do I access microk8s externally exposed service ip over network?

I am running a microk8s instance on Ubuntu server as a vanilla install, configured with MetalLB to dynamically allocate 10.0.2.1 to 10.0.2.200 and the Nginx ingress controller enabled. I've installed ...
0
votes
0answers
60 views

sudo apt update not working after the installation of kubernetes [duplicate]

facing this error when sudo apt update N: Ignoring file 'kubernetes.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: Type 'sudo' is not known on line 4 ...
4
votes
1answer
4k views

Enabling memory cgroup in Ubuntu 20.04

Instructions for enabling the memory cgroup on Ubuntu 18 and 19 involve adding cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 to /boot/firmware/nobtcmd.txt and restarting. After rebooting, ...
0
votes
1answer
196 views

login phpMyAdmin to MySql getting error in Ubuntu 18.04 kubernetes nodes

i am trying to install phpMyAdmin and Mysql as pods in my Kubernetes cluster. everything is okay but when i try to log in into mysql by browser from phpMyAdmin interface i failed the error massages ...
1
vote
0answers
83 views

Every snap installed executable getting ibudev.so.1: failed to map segment from shared object

Every time that i run any snap installed app, i'm getting this message: /snap/core/9066/usr/lib/snapd/snap-confine: error while loading shared libraries: libudev.so.1: failed to map segment from ...
0
votes
1answer
214 views

coredns is running but not ready after conjure-up k8s cdk

I have deployed Kubernetes V1.18.2 (CDK) using conjure-up (which used bionic) The coredns is resolving via /etc/resolv.conf, see configmap below: Name: coredns Namespace: kube-system ...
0
votes
0answers
260 views

Why can't see pod resources in the cluster which created by microk8s?

Installed microk8s by sudo snap install microk8s --classic --channel=1.17/stable Alias alias kubectl='microk8s.kubectl' Current docker container: docker container ls CONTAINER ID IMAGE ...
1
vote
1answer
228 views

Installing kubernetes on my own hardware

I need to install a k8s cluster on my own hardware running ubuntu 18 and 19. No cloud will be involved. I've read about JuJu, but it seems very oriented to various clouds. I haven't seen anything ...
1
vote
1answer
3k views

OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to storage.googleapis.com:443

I've been trying to install minikube on my Ubuntu machine as per this post. But whenever I try to run... curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-...
0
votes
1answer
321 views

“kubeadm init” fails on setting up Highly Available clusters

I try to setup a haproxy'd multi-master node setup for Kubernetes, as described in [1]. My network configurations are: haproxy = 192.168.1.213 master0|1|2 = 192.168.1.210|211|212 worker0|1|2 = 192....
0
votes
1answer
264 views

Installing conjure-up charmed Kubernetes (vSphere), error on juju deployment

We are deploying Charmed Kubernetes on vSphere 6.7 and we are getting the following error: dhiadmin@dhip1032:~/.cache/conjure-up$ tail -f conjure-up.log 2019-11-02 17:57:06,909 [DEBUG] conjure-up/...
1
vote
0answers
93 views

Installing K8s on vSphere results in multiple VMs using Juju

During the installation, I configured it to deploy 1 master and 2 worker nodes but I'm seeing a total of 10 VMs all together. There are 3 VM's that are configured with the exact specifications I ...
1
vote
0answers
18 views

Kubernetes cluster … For science!

I have a Kubernetes cluster. I want to find opportunities to contribute to scientific efforts with the compute and memory resources I have available. I am interested in providing resources for math ...
1
vote
2answers
363 views

Uninstalled Kubernetes but I keep getting: “unable to resolve host slave-node”

I recently installed Kubernetes with helm and tried to setup a cluster on my Ubuntu 16.04 unity, I setup 1 master node and 1 slave node. I removed everything related to Kubernetes, but everytime I ...
0
votes
1answer
25 views

Can't Access Graylog after Deploying Charmed Distribution of Kubernetes with Logging

I started with conjure-up but never got the summary screen with all the endpoints. I do not know how to access graylog. I tried hitting the ip for Apache2 but that showed me some sort of Apache ...
0
votes
0answers
654 views

Kubernetes installation problem

I just installed Charmed Kubernetes using the quick start on a single systems using lxd. I have some services which are sitting in waiting status. # juju status Model Controller Cloud/Region Version ...
3
votes
1answer
737 views

Running minikube on ubuntu in virtualbox

I have installed Ubuntu on VirtualBox in Windows 10. I have also installed a Virtualbox and minikube on Ubuntu. But when I try to start minikube it returns an error saying that Virtualbox cannot be ...
3
votes
1answer
911 views

xargs: invalid option — 'o'

I was trying to execute this command to fix yet another error (Unable to use a TTY - input is not a terminal or the right kind of file): kubectl get pods -n foobar | grep baz | awk '{print $1}' | ...
1
vote
0answers
618 views

How to install kubernetes offline on Ubuntu 18.04.2 LTS

I am trying to install kubernetes offline on Ubuntu 18.04.2 LTS in VirtualBox using internal network. I am installing kubernetes, following the guide Install Docker step by step. I installed docker 18....
0
votes
1answer
360 views

Removing Taint from kubernete nodes doesnot work

Ubuntu 18.04 Kubernete on JUJU I tried to remove the taint form nodes: kubectl get nodes -o json | jq .items[].spec.taints [ { "effect": "NoSchedule", "key": "node.kubernetes.io/...