.kube config

From NovaOrdis Knowledge Base
Revision as of 00:01, 22 August 2019 by Ovidiu (talk | contribs) (→‎Clusters)
Jump to navigation Jump to search

Internal

Overview

$HOME/.kube/config is kubectl configuration file. It contains definitions for clusters, users and contexts.

Clusters

The section contains the definition of one or more clusters. Each cluster definition has a name, certificate info and the API server's endpoint.

clusters:
- cluster:
    certificate-authority-data: LS0tLS1...tLQo=
    server: https://kubernetes.docker.internal:6443
  name: docker-desktop

Users

Contexts