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

Kubectl not reflecting node after deleting and recreating node from kops

one of my node went to not ready state. so I tried deleting and recreating them again. But now my kubectl is not reflecting the restarted node. but kops says the node is ready and I can see the node in aws interface too. looks like kubectl is not…
Gaudam Thiyagarajan
  • 1,022
  • 9
  • 24
3
votes
1 answer

How change the node count of a created cluster

I created a cluster with kops in the AWS. sudo kops create cluster --name=k8s.ehh.fun --state=s3://kops-state-ehh000 --zones=us-east-1a --node-count=3 --node-size=t2.micro --master-size=t2.micro --dns-zone=k8s.ehh.fun And now a Would like to change…
ehh
  • 1,659
  • 2
  • 13
  • 11
3
votes
1 answer

kubernetes: kops and IAMFullAccess policy

According to documentation of both kops and aws, the dedicated kops user needs IAMFullAccess permission to operate properly. Why is this permission needed? Is there a way to avoid (i.e. restrict) this, given that it is a bit too intrusive to create…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
3
votes
2 answers

Kubernetes RBAC authentication for default user

I am using kops in AWS to create my Kubernetes cluster. I have created a cluster with RBAC enabled via --authorization=RBAC as described here. I am trying to use the default service account token to interact with the cluster and getting this…
timothyclifford
  • 6,799
  • 7
  • 57
  • 85
3
votes
1 answer

Invalid string; unexpected character: 253 hex: fd

I am trying to run elasticsearch on kubernetes following https://github.com/pires/kubernetes-elasticsearch-cluster The yaml file that I am using to deploy on the cluster looks like this: apiVersion: extensions/v1beta1 kind: Deployment metadata: …
ali
  • 350
  • 2
  • 15
3
votes
1 answer

Kubernetes Kops and Federation

Has anyone had any success getting kops and federation to work together? We've tried to set up a couple of clusters using kops and have created the correct contexts. However, when we try to join one cluster to another, the dns names used by kops…
JuanIsFree
  • 360
  • 3
  • 14
3
votes
1 answer

automatic spot pricing for kops deployment

I can already do spot deployments with kops but it requires manually editing a the instance groups (nodes) $ kops edit ig --name=test.dev.test.com nodes machineType: t2.medium maxSize: 2 minSize: 2 => machineType: t1.nano maxSize: 1 …
Unxcellent
  • 99
  • 1
  • 2
  • 8
3
votes
2 answers

Make k8s services available via ingress on an AWS cluster created with kops

After trying kubernetes on a few KVMs with kubeadm, I'd like to setup a proper auto-scalable cluster on AWS with kops and serve a few websites with it. The mind-blowing magic of kops create cluster ... gives me a bunch of ec2 instances, makes the…
Alexander Kachkaev
  • 842
  • 15
  • 29
3
votes
1 answer

Kubernetes cluster x509: Certifcate issue

I set up Kubernetes cluster on aws using kops using this tutorial on official kubernetes github branch. The cluster set up successfully on AWS, but when I try to run kubectl get nodes or kops validate cluster it says [user@ip-70-0-0-7 ~]$ kubectl…
Arjun
  • 3,248
  • 18
  • 35
3
votes
2 answers

Kubernetes auto-scaling nodes over AWS

I am working in set up a kubernetes cluster using the following stuff: AWS as a cloud provider kops (Version 1.6.0-alpha, just to test) as a cli tool to create and manage cluster kubectl (server : v1.6.2 and client : 1.6.0 ) to control my…
afym
  • 532
  • 2
  • 6
  • 22
3
votes
1 answer

Define custom SSH key or find autogenerated SSH key in KOPs

I'm using KOPs to launch a Kubernetes cluster in the AWS environment. Is there a way to set a predefined SSH key when calling create cluster? If KOPs autogenerates the SSH key when running create cluster, is there a way to download this key to…
kellanburket
  • 12,250
  • 3
  • 46
  • 73
2
votes
1 answer

Store KOPS CA key and certificate in Vault

I've recently started using KOPS as a tool to provision Kubernetes clusters and from what I've seen so far, it stores it's CA key and certificates in its S3 bucket, which is fine. But out curiosity, would it be possible to store these in Hashicorp…
Metro
  • 873
  • 8
  • 19
2
votes
2 answers

cluster-autoscaler deployment fails with "1 Too many pods, 3 node(s) didn't match Pod's node affinity/selector"

I have created a k8s cluster with kops (1.21.4) on AWS and as per the docs on autoscaler. I have done the required changes to my cluster but when the cluster starts, the cluster-autoscaler pod is unable to schedule on any node. When I describe the…
Divick
  • 1,213
  • 1
  • 20
  • 44
2
votes
2 answers

Can you patch an arbitrary resource with no base via kustomize?

I've been trying to patch a Deployment, declared and applied by a kops addon (Ebs drivers). Unfortunately, after trying the variety of patching strategies, it seems that I am unable to patch a resource that doesn't have a base declared in my folder…
H. Tazi
  • 76
  • 5
2
votes
2 answers

KOPS reload ssh access key to cluster

I want to restart my Kubernetes access ssh key using commands from this website: https://github.com/kubernetes/kops/blob/master/docs/security.md#ssh-access so those: kops delete secret --name sshpublickey admin kops create secret…
rupert
  • 59
  • 5