You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DevOps-Bash-tools/vagrant/kubernetes/kubeadm-config.yaml

22 lines
765 B
Bash

#!/usr/bin/env bash
# vim:ts=2:sts=2:sw=2:et
#
# Author: Hari Sekhon
# Date: 2020-08-14 13:16:04 +0100 (Fri, 14 Aug 2020)
#
# https://github.com/HariSekhon/DevOps-Bash-tools
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterConfiguration
kubernetesVersion: 1.18.1 # Use the word stable for newest version
controlPlaneEndpoint: "master1:6443" # Use the node alias not the IP so cert matches from LB
networking:
podSubnet: 192.168.0.0/16 # Match the IP range from the Calico config file