0

I am using digital ocean to deploy a managed kubernetes cluster and it gives me a config file to download. How do I use the downloaded .yaml file with my default config file in /.kube directory?

I tried to merge the config files, but it did not work. Is there any easy way to make it work?

Rich Michaels
  • 1,663
  • 2
  • 12
  • 18

1 Answers1

1

You can specify which configuration file to use with your kubectl command by adding the --kubeconfig flag.

Alassane Ndiaye
  • 4,427
  • 1
  • 10
  • 19