Questions tagged [kubernetes]
122 questions
15
votes
3 answers
How to access micro8ks's dashboard web UI?
There's information how to enable the dashboard extension
microk8s.enable dashboard
(which I ran) and how to display URLs of other extensions enabled like this:
kubectl cluster-info
How to get the URL of the dashboard of a microk8s installation…
Kalle Richter
- 6,519
14
votes
4 answers
How do I pass flags when starting a systemd service?
Note a similar question has been asked:
How to pass flags when starting 'service'?
But I read a while back that Linux switched from init.d to systemd, and since that Q&A are 6 years old I thought it might refer to init.d
My question is:
How do…
neoakris
- 263
13
votes
4 answers
Unable to run any systemd services in WSL
None of the systemd commands are working inside WSL( Ubuntu Bash 18.04).
When I ran sudo systemctl is-active kubelet, error is
output: System has not been booted with systemd as init system (PID 1). Can't operate.
: running command: sudo systemctl…
Santosh Hegde
- 313
- 2
- 4
- 8
8
votes
1 answer
What is the purpose of cgroup_enable=cpuset cgroup_enable=memory cgroup_memory=1 swapaccount=1
I am trying to setup a kubernetes cluster on a raspberry pi cluster using Ubuntu 20.04.3. In many online guides available, one of the steps is mentioned as follows:
Edit the /boot/firmware/cmdline.txt and add cgroup_enable=cpuset…
7
votes
1 answer
How to install Kubernetes Locally via Minikube
Trying to learn more about Kubernetes I tried to install a standalone instance. If you try to run minikube terminal? suggest installing it through snap.
sudo snap install minikube kubectl
snap info minikube
Minikube is a tool that makes it easy…
Pablo Bianchi
- 17,371
6
votes
2 answers
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, grep mem /proc/cgroups should show it as…
Com
- 141
6
votes
1 answer
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}' | xargs -J % kubectl exec -it -n foobar %…
Moobie
- 173
6
votes
2 answers
Where to get kubectl man pages?
Any suggestion where I can get and install kubectl man pages? Asking Google all the time is getting annoying.
I want to be able to see the man page from the command line like:
$ man kubectl pods
I obviously know about the documentation online on…
smrt28
- 304
- 3
- 12
6
votes
4 answers
Kubernetes installation failing - Ubuntu 16.04
I am trying to install Kubernetes (kubectl) on Ubuntu 16.04 (x64) by following the instructions here. I am behind some proxy at work and I am sure that is the reason for the failure. I know there are a bunch of related questions out there but I have…
5
votes
1 answer
Installing k9s on Ubuntu
I am using snap install k9s to install k9s on ubuntu. However, that installs a much older version 0.5.1 whereas the latest version is 0.27.4. Can Someone please help me in how to install the latest version or how to update this older version to…
Sandy
- 51
5
votes
1 answer
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-get clean
sudo apt-get update
sudo apt-get…
Jonte YH
- 2,113
4
votes
0 answers
kubernete-master stuck in waiting
Why kubernete-master workload stuck on waiting? message is:
Waiting for kube-system pods to start
And when I run
sudo juju scp kubernetes-master/1:kubectl ~/bin/kubectl
I get this error:
ERROR exit status 1 (scp: kubectl: No such file or…
Rastin
- 804
4
votes
2 answers
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 cluster?
microk8s remove-node 192.168.1.3…
Jan Zahradník
- 151
3
votes
0 answers
Kubernetes : for application deployment, how do Juju Charms compare to Helm charts?
What are pros/cons in using a Juju Charm rather than a Helm chart to deploy an application over a Kubernetes cluster ? It seems to do quite the same job, for instance for a Wordpress deployment ?
Worthatry
- 31
- 4
3
votes
2 answers
conjure-up cannot create user data directory
I have a new installation of Ubuntu 16.04 Server 64-bit. I am trying to setup a basic kubernetes environment using conjure-up.
First of all, I have installed conjure-up via snap as instructed on the Ubuntu documentation:…
Ahmed Tawfik
- 163