ちょっと目を離した隙にminishiftがv1.31.0になっているようでした(笑)
https://github.com/minishift/minishift/releases/
とりあえずアップデートして動確を取ります。
アップデート:minishift udate
minishiftをアップデートするのは簡単なのですが/usr/local/bin/
に書き込み権限が必要となります。
わたしは個人ユーザtak
にminishift環境をインストールしているので以下のような感じです。
$ su -
パスワード:
# chmod 777 /usr/local/bin
# ls -alF /usr/local/bin
合計 38096
drwxrwxrwx. 2 root root 56 1月 3 01:29 ./
drwxr-xr-x. 12 root root 131 12月 22 17:46 ../
-rwxr-xr-x. 1 tak tak 11939128 12月 22 17:57 docker-machine-driver-kvm*
-rwxr-xr-x. 1 tak tak 27067392 1月 14 19:03 minishift*
# exit
ログアウト
$
$ minishift update
Do you want to update from 1.29.0 to 1.31.0 now? [y/N]: y
Downloading https://github.com/minishift/minishift/releases/download/v1.31.0/minishift-1.31.0-linux-amd64.tgz
8.88 MiB / 8.88 MiB [=====================================================] 100.00% 0s
65 B / 65 B [=============================================================] 100.00% 0s
Updated successfully to Minishift version 1.31.0.
Current Installed add-ons are locally present at: /home/tak/.minishift/addons
The add-ons for 1.31.0 available at: https://github.com/minishift/minishift/tree/v1.31.0/addons
Do you want to update the default add-ons? [y/N]: y
Default add-ons will be updated the next time you run any 'minishift' command.
$
$ su -
パスワード:
# chmod 755 /usr/local/bin
# ls -alF /usr/local/bin
合計 38940
drwxr-xr-x. 2 root root 56 2月 17 01:14 ./
drwxr-xr-x. 12 root root 131 12月 22 17:46 ../
-rwxr-xr-x. 1 tak tak 11939128 12月 22 17:57 docker-machine-driver-kvm*
-rwxr-xr-x. 1 tak tak 27932640 2月 17 01:14 minishift*
# exit
ログアウト
起動確認:minishift start
minishift start
するとadd-onsもアップデートされます。
$ minishift start --disk-size 30GB
Minishift was upgraded from v1.29.0 to v1.31.0. Running post update actions.
--- Updating default add-ons ... OK
Default add-ons 'anyuid, admin-user, xpaas, registry-route, che, htpasswd-identity-provider, admissions-webhook, redhat-registry-login' installed
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
-- Checking if KVM driver is installed ...
Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
Checking driver binary is executable ... OK
-- Checking if Libvirt is installed ... OK
-- Checking if Libvirt default network is present ... OK
-- Checking if Libvirt default network is active ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'kvm' hypervisor ...
Downloading ISO 'https://github.com/minishift/minishift-centos-iso/releases/download/v1.14.0/minishift-centos7.iso'
355.00 MiB / 355.00 MiB [=================================================] 100.00% 0s
-- Starting Minishift VM .............................................................. OK
-- Checking for IP address ... OK
-- Checking for nameservers ... OK
-- Checking if external host is reachable from the Minishift VM ...
Pinging 8.8.8.8 ... OK
-- Checking HTTP connectivity from the VM ...
Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 9% used OK
-- Writing current configuration for static assignment of IP address ... WARN
-- OpenShift cluster will be configured with ...
Version: v3.11.0
-- Copying oc binary from the OpenShift container image to VM ... OK
-- Starting OpenShift cluster ...............................................................
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11.0 is available ...
Checking type of volume mount ...
Determining server IP ...
Using public hostname IP 192.168.42.85 as the host IP
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.11.0 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11.0 ...
I0216 16:26:00.902432 2182 flags.go:30] Running "create-kubelet-flags"
I0216 16:26:01.975280 2182 run_kubelet.go:49] Running "start-kubelet"
I0216 16:26:02.684166 2182 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
I0216 16:28:14.898444 2182 interface.go:26] Installing "kube-proxy" ...
I0216 16:28:14.899344 2182 interface.go:26] Installing "kube-dns" ...
I0216 16:28:14.899369 2182 interface.go:26] Installing "openshift-service-cert-signer-operator" ...
I0216 16:28:14.899383 2182 interface.go:26] Installing "openshift-apiserver" ...
I0216 16:28:14.899463 2182 apply_template.go:81] Installing "openshift-apiserver"
I0216 16:28:14.901216 2182 apply_template.go:81] Installing "kube-proxy"
I0216 16:28:14.903912 2182 apply_template.go:81] Installing "openshift-service-cert-signer-operator"
I0216 16:28:14.904656 2182 apply_template.go:81] Installing "kube-dns"
I0216 16:29:06.438025 2182 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-service-cert-signer-operator" "openshift-apiserver"
I0216 16:29:53.539679 2182 run_self_hosted.go:242] openshift-apiserver available
I0216 16:29:53.540345 2182 interface.go:26] Installing "openshift-controller-manager" ...
I0216 16:29:53.540373 2182 apply_template.go:81] Installing "openshift-controller-manager"
I0216 16:30:01.420804 2182 interface.go:41] Finished installing "openshift-controller-manager"
Adding default OAuthClient redirect URIs ...
Adding persistent-volumes ...
Adding web-console ...
Adding sample-templates ...
Adding router ...
Adding centos-imagestreams ...
Adding registry ...
I0216 16:30:01.476617 2182 interface.go:26] Installing "persistent-volumes" ...
I0216 16:30:01.476635 2182 interface.go:26] Installing "openshift-web-console-operator" ...
I0216 16:30:01.476649 2182 interface.go:26] Installing "sample-templates" ...
I0216 16:30:01.476663 2182 interface.go:26] Installing "openshift-router" ...
I0216 16:30:01.476676 2182 interface.go:26] Installing "centos-imagestreams" ...
I0216 16:30:01.476698 2182 interface.go:26] Installing "openshift-image-registry" ...
I0216 16:30:01.478158 2182 apply_template.go:81] Installing "openshift-web-console-operator"
I0216 16:30:01.478918 2182 apply_list.go:67] Installing "centos-imagestreams"
I0216 16:30:01.479280 2182 interface.go:26] Installing "sample-templates/mongodb" ...
I0216 16:30:01.479307 2182 interface.go:26] Installing "sample-templates/mariadb" ...
I0216 16:30:01.479328 2182 interface.go:26] Installing "sample-templates/mysql" ...
I0216 16:30:01.479347 2182 interface.go:26] Installing "sample-templates/dancer quickstart" ...
I0216 16:30:01.479368 2182 interface.go:26] Installing "sample-templates/django quickstart" ...
I0216 16:30:01.479386 2182 interface.go:26] Installing "sample-templates/sample pipeline" ...
I0216 16:30:01.479404 2182 interface.go:26] Installing "sample-templates/postgresql" ...
I0216 16:30:01.479422 2182 interface.go:26] Installing "sample-templates/cakephp quickstart" ...
I0216 16:30:01.479472 2182 interface.go:26] Installing "sample-templates/nodejs quickstart" ...
I0216 16:30:01.479508 2182 apply_list.go:67] Installing "sample-templates/mariadb"
I0216 16:30:01.479644 2182 apply_list.go:67] Installing "sample-templates/nodejs quickstart"
I0216 16:30:01.479750 2182 apply_list.go:67] Installing "sample-templates/mongodb"
I0216 16:30:01.479491 2182 interface.go:26] Installing "sample-templates/rails quickstart" ...
I0216 16:30:01.479899 2182 interface.go:26] Installing "sample-templates/jenkins pipeline ephemeral" ...
I0216 16:30:01.479954 2182 apply_list.go:67] Installing "sample-templates/mysql"
I0216 16:30:01.479998 2182 apply_list.go:67] Installing "sample-templates/jenkins pipeline ephemeral"
I0216 16:30:01.480342 2182 apply_list.go:67] Installing "sample-templates/dancer quickstart"
I0216 16:30:01.480370 2182 apply_list.go:67] Installing "sample-templates/rails quickstart"
I0216 16:30:01.480680 2182 apply_list.go:67] Installing "sample-templates/django quickstart"
I0216 16:30:01.480800 2182 apply_list.go:67] Installing "sample-templates/sample pipeline"
I0216 16:30:01.481191 2182 apply_list.go:67] Installing "sample-templates/cakephp quickstart"
I0216 16:30:01.481305 2182 apply_list.go:67] Installing "sample-templates/postgresql"
I0216 16:30:39.030826 2182 interface.go:41] Finished installing "sample-templates/mongodb" "sample-templates/mariadb" "sample-templates/mysql" "sample-templates/dancer quickstart" "sample-templates/django quickstart" "sample-templates/sample pipeline" "sample-templates/postgresql" "sample-templates/cakephp quickstart" "sample-templates/nodejs quickstart" "sample-templates/rails quickstart" "sample-templates/jenkins pipeline ephemeral"
I0216 16:30:39.835624 2182 interface.go:41] Finished installing "persistent-volumes" "openshift-web-console-operator" "sample-templates" "openshift-router" "centos-imagestreams" "openshift-image-registry"
Server Information ...
OpenShift server started.
The server is accessible via web console at:
https://192.168.42.85:8443/console
ではいざご対面(笑)
$ minishift console
Opening the OpenShift Web console in the default browser...
This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.
まぁ見た目は同じか(笑)