Commit Graph

73 Commits (26053d5ab646ed1a14c7e4da839127b9ac242d04)

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
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 b28f93d207
UpdateLoadbalancerConfig: deduplicate and warn if node is down 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 9c9f49646e
MasterLoadBalancer: add nodefilter & extra treatment 4 years ago
iwilltry42 4bfac51c7c
createCluster/createNode: use K3S_URL instead of --server 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 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 3b77ecd6dd
getLogs: return error if container is not in running state to avoid long unnecessary wait 4 years ago
iwilltry42 5121ef80a5
create/start/stop cluster: fix how Master-LoadBalancer is treated 4 years ago
iwilltry42 469d8ab62d
use default value for apiPort 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 11b937a910 implement load images command 5 years ago
iwilltry42 e6d7726ffb add image volume 5 years ago
iwilltry42 ff98343420 extend 5 years ago
iwilltry42 bd39336b29 init ha setup with cluster-init 5 years ago
iwilltry42 098fe0803c implement start/stop for nodes and clusters 5 years ago
iwilltry42 31270fe08c add some comments 5 years ago
iwilltry42 b596eeb70b add more warnings for cluster deletion 5 years ago
iwilltry42 100ba3db2b add cluster network deletion 5 years ago
iwilltry42 5851da3ef3 start coupling network to clusters 5 years ago