Skip to content

Commit 863829a

Browse files
committed
- Enabled minikube caching support
1 parent 4862cb9 commit 863829a

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Diff for: init_project.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,9 @@ cd "${vagrant_dir}"
229229
if [[ $(isMinikubeRunning) -eq 0 ]]; then
230230
status "Starting minikube"
231231
#echo "$(python -c 'import os,sys;print(os.path.realpath("."));')/ -alldirs -mapall="$(id -u)":"$(id -g)" $(minikube ip)" | sudo tee -a /etc/exports && sudo nfsd restart
232-
minikube start --cpus=2 --memory=4096
232+
minikube start --cache-images --cpus=2 --memory=4096
233233
minikube addons enable ingress
234234
minikube addons enable heapster
235-
# minikube start --cache-images --cpus=2 --memory=4096
236235
# hanged in some cases todo
237236
# minikube start --cpus=2 --memory=4096 2> >(logError) | {
238237
# while IFS= read -r line

Diff for: k-restart

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ if [[ $(isMinikubeRunning) -eq 1 || $(isMinikubeSaved) -eq 1 ]]; then
1111
minikube stop 2> >(logError)
1212
fi
1313

14-
minikube start --cpus=2 --memory=4096 2> >(logError)
15-
#minikube start --cache-images --cpus=2 --memory=4096 2> >(logError)
14+
minikube start --cache-images --cpus=2 --memory=4096 2> >(logError)
1615

1716
info "$(regular)See details in $(bold)${vagrant_dir}/log/${current_script_name}.log$(regular). For debug output set $(bold)debug:vagrant_project$(regular) to $(bold)1$(regular) in $(bold)etc/config.yaml$(regular)"

Diff for: k-start

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ resetNestingLevel
99

1010
if [[ ! $(isMinikubeRunning) -eq 1 ]]; then
1111
// TDOO: Eliminate duplication with k-restart
12-
# minikube start --cache-images --cpus=2 --memory=4096 2> >(logError)
13-
minikube start --cpus=2 --memory=4096 2> >(logError)
12+
minikube start --cache-images --cpus=2 --memory=4096 2> >(logError)
1413
fi
1514

1615

0 commit comments

Comments
 (0)