KUBESPRAY QUESTIONS MUST BE PROGRAMMING RELATED. Use this tag when you have questions about developing for the Kubespray project (see https://kubespray.io), a tool to to provision infrastructure and install Kubernetes clusters. Questions about deploying Kubernetes clusters are OFF TOPIC for Stack Overflow; consider asking on Server Fault (https://serverfault.com/) or DevOps Stack Exchange (https://devops.stackexchange.com).
Questions tagged [kubespray]
137 questions
1
vote
1 answer
Troubles understanding dmesg output on nodes with a Kubernetes Cluster on ESX VMs
I configured a Kubernetes test cluster running on VMs on a ESX thanks to kubespray. In the configuration file, I told Kubespray to configure my cluster with calico as CNI with the default CIDR.
When I access the VM using vSphere, or I run the…

Ryctus
- 109
- 2
- 12
1
vote
4 answers
Prepare VPS for installing Kubernetes with Kubespray
I have 3 VPS based on Ubuntu 18.04 server and would like to build a kubernetes cluster.
I going to use Kubespray to install the Kubernetes cluster and my questions are:
How to prepare servers, that they can talk to each other
How to setup the…

softshipper
- 32,463
- 51
- 192
- 400
1
vote
1 answer
Kubespray Kubernetes Installation Fails - dockerd[8296]: unable to configure the Docker daemon with file /etc/docker/daemon.json
Above error occured when installing kubernetes using kubespray.
The installtion fails and through journal -xe i see the follow:
` node1 systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun…

Aniesh
- 13
- 3
1
vote
1 answer
Does kubespray support CentOS 8?
I have a quick question related to "Kubespray".
Does "Kubespray" support CentOS 8?
I wanted to deploy "Kubespray" on "CentOS" and I came to know that the CentOS 8 has Kernel version 4.18 and If I can use "CentOS 8" for "Kubernetes" deployment,…

rolz
- 591
- 2
- 11
- 23
1
vote
2 answers
Error when running playbook with tags on kubespray
I'm trying to run the playbook
ansible-playbook \
-i inventory/preprod/inventory.ini \
--private-key ~/.ssh/id_rsa_stagging \
-u cloud-user \
--become \
--become-user=root \
cluster.yml \
--tags resolvconf
And it returns this…

Thiago Oliveira
- 11
- 2
1
vote
0 answers
(HA) API-Server unreachable with one master down
with the help of kubespray I got a running kubernetes cluster on 3 machines. 2 of them (node1, node2) are master nodes and all of them (node1, node2, node3) are worker nodes. Therefore it should meet my requirement to be a high available cluster.
I…

algtr
- 68
- 9
1
vote
1 answer
Kubeadm is unable to sign certificate on upgrade
During Kubernetes upgrade from 1.14 to 1.15 with kubespray, my team had a blocking issue with the following message during the "Upgrade first master" step :
[upgrade/apply] FATAL: couldn''t upgrade control plane.
kubeadm has tried to recover…

Orabîg
- 11,718
- 6
- 38
- 58
1
vote
3 answers
Kubernetes nginx ingress controller returns 504 error
Our on-premise Kubernetes/Kubespray cluster has suddenly stopped routing traffic between the nginx-ingress and node port services. All external requests to the ingress endpoint return a "504 - gateway timeout" error.
How do I diagnose what has…

Lee Sanderson
- 41
- 1
- 9
1
vote
2 answers
How to set API Server parameters on kubespray deployment
I am using kubespray for the deployment of a kubernetes cluster and
want to set some API Server parameters for the deployment. In specific I want to configure the authentication via OpenID Connect (e.g set the oidc-issuer-url parameter). I saw that…

chresse
- 5,486
- 3
- 30
- 47
1
vote
1 answer
Pods are unable to connect to internal Kubernetes service
I have issues with CoreDNS on some nodes are in Crashloopback state due to error trying to reach the kubernetes internal service.
This is a new K8s cluster deployed using Kubespray, the network layer is Weave with Kubernetes version 1.12.5 on…

Tomer Leibovich
- 23
- 5
1
vote
1 answer
Can I reach a container by it's hostname from another container running on another node in Kubernetes?
I believe my question is pretty straightforward. I'm doing my prerequisites to install Kubernetes cluster on bare metal.
Let's say I have:
master - hostname for Docker DB container which is fixed on first node
slave - hostname for Docker DB…

laimison
- 1,409
- 3
- 17
- 39
1
vote
4 answers
["Shared connection closed."], "stdout": "sudo: a password is required\r\n while using Ansible playbook
I am trying to run one Ansible playbook for deploying Kubernetes cluster using the tool kubespray on Ubuntu 16.04 OS. I have one base machine which is installed with Ansible and cloned kubespray Git repository. And one master and two worker nodes…

Mr.DevEng
- 2,651
- 14
- 57
- 115
1
vote
0 answers
Kubernetes appending own domain name to all requests
I set up Kubernetes (single node) with kubespray. It's all up and working except for one thing. Any requests made from inside the container has my own fqdn appended to the request. For example, if I ping google.com from in the container, it pings…

cclloyd
- 8,171
- 16
- 57
- 104
1
vote
1 answer
Ideal settings for Kubernetes DNS to use systemd resolvd entires
Im about to deploy a new K8S baremetal cluster using KubeSpray.
On on my agents, I have resolvd running that does not take the DNS settings from /etc/resolvd.conf but rather takes it from /etc/systemd/resolved.conf.
So which is the best DNS setting…
user4889345
1
vote
1 answer
Setting up Kubernetes with Kubespray & windows worker support
I have a requirement to set up Kubernetes on-prem and have Windows worker nodes that run .NET 4.5 containers. Now, while I found this link, I don't particularly like the idea of upgrading the control plane and rotating needed certificates…

JuniorPenguin
- 163
- 10