6.1 - Configuration

A Python script generates kubeconfig configuration files for the following Kubernetes components:

  • Worker Nodes
  • Kube Proxy
  • Controller Manager
  • Kube Scheduler
  • Admin User

The script make system calls to kubectl with appropriate flags to generate each configuration file.

The generated configuration files are then saved to a directory called k8s-conf.

The generated files are then transferred to the Compute instances using Ansible.

The script used to generate the kubeconfig files can be found in the GitLab repository: 02-generate-kubeconfig.py

Last updated on 17 Aug 2021
Published on 17 Aug 2021