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

"Running the atomic.app" steps not working #341

Closed
coolbrg opened this issue Jul 21, 2016 · 2 comments
Closed

"Running the atomic.app" steps not working #341

coolbrg opened this issue Jul 21, 2016 · 2 comments

Comments

@coolbrg
Copy link
Contributor

coolbrg commented Jul 21, 2016

Hi,

I was going through building the site and found the "Running the atomic.app" steps are not working for me.

I did all necessary steps mentioned in First time setup.
I am getting some kind of info not error.

# answers.conf
➜  atomic-site git:(master) ✗ cat Nulecule/answers.conf
[atomic-site]
datadir = /home/budhram/redhat/atomic-site/data
hostport = 4567
sourcedir = /home/budhram/redhat/atomic-site/source 
image = jberkus/atomic-site
provider = kubernetes
[general]
namespace = default
provider = kubernetes

➜  atomic-site git:(master) ✗ sudo atomicapp run Nulecule 
[INFO] - main.py - Action/Mode Selected is: run
[INFO] - kubernetes.py - Using namespace default
[INFO] - kubernetes.py - trying kubectl at /usr/bin/kubectl
[INFO] - kubernetes.py - found kubectl at /usr/bin/kubectl
[INFO] - kubernetes.py - Deploying to Kubernetes

Your application resides in Nulecule
Please use this directory for managing your application

Anything wrong in my setup?

@jberkus
Copy link
Contributor

jberkus commented Jul 21, 2016

First question: do you have kubernetes installed and running on your system?

If not, you need to change the provider to "docker".

If you do have Kubernetes running, the above looks like a success message ... are you sure it's not running?

@coolbrg
Copy link
Contributor Author

coolbrg commented Jul 22, 2016

@jberkus : I do not have Kubernetes server runnig in my machine but found client in /usr/bin/kubectl.

Replacing with docker works fine with this issue #343.

I am curious, how message kubernetes.py - Deploying to Kubernetes could be executed if server is not found.

....
[INFO] - kubernetes.py - found kubectl at /usr/bin/kubectl               
.... IMO we should server is present or not then following steps        
[INFO] - kubernetes.py - Deploying to Kubernetes           

Closing the issue as of now since kubernetes was not running in my machine.

@coolbrg coolbrg closed this as completed Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants