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

kubectl install error -The connection to the server localhost:8080 was refused - did you specify the right host or port

i am trying to install a kops cluster on AWS and to that as a pre-requisite i installed kubectl as per these instructions provided, https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl but when i try to verify the installation, i…
Shruthi Bhaskar
  • 1,212
  • 6
  • 20
  • 32
5
votes
1 answer

kubernetes/kops: Default user and permissions

using kubectl and kops 1.8 When spinning of a cluster in aws using kops the client certificate (present as string in the client-certificate-data field of ~/.kube/config) created has the following values: Subject: O=system:masters,…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
5
votes
1 answer

Changing the auto-generated kops kubernetes admin password

I have been using kops to build the kubernetes cluster which is really easy-to-go tool, however i am unable to find a way-out on how to change the admin password which is auto-generated while the cluster is being created.
5
votes
1 answer

how to change existing kubernetes aws cluster with kops (change nodes type)

I have deployed kubernetes cluster with kops.... kops create cluster --state=${STATE_STORE} --cloud=aws --zones=eu-west-2a,eu-west-2b --node-count=2 --node-size=t2.small --master-size=t2.small ${NAME} Is any way to change node-size after…
5
votes
1 answer

Enabling Kubernetes PodPresets with kops

I've got a kubernetes cluster which was set up with kops with 1.5, and then upgraded to 1.6.2. I'm trying to use PodPresets. The docs state the following requirements: You have enabled the api type settings.k8s.io/v1alpha1/podpreset You have…
ashic
  • 6,367
  • 5
  • 33
  • 54
4
votes
1 answer

How to delete a kubernetes cluster using kops without deleting EBS persistent volume that I used for my database?

When I tried to delete a kubernetes cluster running in AWS, it removed all the associated resources like loadbalancers of my application, autoscaling groups, EC2 instances and its EBS volumes as expected. However, it also removed EBS volume that I…
4
votes
4 answers

There was a problem authenticationg with your cluster. when i making gitlab and k8s cluster integration

I create k8s cluster in aws by using kops i wrote kubernetes cluster name : test.fuzes.io api url : https://api.test.fuzes.io/api/v1 and i fill the CA Certificate field with result of kubectl get secret {secrete_name} -o…
fuzes
  • 1,777
  • 4
  • 20
  • 40
4
votes
2 answers

Unable to connect to the server: dial tcp: lookup api.tutorialmate.com on 127.0.1.1:53: no such host

I want to set up Kubernetes Cluster on AWS using kops. I have domain tutorialmate.com. I have added Nameserver provided by Route53. Used below command to create cluseter: kops create cluster --name=tutorialmate.com --state=s3://kop-state-009…
Vikas Banage
  • 494
  • 1
  • 8
  • 25
4
votes
1 answer

Kubernetes master doesn't attach FlexVolume

I'm trying to attach the dummy-attachable FlexVolume sample for Kubernetes which seems to initialize normally according to my logs on both the nodes and master: Loaded volume plugin "flexvolume-k8s/dummy-attachable But when I try to attach the…
kellanburket
  • 12,250
  • 3
  • 46
  • 73
4
votes
0 answers

aws-iam-authenticator Unauthorized

I am setting up rolemap in aws-iam-authenticator within my kops kubernetes cluster. But the user is getting access denied. Log from aws-iam-authenticator pod: time="2019-02-18T17:52:18Z" level=warning msg="access denied"…
San Pal
  • 41
  • 3
4
votes
1 answer

How to use kops to create a Kubernetes cluster on AWS without the usage of the ELB service?

I'm just learning Kubernetes and I'd like to avoid spending money on Elastic Load Balancing while running it on AWS. Here's the command I use to install Kubernetes: kops create cluster \ --cloud aws \ --name ${MY_KUBE_NAME}.k8s.local \ …
Susha
  • 65
  • 6
4
votes
0 answers

Can't expose mysql tcp service running inside kubernetes cluster publicly using nginx-ingress

I ran into a problem exposing a mysql database running inside a kubernetes cluster publicly. The cluster runs with kops on AWS. Im using a helm chart for nginx-ingress: https://github.com/helm/charts/tree/master/stable/nginx-ingress controller: …
inodb
  • 4,709
  • 2
  • 17
  • 17
4
votes
1 answer

"Failed create pod sandbox" pod error in AWS Kubernetes cluster

Summary of the issue We have observed on several occasions that our cluster runs in a problem where one or more pods on one or more nodes are not starting (container or containers within the pod are not starting). The pod shows "Failed create pod…
Chapitos
  • 41
  • 1
  • 2
4
votes
0 answers

Kubernetes - KOPS - How to use the existing Route tables and SecGroups on AWS

Just wanted to know how to use the existing Route Tables and SecGroups on aws while creating the KOPS cluster. I can create using the existing VPC and Subnet by giving their ids, but it creates a new route table and my subnet is already attached to…
adi658
  • 41
  • 2
4
votes
2 answers

Need help on volume mount issue with kubernetes

I have RBAC enabled kubernetes cluster created using kops version 1.8.0-beta.1, I am trying to run a nginx pod which should attach pre-created EBS volume and pod should start. But getting issue as not authorized even though i am a admin user. Any…
mbdvg
  • 2,614
  • 3
  • 21
  • 39
1 2
3
26 27