407 lines
26 KiB
YAML
407 lines
26 KiB
YAML
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: t6u2b3.xkpavh9cex6s9958 # The `token` is used by a machine to join the PKI of the cluster.
|
|
# The root certificate authority of the PKI.
|
|
ca:
|
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJQakNCOGFBREFnRUNBaEJ0bzdreDVONWg2QXVwZE9Nd2ovUHVNQVVHQXl0bGNEQVFNUTR3REFZRFZRUUsKRXdWMFlXeHZjekFlRncweU5qQXhNVFF4TnpVeU1qSmFGdzB6TmpBeE1USXhOelV5TWpKYU1CQXhEakFNQmdOVgpCQW9UQlhSaGJHOXpNQ293QlFZREsyVndBeUVBTHNqQ1VJaDcvQUQ5RFYvS3RpVU45WmdibGYxNmE4Q2NkSm95Cjc1Rk84SmlqWVRCZk1BNEdBMVVkRHdFQi93UUVBd0lDaERBZEJnTlZIU1VFRmpBVUJnZ3JCZ0VGQlFjREFRWUkKS3dZQkJRVUhBd0l3RHdZRFZSMFRBUUgvQkFVd0F3RUIvekFkQmdOVkhRNEVGZ1FVd2lQcTN2U29nUlFOVEFYMQpBL1ZTRDVtS2U2Y3dCUVlESzJWd0EwRUE3UGQvUll4ekc4NXBmdVU1b1k4WnQ3dkpSM1BhNzM0ZW1aaWY3QzdSCmg5Qmx0SWx6NUFnbXFnSWdQSzlhOCt2VXpCa2p0M05scHFpZGZONzUwSTQ1QUE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
|
key: LS0tLS1CRUdJTiBFRDI1NTE5IFBSSVZBVEUgS0VZLS0tLS0KTUM0Q0FRQXdCUVlESzJWd0JDSUVJSnl6amhYUVYzdE90b2tuSGFsYnN5WDJBeUJ5Z0ZraVpUb0E3dWFBMGwzQwotLS0tLUVORCBFRDI1NTE5IFBSSVZBVEUgS0VZLS0tLS0K
|
|
# 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.35.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:
|
|
|
|
# # 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.12.1 # Allows for supplying the image used to perform the installation.
|
|
extensions:
|
|
- image: ghcr.io/siderolabs/tailscale:1.82.1
|
|
wipe: false # Indicates if the installation disk should be wiped at installation time.
|
|
grubUseUKICmdline: true # Indicates if legacy GRUB bootloader should use kernel cmdline from the UKI instead of building it on the host.
|
|
extraKernelArgs:
|
|
- console=tty0
|
|
|
|
# # 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.
|
|
# Features describe individual Talos features that can be switched on or off.
|
|
features:
|
|
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 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: btrfs # 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: d9wM2zW6ZcxGVQp8rujQajusx-HrV1s-gRfGfc5wExM= # Globally unique identifier for this cluster (base64 encoded random 32 bytes).
|
|
secret: V44y9ckGbghbUYYuLTqjagj0jzx3TcgfZ9a7C9J97mE= # Shared secret of cluster (base64 encoded random 32 bytes).
|
|
# Provides control plane specific configuration options.
|
|
controlPlane:
|
|
endpoint: https://10.0.15.1:6443 # Endpoint is the canonical controlplane endpoint, which can be an IP address or a DNS hostname.
|
|
clusterName: home-cluster # 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: jhs5w8.tnf0lrt6ouico21x # The [bootstrap token](https://kubernetes.io/docs/reference/access-authn-authz/bootstrap-tokens/) used to join the cluster.
|
|
secretboxEncryptionSecret: /6DYtkG9wQCrsXkbEX/FHsHyV0QfWG+E8wUCkpx9BNs= # 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 by Kubernetes.
|
|
ca:
|
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJpekNDQVRDZ0F3SUJBZ0lSQU5pSitIN3JtY0VEa3AxZ1BZMEpSVWt3Q2dZSUtvWkl6ajBFQXdJd0ZURVQKTUJFR0ExVUVDaE1LYTNWaVpYSnVaWFJsY3pBZUZ3MHlOakF4TVRReE56VXlNakphRncwek5qQXhNVEl4TnpVeQpNakphTUJVeEV6QVJCZ05WQkFvVENtdDFZbVZ5Ym1WMFpYTXdXVEFUQmdjcWhrak9QUUlCQmdncWhrak9QUU1CCkJ3TkNBQVRRMUpQeWl2bjkzc0FHSUhTUzJBN0VnQTI2N3ZJM0pWcC9rMWZQWnFNRnpmNHlmRHBwTUQ5cG42SEQKWUx2SjkyazNGRkRoYXh2UDZIUTRRQVV3UW5Mcm8yRXdYekFPQmdOVkhROEJBZjhFQkFNQ0FvUXdIUVlEVlIwbApCQll3RkFZSUt3WUJCUVVIQXdFR0NDc0dBUVVGQndNQ01BOEdBMVVkRXdFQi93UUZNQU1CQWY4d0hRWURWUjBPCkJCWUVGTXhodGtYOHZUbEtGMkJ4THBqUXhJZGRuNzJuTUFvR0NDcUdTTTQ5QkFNQ0Ewa0FNRVlDSVFDeGNaTTQKZ09RTHplU1BrSy9HTnZaV3pueTBoSXM0ZmUrYVJOMENhN1A2UndJaEFJSHc0Ni9EaDJtTWZLQm9GS3hmTnJWTQpiaVNoekF1QzQ2THdVZXJyNmNBcQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
|
key: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUw1QXpROEFBaU5vcTl1cHBTem5FRkNJMGFBaUNDMVVya3gvbDhBTU5wOTNvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFME5TVDhvcjUvZDdBQmlCMGt0Z094SUFOdXU3eU55VmFmNU5YejJhakJjMytNbnc2YVRBLwphWitodzJDN3lmZHBOeFJRNFdzYnoraDBPRUFGTUVKeTZ3PT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=
|
|
# The base64 encoded aggregator certificate authority used by Kubernetes for front-proxy certificate generation.
|
|
aggregatorCA:
|
|
crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJZRENDQVFXZ0F3SUJBZ0lRVU9sVTh1M0QxT0NaeXRaYmxOWmRHREFLQmdncWhrak9QUVFEQWpBQU1CNFgKRFRJMk1ERXhOREUzTlRJeU1sb1hEVE0yTURFeE1qRTNOVEl5TWxvd0FEQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxRwpTTTQ5QXdFSEEwSUFCTDZxSEptN1FOSm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VaWhPak5hSC9aU2ZLRmhGWDZaTk1iYTZhUFpySQpHZ2RsK3J4NE9EWUZ4VWl0YmVVTXc4dnM0U0h4emN5MnNXbXVqQWN1Q200VUo3R0Z5V2VoaU5lbTNOdmtNajhHCi9Vb1VkOU5wTzJJc3JhL012dTF2aEY3b3lsNG1xbWxDL25xOEpOcE51Q0hESlJ5Rjlzbm1JUmZKOGxOSFVEbnEKSnlHeFNReEM0ZTUxUW9kck94Ykk1eWp0UzJGbm9ZZ3ZyMmFQeHp3dCszZEdreU1QdVlvWnVQVE4ramFPK3JuQQpCanpoUFZPZHg5c0M3SVBWQjVOL3JWYUtIUEloenphV202bjAwSDlYa1RGQ1B3REVMUWt5WEhBclBScGhaN2oyClJibUZRdUtwUU5WMkpzaC9sWm9SWk1sK0F3V21RbWtDZ2dFQkFJb25NeFRaQ0tIOCtya04zbWFqWkgzY3dEUlIKMGs0d2xiMnVyWHNwUkFRMmNSK21IUlRQbGoyMzZ0Tmh4YnZiZHFOS3B5cmFmNjdYTWkxdXpNSE15ZkFWcHloQgpIQk9kMGhzZVNxNDl1YU5yWHY4bVJQS1FIQks2MHNaRkdaSVVyeWhRRXRaSzFackRSTTFsMDFuM3VJR0VGYW1ECnV5QkdMOUhhcW1Ea3FjTWFKVE4vMDlSc3NXbFlxcFhYcUhyaVQrTmFablRUR1FidVQzMmZjeXdaVlpjTVJnWHkKMTVSckcyTjRtT3dVSW0rYXVMQ3pWY0l0N3ZGNld0NUdPMXkzbzkzV2Q2NGRHdVJ1V1R2Qy85MjhPNWdoUjAxVQp5UGh6amd3a1ZDa1hoKzI0QTg5dlZIdWlNNUsxQ2pIMFhBS0hoUVJLNWdjVjQzM1cxUlVvcGpkUFN1Zz0KLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0K
|
|
# API server specific configuration options.
|
|
apiServer:
|
|
image: registry.k8s.io/kube-apiserver:v1.35.0 # The container image used in the API server manifest.
|
|
# 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.35.0 # The container image used in the controller manager manifest.
|
|
# Kube-proxy server-specific configuration options
|
|
proxy:
|
|
image: registry.k8s.io/kube-proxy:v1.35.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.35.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: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJmVENDQVNPZ0F3SUJBZ0lRT29tdnpMbkx6ZnNjaGt4bWt0RGRQekFLQmdncWhrak9QUVFEQWpBUE1RMHcKQ3dZRFZRUUtFd1JsZEdOa01CNFhEVEkyTURFeE5ERTNOVEl5TWxvWERUTTJNREV4TWpFM05USXlNbG93RHpFTgpNQXNHQTFVRUNoTUVaWFJqWkRCWk1CTUdCeXFHU000OUFnRUdDQ3FHU000OUF3RUhBMElBQkpFa0tDMnRzanp2ClE3ZFpQSS8zcm94TUZlQ1V3QXFrOEgzdTZVWEtDQ0FzeDBENnAvbTd0RzVjU1crNitxSm9wRmZrQW9NK2RjQVIKbkFIQ3FLd1hqVUNqWVRCZk1BNEdBMVVkRHdFQi93UUVBd0lDaERBZEJnTlZIU1VFRmpBVUJnZ3JCZ0VGQlFjRApBUVlJS3dZQkJRVUhBd0l3RHdZRFZSMFRBUUgvQkFVd0F3RUIvekFkQmdOVkhRNEVGZ1FVK0xtQzhjVmFHeVU0ClRmdTZOUnp5VkFvd2cvUXdDZ1lJS29aSXpqMEVBd0lEU0FBd1JRSWdhVWkvNktHMG16WGpXS2o4UVRha2wyOXkKcU5tcEhNUUJzU1V3WkIrWmwzc0NJUUREVUp2bEpjRVVsVDIwVUFQeXNFS1g5RitQQmU4MUxCV0xxZjlXdTk0agpjZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
|
|
key: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUwvejJObks0b0RoZmFSRDJzSXcyVzBZeGtmN1o2MWQvSmlwaUExVTJ3VnRvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFa1NRb0xhMnlQTzlEdDFrOGovZXVqRXdWNEpUQUNxVHdmZTdwUmNvSUlDekhRUHFuK2J1MApibHhKYjdyNm9taWtWK1FDZ3o1MXdCR2NBY0tvckJlTlFBPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=
|
|
|
|
# # The container image used to create the etcd service.
|
|
# image: registry.k8s.io/etcd:v3.6.7
|
|
|
|
# # 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.13.2 # 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
|
|
---
|
|
apiVersion: v1alpha1
|
|
kind: HostnameConfig
|
|
hostname: talos-cp2
|
|
# hostname: controlplane1.example.org
|
|
---
|
|
apiVersion: v1alpha1
|
|
kind: ExtensionServiceConfig
|
|
name: tailscale # Name of the extension service.
|
|
# The environment for the extension service.
|
|
environment:
|
|
- TS_AUTHKEY=tskey-auth-kwat3eR2p711CNTRL-K3m1PTL9hJHuqFJ5v5aDJHW2b8qsScQkF
|