Questions tagged [kops]

Kubernetes Operations is a cluster management utility for Kubernetes clusters. Questions about cluster installation and management are OFF TOPIC for Stack Overflow.

Kubernetes Operations is a deployment utility for clusters.

Stack Overflow questions must be programming-related, and questions about installing or upgrading Kubernetes clusters are off topic. These questions may be better asked on another tack Overflow site, like Server Fault or DevOps Stack Exchange.

395 questions
7
votes
2 answers

Master can't connect to cluster

After a cluster upgrade, one of three masters can't connect back to the cluster. I have a HA cluster running in us-east-1a, us-east-1b and us-east-1c, my master that is running in us-east-1a can't join back to the cluster. I tried to scale down the…
7
votes
1 answer

Kubernetes Kops without dns

I am new to kubernetes and I am attempting to create a new cluster in aws with Kops. Unfortunately I can't seem proceed without specifying a dns-zone, which is something that I was never required to do when I used tools like docker-machine and…
João Matos
  • 6,102
  • 5
  • 41
  • 76
7
votes
4 answers

SSH into kubernetes nodes created through KOPS

I created a Kubernetes cluster through Kops. The configuration and the ssh keys were in a machine that I don't have access to anymore. Is it possible to ssh to the nodes through kops even if I have lost the key? I see there is a command - kops get…
Anshul Tripathi
  • 529
  • 2
  • 11
  • 28
7
votes
3 answers

The dns-controller Kubernetes deployment has not updated the Kubernetes cluster's - AWS

I'm Trying to have a kubernetes cluster on aws and It's keep on failing while validation. using following command to update the cluster kops update cluster cluster.foo.com --yes and post running this kops validate cluster Using cluster from…
bashIt
  • 1,006
  • 1
  • 10
  • 26
7
votes
5 answers

Unable to validate Kubernetes cluster using Kops

I am new to Kubernetes. I am using Kops to deploy my Kubernetes application on AWS. I have already registered my domain on AWS and also created a hosted zone and attached it to my default VPC. Creating my Kubernetes cluster through kops succeeds.…
7
votes
2 answers

Kubernetes pod cannot see secret set with kubectl?

So, i have a k8s cluster running on AWS, provisioned using kops. I have created a secret locally, using kubectl: kubectl create secret generic aws-es --from-file=./aws_key.txt --from-file=./aws_secret_key.txt My service.yml has this env: -…
dgmt
  • 485
  • 1
  • 3
  • 13
6
votes
2 answers

Kubernetes: configmaps is forbidden: User "kube" cannot list configmaps in the namespace "default"

I followed this tutorial on Medium to deploy a Kubernetes cluster on AWS: https://medium.com/containermind/how-to-create-a-kubernetes-cluster-on-aws-in-few-minutes-89dda10354f4 However, when I launch the Kubernetes dashboard I see the following…
etayluz
  • 15,920
  • 23
  • 106
  • 151
5
votes
2 answers

Kubernetes - services without selector

I'm struggling with Kubernetes' service without a selector. The cluster is installed on AWS with the kops. I have a deployment with 3 nginx pods exposing port 80: apiVersion: apps/v1 kind: Deployment metadata: name: ngix-dpl # Name…
Stanislav Melnikov
  • 198
  • 1
  • 2
  • 9
5
votes
1 answer

kubernetes getting error "Container image mongo:3.4.20 already present on machine"

Back-off restarting the failed container, the description is Container image mongo:3.4.20 already present on the machine I have removed all container into that system name mongo, removed all POD, svc, deployment, and rc, but getting the same error,…
shufilkhan
  • 521
  • 2
  • 6
  • 22
5
votes
2 answers

Gitlab-installed Helm: Error: context deadline exceeded

I've a Kubernetes cluster installed in AWS with Kops. I've installed Helm Tiller with the Gitlab UI. The Tiller service seems to be working via Gitlab, for example I've installed Ingress from the Gitlab UI. But when trying to use that same Tiller…
Daniel Ramos
  • 2,115
  • 3
  • 18
  • 28
5
votes
3 answers

Make systemctl work from inside a container in a debian stretch image

Purpose - What do I want to achieve? I want to access systemctl from inside a container running a kubernetes node (ami: running debian stretch) Working setup: Node AMI: kope.io/k8s-1.10-debian-jessie-amd64-hvm-ebs-2018-08-17 Node Directories…
Alok Kumar Singh
  • 2,331
  • 3
  • 18
  • 37
5
votes
0 answers

AWS kubectl: Unable to connect to the server: EOF

I'm new to Kubernetes and trying to create a cluster on AWS. I haven't been able to run the kubectl command and getting the Unable to connect the server: EOF I have been trying various forums and help for the last 2 days, but not sure what am…
Sai
  • 309
  • 1
  • 4
  • 15
5
votes
2 answers

Recover a Kubernetes Cluster

At the moment I have a Kubernetes cluster distributed on AWS via kops. I have a doubt: is it possible to make a sort of snapshot of the Kubernetes cluster and recreate the same environment (master and pod nodes), for example to be resilient or to…
falberto89
  • 163
  • 9
5
votes
1 answer

Rotate certificate for kubernetes in a KOPS managed cluster

I've launched a couple clusters through KOPS and, being new to provisioning k8s clusters, shared the entire kube config file with my team. I had assumed incorrectly that I could easily change username and password to prevent developers that have…
Zach Kauffman
  • 53
  • 1
  • 5
5
votes
0 answers

Kubectl commands showing "Unable to connect to the server: EOF" Error

I have created K8s cluster on my AWS account. But the kubectl commands don't work. I'm getting the following error: kubectl get nodes Unable to connect to the server: EOF Please note that the "get pods,get svc and ns" are also showing the above…
Steven Lung
  • 85
  • 1
  • 7
1
2
3
26 27