lib/sct/commands/cluster.rb in sct-0.1.6 vs lib/sct/commands/cluster.rb in sct-0.1.7
- old
+ new
@@ -23,13 +23,13 @@
end
case args[0]
when "up"
system("#{minikube} start")
- system("sudo sct hostfile")
system("#{minikube} ssh -- 'sudo su -c \"echo 10048576 > /proc/sys/fs/inotify/max_user_watches\"'")
system("kubectl config use-context minikube")
system("kubectl delete pod -n kube-system $(kubectl get pods -n kube-system | grep registry-creds | awk '{print $1}')")
+ system("sudo sct hostfile")
puts "\nāļø You can now visit your environment at š https://spend-cloud.spend.cloud.local š"
when "down"
system("#{minikube} stop")
else
puts "Unknown or missing argument. Please run 'sct cluster up' or 'sct cluster down'"