kubernetes-bgp
displague/kubernetes-bgp/packet
Kubernetes on Packet using Calico and MetalLB
Kubernetes on Packet ==================== This guide can be used as a reference to deploy Kubernetes on Packet bare-metal servers in a single facility. | Component | Version | | ---------- | ------- | | Kubernetes | v1.15.3 | | Calico | v3.8.2 | | MetalLB | v0.8.1 | Kubernetes Network: | Network | Subnet | | ------------------------ | ---------------- | | Pod subnet | 172.16.0.0/12 | | Service subnet | 192.168.0.0/16 | Packet Network: | Network | Subnet | | ------------------------ | ------------------------- | | Packet Elastic IP(EWR1) | 147.75.194.92/31(example) | TL;DR ---- This will deploy a cluster of 3, 1 master and 2 worker nodes. It will allow you to use the service type LoadBalancer. Make a copy of terraform.tfvars.sample as terraform.tfvars and set the auth_token. ``sh auth_token
| Name | Type | Description | Default |
|---|---|---|---|
| auth_token | string | Your Packet API key | required |
| kubernetes_port | string | Kubernetes API Port | required |
| kubernetes_dns_ip | string | Kubernetes DNS IP | required |
| controller_plan | string | Set the Packet server type for the controller | "t1.small.x86" |
| kubernetes_version | string | Kubernetes Version | "1.14.1" |
| kubernetes_service_cidr | string | Kubernetes Service Subnet | "192.168.0.0/16" |
| hostname | string | "controller" | |
| facilities | list | [
"ewr1"
] | |
| worker_count | string | 2 | |
| worker_plan | string | Set the Packet server type for the workers | "t1.small.x86" |
| docker_version | string | "18.06.2" | |
| kubernetes_cluster_cidr | string | Kubernetes Cluster Subnet | "172.16.0.0/12" |
| kubernetes_dns_domain | string | Kubernetes Internal DNS Domain | "cluster.local" |
kubeadm_join_commandworker_addressesload_balancer_ipsmaster_address