Commit Graph

91 Commits (27a133a8c3ed0cebc9b8b6ec2221e61b4ca8c61f)

Author SHA1 Message Date
iwilltry42 a385241c77
clusterDelete: no error if no cluster was found (fixes #379) 4 years ago
iwilltry42 b69b874098
clusterCreate/injectHostIP: use 'busybox xargs' directly instead of relying on 'xargs' link, which is missing in some images 4 years ago
iwilltry42 d097caf7d3
clusterCreate: move inject hostIP to separate func 4 years ago
iwilltry42 f0ad42ce8d
clusterCreate: simple change to serialize joining server nodes 4 years ago
iwilltry42 584bf71592
createCluster: wait for 'k3s is up and running' instead of 'Running kubelet' to ensure that the API-Server is up 4 years ago
iwilltry42 bfbd2873d9
clusterCreate: add extra logs for host record injection 4 years ago
iwilltry42 11cc797922
overall/logging: new trace log level 4 years ago
iwilltry42 da0b23331f
clusterCreate: less breaking hostIP injection 4 years ago
iwilltry42 d063482a32
clusterCreate: add --no-hostip flag to disable the automatic injection of the host.k3d.internal entry into /etc/hosts and CoreDNS 4 years ago
iwilltry42 60069f6f19
fix typo 4 years ago
iwilltry42 dc0ba9873b
patch CoreDNS configmap with host.k3d.internal 4 years ago
iwilltry42 972c004930
add entry for host.k3d.internal to /etc/hosts in the node containers 4 years ago
iwilltry42 b5a9d6397f
fix unittests 4 years ago
iwilltry42 5fbd42898e
clusterStart: also don't wait for serverlb if it's running already 4 years ago
iwilltry42 d5709b9a09
clusterStart: do not try to start node if it's already running to avoid waiting forever on a log message 4 years ago
iwilltry42 d3c5cfb766
fix: allow allow port-ranges on the loadbalancer 4 years ago
iwilltry42 ec3f10ec57
use server/agent instead of master/worker 4 years ago
iwilltry42 b02c783130
adjust toplevel pkg functions to new syntax 4 years ago
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