镜像拉取

在拉取镜像之前请登录dockerhub
步骤:

docker login
##按提示操作,输入用户名和密码

minikube-image.sh

docker pull likai521/storage-provisioner:v1.8.1
docker pull likai521/k8s-dns-sidecar-amd64:1.14.8
docker pull likai521/k8s-dns-kube-dns-amd64:1.14.8
docker pull likai521/kube-proxy-amd64:v1.10.0
docker pull likai521/kubernetes-dashboard-amd64:v1.10.0
docker pull likai521/kube-addon-manager:v8.6
docker pull likai521/k8s-dns-dnsmasq-nanny-amd64:1.14.8
docker pull likai521/kube-controller-manager-amd64:v1.10.0
docker pull likai521/kube-scheduler-amd64:v1.10.0
docker pull likai521/etcd-amd64:3.1.12
docker pull likai521/kube-apiserver-amd64:v1.10.0
docker pull likai521/pause-amd64:3.1

docker tag likai521/storage-provisioner:v1.8.1 gcr.io/k8s-minikube/storage-provisioner:v1.8.1
docker tag likai521/k8s-dns-sidecar-amd64:1.14.8  k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.8
docker tag likai521/k8s-dns-kube-dns-amd64:1.14.8  k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.8
docker tag likai521/kube-proxy-amd64:v1.10.0  k8s.gcr.io/kube-proxy-amd64:v1.10.0
docker tag likai521/kubernetes-dashboard-amd64:v1.10.0  k8s.gcr.io/kubernetes-dashboard-amd64:v1.10.0
docker tag likai521/kube-addon-manager:v8.6  k8s.gcr.io/kube-addon-manager:v8.6
docker tag likai521/k8s-dns-dnsmasq-nanny-amd64:1.14.8  k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.8
docker tag likai521/kube-controller-manager-amd64:v1.10.0  k8s.gcr.io/kube-controller-manager-amd64:v1.10.0
docker tag likai521/kube-scheduler-amd64:v1.10.0  k8s.gcr.io/kube-scheduler-amd64:v1.10.0
docker tag likai521/etcd-amd64:3.1.12  k8s.gcr.io/etcd-amd64:3.1.12
docker tag likai521/kube-apiserver-amd64:v1.10.0  k8s.gcr.io/kube-apiserver-amd64:v1.10.0
docker tag likai521/pause-amd64:3.1  k8s.gcr.io/pause-amd64:3.1

时间比较长请耐性等待,如果有一些镜像拉取失败,可以单独拉取镜像然后执行tag操作。

启动

minikube start --vm-driver=none

访问

##查看dashboard-UI的端口号
kubectl get services  --all-namespaces 

在这里插入图片描述

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐