Commit Graph

86 Commits (a6e852105ce536c364a2870b24ff66b51e5e4364)

Author SHA1 Message Date
iwilltry42 21fd427d8a
maintenance: cleanup debug logs 4 years ago
iwilltry42 fe21c27a32
createNode: add failover solution to get K3S_URL value 4 years ago
iwilltry42 ee8fe0bb35
createNode: add failover solution to get K3S_URL value 4 years ago
iwilltry42 9c9f49646e
MasterLoadBalancer: add nodefilter & extra treatment 4 years ago
iwilltry42 4bfac51c7c
createCluster/createNode: use K3S_URL instead of --server 4 years ago
iwilltry42 c061104b53
createNode: copy as many details as possible from existing 4 years ago
iwilltry42 da8adf5469
createNode: update nginx masterlb with new master node 4 years ago
iwilltry42 b7b8f6a5a6
createNode: use any node as blueprint 4 years ago
iwilltry42 3071ec5755
createCluster: add --no-lb flag to disable the load balancer 4 years ago
iwilltry42 c6564801f3
getKubeconfig: always return output filepath 4 years ago
iwilltry42 0cdce098bd
createCluster: do not create masterlb if hostnetwork is selected to avoid port collisions 4 years ago
iwilltry42 dec8043edf
createCluster: add masterlb to list of nodes, so it will be considered during rollback 4 years ago
iwilltry42 edeea4540b
getKubeConfig: create output directory path if not exists 4 years ago
iwilltry42 3b77ecd6dd
getLogs: return error if container is not in running state to avoid long unnecessary wait 4 years ago
iwilltry42 2d68ef12e4
deleteCluster: remove cluster details from kubeconfig 4 years ago
iwilltry42 5b637126d7
createCluster: add --update-kubeconfig flag 4 years ago
iwilltry42 6677f82d5b
getKubeConfig: consider the KUBECONFIG env var when updating default kubeconfig 4 years ago
iwilltry42 cec907e1f3
set current context if empty 4 years ago
iwilltry42 5121ef80a5
create/start/stop cluster: fix how Master-LoadBalancer is treated 4 years ago
iwilltry42 d9e0e0f914
getKubeConfig: update existing kubeconfigs 4 years ago
iwilltry42 407fcd4e1f
rename to UpdateKubeConfig 4 years ago
iwilltry42 fc1b858325
getKubeConfig: add functionality to update an existing KubeConfig 4 years ago
iwilltry42 df07358f47
getKubeconfig: fix: update context with new authInfo and cluster names 4 years ago
iwilltry42 2a76bba98b
getKubeconfig: modify kubeconfig as an object 4 years ago
iwilltry42 469d8ab62d
use default value for apiPort 4 years ago
iwilltry42 5c15dcbeca
add wait 4 years ago
iwilltry42 1b7f5c5f78
createCluster/timeout: use context to handle cancellation 4 years ago
iwilltry42 80d1c5c2de
initialize proper timeout flag 4 years ago
iwilltry42 3cd4c0a8bc
create/cluster: remove unnecessary goto initNode 4 years ago
iwilltry42 dc1bbd6965
manage imageVolume lifecycle 4 years ago
iwilltry42 a54d05e9a5
fix sleep to prevent race conditions and add log output for loadbalancer creation 5 years ago
iwilltry42 33d54132ed
add arbitrary sleep to avoid master registering race conditions 5 years ago
iwilltry42 a24d6f864e
Proxy: deploy a configurable nginx proxy in front of the cluster 5 years ago
iwilltry42 2b674cb4e3
use createClusterOpts 5 years ago
iwilltry42 70221e0f29
concurrently wait for masters to become ready if --wait is set (or timeout) 5 years ago
iwilltry42 b8ac954d69
implement --wait asynchronously 5 years ago
iwilltry42 bc49f197d9
cleanup and prepare for push to rancher/k3d 5 years ago
iwilltry42 644b369b60
switch from K3S_CLUSTER_SECRET to K3S_TOKEN and use exact matching to get node containers by name and make --cluster flag required when creating a new node 5 years ago
iwilltry42 fd4b803681 start fixing createNode 5 years ago
iwilltry42 ef2907de41 replace 127.0.0.1:6443 in kubeconfig as well 5 years ago
iwilltry42 84234e7a98 add proper k3d config dir and kubeconfig output path 5 years ago
iwilltry42 11b937a910 implement load images command 5 years ago
iwilltry42 e6d7726ffb add image volume 5 years ago
iwilltry42 60659c74c8 cleanup delete node command and add --all flag 5 years ago
iwilltry42 9e12af71e4 start implementing tools container 5 years ago
iwilltry42 189e430f90 fix port collisions due to default exposed port on master nodes 5 years ago
iwilltry42 ff98343420 extend 5 years ago
iwilltry42 bd39336b29 init ha setup with cluster-init 5 years ago
iwilltry42 536b543cc2 implement get nodes 5 years ago
iwilltry42 098fe0803c implement start/stop for nodes and clusters 5 years ago