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
76
votes
3 answers

How to Add Users to Kubernetes (kubectl)?

I've created a Kubernetes cluster on AWS with kops and can successfully administer it via kubectl from my local machine. I can view the current config with kubectl config view as well as directly access the stored state at ~/.kube/config, such…
peterl
  • 1,881
  • 4
  • 21
  • 34
46
votes
10 answers

aws s3api create-bucket —bucket make exception

I am trying to create an S3 bucket using aws s3api create-bucket —bucket kubernetes-aws-wthamira-io It gives this error: An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location…
wthamira
  • 2,032
  • 2
  • 21
  • 40
27
votes
1 answer

How do I get the certificate authority certificate/key from a cluster created by kops?

I've created a Kubernetes cluster on AWS with the kops tool. I need to get hold of its certificate authority certificate and key though, how do I export these files through kops? I've tried the following, but it fails saying that yaml output format…
aknuds1
  • 65,625
  • 67
  • 195
  • 317
20
votes
2 answers

KOPS over AWS EKS or vice versa

I came across an open source Kubernetes project KOPS and AWS Kubernetes service EKS. Both these products allow installation of a Kubernetes cluster. However, I wonder why one would pick EKS over KOPS or vice versa if one has not run any of them…
Débora
  • 5,816
  • 28
  • 99
  • 171
16
votes
2 answers

kOps 1.19 reports error "Unauthorized" when interfacing with AWS cluster

I'm following the kOps tutorial to set up a cluster on AWS. I am able to create a cluster with kops create cluster kops update cluster --yes However, when validating whether my cluster is set up correctly with kops validate cluster I get stuck…
roim
  • 4,780
  • 2
  • 27
  • 35
15
votes
3 answers

Kubernetes : dial tcp 127.0.0.1:8080: connect: connection refused

I've launched kubernetes cluster using kops. It was working find and I started facing the following problem: kubectl get pods The connection to the server localhost:8080 was refused - did you specify the right host or port? How do i solve this? It…
prranay
  • 1,789
  • 5
  • 23
  • 33
15
votes
2 answers

Kubernetes Cluster on AWS with Kops - NodePort Service Unavailable

I am having difficulties accessing a NodePort service on my Kubernetes cluster. Goal set up ALB Ingress controller so that i can use websockets and http/2 setup NodePort service as required by that controller Steps taken Previously a Kops (Version…
Jonathan Wickens
  • 739
  • 6
  • 13
14
votes
4 answers

Volume is already exclusively attached to one node and can't be attached to another

I have a pretty simple Kubernetes pod. I want a stateful set and want the following process: I want to have an initcontainer download and uncompress a tarball from s3 into a volume mounted to the initcontainer I want to mount that volume to my main…
LoganHenderson
  • 1,222
  • 4
  • 12
  • 24
13
votes
1 answer

Kubernetes/kops: error attaching EBS volume to instance. You are not authorized to perform this operation. Error 403

I tested kubernetes deployment with EBS volume mounting on AWS cluster provisioned by kops. This is deployment yml file: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: helloworld-deployment-volume spec: replicas: 1 template: …
13
votes
2 answers

How to import state created on another server?

I setup my Kubernetes cluster using kops, and I did so from local machine. So my .kube directory is stored on my local machine, but I setup kops for state storage in s3. I'm in the process of setting up my CI server now, and I want to run my…
djt
  • 7,297
  • 11
  • 55
  • 102
12
votes
0 answers

Kube-proxy or ELB "delaying" packets of HTTP requests

We're running a web API app on Kubernetes (1.9.3) in AWS (set with KOPS). The app is a Deployment and represented by a Service (type: LoadBalancer) which is actually an ELB (v1) on AWS. This generally works - except that some packets (fragments of…
ArAr
  • 141
  • 3
12
votes
2 answers

how to add a node to my kops cluster? (node in here is my external instance)

I have created a Kubernetes cluster on AWS by following the instructions below. All my master and worker nodes are running Ubuntu. https://jee-appy.blogspot.in/2017/10/setup-kubernetes-cluster-kops-aws.html I am aware on how to increase or decrease…
Shruthi Bhaskar
  • 1,212
  • 6
  • 20
  • 32
11
votes
2 answers

How do I use kubectl via an ssh tunnel to access my internal ELB over my kubernetes API?

I want to create a kubernetes cluster using KOPS that uses a private topology completely (all master/worker nodes are on private subnets, the API ELB is internal). Once the cluster is created - how do I configure kubectl to use an ssh tunnel via my…
Doron
  • 3,176
  • 7
  • 35
  • 60
9
votes
7 answers

nginx-ingress: Too many redirects when force-ssl is enabled

I am setting up my first ingress in kubernetes using nginx-ingress. I set up the ingress-nginx load balancer service like so: { "kind": "Service", "apiVersion": "v1", "metadata": { "name": "ingress-nginx", "namespace": "...", …
Jonny
  • 2,787
  • 10
  • 40
  • 62
9
votes
1 answer

kubernetes: CA file when deploying via kops

I have created a cluster on aws using kops. However I am unable to find the file used as/by the certificate authority for spawning off client certs. Does kops create such a thing by default? If so, what is the recommended process for creating client…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
1
2 3
26 27