chore: add current provisioning state before migration
This commit is contained in:
parent
a9703b4748
commit
50745b0f22
660 changed files with 88126 additions and 0 deletions
26
o-klab/sgoyol/taskservs/sgoyol-2/ip-aliases.k
Normal file
26
o-klab/sgoyol/taskservs/sgoyol-2/ip-aliases.k
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
taskserv = IPaliases {
|
||||
aliases = [
|
||||
IPalias {
|
||||
setup_mode = "system",
|
||||
address = "10.11.2.27",
|
||||
hostname = "terton-cp-0",
|
||||
main_hostname = True,
|
||||
interface = "eth2",
|
||||
dev_interface = "eth2:1",
|
||||
netmask = "255.255.255.0",
|
||||
nameservers = ""
|
||||
search = "",
|
||||
},
|
||||
IPalias {
|
||||
setup_mode = "system",
|
||||
address = "10.11.2.50",
|
||||
hostname = "termas",
|
||||
main_hostname = False,
|
||||
interface = "eth2",
|
||||
dev_interface = "eth2:2",
|
||||
netmask = "255.255.255.0",
|
||||
nameservers = ""
|
||||
search = "",
|
||||
},
|
||||
]
|
||||
}
|
||||
71
o-klab/sgoyol/taskservs/sgoyol-2/kubernetes.k
Normal file
71
o-klab/sgoyol/taskservs/sgoyol-2/kubernetes.k
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
taskserv = Kubernetes {
|
||||
major_version = "1.30"
|
||||
version = "1.30.3"
|
||||
#cri = "containerd"
|
||||
cri = "crio"
|
||||
runtime_default = "crun"
|
||||
runtimes = "crun,runc,youki"
|
||||
cni = "cilium"
|
||||
cni_version = "v0.16.11"
|
||||
#bind_port = 6443
|
||||
#timeout_cp = "4m0s"
|
||||
#certs_dir = "/etc/kubernetes/pki"
|
||||
#auth_mode = "Node,RBAC"
|
||||
#taints_effect = "PreferNoSchedule"
|
||||
#pull_policy = "IfNotPresent"
|
||||
# Kubernetes addons separated with commans
|
||||
addons = "istio"
|
||||
# External IPs separated with commans for ingress
|
||||
#external_ips = [ "10.11.2.27", "$pub_ip" ]
|
||||
external_ips = [ "10.11.2.12", "$pub_ip" ]
|
||||
# tpl = "kubeadm-config.yaml.j2"
|
||||
# repo = "registry.k8s.io"
|
||||
# dns_domain = "cluster.local"
|
||||
# pod_net = "10.244.0.0/16"
|
||||
# service_net = "10.96.0.0/12"
|
||||
# cert_sans = [ "$hostname", "$cluster_name", "127.0.0.1" ]
|
||||
# Cluster name
|
||||
cluster_name = "terton"
|
||||
#hostname = "$hostname"
|
||||
hostname = "terton-cp-0"
|
||||
# ControlPanel IP
|
||||
cp_ip = "10.11.2.27"
|
||||
cp_name = "terton-cp-0"
|
||||
#cp_ip = "10.11.2.12"
|
||||
#cp_name = "sgoyol-2"
|
||||
# If HOSTNAME == K8S_MASTER it will be MASTER_0
|
||||
# othewise set HOSTNAME value to be resolved in same K8S_MASTER network
|
||||
# By using -cp- as part of HOSTNAME will be consider node as controlpanel
|
||||
# Other options = "-wk-0" or "-wkr-0" for worker nodes
|
||||
ip = "10.11.2.27"
|
||||
#ip = "$network_private_ip"
|
||||
# K8s cluster role = "controlpnlane or worker"
|
||||
mode = "controlplane"
|
||||
# K8s command task
|
||||
cmd_task = "install"
|
||||
admin_user = "devadm"
|
||||
target_path = "HOME/lab_kubeconfig"
|
||||
taint_node = True
|
||||
etcd_mode = "external"
|
||||
etcd_prefix = "$cluster_name"
|
||||
etcd_endpoints = [
|
||||
ETCD_endpoint { name = "sgoyol" },
|
||||
# ETCD_endpoint { addr = "10.11.2.11" },
|
||||
# ETCD_endpoint { addr = "10.11.2.12" },
|
||||
# ETCD_endpoint { addr = "10.11.2.13" },
|
||||
]
|
||||
#etcd_ca_path = "/etc/kubernetes/pki/etcd/ca.crt"
|
||||
#etcd_cert_path = "/etc/kubernetes/pki/etcd/server.crt"
|
||||
#etcd_key_path = "/etc/kubernetes/pki/etcd/server.key"
|
||||
# etcd certs path
|
||||
prov_etcd_path = "etcdcerts"
|
||||
#etcd_cluster_name = "sgoyol"
|
||||
etcd_cluster_name = "terton"
|
||||
etcd_peers = "sgoyol-0"
|
||||
# install etcd certs path
|
||||
#etcd_certs_path = "etcd_certs"
|
||||
# LOG path for kubeadm
|
||||
install_log_path = "/tmp/k8s.log"
|
||||
# Work path for config generated file
|
||||
work_path = "$cluster_name"
|
||||
}
|
||||
5
o-klab/sgoyol/taskservs/sgoyol-2/oras.k
Normal file
5
o-klab/sgoyol/taskservs/sgoyol-2/oras.k
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
taskserv = Oras {
|
||||
version = "1.2.0-beta.1"
|
||||
name = "oras"
|
||||
copy_paths = ["oci-reg/zli-cfg|zli-cfg","oci-reg/docker-config|docker-config"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue