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

Trying to deploy application to kubernetes #4

Open
nishantrama opened this issue Feb 11, 2019 · 0 comments
Open

Trying to deploy application to kubernetes #4

nishantrama opened this issue Feb 11, 2019 · 0 comments

Comments

@nishantrama
Copy link

Hi I have a application im trying to automatically deploy onto the k8 instance you deploy using your script. I can get this deployed using vagrant I just cant get it to deploy the app. I have posted the change i made to your file but it executes the master and node and nothing else. Any ideas? how can I execute more command after master and node have been deployed?

        # we cannot use this because we can't install the docker version we want - https://github.com/hashicorp/vagrant/issues/4871
        #config.vm.provision "docker"
		config.vm.provision "shell", inline: $configureBox

        if opts[:type] == "master"
            config.vm.provision "shell", inline: $configureMaster
        elsif opts[:type] == "node"
            config.vm.provision "shell", inline: $configureNode
		else
			config.vm.provision "shell", inline: $deployMaster
		end
		
	end

end
end

Any help mych appreciated am new to vagrant just looking to automate as much as possible.

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

1 participant