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

How to Limit Kubernetes Dashboard Users from Seeing Secrets?

The Kubernetes Dashboard allows users to see all secrets, including their raw values with just a couple clicks. These secrets will likely contain very sensitive data, such as production database passwords and private keys. How do you limit users of…
peterl
  • 1,881
  • 4
  • 21
  • 34
3
votes
1 answer

kops export kubeconfig with no diminishing TTL

We create the cluster using the following command kops create cluster --node-count=3 --node-size=c5.2xlarge --master-count=3 --master-size=c5.xlarge --zones=eu-west-1a --name=${KOPS_CLUSTER_NAME} --yes We are using kops cluster. We export the…
codeaprendiz
  • 2,703
  • 1
  • 25
  • 49
3
votes
1 answer

EKS cluster created by kops does not appear in AWS console

Issue 1 The question says it all. I can't find the EKS cluster which was created by kops in the AWS console. I can, however, interact with it as the IAM user (kops-user) which I used to launch the cluster, using kops and kubectl commands. The…
Lester
  • 1,411
  • 1
  • 12
  • 30
3
votes
1 answer

kops k8s cluster Kubectl commands Timeout issue

I was trying to run "kubectl get nodes" command for k8s cluster.it gives "Unable to connect to the server: dial tcp..." this is a k8s cluster created by a different user in the company AWS account. this is the steps I have followed export…
smartechno
  • 470
  • 1
  • 5
  • 18
3
votes
2 answers

kubectl : error: You must be logged in to the server (Unauthorized)

I have created kops cluster and getting below error when logging to the cluster. Error log : *****INFO! KUBECONFIG env var set to /home/user/scripts/kube/kubeconfig.yaml INFO! Testing kubectl connection.... error: You must be logged in to the server…
Ching Kast
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

kops ssh public key permission denied

I am trying to create a cluster via kops, following these instructions https://github.com/kubernetes/kops/blob/master/docs/cli/kops_create_cluster.md This is what i tried export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id) export…
f_i
  • 3,084
  • 28
  • 31
3
votes
1 answer

Specify different instant type for nodes in kubernetes with kops

I am creating a kubernetes cluster in AWS with kops. I understand that I can change the nodes' instance type using following command. kops edit ig nodes --name ${NAME} It will open this file and I can edit config apiVersion: kops/v1alpha2 kind:…
Akshay
  • 3,558
  • 4
  • 43
  • 77
3
votes
1 answer

Accessing a remote kubernetes cluster with grafana

I have a Grafana running on an EC2 instance. I installed my Kubernetes cluster k8s.mydomain.com on AWS using kops. I wanted to monitor this cluster with Grafana. Entering the below URL for Prometheus data source and the admin username and password…
3
votes
1 answer

Restore Etcd Quorum

I have a Kubernetes cluster distributed on AWS via Kops consisting of 3 master nodes, each in a different AZ. As is well known, Kops realizes the deployment of a cluster where Etcd is executed on each master node through two pods, each of which…
falberto89
  • 163
  • 9
3
votes
1 answer

Recover kops Kubernetes cluster

There's a kubernetes cluster that was created by kops and when running kops validate this is the output: INSTANCE GROUPS NAME ROLE MACHINETYPE MIN MAX SUBNETS master-us-east-1a Master m4.xlarge 1 1 us-east-1a nodes …
smk
  • 5,340
  • 5
  • 27
  • 41
3
votes
2 answers

How to disable --basic-auth-file on kops? Kubernetes

I am trying to find a way to disable --basic-auth-file on my cluster. Can someone help me?
Danilo
  • 123
  • 7
3
votes
2 answers

Occasional Unknownhost Exception from for a service within kubernetes

I have a kubernetes cluster setup on AWS. When i make call to elasticsearch-client.default.svc.cluster.local from a pod, i get unknown host exception occasionaly. It must have something to do with the name resolution, coz hitting the service IP…
3
votes
2 answers

Reference variable based on another variable

In file1.tf (generated by kops) I have a resource like this: resource "aws_vpc" "my-vpc-tf-id" { ... } The resource ID was dynamically generated by kops and also added to terraform.tfvars (so it can be used in other places in the .tf files):…
Oliver
  • 27,510
  • 9
  • 72
  • 103
3
votes
2 answers

How to scale up GPU Nodes with autoscaler on AWS

I want to have a instance group that scales from 0 to x pods. I get Insufficient nvidia.com/gpu. Does someone see what I'm doing wrong here? This is on Kubernetes v1.9.6 with autoscaler 1.1.2. I have two instance groups, one with cpus, and a new…
Alex
  • 2,953
  • 1
  • 27
  • 37
3
votes
2 answers

kops - get wrong kubectl context

I use kops create kubernetes cluster in aws. I want to validate the cluster using this command: kops validate cluster The stdout give me: Using cluster from kubectl context: minikube I think the problem is the wrong context, but why I kops does not…
Lin Du
  • 88,126
  • 95
  • 281
  • 483