Commit Graph

116 Commits (3e70499e84c789e019b0eb9f45fd66e1a6e22293)

Author SHA1 Message Date
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 7744c52ec7
overall: always defer close docker client connections 4 years ago
iwilltry42 3b77ecd6dd
getLogs: return error if container is not in running state to avoid long unnecessary wait 4 years ago
iwilltry42 b32e116a67
add comment 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 d7e71e07d2
fix/loadImage: extract labels from master/worker nodes only 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 c51ec003bd
createCluster/network: add basic support for hostnetwork mode in docker 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 f2c8e0cf03
docker/create/node: replace goto with for loop 4 years ago
iwilltry42 3cd4c0a8bc
create/cluster: remove unnecessary goto initNode 4 years ago
iwilltry42 dc1bbd6965
manage imageVolume lifecycle 4 years ago
iwilltry42 9e59f6ed36
network: only filter for name when checking for existing networks and do not use aliases in endpointsconfig 5 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 7005f8182a
validate clustername on create and use global runtime variable 5 years ago
iwilltry42 66d545e034
do not access cluster name if it's not found 5 years ago
iwilltry42 3ff51a0446
move no-lb setting to createClusterOpts 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 1a91401d19 start with --wait flag 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