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
2
votes
1 answer

What is the reason of creating LoadBalancer when create cluster using kops

I tried to create k8s cluster on aws using kops. After create the cluster with default definition, I saw a LoadBalance has been created. apiVersion: kops/v1alpha2 kind: Cluster metadata: name: bungee.staging.k8s.local spec: api: …
pham cuong
  • 849
  • 1
  • 12
  • 24
2
votes
1 answer

Kops Create Cluster fails with gossip in AWS Linux

I'm following the tutorial in https://github.com/kubernetes/kops/blob/master/docs/aws.md with a bootstrap EC2 instance with Amazon Linux installed. And everything seems to be working fine until I need to start configuring the cluster. This error…
Thadeu Melo
  • 947
  • 14
  • 40
2
votes
1 answer

kubefed init says "waiting for the federation control plane to come up" and it never comes up

I've created clusters using kops command. For each cluster I've to create a hosted zone and add namespaces to DNS provider. To create a hosted zone, I've created a sub-domain in the hosted zone in aws(example.com) by using the following command…
Shankar
  • 171
  • 6
2
votes
1 answer

Using multiple kubernetes cluster at same time using kops

I am using kops to create / manage kubernetes clusters in AWS. I have created a pilot / intermediate instance to access all the clusters. I have noticed that even if we create multiple SSH sessions (using same user), and if I change context to…
Akshay
  • 3,558
  • 4
  • 43
  • 77
2
votes
0 answers

Enabling Horizontal Pod Autoscaling on Kubernetes v1.9.10 via kops

I have a Kubernetes cluster on AWS, which was launched with Kops. I think initially launched as v1.7.0 but have updated to v1.9.10 since. All running fine, except horizontal pod autoscaling not working. Error has switched between the following 2,…
Mark Walker
  • 1,199
  • 11
  • 20
2
votes
1 answer

Kubernetes on AWS using Kops - kube-apiserver authentication for kubectl

I have setup a basic 2 node k8s cluster on AWS using KOPS .. I had issues connecting and interacting with the cluster using kubectl ... and I keep getting the error: The connection to the server api.euwest2.dev.avi.k8s.com was refused - did…
Avi
  • 1,453
  • 4
  • 18
  • 43
2
votes
1 answer

Prevent Kubernetes breaking (kubectl does not respond) when too many Pods

Kubernetes breaks (no response from kubectl) when I have too many Pods running in the cluster (1000 pods). There are more than enough resources (CPU and memory), so it seems to me that some kind of controller is breaking and unable to handle a…
cryanbhu
  • 4,780
  • 6
  • 29
  • 47
2
votes
1 answer

How to copy an S3 bucket onto Kubernetes nodes

I wanted to copy an S3 bucket on Kubernetes nodes as a DaemonSet, as the new node will also get the s3 bucket copy as soon it gets launched, I prefer an S3 copy to the Kubernetes node because copying S3 to directly to the pod as an AWS API would…
Rajaneesh
  • 33
  • 5
2
votes
2 answers

Is there a way to use Kubernetes RBAC to stop a user from creating an external loadbalancer on a service?

On 1.10.9, kops, AWS, I am looking for a way to stop a user from creating a service that uses type:loadbalancer unless it has annotations: service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0. Is that possible?
Defenestrator6
  • 405
  • 1
  • 6
  • 10
2
votes
0 answers

raft: tocommit(331448) is out of range. Was the raft log corrupted, truncated, or lost?

I currently have a multimaster cluster deployment of Kubernetes on AWS, realized by kops. I have made a snapshot of the master EBS. I have tried to kill the master and I have attached to it a volume created by the snapshot itself. I have this output…
2
votes
1 answer

Disaster Recovery Kops Kubernetes Master Node on AWS

I have currently a cluster HA (with three multiple masters, one for every AZ) deployed on AWS through kops. Kops deploys a K8S cluster with a pod for etcd-events and a pod for etcd-server on every master node. Every one of this pods uses a mounted…
2
votes
2 answers

Kubernetes Dashboard by kops on AWS show only json

I've installed Kubernetes by kops on aws, and basically every function is fine so far, except for Dashboad. I've installed it by following this URL, and received no…
2
votes
2 answers

New master with new etcd volume do not join in the cluster

I am using KOPS and I have a cluster with 3 masters. I deleted one master and the disks (root disk and etcd disks(main and events)). Now kops recreated this master and the disks, but this new master node cannot join in the cluster. The error…
Danilo
  • 123
  • 7
2
votes
1 answer

KOPS: Kubernetes Cluster with private networking on AWS VPC: Error Listing Nodes

I followed this tutorial: Kubernetes Cluster with private networking on AWS using Kops However, after creating the kubernetes cluster, I am getting the following error: $ kops validate cluster Using cluster from kubectl context:…
carlolm
  • 277
  • 3
  • 14
2
votes
0 answers

How do I use an existing private VPC when creating a new kubernetes cluster using KOPS?

I have an existing VPC on AWS. In it there are 2 subnets per each availability zone (one private, one public). Each public subnet has a NAT gateway in it to allow internet access from the private subnet in that availability zone. All of my servers…
Doron
  • 3,176
  • 7
  • 35
  • 60