This repository was archived by the owner on Jan 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Gem ::Specification . new do |spec |
22 spec . name = 'kubinator'
3- spec . version = '0.1.46 '
3+ spec . version = '0.1.47 '
44 spec . summary = "Deployment automation for Kubernetes"
55 spec . authors = [ "Patrick Crummett" ]
66 spec . homepage = 'https://github.com/phR0ze/kubinator'
Original file line number Diff line number Diff line change @@ -251,17 +251,6 @@ class Kubinator
251251 puts ( "#{ ip } : Configure kernel params...skipped" . colorize ( :cyan ) )
252252 end
253253
254- # # Configure docker for K8s to manage iptables
255- # # this setting tells docker to not touch iptables
256- # docker = '/etc/default/docker'
257- # if not ssh.exec!("cat #{docker}").include?("iptables")
258- # ssh.exec!("echo 'DOCKER_OPTS=--iptables=false' | sudo tee #{docker}")
259- # ssh.exec!("sudo systemctl restart docker")
260- # puts("#{ip}: Configured docker defaults...done".colorize(:cyan))
261- # else
262- # puts("#{ip}: Configure docker defaults...skipped".colorize(:cyan))
263- # end
264-
265254 # Optionally - configure private registry
266255# if registry
267256# docker_opts = [ "--registry-mirror=http://#{registry}", "--insecure-registry #{registry}" ]
@@ -557,8 +546,8 @@ if __FILE__ == $0
557546 app = 'kubinator'
558547 kubinator = Kubinator . new
559548 version = FileUtils . version ( '.gemspec' , /\s *spec\. version\s *=.*(\d +\. \d +\. \d +).*/ )
560- examples = "Deploy: ./#{ app } deploy\n " . colorize ( :green )
561- examples += "Deploy custom : ./#{ app } deploy --ips=10,11,12 --cpu=2 --ram=4096 \n " . colorize ( :green )
549+ examples = "1. Deploy nodes : ./#{ app } deploy\n " . colorize ( :green )
550+ examples += "2. Create cluster : ./#{ app } cluster all \n " . colorize ( :green )
562551 cmdr = Commander . new ( app :app , version :version , examples :examples )
563552
564553 # Deploy vms
You can’t perform that action at this time.
0 commit comments