Adding configuration files
This commit is contained in:
parent
5f7ee70538
commit
81bf9e28bf
5 changed files with 1208 additions and 0 deletions
7
control_plane/.gitignore
vendored
Normal file
7
control_plane/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
secrets.yaml
|
||||||
|
|
||||||
|
.terraform
|
||||||
|
*.tfstate
|
||||||
|
*.tfstate.backup
|
||||||
|
|
||||||
|
_out
|
||||||
63
control_plane/.terraform.lock.hcl
generated
Normal file
63
control_plane/.terraform.lock.hcl
generated
Normal file
|
|
@ -0,0 +1,63 @@
|
||||||
|
# This file is maintained automatically by "terraform init".
|
||||||
|
# Manual edits may be lost in future updates.
|
||||||
|
|
||||||
|
provider "registry.terraform.io/hashicorp/null" {
|
||||||
|
version = "3.2.4"
|
||||||
|
hashes = [
|
||||||
|
"h1:L5V05xwp/Gto1leRryuesxjMfgZwjb7oool4WS1UEFQ=",
|
||||||
|
"zh:59f6b52ab4ff35739647f9509ee6d93d7c032985d9f8c6237d1f8a59471bbbe2",
|
||||||
|
"zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3",
|
||||||
|
"zh:795c897119ff082133150121d39ff26cb5f89a730a2c8c26f3a9c1abf81a9c43",
|
||||||
|
"zh:7b9c7b16f118fbc2b05a983817b8ce2f86df125857966ad356353baf4bff5c0a",
|
||||||
|
"zh:85e33ab43e0e1726e5f97a874b8e24820b6565ff8076523cc2922ba671492991",
|
||||||
|
"zh:9d32ac3619cfc93eb3c4f423492a8e0f79db05fec58e449dee9b2d5873d5f69f",
|
||||||
|
"zh:9e15c3c9dd8e0d1e3731841d44c34571b6c97f5b95e8296a45318b94e5287a6e",
|
||||||
|
"zh:b4c2ab35d1b7696c30b64bf2c0f3a62329107bd1a9121ce70683dec58af19615",
|
||||||
|
"zh:c43723e8cc65bcdf5e0c92581dcbbdcbdcf18b8d2037406a5f2033b1e22de442",
|
||||||
|
"zh:ceb5495d9c31bfb299d246ab333f08c7fb0d67a4f82681fbf47f2a21c3e11ab5",
|
||||||
|
"zh:e171026b3659305c558d9804062762d168f50ba02b88b231d20ec99578a6233f",
|
||||||
|
"zh:ed0fe2acdb61330b01841fa790be00ec6beaac91d41f311fb8254f74eb6a711f",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "registry.terraform.io/hashicorp/random" {
|
||||||
|
version = "3.7.2"
|
||||||
|
hashes = [
|
||||||
|
"h1:KG4NuIBl1mRWU0KD/BGfCi1YN/j3F7H4YgeeM7iSdNs=",
|
||||||
|
"zh:14829603a32e4bc4d05062f059e545a91e27ff033756b48afbae6b3c835f508f",
|
||||||
|
"zh:1527fb07d9fea400d70e9e6eb4a2b918d5060d604749b6f1c361518e7da546dc",
|
||||||
|
"zh:1e86bcd7ebec85ba336b423ba1db046aeaa3c0e5f921039b3f1a6fc2f978feab",
|
||||||
|
"zh:24536dec8bde66753f4b4030b8f3ef43c196d69cccbea1c382d01b222478c7a3",
|
||||||
|
"zh:29f1786486759fad9b0ce4fdfbbfece9343ad47cd50119045075e05afe49d212",
|
||||||
|
"zh:4d701e978c2dd8604ba1ce962b047607701e65c078cb22e97171513e9e57491f",
|
||||||
|
"zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3",
|
||||||
|
"zh:7b8434212eef0f8c83f5a90c6d76feaf850f6502b61b53c329e85b3b281cba34",
|
||||||
|
"zh:ac8a23c212258b7976e1621275e3af7099e7e4a3d4478cf8d5d2a27f3bc3e967",
|
||||||
|
"zh:b516ca74431f3df4c6cf90ddcdb4042c626e026317a33c53f0b445a3d93b720d",
|
||||||
|
"zh:dc76e4326aec2490c1600d6871a95e78f9050f9ce427c71707ea412a2f2f1a62",
|
||||||
|
"zh:eac7b63e86c749c7d48f527671c7aee5b4e26c10be6ad7232d6860167f99dbb0",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
provider "registry.terraform.io/siderolabs/talos" {
|
||||||
|
version = "0.9.0"
|
||||||
|
constraints = "~> 0.4"
|
||||||
|
hashes = [
|
||||||
|
"h1:50TaymX/KnjXcURmpKsVd7JUyLRrMDNXMHFgqzSe88U=",
|
||||||
|
"zh:0fa82a384b25a58b65523e0ea4768fa1212b1f5cfc0c9379d31162454fedcc9d",
|
||||||
|
"zh:249ab08b810bb96ef7c35354a12622907df7cbda59c83ff314ee85e8b851128d",
|
||||||
|
"zh:4f284c21f0cb4b7012fdb231ebba4803e5c389f7ea380fb5958ebfa6b822d055",
|
||||||
|
"zh:6049f8d06bc92ab1a46d56c2b37799e6a1b7ce3c61905acf8f0c2009942be8ac",
|
||||||
|
"zh:7de5f0a6429c6856ade3c7e59d5041a7fe8e0010aea14a2074e91f8a526283ce",
|
||||||
|
"zh:9760420cf5feec0550556664962bc6f1af45115b9ea5bcbf47aa9bffd3dd4ac2",
|
||||||
|
"zh:9860272a9fbcea65393c478dc579ad2677a44338de24677702ce699a027801aa",
|
||||||
|
"zh:a60311a8bf267b18dcf1c8250f45e371b51c6aef086e037a3f9496602f190187",
|
||||||
|
"zh:b74c119b2a964cae8d17b5b5f14c8eecf44708e3817c1f65ac89b813856aed98",
|
||||||
|
"zh:bc33e14650052c246ac2e6492a0a24755d4e8d27cb7259e3996f07b0537f2c77",
|
||||||
|
"zh:c4bc2c65b3dcef2508c14dbbfc18937c5ede11670c02a644cbc28c83a57de92b",
|
||||||
|
"zh:c98bf4809220568d76ea2db232a88a60c29fd90d4c9e2f8c8a68cf91ceed066a",
|
||||||
|
"zh:de0179ee9c55bf36d3474049ceac3a105ed7bc1fb9c4787d4076c4b15d268b66",
|
||||||
|
"zh:e99e019d950131c2c4259c1cbca1d072cb813bdfdbbbf9359f5901d6b7542a0d",
|
||||||
|
"zh:feb941cc673692c6858f96590f3ca082683a62aa2d2842b9bfffcd327eb840d3",
|
||||||
|
]
|
||||||
|
}
|
||||||
551
control_plane/configs/controlplane.yaml
Normal file
551
control_plane/configs/controlplane.yaml
Normal file
|
|
@ -0,0 +1,551 @@
|
||||||
|
version: v1alpha1 # Indicates the schema used to decode the contents.
|
||||||
|
debug: false # Enable verbose logging to the console.
|
||||||
|
persist: true
|
||||||
|
# Provides machine specific configuration options.
|
||||||
|
machine:
|
||||||
|
type: controlplane # Defines the role of the machine within the cluster.
|
||||||
|
token: ba3boz.uip834bz76elelgq # The `token` is used by a machine to join the PKI of the cluster.
|
||||||
|
# The root certificate authority of the PKI.
|
||||||
|
ca:
|
||||||
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJQakNCOGFBREFnRUNBaEFEZWlMUlkxdXNWMURsc3VmOGh1Y2dNQVVHQXl0bGNEQVFNUTR3REFZRFZRUUsKRXdWMFlXeHZjekFlRncweU5UQTVNamt3TURFNU1UbGFGdzB6TlRBNU1qY3dNREU1TVRsYU1CQXhEakFNQmdOVgpCQW9UQlhSaGJHOXpNQ293QlFZREsyVndBeUVBcUpsMS9uNmRLVjNMazZwT01kN0pCU2RpMlljdGNaTnFDeFVtCjRSY0J5RHlqWVRCZk1BNEdBMVVkRHdFQi93UUVBd0lDaERBZEJnTlZIU1VFRmpBVUJnZ3JCZ0VGQlFjREFRWUkKS3dZQkJRVUhBd0l3RHdZRFZSMFRBUUgvQkFVd0F3RUIvekFkQmdOVkhRNEVGZ1FVOTQ2UUoreXdHNVFqMGpabApFWUZnbWdwZUd6a3dCUVlESzJWd0EwRUFYb2RmTHBtMnVrcmdzOFVqZDFOeWJpN2ZtWUVCTkQzZzFKbzhWMlVKCkZnWkR2aEFTSENpT3gvNkxSM2tPQVIybGtjbC95QktZai9YUUM3MWtzdmR5Qnc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
||||||
|
key: LS0tLS1CRUdJTiBFRDI1NTE5IFBSSVZBVEUgS0VZLS0tLS0KTUM0Q0FRQXdCUVlESzJWd0JDSUVJQndKQ0s1em5tK082NStMVHErUjdJcHB3aXVlK3gvYjhMUnEzZEkzcEsydAotLS0tLUVORCBFRDI1NTE5IFBSSVZBVEUgS0VZLS0tLS0K
|
||||||
|
# Extra certificate subject alternative names for the machine's certificate.
|
||||||
|
certSANs: []
|
||||||
|
# # Uncomment this to enable SANs.
|
||||||
|
# - 10.0.0.10
|
||||||
|
# - 172.16.0.10
|
||||||
|
# - 192.168.0.10
|
||||||
|
|
||||||
|
# Used to provide additional options to the kubelet.
|
||||||
|
kubelet:
|
||||||
|
image: ghcr.io/siderolabs/kubelet:v1.34.0 # The `image` field is an optional reference to an alternative kubelet image.
|
||||||
|
defaultRuntimeSeccompProfileEnabled: true # Enable container runtime default Seccomp profile.
|
||||||
|
disableManifestsDirectory: true # The `disableManifestsDirectory` field configures the kubelet to get static pod manifests from the /etc/kubernetes/manifests directory.
|
||||||
|
|
||||||
|
# # The `ClusterDNS` field is an optional reference to an alternative kubelet clusterDNS ip list.
|
||||||
|
# clusterDNS:
|
||||||
|
# - 10.96.0.10
|
||||||
|
# - 169.254.2.53
|
||||||
|
|
||||||
|
# # The `extraArgs` field is used to provide additional flags to the kubelet.
|
||||||
|
# extraArgs:
|
||||||
|
# key: value
|
||||||
|
|
||||||
|
# # The `extraMounts` field is used to add additional mounts to the kubelet container.
|
||||||
|
# extraMounts:
|
||||||
|
# - destination: /var/lib/example # Destination is the absolute path where the mount will be placed in the container.
|
||||||
|
# type: bind # Type specifies the mount kind.
|
||||||
|
# source: /var/lib/example # Source specifies the source path of the mount.
|
||||||
|
# # Options are fstab style mount options.
|
||||||
|
# options:
|
||||||
|
# - bind
|
||||||
|
# - rshared
|
||||||
|
# - rw
|
||||||
|
|
||||||
|
# # The `extraConfig` field is used to provide kubelet configuration overrides.
|
||||||
|
# extraConfig:
|
||||||
|
# serverTLSBootstrap: true
|
||||||
|
|
||||||
|
# # The `KubeletCredentialProviderConfig` field is used to provide kubelet credential configuration.
|
||||||
|
# credentialProviderConfig:
|
||||||
|
# apiVersion: kubelet.config.k8s.io/v1
|
||||||
|
# kind: CredentialProviderConfig
|
||||||
|
# providers:
|
||||||
|
# - apiVersion: credentialprovider.kubelet.k8s.io/v1
|
||||||
|
# defaultCacheDuration: 12h
|
||||||
|
# matchImages:
|
||||||
|
# - '*.dkr.ecr.*.amazonaws.com'
|
||||||
|
# - '*.dkr.ecr.*.amazonaws.com.cn'
|
||||||
|
# - '*.dkr.ecr-fips.*.amazonaws.com'
|
||||||
|
# - '*.dkr.ecr.us-iso-east-1.c2s.ic.gov'
|
||||||
|
# - '*.dkr.ecr.us-isob-east-1.sc2s.sgov.gov'
|
||||||
|
# name: ecr-credential-provider
|
||||||
|
|
||||||
|
# # The `nodeIP` field is used to configure `--node-ip` flag for the kubelet.
|
||||||
|
# nodeIP:
|
||||||
|
# # The `validSubnets` field configures the networks to pick kubelet node IP from.
|
||||||
|
# validSubnets:
|
||||||
|
# - 10.0.0.0/8
|
||||||
|
# - '!10.0.0.3/32'
|
||||||
|
# - fdc7::/16
|
||||||
|
# Provides machine specific network configuration options.
|
||||||
|
network: {}
|
||||||
|
# # `interfaces` is used to define the network interface configuration.
|
||||||
|
# interfaces:
|
||||||
|
# - interface: enp0s1 # The interface name.
|
||||||
|
# # Assigns static IP addresses to the interface.
|
||||||
|
# addresses:
|
||||||
|
# - 192.168.2.0/24
|
||||||
|
# # A list of routes associated with the interface.
|
||||||
|
# routes:
|
||||||
|
# - network: 0.0.0.0/0 # The route's network (destination).
|
||||||
|
# gateway: 192.168.2.1 # The route's gateway (if empty, creates link scope route).
|
||||||
|
# metric: 1024 # The optional metric for the route.
|
||||||
|
# mtu: 1500 # The interface's MTU.
|
||||||
|
#
|
||||||
|
# # # Picks a network device using the selector.
|
||||||
|
|
||||||
|
# # # select a device with bus prefix 00:*.
|
||||||
|
# # deviceSelector:
|
||||||
|
# # busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
||||||
|
# # # select a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
|
||||||
|
# # deviceSelector:
|
||||||
|
# # hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
||||||
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
||||||
|
# # # select a device with bus prefix 00:*, a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
|
||||||
|
# # deviceSelector:
|
||||||
|
# # - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
||||||
|
# # - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
||||||
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
||||||
|
|
||||||
|
# # # Bond specific options.
|
||||||
|
# # bond:
|
||||||
|
# # # The interfaces that make up the bond.
|
||||||
|
# # interfaces:
|
||||||
|
# # - enp2s0
|
||||||
|
# # - enp2s1
|
||||||
|
# # # Picks a network device using the selector.
|
||||||
|
# # deviceSelectors:
|
||||||
|
# # - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
||||||
|
# # - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
||||||
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
||||||
|
# # mode: 802.3ad # A bond option.
|
||||||
|
# # lacpRate: fast # A bond option.
|
||||||
|
|
||||||
|
# # # Bridge specific options.
|
||||||
|
# # bridge:
|
||||||
|
# # # The interfaces that make up the bridge.
|
||||||
|
# # interfaces:
|
||||||
|
# # - enxda4042ca9a51
|
||||||
|
# # - enxae2a6774c259
|
||||||
|
# # # Enable STP on this bridge.
|
||||||
|
# # stp:
|
||||||
|
# # enabled: true # Whether Spanning Tree Protocol (STP) is enabled.
|
||||||
|
|
||||||
|
# # # Configure this device as a bridge port.
|
||||||
|
# # bridgePort:
|
||||||
|
# # master: br0 # The name of the bridge master interface
|
||||||
|
|
||||||
|
# # # Indicates if DHCP should be used to configure the interface.
|
||||||
|
# # dhcp: true
|
||||||
|
|
||||||
|
# # # DHCP specific options.
|
||||||
|
# # dhcpOptions:
|
||||||
|
# # routeMetric: 1024 # The priority of all routes received via DHCP.
|
||||||
|
|
||||||
|
# # # Wireguard specific configuration.
|
||||||
|
|
||||||
|
# # # wireguard server example
|
||||||
|
# # wireguard:
|
||||||
|
# # privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
|
||||||
|
# # listenPort: 51111 # Specifies a device's listening port.
|
||||||
|
# # # Specifies a list of peer configurations to apply to a device.
|
||||||
|
# # peers:
|
||||||
|
# # - publicKey: ABCDEF... # Specifies the public key of this peer.
|
||||||
|
# # endpoint: 192.168.1.3 # Specifies the endpoint of this peer entry.
|
||||||
|
# # # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
|
||||||
|
# # allowedIPs:
|
||||||
|
# # - 192.168.1.0/24
|
||||||
|
# # # wireguard peer example
|
||||||
|
# # wireguard:
|
||||||
|
# # privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
|
||||||
|
# # # Specifies a list of peer configurations to apply to a device.
|
||||||
|
# # peers:
|
||||||
|
# # - publicKey: ABCDEF... # Specifies the public key of this peer.
|
||||||
|
# # endpoint: 192.168.1.2:51822 # Specifies the endpoint of this peer entry.
|
||||||
|
# # persistentKeepaliveInterval: 10s # Specifies the persistent keepalive interval for this peer.
|
||||||
|
# # # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
|
||||||
|
# # allowedIPs:
|
||||||
|
# # - 192.168.1.0/24
|
||||||
|
|
||||||
|
# # # Virtual (shared) IP address configuration.
|
||||||
|
|
||||||
|
# # # layer2 vip example
|
||||||
|
# # vip:
|
||||||
|
# # ip: 172.16.199.55 # Specifies the IP address to be used.
|
||||||
|
|
||||||
|
# # Used to statically set the nameservers for the machine.
|
||||||
|
# nameservers:
|
||||||
|
# - 8.8.8.8
|
||||||
|
# - 1.1.1.1
|
||||||
|
|
||||||
|
# # Used to statically set arbitrary search domains.
|
||||||
|
# searchDomains:
|
||||||
|
# - example.org
|
||||||
|
# - example.com
|
||||||
|
|
||||||
|
# # Allows for extra entries to be added to the `/etc/hosts` file
|
||||||
|
# extraHostEntries:
|
||||||
|
# - ip: 192.168.1.100 # The IP of the host.
|
||||||
|
# # The host alias.
|
||||||
|
# aliases:
|
||||||
|
# - example
|
||||||
|
# - example.domain.tld
|
||||||
|
|
||||||
|
# # Configures KubeSpan feature.
|
||||||
|
# kubespan:
|
||||||
|
# enabled: true # Enable the KubeSpan feature.
|
||||||
|
|
||||||
|
# Used to provide instructions for installations.
|
||||||
|
install:
|
||||||
|
disk: /dev/sda # The disk used for installations.
|
||||||
|
image: ghcr.io/siderolabs/installer:v1.11.1 # Allows for supplying the image used to perform the installation.
|
||||||
|
wipe: false # Indicates if the installation disk should be wiped at installation time.
|
||||||
|
|
||||||
|
# # Look up disk using disk attributes like model, size, serial and others.
|
||||||
|
# diskSelector:
|
||||||
|
# size: 4GB # Disk size.
|
||||||
|
# model: WDC* # Disk model `/sys/block/<dev>/device/model`.
|
||||||
|
# busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0 # Disk bus path.
|
||||||
|
|
||||||
|
# # Allows for supplying extra kernel args via the bootloader.
|
||||||
|
# extraKernelArgs:
|
||||||
|
# - talos.platform=metal
|
||||||
|
# - reboot=k
|
||||||
|
# Used to configure the machine's container image registry mirrors.
|
||||||
|
registries: {}
|
||||||
|
# # Specifies mirror configuration for each registry host namespace.
|
||||||
|
# mirrors:
|
||||||
|
# ghcr.io:
|
||||||
|
# # List of endpoints (URLs) for registry mirrors to use.
|
||||||
|
# endpoints:
|
||||||
|
# - https://registry.insecure
|
||||||
|
# - https://ghcr.io/v2/
|
||||||
|
|
||||||
|
# # Specifies TLS & auth configuration for HTTPS image registries.
|
||||||
|
# config:
|
||||||
|
# registry.insecure:
|
||||||
|
# # The TLS configuration for the registry.
|
||||||
|
# tls:
|
||||||
|
# insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).
|
||||||
|
#
|
||||||
|
# # # Enable mutual TLS authentication with the registry.
|
||||||
|
# # clientIdentity:
|
||||||
|
# # crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
|
||||||
|
# # key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
|
||||||
|
#
|
||||||
|
# # # The auth configuration for this registry.
|
||||||
|
# # auth:
|
||||||
|
# # username: username # Optional registry authentication.
|
||||||
|
# # password: password # Optional registry authentication.
|
||||||
|
|
||||||
|
# Features describe individual Talos features that can be switched on or off.
|
||||||
|
features:
|
||||||
|
rbac: true # Enable role-based access control (RBAC).
|
||||||
|
stableHostname: true # Enable stable default hostname.
|
||||||
|
apidCheckExtKeyUsage: true # Enable checks for extended key usage of client certificates in apid.
|
||||||
|
diskQuotaSupport: true # Enable XFS project quota support for EPHEMERAL partition and user disks.
|
||||||
|
# KubePrism - local proxy/load balancer on defined port that will distribute
|
||||||
|
kubePrism:
|
||||||
|
enabled: true # Enable KubePrism support - will start local load balancing proxy.
|
||||||
|
port: 7445 # KubePrism port.
|
||||||
|
# Configures host DNS caching resolver.
|
||||||
|
hostDNS:
|
||||||
|
enabled: true # Enable host DNS caching resolver.
|
||||||
|
forwardKubeDNSToHost: true # Use the host DNS resolver as upstream for Kubernetes CoreDNS pods.
|
||||||
|
|
||||||
|
# # Configure Talos API access from Kubernetes pods.
|
||||||
|
# kubernetesTalosAPIAccess:
|
||||||
|
# enabled: true # Enable Talos API access from Kubernetes pods.
|
||||||
|
# # The list of Talos API roles which can be granted for access from Kubernetes pods.
|
||||||
|
# allowedRoles:
|
||||||
|
# - os:reader
|
||||||
|
# # The list of Kubernetes namespaces Talos API access is available from.
|
||||||
|
# allowedKubernetesNamespaces:
|
||||||
|
# - kube-system
|
||||||
|
# Configures the node labels for the machine.
|
||||||
|
nodeLabels:
|
||||||
|
node.kubernetes.io/exclude-from-external-load-balancers: ""
|
||||||
|
|
||||||
|
# # Provides machine specific control plane configuration options.
|
||||||
|
|
||||||
|
# # ControlPlane definition example.
|
||||||
|
# controlPlane:
|
||||||
|
# # Controller manager machine specific configuration options.
|
||||||
|
# controllerManager:
|
||||||
|
# disabled: false # Disable kube-controller-manager on the node.
|
||||||
|
# # Scheduler machine specific configuration options.
|
||||||
|
# scheduler:
|
||||||
|
# disabled: true # Disable kube-scheduler on the node.
|
||||||
|
|
||||||
|
# # Used to provide static pod definitions to be run by the kubelet directly bypassing the kube-apiserver.
|
||||||
|
|
||||||
|
# # nginx static pod.
|
||||||
|
# pods:
|
||||||
|
# - apiVersion: v1
|
||||||
|
# kind: pod
|
||||||
|
# metadata:
|
||||||
|
# name: nginx
|
||||||
|
# spec:
|
||||||
|
# containers:
|
||||||
|
# - image: nginx
|
||||||
|
# name: nginx
|
||||||
|
|
||||||
|
# # Allows the addition of user specified files.
|
||||||
|
|
||||||
|
# # MachineFiles usage example.
|
||||||
|
# files:
|
||||||
|
# - content: '...' # The contents of the file.
|
||||||
|
# permissions: 0o666 # The file's permissions in octal.
|
||||||
|
# path: /tmp/file.txt # The path of the file.
|
||||||
|
# op: append # The operation to use
|
||||||
|
|
||||||
|
# # The `env` field allows for the addition of environment variables.
|
||||||
|
|
||||||
|
# # Environment variables definition examples.
|
||||||
|
# env:
|
||||||
|
# GRPC_GO_LOG_SEVERITY_LEVEL: info
|
||||||
|
# GRPC_GO_LOG_VERBOSITY_LEVEL: "99"
|
||||||
|
# https_proxy: http://SERVER:PORT/
|
||||||
|
# env:
|
||||||
|
# GRPC_GO_LOG_SEVERITY_LEVEL: error
|
||||||
|
# https_proxy: https://USERNAME:PASSWORD@SERVER:PORT/
|
||||||
|
# env:
|
||||||
|
# https_proxy: http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/
|
||||||
|
|
||||||
|
# # Used to configure the machine's time settings.
|
||||||
|
|
||||||
|
# # Example configuration for cloudflare ntp server.
|
||||||
|
# time:
|
||||||
|
# disabled: false # Indicates if the time service is disabled for the machine.
|
||||||
|
# # description: |
|
||||||
|
# servers:
|
||||||
|
# - time.cloudflare.com
|
||||||
|
# bootTimeout: 2m0s # Specifies the timeout when the node time is considered to be in sync unlocking the boot sequence.
|
||||||
|
|
||||||
|
# # Used to configure the machine's sysctls.
|
||||||
|
|
||||||
|
# # MachineSysctls usage example.
|
||||||
|
# sysctls:
|
||||||
|
# kernel.domainname: talos.dev
|
||||||
|
# net.ipv4.ip_forward: "0"
|
||||||
|
# net/ipv6/conf/eth0.100/disable_ipv6: "1"
|
||||||
|
|
||||||
|
# # Used to configure the machine's sysfs.
|
||||||
|
|
||||||
|
# # MachineSysfs usage example.
|
||||||
|
# sysfs:
|
||||||
|
# devices.system.cpu.cpu0.cpufreq.scaling_governor: performance
|
||||||
|
|
||||||
|
# # Configures the udev system.
|
||||||
|
# udev:
|
||||||
|
# # List of udev rules to apply to the udev system
|
||||||
|
# rules:
|
||||||
|
# - SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="44", MODE="0660"
|
||||||
|
|
||||||
|
# # Configures the logging system.
|
||||||
|
# logging:
|
||||||
|
# # Logging destination.
|
||||||
|
# destinations:
|
||||||
|
# - endpoint: tcp://1.2.3.4:12345 # Where to send logs. Supported protocols are "tcp" and "udp".
|
||||||
|
# format: json_lines # Logs format.
|
||||||
|
|
||||||
|
# # Configures the kernel.
|
||||||
|
# kernel:
|
||||||
|
# # Kernel modules to load.
|
||||||
|
# modules:
|
||||||
|
# - name: brtfs # Module name.
|
||||||
|
|
||||||
|
# # Configures the seccomp profiles for the machine.
|
||||||
|
# seccompProfiles:
|
||||||
|
# - name: audit.json # The `name` field is used to provide the file name of the seccomp profile.
|
||||||
|
# # The `value` field is used to provide the seccomp profile.
|
||||||
|
# value:
|
||||||
|
# defaultAction: SCMP_ACT_LOG
|
||||||
|
|
||||||
|
# # Override (patch) settings in the default OCI runtime spec for CRI containers.
|
||||||
|
|
||||||
|
# # override default open file limit
|
||||||
|
# baseRuntimeSpecOverrides:
|
||||||
|
# process:
|
||||||
|
# rlimits:
|
||||||
|
# - hard: 1024
|
||||||
|
# soft: 1024
|
||||||
|
# type: RLIMIT_NOFILE
|
||||||
|
|
||||||
|
# # Configures the node annotations for the machine.
|
||||||
|
|
||||||
|
# # node annotations example.
|
||||||
|
# nodeAnnotations:
|
||||||
|
# customer.io/rack: r13a25
|
||||||
|
|
||||||
|
# # Configures the node taints for the machine. Effect is optional.
|
||||||
|
|
||||||
|
# # node taints example.
|
||||||
|
# nodeTaints:
|
||||||
|
# exampleTaint: exampleTaintValue:NoSchedule
|
||||||
|
# Provides cluster specific configuration options.
|
||||||
|
cluster:
|
||||||
|
id: wabdDPoOYoFQRwTsW6yH9zdQxETZjZ5wwWZQWs9abYE= # Globally unique identifier for this cluster (base64 encoded random 32 bytes).
|
||||||
|
secret: c50wIk9N1b+mINXeZofLwnBI1CAKeHruJi9KLOboULI= # Shared secret of cluster (base64 encoded random 32 bytes).
|
||||||
|
# Provides control plane specific configuration options.
|
||||||
|
controlPlane:
|
||||||
|
endpoint: https://10.5.0.2:6443 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
|
||||||
|
clusterName: evo-npcs-infra-96c16945 # Configures the cluster's name.
|
||||||
|
# Provides cluster specific network configuration options.
|
||||||
|
network:
|
||||||
|
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
|
||||||
|
# The pod subnet CIDR.
|
||||||
|
podSubnets:
|
||||||
|
- 10.244.0.0/16
|
||||||
|
# The service subnet CIDR.
|
||||||
|
serviceSubnets:
|
||||||
|
- 10.96.0.0/12
|
||||||
|
|
||||||
|
# # The CNI used.
|
||||||
|
# cni:
|
||||||
|
# name: custom # Name of CNI to use.
|
||||||
|
# # URLs containing manifests to apply for the CNI.
|
||||||
|
# urls:
|
||||||
|
# - https://docs.projectcalico.org/archive/v3.20/manifests/canal.yaml
|
||||||
|
token: olqdyh.eset6n7iy5mtwu10 # The [bootstrap token](https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/) used to join the cluster.
|
||||||
|
secretboxEncryptionSecret: TX0lEGrKOskTSaV+tBrKRvqRIjw20kb/mwendHetQt4= # A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).
|
||||||
|
# The base64 encoded root certificate authority used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VhbVg2aApib3VaWWYrU3dxOXVKd0htdCtuYnNSb3VRVFRiaWlRTDlnPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=
|
||||||
|
# The base64 encoded aggregator certificate authority used by Kubernetes for front-proxy certificate generation.
|
||||||
|
aggregatorCA:
|
||||||
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJYekNDQVFXZ0F3SUJBZ0lRTW9OSWlyK2FsWGZMUE1ZUWRPaGF2ekFLQmdncWhrak9QUVFEQWpBQU1CNFgKRFRJMU1Ea3lPVEF3TVRreE9Wb1hEVE0xTURreU56QXdNVGt4T1Zvd0FEQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxRwpTTTQ5QXdFSEEwSUFCRWhGTVNIV1VuTEtxb0txR1hOTXdzV2xzY0JRZURmZ2E3MmZ1N1hhcVhrOU5kU1F0bVFyCmlYOW9QV2NqT2FRS01BZ0RIYnNzTWF4S08xZ2hVOGdrdWdtallUQmZNQTRHQTFVZER3RUIvd1FFQXdJQ2hEQWQKQmdOVkhTVUVGakFVQmdnckJnRUZCUWNEQVFZSUt3WUJCUVVIQXdJd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZApCZ05WSFE0RUZnUVU5S1Y5RHlidWwxOUFFRnAwbHd2eS9sL2Y1Snd3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUlnCkJ5a0x0dU90cktZT2NMRFJzaytETjJuc2crY0JTUjFrMGVTWUltaVhtSXNDSVFDb0xFOUFnRmo4ZkRQWWluUE0KUWNabTlIVCs4SmdEdzdnaCtVQWlDcHFBUFE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
||||||
|
key: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUlOcG1UdkRqalFMMUZndUdONHRza2Mxc1QzR3dpb09WWnlTY2k0V0VOZndvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ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ZR0toSlE0YzIyWjRQaUNKNlhsUzljWm90SGxNCjVPZExBZkZEUzMxWGpUcnE5VUtXN2kya2pHK3pSaThDN3M0ZTU4OGxLZk13ZWhSUlpRSUJWMElVSXNlUTBzRFUKWDh0QWJpNnF0SWdveWU0VUJ0aWE0YnFjQTBwRUxSNU1OWTQ1aGV1ejRtUVFJdGg5UnVhQURIWUJRd0ZYTyt4dQpqMmcyQjNCQVh2ZjJiWE9NZXhKbFl3U2lRUkVwWTFRZ2xUMkRPbUFqYXFmMUJPcEVDNnRtcjJXcVBlQT0KLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0K
|
||||||
|
# API server specific configuration options.
|
||||||
|
apiServer:
|
||||||
|
image: registry.k8s.io/kube-apiserver:v1.34.0 # The container image used in the API server manifest.
|
||||||
|
# Extra certificate subject alternative names for the API server's certificate.
|
||||||
|
certSANs:
|
||||||
|
- 10.5.0.2
|
||||||
|
disablePodSecurityPolicy: true # Disable PodSecurityPolicy in the API server and default manifests.
|
||||||
|
# Configure the API server admission plugins.
|
||||||
|
admissionControl:
|
||||||
|
- name: PodSecurity # Name is the name of the admission controller.
|
||||||
|
# Configuration is an embedded configuration object to be used as the plugin's
|
||||||
|
configuration:
|
||||||
|
apiVersion: pod-security.admission.config.k8s.io/v1alpha1
|
||||||
|
defaults:
|
||||||
|
audit: restricted
|
||||||
|
audit-version: latest
|
||||||
|
enforce: baseline
|
||||||
|
enforce-version: latest
|
||||||
|
warn: restricted
|
||||||
|
warn-version: latest
|
||||||
|
exemptions:
|
||||||
|
namespaces:
|
||||||
|
- kube-system
|
||||||
|
runtimeClasses: []
|
||||||
|
usernames: []
|
||||||
|
kind: PodSecurityConfiguration
|
||||||
|
# Configure the API server audit policy.
|
||||||
|
auditPolicy:
|
||||||
|
apiVersion: audit.k8s.io/v1
|
||||||
|
kind: Policy
|
||||||
|
rules:
|
||||||
|
- level: Metadata
|
||||||
|
|
||||||
|
# # Configure the API server authorization config. Node and RBAC authorizers are always added irrespective of the configuration.
|
||||||
|
# authorizationConfig:
|
||||||
|
# - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
|
||||||
|
# name: webhook # Name is used to describe the authorizer.
|
||||||
|
# # webhook is the configuration for the webhook authorizer.
|
||||||
|
# webhook:
|
||||||
|
# connectionInfo:
|
||||||
|
# type: InClusterConfig
|
||||||
|
# failurePolicy: Deny
|
||||||
|
# matchConditionSubjectAccessReviewVersion: v1
|
||||||
|
# matchConditions:
|
||||||
|
# - expression: has(request.resourceAttributes)
|
||||||
|
# - expression: '!(\''system:serviceaccounts:kube-system\'' in request.groups)'
|
||||||
|
# subjectAccessReviewVersion: v1
|
||||||
|
# timeout: 3s
|
||||||
|
# - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
|
||||||
|
# name: in-cluster-authorizer # Name is used to describe the authorizer.
|
||||||
|
# # webhook is the configuration for the webhook authorizer.
|
||||||
|
# webhook:
|
||||||
|
# connectionInfo:
|
||||||
|
# type: InClusterConfig
|
||||||
|
# failurePolicy: NoOpinion
|
||||||
|
# matchConditionSubjectAccessReviewVersion: v1
|
||||||
|
# subjectAccessReviewVersion: v1
|
||||||
|
# timeout: 3s
|
||||||
|
# Controller manager server specific configuration options.
|
||||||
|
controllerManager:
|
||||||
|
image: registry.k8s.io/kube-controller-manager:v1.34.0 # The container image used in the controller manager manifest.
|
||||||
|
# Kube-proxy server-specific configuration options
|
||||||
|
proxy:
|
||||||
|
image: registry.k8s.io/kube-proxy:v1.34.0 # The container image used in the kube-proxy manifest.
|
||||||
|
|
||||||
|
# # Disable kube-proxy deployment on cluster bootstrap.
|
||||||
|
# disabled: false
|
||||||
|
# Scheduler server specific configuration options.
|
||||||
|
scheduler:
|
||||||
|
image: registry.k8s.io/kube-scheduler:v1.34.0 # The container image used in the scheduler manifest.
|
||||||
|
# Configures cluster member discovery.
|
||||||
|
discovery:
|
||||||
|
enabled: true # Enable the cluster membership discovery feature.
|
||||||
|
# Configure registries used for cluster member discovery.
|
||||||
|
registries:
|
||||||
|
# Kubernetes registry uses Kubernetes API server to discover cluster members and stores additional information
|
||||||
|
kubernetes:
|
||||||
|
disabled: true # Disable Kubernetes discovery registry.
|
||||||
|
# Service registry is using an external service to push and pull information about cluster members.
|
||||||
|
service: {}
|
||||||
|
# # External service endpoint.
|
||||||
|
# endpoint: https://discovery.talos.dev/
|
||||||
|
# Etcd specific configuration options.
|
||||||
|
etcd:
|
||||||
|
# The `ca` is the root certificate authority of the PKI.
|
||||||
|
ca:
|
||||||
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJmakNDQVNTZ0F3SUJBZ0lSQUlzYldTZGk0eFBGSWZaaU8weFZJdUF3Q2dZSUtvWkl6ajBFQXdJd0R6RU4KTUFzR0ExVUVDaE1FWlhSalpEQWVGdzB5TlRBNU1qa3dNREU1TVRsYUZ3MHpOVEE1TWpjd01ERTVNVGxhTUE4eApEVEFMQmdOVkJBb1RCR1YwWTJRd1dUQVRCZ2NxaGtqT1BRSUJCZ2dxaGtqT1BRTUJCd05DQUFTRUtjNjZnUmtaCi9PQmRUbG02bDdWTUhCSkFFZGh4SS9venIyRHUyemJZRWFmWm1nclFMdlJFUGVwUDRrRjVUT3p3cjhoelpHb1IKNTdpOHBjUHl6V3IzbzJFd1h6QU9CZ05WSFE4QkFmOEVCQU1DQW9Rd0hRWURWUjBsQkJZd0ZBWUlLd1lCQlFVSApBd0VHQ0NzR0FRVUZCd01DTUE4R0ExVWRFd0VCL3dRRk1BTUJBZjh3SFFZRFZSME9CQllFRktkK1EzSi93T2xWCjNlckIwUndVd3cwUGlXUTdNQW9HQ0NxR1NNNDlCQU1DQTBnQU1FVUNJRlAxWklxc2NuOUtHbmtyRWRFUnFheFYKTEFYSVdtcXVDd09XNnY4RUl6ZnVBaUVBcG9sTHJTN1FhRVJ1b0FtdXNyTFNuZXhsVktETjJ3OUhmRitJTzlpRwpFaWM9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
||||||
|
key: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUlZRHM4Y01nNXk4WGNPUU9QV3NuK2RBYVovMjJTZkdEUXFJbnJFOGxtQmlvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFaENuT3VvRVpHZnpnWFU1WnVwZTFUQndTUUJIWWNTUDZNNjlnN3RzMjJCR24yWm9LMEM3MApSRDNxVCtKQmVVenM4Sy9JYzJScUVlZTR2S1hEOHMxcTl3PT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=
|
||||||
|
|
||||||
|
# # The container image used to create the etcd service.
|
||||||
|
# image: gcr.io/etcd-development/etcd:v3.6.4
|
||||||
|
|
||||||
|
# # The `advertisedSubnets` field configures the networks to pick etcd advertised IP from.
|
||||||
|
# advertisedSubnets:
|
||||||
|
# - 10.0.0.0/8
|
||||||
|
# A list of urls that point to additional manifests.
|
||||||
|
extraManifests: []
|
||||||
|
# - https://www.example.com/manifest1.yaml
|
||||||
|
# - https://www.example.com/manifest2.yaml
|
||||||
|
|
||||||
|
# A list of inline Kubernetes manifests.
|
||||||
|
inlineManifests: []
|
||||||
|
# - name: namespace-ci # Name of the manifest.
|
||||||
|
# contents: |- # Manifest contents as a string.
|
||||||
|
# apiVersion: v1
|
||||||
|
# kind: Namespace
|
||||||
|
# metadata:
|
||||||
|
# name: ci
|
||||||
|
|
||||||
|
|
||||||
|
# # A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).
|
||||||
|
|
||||||
|
# # Decryption secret example (do not use in production!).
|
||||||
|
# aescbcEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM=
|
||||||
|
|
||||||
|
# # Core DNS specific configuration options.
|
||||||
|
# coreDNS:
|
||||||
|
# image: registry.k8s.io/coredns/coredns:v1.12.3 # The `image` field is an override to the default coredns image.
|
||||||
|
|
||||||
|
# # External cloud provider configuration.
|
||||||
|
# externalCloudProvider:
|
||||||
|
# enabled: true # Enable external cloud provider.
|
||||||
|
# # A list of urls that point to additional manifests for an external cloud provider.
|
||||||
|
# manifests:
|
||||||
|
# - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/rbac.yaml
|
||||||
|
# - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/aws-cloud-controller-manager-daemonset.yaml
|
||||||
|
|
||||||
|
# # A map of key value pairs that will be added while fetching the extraManifests.
|
||||||
|
# extraManifestHeaders:
|
||||||
|
# Token: "1234567"
|
||||||
|
# X-ExtraInfo: info
|
||||||
|
|
||||||
|
# # Settings for admin kubeconfig generation.
|
||||||
|
# adminKubeconfig:
|
||||||
|
# certLifetime: 1h0m0s # Admin kubeconfig certificate lifetime (default is 1 year).
|
||||||
|
|
||||||
|
# # Allows running workload on control-plane nodes.
|
||||||
|
# allowSchedulingOnControlPlanes: true
|
||||||
7
control_plane/configs/talosconfig
Normal file
7
control_plane/configs/talosconfig
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
context: evo-npcs-infra-96c16945
|
||||||
|
contexts:
|
||||||
|
evo-npcs-infra-96c16945:
|
||||||
|
endpoints: []
|
||||||
|
ca: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJQakNCOGFBREFnRUNBaEFEZWlMUlkxdXNWMURsc3VmOGh1Y2dNQVVHQXl0bGNEQVFNUTR3REFZRFZRUUsKRXdWMFlXeHZjekFlRncweU5UQTVNamt3TURFNU1UbGFGdzB6TlRBNU1qY3dNREU1TVRsYU1CQXhEakFNQmdOVgpCQW9UQlhSaGJHOXpNQ293QlFZREsyVndBeUVBcUpsMS9uNmRLVjNMazZwT01kN0pCU2RpMlljdGNaTnFDeFVtCjRSY0J5RHlqWVRCZk1BNEdBMVVkRHdFQi93UUVBd0lDaERBZEJnTlZIU1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3RVJSMUlOaG1xdmtwR1RSZgotLS0tLUVORCBFRDI1NTE5IFBSSVZBVEUgS0VZLS0tLS0K
|
||||||
580
control_plane/configs/worker.yaml
Normal file
580
control_plane/configs/worker.yaml
Normal file
|
|
@ -0,0 +1,580 @@
|
||||||
|
version: v1alpha1 # Indicates the schema used to decode the contents.
|
||||||
|
debug: false # Enable verbose logging to the console.
|
||||||
|
persist: true
|
||||||
|
# Provides machine specific configuration options.
|
||||||
|
machine:
|
||||||
|
type: worker # Defines the role of the machine within the cluster.
|
||||||
|
token: ba3boz.uip834bz76elelgq # The `token` is used by a machine to join the PKI of the cluster.
|
||||||
|
# The root certificate authority of the PKI.
|
||||||
|
ca:
|
||||||
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJQakNCOGFBREFnRUNBaEFEZWlMUlkxdXNWMURsc3VmOGh1Y2dNQVVHQXl0bGNEQVFNUTR3REFZRFZRUUsKRXdWMFlXeHZjekFlRncweU5UQTVNamt3TURFNU1UbGFGdzB6TlRBNU1qY3dNREU1TVRsYU1CQXhEakFNQmdOVgpCQW9UQlhSaGJHOXpNQ293QlFZREsyVndBeUVBcUpsMS9uNmRLVjNMazZwT01kN0pCU2RpMlljdGNaTnFDeFVtCjRSY0J5RHlqWVRCZk1BNEdBMVVkRHdFQi93UUVBd0lDaERBZEJnTlZIU1VFRmpBVUJnZ3JCZ0VGQlFjREFRWUkKS3dZQkJRVUhBd0l3RHdZRFZSMFRBUUgvQkFVd0F3RUIvekFkQmdOVkhRNEVGZ1FVOTQ2UUoreXdHNVFqMGpabApFWUZnbWdwZUd6a3dCUVlESzJWd0EwRUFYb2RmTHBtMnVrcmdzOFVqZDFOeWJpN2ZtWUVCTkQzZzFKbzhWMlVKCkZnWkR2aEFTSENpT3gvNkxSM2tPQVIybGtjbC95QktZai9YUUM3MWtzdmR5Qnc9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
||||||
|
key: ""
|
||||||
|
# Extra certificate subject alternative names for the machine's certificate.
|
||||||
|
certSANs: []
|
||||||
|
# # Uncomment this to enable SANs.
|
||||||
|
# - 10.0.0.10
|
||||||
|
# - 172.16.0.10
|
||||||
|
# - 192.168.0.10
|
||||||
|
|
||||||
|
# Used to provide additional options to the kubelet.
|
||||||
|
kubelet:
|
||||||
|
image: ghcr.io/siderolabs/kubelet:v1.34.0 # The `image` field is an optional reference to an alternative kubelet image.
|
||||||
|
defaultRuntimeSeccompProfileEnabled: true # Enable container runtime default Seccomp profile.
|
||||||
|
disableManifestsDirectory: true # The `disableManifestsDirectory` field configures the kubelet to get static pod manifests from the /etc/kubernetes/manifests directory.
|
||||||
|
|
||||||
|
# # The `ClusterDNS` field is an optional reference to an alternative kubelet clusterDNS ip list.
|
||||||
|
# clusterDNS:
|
||||||
|
# - 10.96.0.10
|
||||||
|
# - 169.254.2.53
|
||||||
|
|
||||||
|
# # The `extraArgs` field is used to provide additional flags to the kubelet.
|
||||||
|
# extraArgs:
|
||||||
|
# key: value
|
||||||
|
|
||||||
|
# # The `extraMounts` field is used to add additional mounts to the kubelet container.
|
||||||
|
# extraMounts:
|
||||||
|
# - destination: /var/lib/example # Destination is the absolute path where the mount will be placed in the container.
|
||||||
|
# type: bind # Type specifies the mount kind.
|
||||||
|
# source: /var/lib/example # Source specifies the source path of the mount.
|
||||||
|
# # Options are fstab style mount options.
|
||||||
|
# options:
|
||||||
|
# - bind
|
||||||
|
# - rshared
|
||||||
|
# - rw
|
||||||
|
|
||||||
|
# # The `extraConfig` field is used to provide kubelet configuration overrides.
|
||||||
|
# extraConfig:
|
||||||
|
# serverTLSBootstrap: true
|
||||||
|
|
||||||
|
# # The `KubeletCredentialProviderConfig` field is used to provide kubelet credential configuration.
|
||||||
|
# credentialProviderConfig:
|
||||||
|
# apiVersion: kubelet.config.k8s.io/v1
|
||||||
|
# kind: CredentialProviderConfig
|
||||||
|
# providers:
|
||||||
|
# - apiVersion: credentialprovider.kubelet.k8s.io/v1
|
||||||
|
# defaultCacheDuration: 12h
|
||||||
|
# matchImages:
|
||||||
|
# - '*.dkr.ecr.*.amazonaws.com'
|
||||||
|
# - '*.dkr.ecr.*.amazonaws.com.cn'
|
||||||
|
# - '*.dkr.ecr-fips.*.amazonaws.com'
|
||||||
|
# - '*.dkr.ecr.us-iso-east-1.c2s.ic.gov'
|
||||||
|
# - '*.dkr.ecr.us-isob-east-1.sc2s.sgov.gov'
|
||||||
|
# name: ecr-credential-provider
|
||||||
|
|
||||||
|
# # The `nodeIP` field is used to configure `--node-ip` flag for the kubelet.
|
||||||
|
# nodeIP:
|
||||||
|
# # The `validSubnets` field configures the networks to pick kubelet node IP from.
|
||||||
|
# validSubnets:
|
||||||
|
# - 10.0.0.0/8
|
||||||
|
# - '!10.0.0.3/32'
|
||||||
|
# - fdc7::/16
|
||||||
|
# Provides machine specific network configuration options.
|
||||||
|
network: {}
|
||||||
|
# # `interfaces` is used to define the network interface configuration.
|
||||||
|
# interfaces:
|
||||||
|
# - interface: enp0s1 # The interface name.
|
||||||
|
# # Assigns static IP addresses to the interface.
|
||||||
|
# addresses:
|
||||||
|
# - 192.168.2.0/24
|
||||||
|
# # A list of routes associated with the interface.
|
||||||
|
# routes:
|
||||||
|
# - network: 0.0.0.0/0 # The route's network (destination).
|
||||||
|
# gateway: 192.168.2.1 # The route's gateway (if empty, creates link scope route).
|
||||||
|
# metric: 1024 # The optional metric for the route.
|
||||||
|
# mtu: 1500 # The interface's MTU.
|
||||||
|
#
|
||||||
|
# # # Picks a network device using the selector.
|
||||||
|
|
||||||
|
# # # select a device with bus prefix 00:*.
|
||||||
|
# # deviceSelector:
|
||||||
|
# # busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
||||||
|
# # # select a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
|
||||||
|
# # deviceSelector:
|
||||||
|
# # hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
||||||
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
||||||
|
# # # select a device with bus prefix 00:*, a device with mac address matching `*:f0:ab` and `virtio` kernel driver.
|
||||||
|
# # deviceSelector:
|
||||||
|
# # - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
||||||
|
# # - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
||||||
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
||||||
|
|
||||||
|
# # # Bond specific options.
|
||||||
|
# # bond:
|
||||||
|
# # # The interfaces that make up the bond.
|
||||||
|
# # interfaces:
|
||||||
|
# # - enp2s0
|
||||||
|
# # - enp2s1
|
||||||
|
# # # Picks a network device using the selector.
|
||||||
|
# # deviceSelectors:
|
||||||
|
# # - busPath: 00:* # PCI, USB bus prefix, supports matching by wildcard.
|
||||||
|
# # - hardwareAddr: '*:f0:ab' # Device hardware (MAC) address, supports matching by wildcard.
|
||||||
|
# # driver: virtio_net # Kernel driver, supports matching by wildcard.
|
||||||
|
# # mode: 802.3ad # A bond option.
|
||||||
|
# # lacpRate: fast # A bond option.
|
||||||
|
|
||||||
|
# # # Bridge specific options.
|
||||||
|
# # bridge:
|
||||||
|
# # # The interfaces that make up the bridge.
|
||||||
|
# # interfaces:
|
||||||
|
# # - enxda4042ca9a51
|
||||||
|
# # - enxae2a6774c259
|
||||||
|
# # # Enable STP on this bridge.
|
||||||
|
# # stp:
|
||||||
|
# # enabled: true # Whether Spanning Tree Protocol (STP) is enabled.
|
||||||
|
|
||||||
|
# # # Configure this device as a bridge port.
|
||||||
|
# # bridgePort:
|
||||||
|
# # master: br0 # The name of the bridge master interface
|
||||||
|
|
||||||
|
# # # Indicates if DHCP should be used to configure the interface.
|
||||||
|
# # dhcp: true
|
||||||
|
|
||||||
|
# # # DHCP specific options.
|
||||||
|
# # dhcpOptions:
|
||||||
|
# # routeMetric: 1024 # The priority of all routes received via DHCP.
|
||||||
|
|
||||||
|
# # # Wireguard specific configuration.
|
||||||
|
|
||||||
|
# # # wireguard server example
|
||||||
|
# # wireguard:
|
||||||
|
# # privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
|
||||||
|
# # listenPort: 51111 # Specifies a device's listening port.
|
||||||
|
# # # Specifies a list of peer configurations to apply to a device.
|
||||||
|
# # peers:
|
||||||
|
# # - publicKey: ABCDEF... # Specifies the public key of this peer.
|
||||||
|
# # endpoint: 192.168.1.3 # Specifies the endpoint of this peer entry.
|
||||||
|
# # # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
|
||||||
|
# # allowedIPs:
|
||||||
|
# # - 192.168.1.0/24
|
||||||
|
# # # wireguard peer example
|
||||||
|
# # wireguard:
|
||||||
|
# # privateKey: ABCDEF... # Specifies a private key configuration (base64 encoded).
|
||||||
|
# # # Specifies a list of peer configurations to apply to a device.
|
||||||
|
# # peers:
|
||||||
|
# # - publicKey: ABCDEF... # Specifies the public key of this peer.
|
||||||
|
# # endpoint: 192.168.1.2:51822 # Specifies the endpoint of this peer entry.
|
||||||
|
# # persistentKeepaliveInterval: 10s # Specifies the persistent keepalive interval for this peer.
|
||||||
|
# # # AllowedIPs specifies a list of allowed IP addresses in CIDR notation for this peer.
|
||||||
|
# # allowedIPs:
|
||||||
|
# # - 192.168.1.0/24
|
||||||
|
|
||||||
|
# # # Virtual (shared) IP address configuration.
|
||||||
|
|
||||||
|
# # # layer2 vip example
|
||||||
|
# # vip:
|
||||||
|
# # ip: 172.16.199.55 # Specifies the IP address to be used.
|
||||||
|
|
||||||
|
# # Used to statically set the nameservers for the machine.
|
||||||
|
# nameservers:
|
||||||
|
# - 8.8.8.8
|
||||||
|
# - 1.1.1.1
|
||||||
|
|
||||||
|
# # Used to statically set arbitrary search domains.
|
||||||
|
# searchDomains:
|
||||||
|
# - example.org
|
||||||
|
# - example.com
|
||||||
|
|
||||||
|
# # Allows for extra entries to be added to the `/etc/hosts` file
|
||||||
|
# extraHostEntries:
|
||||||
|
# - ip: 192.168.1.100 # The IP of the host.
|
||||||
|
# # The host alias.
|
||||||
|
# aliases:
|
||||||
|
# - example
|
||||||
|
# - example.domain.tld
|
||||||
|
|
||||||
|
# # Configures KubeSpan feature.
|
||||||
|
# kubespan:
|
||||||
|
# enabled: true # Enable the KubeSpan feature.
|
||||||
|
|
||||||
|
# Used to provide instructions for installations.
|
||||||
|
install:
|
||||||
|
disk: /dev/sda # The disk used for installations.
|
||||||
|
image: ghcr.io/siderolabs/installer:v1.11.1 # Allows for supplying the image used to perform the installation.
|
||||||
|
wipe: false # Indicates if the installation disk should be wiped at installation time.
|
||||||
|
|
||||||
|
# # Look up disk using disk attributes like model, size, serial and others.
|
||||||
|
# diskSelector:
|
||||||
|
# size: 4GB # Disk size.
|
||||||
|
# model: WDC* # Disk model `/sys/block/<dev>/device/model`.
|
||||||
|
# busPath: /pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0 # Disk bus path.
|
||||||
|
|
||||||
|
# # Allows for supplying extra kernel args via the bootloader.
|
||||||
|
# extraKernelArgs:
|
||||||
|
# - talos.platform=metal
|
||||||
|
# - reboot=k
|
||||||
|
# Used to configure the machine's container image registry mirrors.
|
||||||
|
registries: {}
|
||||||
|
# # Specifies mirror configuration for each registry host namespace.
|
||||||
|
# mirrors:
|
||||||
|
# ghcr.io:
|
||||||
|
# # List of endpoints (URLs) for registry mirrors to use.
|
||||||
|
# endpoints:
|
||||||
|
# - https://registry.insecure
|
||||||
|
# - https://ghcr.io/v2/
|
||||||
|
|
||||||
|
# # Specifies TLS & auth configuration for HTTPS image registries.
|
||||||
|
# config:
|
||||||
|
# registry.insecure:
|
||||||
|
# # The TLS configuration for the registry.
|
||||||
|
# tls:
|
||||||
|
# insecureSkipVerify: true # Skip TLS server certificate verification (not recommended).
|
||||||
|
#
|
||||||
|
# # # Enable mutual TLS authentication with the registry.
|
||||||
|
# # clientIdentity:
|
||||||
|
# # crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
|
||||||
|
# # key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
|
||||||
|
#
|
||||||
|
# # # The auth configuration for this registry.
|
||||||
|
# # auth:
|
||||||
|
# # username: username # Optional registry authentication.
|
||||||
|
# # password: password # Optional registry authentication.
|
||||||
|
|
||||||
|
# Features describe individual Talos features that can be switched on or off.
|
||||||
|
features:
|
||||||
|
rbac: true # Enable role-based access control (RBAC).
|
||||||
|
stableHostname: true # Enable stable default hostname.
|
||||||
|
apidCheckExtKeyUsage: true # Enable checks for extended key usage of client certificates in apid.
|
||||||
|
diskQuotaSupport: true # Enable XFS project quota support for EPHEMERAL partition and user disks.
|
||||||
|
# KubePrism - local proxy/load balancer on defined port that will distribute
|
||||||
|
kubePrism:
|
||||||
|
enabled: true # Enable KubePrism support - will start local load balancing proxy.
|
||||||
|
port: 7445 # KubePrism port.
|
||||||
|
# Configures host DNS caching resolver.
|
||||||
|
hostDNS:
|
||||||
|
enabled: true # Enable host DNS caching resolver.
|
||||||
|
forwardKubeDNSToHost: true # Use the host DNS resolver as upstream for Kubernetes CoreDNS pods.
|
||||||
|
|
||||||
|
# # Configure Talos API access from Kubernetes pods.
|
||||||
|
# kubernetesTalosAPIAccess:
|
||||||
|
# enabled: true # Enable Talos API access from Kubernetes pods.
|
||||||
|
# # The list of Talos API roles which can be granted for access from Kubernetes pods.
|
||||||
|
# allowedRoles:
|
||||||
|
# - os:reader
|
||||||
|
# # The list of Kubernetes namespaces Talos API access is available from.
|
||||||
|
# allowedKubernetesNamespaces:
|
||||||
|
# - kube-system
|
||||||
|
|
||||||
|
# # Provides machine specific control plane configuration options.
|
||||||
|
|
||||||
|
# # ControlPlane definition example.
|
||||||
|
# controlPlane:
|
||||||
|
# # Controller manager machine specific configuration options.
|
||||||
|
# controllerManager:
|
||||||
|
# disabled: false # Disable kube-controller-manager on the node.
|
||||||
|
# # Scheduler machine specific configuration options.
|
||||||
|
# scheduler:
|
||||||
|
# disabled: true # Disable kube-scheduler on the node.
|
||||||
|
|
||||||
|
# # Used to provide static pod definitions to be run by the kubelet directly bypassing the kube-apiserver.
|
||||||
|
|
||||||
|
# # nginx static pod.
|
||||||
|
# pods:
|
||||||
|
# - apiVersion: v1
|
||||||
|
# kind: pod
|
||||||
|
# metadata:
|
||||||
|
# name: nginx
|
||||||
|
# spec:
|
||||||
|
# containers:
|
||||||
|
# - image: nginx
|
||||||
|
# name: nginx
|
||||||
|
|
||||||
|
# # Allows the addition of user specified files.
|
||||||
|
|
||||||
|
# # MachineFiles usage example.
|
||||||
|
# files:
|
||||||
|
# - content: '...' # The contents of the file.
|
||||||
|
# permissions: 0o666 # The file's permissions in octal.
|
||||||
|
# path: /tmp/file.txt # The path of the file.
|
||||||
|
# op: append # The operation to use
|
||||||
|
|
||||||
|
# # The `env` field allows for the addition of environment variables.
|
||||||
|
|
||||||
|
# # Environment variables definition examples.
|
||||||
|
# env:
|
||||||
|
# GRPC_GO_LOG_SEVERITY_LEVEL: info
|
||||||
|
# GRPC_GO_LOG_VERBOSITY_LEVEL: "99"
|
||||||
|
# https_proxy: http://SERVER:PORT/
|
||||||
|
# env:
|
||||||
|
# GRPC_GO_LOG_SEVERITY_LEVEL: error
|
||||||
|
# https_proxy: https://USERNAME:PASSWORD@SERVER:PORT/
|
||||||
|
# env:
|
||||||
|
# https_proxy: http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/
|
||||||
|
|
||||||
|
# # Used to configure the machine's time settings.
|
||||||
|
|
||||||
|
# # Example configuration for cloudflare ntp server.
|
||||||
|
# time:
|
||||||
|
# disabled: false # Indicates if the time service is disabled for the machine.
|
||||||
|
# # description: |
|
||||||
|
# servers:
|
||||||
|
# - time.cloudflare.com
|
||||||
|
# bootTimeout: 2m0s # Specifies the timeout when the node time is considered to be in sync unlocking the boot sequence.
|
||||||
|
|
||||||
|
# # Used to configure the machine's sysctls.
|
||||||
|
|
||||||
|
# # MachineSysctls usage example.
|
||||||
|
# sysctls:
|
||||||
|
# kernel.domainname: talos.dev
|
||||||
|
# net.ipv4.ip_forward: "0"
|
||||||
|
# net/ipv6/conf/eth0.100/disable_ipv6: "1"
|
||||||
|
|
||||||
|
# # Used to configure the machine's sysfs.
|
||||||
|
|
||||||
|
# # MachineSysfs usage example.
|
||||||
|
# sysfs:
|
||||||
|
# devices.system.cpu.cpu0.cpufreq.scaling_governor: performance
|
||||||
|
|
||||||
|
# # Configures the udev system.
|
||||||
|
# udev:
|
||||||
|
# # List of udev rules to apply to the udev system
|
||||||
|
# rules:
|
||||||
|
# - SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="44", MODE="0660"
|
||||||
|
|
||||||
|
# # Configures the logging system.
|
||||||
|
# logging:
|
||||||
|
# # Logging destination.
|
||||||
|
# destinations:
|
||||||
|
# - endpoint: tcp://1.2.3.4:12345 # Where to send logs. Supported protocols are "tcp" and "udp".
|
||||||
|
# format: json_lines # Logs format.
|
||||||
|
|
||||||
|
# # Configures the kernel.
|
||||||
|
# kernel:
|
||||||
|
# # Kernel modules to load.
|
||||||
|
# modules:
|
||||||
|
# - name: brtfs # Module name.
|
||||||
|
|
||||||
|
# # Configures the seccomp profiles for the machine.
|
||||||
|
# seccompProfiles:
|
||||||
|
# - name: audit.json # The `name` field is used to provide the file name of the seccomp profile.
|
||||||
|
# # The `value` field is used to provide the seccomp profile.
|
||||||
|
# value:
|
||||||
|
# defaultAction: SCMP_ACT_LOG
|
||||||
|
|
||||||
|
# # Override (patch) settings in the default OCI runtime spec for CRI containers.
|
||||||
|
|
||||||
|
# # override default open file limit
|
||||||
|
# baseRuntimeSpecOverrides:
|
||||||
|
# process:
|
||||||
|
# rlimits:
|
||||||
|
# - hard: 1024
|
||||||
|
# soft: 1024
|
||||||
|
# type: RLIMIT_NOFILE
|
||||||
|
|
||||||
|
# # Configures the node labels for the machine.
|
||||||
|
|
||||||
|
# # node labels example.
|
||||||
|
# nodeLabels:
|
||||||
|
# exampleLabel: exampleLabelValue
|
||||||
|
|
||||||
|
# # Configures the node annotations for the machine.
|
||||||
|
|
||||||
|
# # node annotations example.
|
||||||
|
# nodeAnnotations:
|
||||||
|
# customer.io/rack: r13a25
|
||||||
|
|
||||||
|
# # Configures the node taints for the machine. Effect is optional.
|
||||||
|
|
||||||
|
# # node taints example.
|
||||||
|
# nodeTaints:
|
||||||
|
# exampleTaint: exampleTaintValue:NoSchedule
|
||||||
|
# Provides cluster specific configuration options.
|
||||||
|
cluster:
|
||||||
|
id: wabdDPoOYoFQRwTsW6yH9zdQxETZjZ5wwWZQWs9abYE= # Globally unique identifier for this cluster (base64 encoded random 32 bytes).
|
||||||
|
secret: c50wIk9N1b+mINXeZofLwnBI1CAKeHruJi9KLOboULI= # Shared secret of cluster (base64 encoded random 32 bytes).
|
||||||
|
# Provides control plane specific configuration options.
|
||||||
|
controlPlane:
|
||||||
|
endpoint: https://10.5.0.2:6443 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
|
||||||
|
clusterName: evo-npcs-infra-96c16945 # Configures the cluster's name.
|
||||||
|
# Provides cluster specific network configuration options.
|
||||||
|
network:
|
||||||
|
dnsDomain: cluster.local # The domain used by Kubernetes DNS.
|
||||||
|
# The pod subnet CIDR.
|
||||||
|
podSubnets:
|
||||||
|
- 10.244.0.0/16
|
||||||
|
# The service subnet CIDR.
|
||||||
|
serviceSubnets:
|
||||||
|
- 10.96.0.0/12
|
||||||
|
|
||||||
|
# # The CNI used.
|
||||||
|
# cni:
|
||||||
|
# name: custom # Name of CNI to use.
|
||||||
|
# # URLs containing manifests to apply for the CNI.
|
||||||
|
# urls:
|
||||||
|
# - https://docs.projectcalico.org/archive/v3.20/manifests/canal.yaml
|
||||||
|
token: olqdyh.eset6n7iy5mtwu10 # The [bootstrap token](https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/) used to join the cluster.
|
||||||
|
# The base64 encoded root certificate authority used by Kubernetes.
|
||||||
|
ca:
|
||||||
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJpakNDQVMrZ0F3SUJBZ0lRY1ZLYUhWU0ZPVWR6MzZvTzltcll5akFLQmdncWhrak9QUVFEQWpBVk1STXcKRVFZRFZRUUtFd3ByZFdKbGNtNWxkR1Z6TUI0WERUSTFNRGt5T1RBd01Ua3hPVm9YRFRNMU1Ea3lOekF3TVRreApPVm93RlRFVE1CRUdBMVVFQ2hNS2EzVmlaWEp1WlhSbGN6QlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDlBd0VICkEwSUFCTEFCcnQ0K1dBOGVYRG54RFFjcnpLZzdhMVB5bUd3SkZXcmttWjlXVC8xNUNaSDNtcGwrb1c2TG1XSC8Ka3NLdmJpY0I1cmZwMjdFYUxrRTAyNG9rQy9hallUQmZNQTRHQTFVZER3RUIvd1FFQXdJQ2hEQWRCZ05WSFNVRQpGakFVQmdnckJnRUZCUWNEQVFZSUt3WUJCUVVIQXdJd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFCkZnUVVpelFVK2FnQkpEbmdmWFA1aFVGZVJQS09Yb0V3Q2dZSUtvWkl6ajBFQXdJRFNRQXdSZ0loQUl0SDZTNnIKK2VXdmVkVXpUNlFNWFplOUdNcDBLVjFzbXRBc25QcEs3bkdVQWlFQW91aEJvZHBSMXJEdGFHQmg0dmZpUVZWdApvMktabmcva01YRExadWJkWUY0PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
||||||
|
key: ""
|
||||||
|
# Configures cluster member discovery.
|
||||||
|
discovery:
|
||||||
|
enabled: true # Enable the cluster membership discovery feature.
|
||||||
|
# Configure registries used for cluster member discovery.
|
||||||
|
registries:
|
||||||
|
# Kubernetes registry uses Kubernetes API server to discover cluster members and stores additional information
|
||||||
|
kubernetes:
|
||||||
|
disabled: true # Disable Kubernetes discovery registry.
|
||||||
|
# Service registry is using an external service to push and pull information about cluster members.
|
||||||
|
service: {}
|
||||||
|
# # External service endpoint.
|
||||||
|
# endpoint: https://discovery.talos.dev/
|
||||||
|
|
||||||
|
# # A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).
|
||||||
|
|
||||||
|
# # Decryption secret example (do not use in production!).
|
||||||
|
# aescbcEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM=
|
||||||
|
|
||||||
|
# # A key used for the [encryption of secret data at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).
|
||||||
|
|
||||||
|
# # Decryption secret example (do not use in production!).
|
||||||
|
# secretboxEncryptionSecret: z01mye6j16bspJYtTB/5SFX8j7Ph4JXxM2Xuu4vsBPM=
|
||||||
|
|
||||||
|
# # The base64 encoded aggregator certificate authority used by Kubernetes for front-proxy certificate generation.
|
||||||
|
|
||||||
|
# # AggregatorCA example.
|
||||||
|
# aggregatorCA:
|
||||||
|
# crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
|
||||||
|
# key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
|
||||||
|
|
||||||
|
# # The base64 encoded private key for service account token generation.
|
||||||
|
|
||||||
|
# # AggregatorCA example.
|
||||||
|
# serviceAccount:
|
||||||
|
# key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
|
||||||
|
|
||||||
|
# # API server specific configuration options.
|
||||||
|
# apiServer:
|
||||||
|
# image: registry.k8s.io/kube-apiserver:v1.34.0 # The container image used in the API server manifest.
|
||||||
|
# # Extra arguments to supply to the API server.
|
||||||
|
# extraArgs:
|
||||||
|
# feature-gates: ServerSideApply=true
|
||||||
|
# http2-max-streams-per-connection: "32"
|
||||||
|
# # Extra certificate subject alternative names for the API server's certificate.
|
||||||
|
# certSANs:
|
||||||
|
# - 1.2.3.4
|
||||||
|
# - 4.5.6.7
|
||||||
|
# # Configure the API server admission plugins.
|
||||||
|
# admissionControl:
|
||||||
|
# - name: PodSecurity # Name is the name of the admission controller.
|
||||||
|
# # Configuration is an embedded configuration object to be used as the plugin's
|
||||||
|
# configuration:
|
||||||
|
# apiVersion: pod-security.admission.config.k8s.io/v1alpha1
|
||||||
|
# defaults:
|
||||||
|
# audit: restricted
|
||||||
|
# audit-version: latest
|
||||||
|
# enforce: baseline
|
||||||
|
# enforce-version: latest
|
||||||
|
# warn: restricted
|
||||||
|
# warn-version: latest
|
||||||
|
# exemptions:
|
||||||
|
# namespaces:
|
||||||
|
# - kube-system
|
||||||
|
# runtimeClasses: []
|
||||||
|
# usernames: []
|
||||||
|
# kind: PodSecurityConfiguration
|
||||||
|
# # Configure the API server audit policy.
|
||||||
|
# auditPolicy:
|
||||||
|
# apiVersion: audit.k8s.io/v1
|
||||||
|
# kind: Policy
|
||||||
|
# rules:
|
||||||
|
# - level: Metadata
|
||||||
|
# # Configure the API server authorization config. Node and RBAC authorizers are always added irrespective of the configuration.
|
||||||
|
# authorizationConfig:
|
||||||
|
# - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
|
||||||
|
# name: webhook # Name is used to describe the authorizer.
|
||||||
|
# # webhook is the configuration for the webhook authorizer.
|
||||||
|
# webhook:
|
||||||
|
# connectionInfo:
|
||||||
|
# type: InClusterConfig
|
||||||
|
# failurePolicy: Deny
|
||||||
|
# matchConditionSubjectAccessReviewVersion: v1
|
||||||
|
# matchConditions:
|
||||||
|
# - expression: has(request.resourceAttributes)
|
||||||
|
# - expression: '!(\''system:serviceaccounts:kube-system\'' in request.groups)'
|
||||||
|
# subjectAccessReviewVersion: v1
|
||||||
|
# timeout: 3s
|
||||||
|
# - type: Webhook # Type is the name of the authorizer. Allowed values are `Node`, `RBAC`, and `Webhook`.
|
||||||
|
# name: in-cluster-authorizer # Name is used to describe the authorizer.
|
||||||
|
# # webhook is the configuration for the webhook authorizer.
|
||||||
|
# webhook:
|
||||||
|
# connectionInfo:
|
||||||
|
# type: InClusterConfig
|
||||||
|
# failurePolicy: NoOpinion
|
||||||
|
# matchConditionSubjectAccessReviewVersion: v1
|
||||||
|
# subjectAccessReviewVersion: v1
|
||||||
|
# timeout: 3s
|
||||||
|
|
||||||
|
# # Controller manager server specific configuration options.
|
||||||
|
# controllerManager:
|
||||||
|
# image: registry.k8s.io/kube-controller-manager:v1.34.0 # The container image used in the controller manager manifest.
|
||||||
|
# # Extra arguments to supply to the controller manager.
|
||||||
|
# extraArgs:
|
||||||
|
# feature-gates: ServerSideApply=true
|
||||||
|
|
||||||
|
# # Kube-proxy server-specific configuration options
|
||||||
|
# proxy:
|
||||||
|
# disabled: false # Disable kube-proxy deployment on cluster bootstrap.
|
||||||
|
# image: registry.k8s.io/kube-proxy:v1.34.0 # The container image used in the kube-proxy manifest.
|
||||||
|
# mode: ipvs # proxy mode of kube-proxy.
|
||||||
|
# # Extra arguments to supply to kube-proxy.
|
||||||
|
# extraArgs:
|
||||||
|
# proxy-mode: iptables
|
||||||
|
|
||||||
|
# # Scheduler server specific configuration options.
|
||||||
|
# scheduler:
|
||||||
|
# image: registry.k8s.io/kube-scheduler:v1.34.0 # The container image used in the scheduler manifest.
|
||||||
|
# # Extra arguments to supply to the scheduler.
|
||||||
|
# extraArgs:
|
||||||
|
# feature-gates: AllBeta=true
|
||||||
|
|
||||||
|
# # Etcd specific configuration options.
|
||||||
|
# etcd:
|
||||||
|
# image: gcr.io/etcd-development/etcd:v3.6.4 # The container image used to create the etcd service.
|
||||||
|
# # The `ca` is the root certificate authority of the PKI.
|
||||||
|
# ca:
|
||||||
|
# crt: LS0tIEVYQU1QTEUgQ0VSVElGSUNBVEUgLS0t
|
||||||
|
# key: LS0tIEVYQU1QTEUgS0VZIC0tLQ==
|
||||||
|
# # Extra arguments to supply to etcd.
|
||||||
|
# extraArgs:
|
||||||
|
# election-timeout: "5000"
|
||||||
|
# # The `advertisedSubnets` field configures the networks to pick etcd advertised IP from.
|
||||||
|
# advertisedSubnets:
|
||||||
|
# - 10.0.0.0/8
|
||||||
|
|
||||||
|
# # Core DNS specific configuration options.
|
||||||
|
# coreDNS:
|
||||||
|
# image: registry.k8s.io/coredns/coredns:v1.12.3 # The `image` field is an override to the default coredns image.
|
||||||
|
|
||||||
|
# # External cloud provider configuration.
|
||||||
|
# externalCloudProvider:
|
||||||
|
# enabled: true # Enable external cloud provider.
|
||||||
|
# # A list of urls that point to additional manifests for an external cloud provider.
|
||||||
|
# manifests:
|
||||||
|
# - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/rbac.yaml
|
||||||
|
# - https://raw.githubusercontent.com/kubernetes/cloud-provider-aws/v1.20.0-alpha.0/manifests/aws-cloud-controller-manager-daemonset.yaml
|
||||||
|
|
||||||
|
# # A list of urls that point to additional manifests.
|
||||||
|
# extraManifests:
|
||||||
|
# - https://www.example.com/manifest1.yaml
|
||||||
|
# - https://www.example.com/manifest2.yaml
|
||||||
|
|
||||||
|
# # A map of key value pairs that will be added while fetching the extraManifests.
|
||||||
|
# extraManifestHeaders:
|
||||||
|
# Token: "1234567"
|
||||||
|
# X-ExtraInfo: info
|
||||||
|
|
||||||
|
# # A list of inline Kubernetes manifests.
|
||||||
|
# inlineManifests:
|
||||||
|
# - name: namespace-ci # Name of the manifest.
|
||||||
|
# contents: |- # Manifest contents as a string.
|
||||||
|
# apiVersion: v1
|
||||||
|
# kind: Namespace
|
||||||
|
# metadata:
|
||||||
|
# name: ci
|
||||||
|
|
||||||
|
# # Settings for admin kubeconfig generation.
|
||||||
|
# adminKubeconfig:
|
||||||
|
# certLifetime: 1h0m0s # Admin kubeconfig certificate lifetime (default is 1 year).
|
||||||
|
|
||||||
|
# # Allows running workload on control-plane nodes.
|
||||||
|
# allowSchedulingOnControlPlanes: true
|
||||||
Loading…
Add table
Reference in a new issue