Solved

How to renew Karbon cluster's kubeconfig dynamically?

  • 2 July 2019
  • 2 replies
  • 2274 views

Badge +1
Hi all

Since kubeconfig is only valid for 24hours, is there a way to renew it automatically on expiry?
An API call maybe? Using the same credentials to login on the Karbon Console?

The idea is to automatically update the kubeconfig from our CI/CD pipeline to deploy to Kubernetes.

Please also share, if there is, best practices for integrating Karbon clusters with Jenkins CI/CD pipeline.

I thank you
icon

Best answer by crisj 4 July 2019, 16:22

View original

This topic has been closed for comments

2 replies

Badge +2
Hello KeoNaane,

best practice for integrating CI/CD tool like jenkins is to create a dedicated service account, configure the correct needed RBAC right and use the token of this service account to configure Jenkins.

Best Regards
Badge +1
Sweet. Thanks @crisj