Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
kops exporta kubeconfig sin disminuir el TTL

Creamos el clúster usando el siguiente comando

 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

Estamos usando el clúster de Kops. Exportamos el kubeconfig usando este comando

 $ kops export kubecfg --admin --kubeconfig ~/workspace/kubeconfig --state=s3://YOUR-S3-BUCKET-NAME"

Funciona bien por un tiempo. Pero después de un tiempo, nuevamente comenzamos a recibir el mismo error cuando TTL caduca para kubeconfig.

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

¿Hay alguna forma de que podamos deshacernos de este molesto TTL?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Después de revisar los documentos , descubrí que en realidad podemos dar la validez de kubeconfig como argumento

 $ kops export kubecfg --admin=87600h0m0s --kubeconfig ~/workspace/kubeconfig --state=s3://<bucket-name> --name=<cluster-name>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!