Module: Pangea::Kubernetes::Types

Defined in:
lib/pangea/kubernetes/types.rb,
lib/pangea/kubernetes/types/k3s_config.rb,
lib/pangea/kubernetes/types/pki_config.rb,
lib/pangea/kubernetes/types/vpn_config.rb,
lib/pangea/kubernetes/types/etcd_config.rb,
lib/pangea/kubernetes/types/argocd_config.rb,
lib/pangea/kubernetes/types/kernel_config.rb,
lib/pangea/kubernetes/types/secrets_config.rb,
lib/pangea/kubernetes/types/firewall_config.rb,
lib/pangea/kubernetes/types/kubernetes_config.rb,
lib/pangea/kubernetes/types/wait_for_dns_config.rb,
lib/pangea/kubernetes/types/control_plane_config.rb,
lib/pangea/kubernetes/types/persistent_state_config.rb

Defined Under Namespace

Classes: AddonConfig, ArgocdConfig, ClusterConfig, ControlPlaneConfig, DeploymentContext, EtcdConfig, FirewallConfig, FluxCDConfig, K3sConfig, KernelConfig, LoadBalancerConfig, NetworkConfig, NixOSConfig, NodePoolConfig, PKIConfig, PersistentStateConfig, SecretsConfig, VanillaKubernetesConfig, VpnConfig, VpnFirewallConfig, VpnLinkConfig, VpnPeerConfig, WaitForDNSConfig

Constant Summary collapse

T =
Pangea::Resources::Types
MANAGED_BACKENDS =

Managed backends delegate to cloud-native K8s services (EKS, GKE, AKS)

%i[aws gcp azure].freeze
NIXOS_BACKENDS =

NixOS backends provision NixOS VMs with k3s/k8s via blackmatter-kubernetes

%i[aws_nixos gcp_nixos azure_nixos hcloud].freeze
SUPPORTED_BACKENDS =
(MANAGED_BACKENDS + NIXOS_BACKENDS).freeze
SUPPORTED_K8S_VERSIONS =
%w[
  1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34
].freeze
SUPPORTED_DISTRIBUTIONS =

Distributions supported by blackmatter-kubernetes

%i[k3s kubernetes].freeze
SUPPORTED_PROFILES =

Profiles from blackmatter-kubernetes lib/profiles.nix

%w[
  cloud-server
  flannel-minimal flannel-standard flannel-production
  calico-standard calico-hardened
  cilium-standard cilium-mesh
  istio-mesh
].freeze
VALID_VPN_PROFILES =

Valid VPN profiles — must match kindling’s VALID_VPN_PROFILES and blackmatter-vpn’s lib/profiles.nix

%w[k8s-control-plane k8s-full site-to-site mesh].freeze