Questions tagged [kubespray]

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).

137 questions
0
votes
1 answer

Ansible and passing vars to the following include_role from a previous include_role

I'm trying to wrap all the roles of Kubespray in block/rescue blocks so I had to move from the usual roles includes like this: - hosts: kube-master[0] any_errors_fatal: "{{ any_errors_fatal | default(true) }}" roles: - { role:…
Valerio Santinelli
  • 1,592
  • 2
  • 27
  • 45
0
votes
0 answers

kubespary:ansible can't send data with ssh to a node in ansible-playbook command

in step 10 of tutorial https://dzone.com/articles/kubespray-10-simple-steps-for-installing-a-product for deploying a production ready kubernetes cluster with kubespray, an error occured when running ansible-playbook command.error is: ERROR! SSH…
0
votes
1 answer

kubespray openstack terraform "Error: Module not found" error

I am new with Kubespray and want to install Kubernetes cluster on Openstack. I follow https://github.com/kubernetes-sigs/kubespray/tree/master/contrib/terraform/openstack, but got an error when I ran initialization terraform init…
Mike
  • 297
  • 5
  • 17
0
votes
1 answer

Kubernetes cluster Nodes not creating automatically when other lost in Kubespray

I have successfully deployed a multi master Kubernetes cluster using the repo https://github.com/kubernetes-sigs/kubespray and everything works fine. But when I stop/terminate a node in the cluster, new node is not joining to the cluster.I had…
manu thankachan
  • 433
  • 3
  • 9
  • 19
0
votes
2 answers

API Server: Unable to authenticate the request due to an error: invalid bearer token

I set up a sample Kubernetes Cluster with 3 master nodes and 2 worker nodes. I tried to connect it to an OpenId Provider (in my case Keycloak). But when querying the API I get the following message from kubectl: error: You must be logged in to the…
chresse
  • 5,486
  • 3
  • 30
  • 47
0
votes
0 answers

Installing kubernetes cluser on AWS using kubeadm returning error

Environment: Cloud provider: AWS OS : centos LINUX 7 Version of Ansible: 2.7.10 Kubespray version: Master Tag: 2.9.0 Copy of your inventory file: master-1 ansible_host=ip-10-1-x-x.eu-west-3.compute.internal ip=10.1.x.x master-2…
0
votes
1 answer

After K8s Master reboot, apiserver throws error “x509: certificate has expired or is not yet valid”

I have multimaster kubernetes cluster setup using Kubespray. I ran an application using helm on it which increased the load on master drastically. this made master almost inaccessible. After that I shutdown masters one by one and increased RAM and…
SunilThorat
  • 1,672
  • 2
  • 13
  • 15
0
votes
0 answers

Scaling with kubespray scale.yml fails "Failed to connect host via ssh"

Kubespray cluster.yml - works fine with the below command. command used: ansible-playbook -b cluster.yml -i inventory/sample/hosts.ini -e kube_version=v1.13.2 -vvv But scaling fails with below message .. ie waiting for kubelet.conf file to…
saikrishna
  • 11
  • 3
0
votes
1 answer

Cannot upgrade node using kubespray

A have test kubernetes on-premise cluster on centos 7.4. Current kubernetes version is 1.10.4. I am trying to upgrade to 1.11.5 using kubespray The command is: ansible-playbook upgrade-cluster.yml -b -i inventory/k8s-test/hosts.ini -e…
0
votes
0 answers

Unable to deploy multi-master kubespray config

Having problems correctly deploying a trivial config. Not suggesting this is an ideal configuration, but it ought to be a valid one: [k8s-cluster:children] kube-node [all] node1 ansible_host=X.Y.Z.A node2 ansible_host=X.Y.Z.B node3 …
moe
  • 452
  • 2
  • 10
-1
votes
1 answer

openstack pod keeps failing for this x509 error

I have an account that can access a openstack site to do my work, and everytime when I was to execute any openstack cli command, I have to provide the extra "--insecure" option to make it work, something as follows: >> openstack server list…
user3595231
  • 711
  • 12
  • 29
-1
votes
1 answer

How can I install nvidia/gpu-operator in helm?

I get the following error Built on jetson Xavier AGX with kubespray. helm install --wait --generate-name nvidia/gpu-operator Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install:…
tuioku
  • 119
  • 10
-1
votes
1 answer

Budibase helm deployment: host not found in resolver "kube-dns.kube-system.svc.cluster.local" in /etc/nginx/nginx.conf

I installed k8s with kubespray, which deployed coredns as the dns service. When trying to install Budibase through the Helm chart, I'm getting the following error: [emerg] host not found in resolver "kube-dns.kube-system.svc.cluster.local" in…
Olivier Boudry
  • 801
  • 7
  • 17
-1
votes
1 answer

Node role is missing for Master node - Kubernetes installation done with the help of Kubespray

After clean installation of Kubernetes cluster with 3 nodes (2 Master & 3 Node) i.e., Masters are also assigned to be worker node. After successful installation, I got the below roles for the node. Where Node role is missing for the masters as…
Kumaran
  • 25
  • 2
  • 6
-1
votes
2 answers

kubespray stops in the middle of the process, https://127.0.0.1:6443/healthz, Request failed: "

I want to install Kubernetes on 3 Masters, 3 ETCDs and 2 Nodes by Kubespray. but kubespray playbook stops in the middle of the process. At one point, it print this message, but the process continued: TASK [kubernetes/kubeadm : Join to cluster with…
Mohammad Shafiee
  • 689
  • 1
  • 5
  • 10
1 2 3
9
10