This repository was archived by the owner on Dec 3, 2021. It is now read-only.
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -75,12 +75,12 @@ Vagrant.configure("2") do |config|
75
75
v . memory = antidote_config [ 'vm_config' ] [ 'memory' ]
76
76
v . cpus = antidote_config [ 'vm_config' ] [ 'cores' ]
77
77
v . nested = true
78
- override . vm . box = "generic/ubuntu1604 "
78
+ override . vm . box = "generic/ubuntu1804 "
79
79
end
80
80
81
81
82
82
# Base Ubuntu Box
83
- config . vm . box = "bento/ubuntu-16 .04"
83
+ config . vm . box = "bento/ubuntu-18 .04"
84
84
85
85
config . vm . hostname = "antidote-#{ antidote_config [ 'version' ] . to_s . tr ( '.' , '' ) } "
86
86
Original file line number Diff line number Diff line change @@ -117,12 +117,17 @@ sub_start(){
117
117
sudo cp manifests/multus-cni.conf /etc/cni/net.d/1-multus.conf
118
118
echo " Creating minikube cluster. This can take a few minutes, please be patient..."
119
119
$MINIKUBE config set WantReportErrorPrompt false
120
+ # Avoid CoreDNS loop caused by systemd's local DNS cache
121
+ if [ " $VMDRIVER " = " none" ]; then
122
+ EXTRA_PARAMS=" --extra-config=kubelet.resolv-conf=/run/systemd/resolve/resolv.conf"
123
+ fi
120
124
$MINIKUBE start \
121
125
--cpus $CPUS \
122
126
--memory $MEMORY \
123
127
--vm-driver $VMDRIVER \
124
128
--network-plugin=cni \
125
129
--extra-config=kubelet.network-plugin=cni \
130
+ $EXTRA_PARAMS \
126
131
--kubernetes-version=$K8SVERSION # Needs to reflect the targeted version the platform was built against.
127
132
128
133
echo -e " \nThe minikube cluster ${WHITE} is now online${NC} . Now, we need to add some additional infrastructure components.\n"
You can’t perform that action at this time.
0 commit comments