TritonDataCenter / triton-kubernetes

Kubernetes on Triton
Mozilla Public License 2.0
184 stars 44 forks source link

Kubernetes setup script exits prematurely #40

Closed dekobon closed 6 years ago

dekobon commented 6 years ago

Environment

DC: Joyent us-sw-1 Running Env: OS X

Commands

$ ./triton-kubernetes.sh -c
Using terraform ...

Name your Global Cluster Manager: (global-cluster)
Do you want to set up the Global Cluster Manager in HA mode? (yes | no) yes
Number of cluster manager nodes for global-cluster Global Cluster Manager: (2)
From below options:
Joyent-SDC-Public
Joyent-SDC-Private
Both
Which Triton networks should be used for this environment: (Joyent-SDC-Public) Both
From below packages:

Here is where the application exited.

dekobon commented 6 years ago

Upon subsequent retries the script works. I suggest that we add some form of error handling to catch the error state that causes an early exit.

fayazg commented 6 years ago

Rewritten in go with better error handling.