Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host ip should be able to accept fqdn names that are resolvable. #50

Closed
sangeethah opened this issue Nov 27, 2017 · 1 comment
Closed
Assignees
Labels

Comments

@sangeethah
Copy link

rke version v0.0.5-dev

When host ip is provided as fqdn name that is resolvable ,certificate generation has problems.

Sangeethas-MBP:~ sangeethahariharan1$ ./rke_darwin-amd64 cluster up
INFO[0000] Building Kubernetes cluster                  
INFO[0000] [ssh] Checking private key                   
INFO[0000] [ssh] Start tunnel for host [ip-172-31-38-78.us-east-2.compute.internal] 
INFO[0000] [ssh] Start tunnel for host [ip-172-31-39-84.us-east-2.compute.internal] 
INFO[0000] [ssh] Start tunnel for host [ip-172-31-37-222.us-east-2.compute.internal] 
INFO[0000] [ssh] Start tunnel for host [ip-172-31-38-78.us-east-2.compute.internal] 
INFO[0000] [ssh] Start tunnel for host [ip-172-31-39-84.us-east-2.compute.internal] 
INFO[0000] [state] Found local kube config file, trying to get state from cluster 
INFO[0000] [state] Fetching cluster state from Kubernetes 
INFO[0030] Timed out waiting for kubernetes cluster to get state 
INFO[0030] [certificates] Generating kubernetes certificates 
INFO[0030] [certificates] Generating CA kubernetes certificates 
INFO[0031] [certificates] Generating Kubernetes API server certificates 
FATA[0033] Failed to generate Kubernetes certificates: Failed to generate kube-apiserver certificate: x509: certificate contained IP address of length 0 
@sangeethah
Copy link
Author

rke version v0.0.6-dev

When host ip is provided as fqdn name that is resolvable ,certificate generation has problems.
Able to create K8s cluster successfully when specifying "address" parameter for the node to as fqdn.

nodes:
  - address: ec2-<ip>.us-east-2.compute.amazonaws.com
    user: ubuntu
    role: [controlplane]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants