Commit Graph

111 Commits (920159aa11293ae789a815ae9a582a21fc23c108)

Author SHA1 Message Date
iwilltry42 eac293a263
Overall: helper container images should always use same tag as CLI or fallback to latest 4 years ago
iwilltry42 76d90478f5
Go Module: use v3 for go module compatibility 4 years ago
iwilltry42 3cd1a05b91
Maintenance: move all labels to constants and fix log formatting issues 4 years ago
iwilltry42 2d0ec0a1d0
createNode: fix log output generating nil pointer... 4 years ago
iwilltry42 bdb5a1f858
getKubeconfig: fix condition when no overwriting contexts 4 years ago
Antoine 0862f11324
👌 replace `k3d getk3stoken` command by `--token` flag onto command `k3d get cluster` 4 years ago
Antoine e3bf18660e
👌 PR review 4 years ago
Antoine 6d9d5a0cc4
Add get k3stoken feature 4 years ago
Antoine f6eaf25a2e
♻️ Some side effect refactoring 4 years ago
iwilltry42 42ee62e552
createNode: add --wait and --timeout flags 4 years ago
iwilltry42 eeaa25dce6
WaitForNodeLogMessage: move default expected messages to constants 4 years ago
iwilltry42 ee8b34d9f6
createNode: do not copy '--cluster-init' when creating a new master node, as this will break the node 4 years ago
iwilltry42 b28f93d207
UpdateLoadbalancerConfig: deduplicate and warn if node is down 4 years ago
iwilltry42 f0d3389a1f
removeNode: update loadbalancer if master 4 years ago
iwilltry42 cf2c839b27
createNode: use default role label and cmd... 4 years ago
iwilltry42 d3766a5a1e
createCluster: also wait for loadbalancer to be up and running before returning 4 years ago
iwilltry42 99f5a6884a
getNodeLogs: accept time.Time parameter 4 years ago
iwilltry42 b6e3babb4a
fix: move waiting out of loop (which caused early context cancelation issues) 4 years ago
iwilltry42 332c3a8c9b
startCluster: add --wait and --timeout 4 years ago
iwilltry42 434cf8e91d
overall: pass context from top to bottom 4 years ago
iwilltry42 21fd427d8a
maintenance: cleanup debug logs 4 years ago
iwilltry42 639daef7fb
Reorder parameters 4 years ago
iwilltry42 0d2c22455d
Overall: use context.Context in top-level exported functions 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