Valid configuration example:
apiVersion: kubeadm.k8s.io/v1beta2
featureGates:
IPv6DualStack: true
kind: ClusterConfiguration
networking:
podSubnet: 10.10.0.0/16,2001:db8::/98
serviceSubnet: 10.96.0.0/12,2001:db8:9999::/112
#!/bin/bash | |
# For debian based distro. | |
# This will setup a complete development environment for Cilium. | |
# You can also use the cilium vagrant based environment after this setup. | |
# ./contrib/vagrant/start.sh | |
set -euxo pipefail | |
is_user_root () { [ ${EUID:-$(id -u)} -eq 0 ]; } |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.require_version ">=2.0.0" | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/focal64" | |
config.vm.provision "shell", path: "dev-setup.sh" |
Valid configuration example:
apiVersion: kubeadm.k8s.io/v1beta2
featureGates:
IPv6DualStack: true
kind: ClusterConfiguration
networking:
podSubnet: 10.10.0.0/16,2001:db8::/98
serviceSubnet: 10.96.0.0/12,2001:db8:9999::/112
variable "endpoint" { | |
type = string | |
description = "Endpoint of the kubernetes cluster." | |
} | |
variable "client_certificate" { | |
type = string | |
description = "Certificate to use for the kubernetes client." | |
} |
#!/bin/bash | |
set -euxo pipefail | |
function setup_cilium() { | |
cat <<EOF >> /etc/sysconfig/cilium | |
CILIUM_OPERATOR_OPTS=" --debug --k8s-kubeconfig-path /var/lib/cilium/cilium.kubeconfig --kvstore etcd --kvstore-opt etcd.config=/var/lib/cilium/etcd-config.yml --cluster-pool-ipv4-cidr=10.16.0.0/12 --cluster-pool-ipv6-cidr=fd77::/112 --cluster-pool-ipv6-mask-size 120 --cluster-pool-ipv4-mask-size 24" | |
EOF | |
} |
#!/usr/bin/env bash | |
# Script to configure a Kubeadm cluster on Ubuntu machine | |
set -eu | |
version_regex='^[0-9]+\.[0-9]+\.[0-9]+$' | |
KERNEL_VERSION="5.8.1" | |
K8S_VERSION="1.19.0" | |
START_TIME=$(date +"%T") |
[connection] | |
id=Wired connection 1 | |
uuid=755094a0-4144-309a-b301-32f87c340074 | |
type=ethernet | |
autoconnect-priority=-999 | |
permissions= | |
timestamp=1527987074 | |
[ethernet] | |
mac-address=<MAC ADDR> |
#!/usr/bin/env python | |
''' | |
Obtain the APP_ID, APP_KEY from https://developer.oxforddictionaries.com | |
''' | |
import os | |
import requests | |
import sys | |
import logging | |