Kubernetes安装手记

文章目录

Kubernetes中文手册

Windows安装

安装minikube:

https://github.com/kubernetes/minikube/releases

minikube安装以后,添加路径到系统PATH环境变量

kubectl

———-放到minikube文件中

minikube-v0.28.1.iso

———-放到 C:\Users\XX\.minikube\cache\iso 目录

kubeadm

kubelet

———-放到 C:\Users\XX\.minikube\cache\v1.x版本号x.0 目录

minikube start

kubectl get pods –all-namespaces 

minikube ssh

访问dashboard:

minikube dashboard

查看具体url :

minikube dashboard –url

DashBoard界面

最后。需要的镜像都自动安装好了

以上工具打包(TODO)

待上传

参考文章:

https://www.jianshu.com/p/02bdf2b9457f?utm_source=oschina-app

https://www.cnblogs.com/zangxueyuan/p/9203560.html

——————————以下内容没有用到,暂且记录—————————————-

#!/bin/bash

# sidecar

docker pull registry.cn-hangzhou.aliyuncs.com/dck8s/k8s-dns-sidecar:latest

docker tag registry.cn-hangzhou.aliyuncs.com/dck8s/k8s-dns-sidecar:latest k8s.gcr.io/k8s-dns-sidecar-amd64:1.14.5

# k8s-dns-kube-dns

docker pull registry.cn-hangzhou.aliyuncs.com/dck8s/k8s-dns-kube-dns:latest 

docker tag registry.cn-hangzhou.aliyuncs.com/dck8s/k8s-dns-kube-dns:latest k8s.gcr.io/k8s-dns-kube-dns-amd64:1.14.5

# k8s-dns-dnsmasq-nanny

docker pull registry.cn-hangzhou.aliyuncs.com/dck8s/k8s-dns-dnsmasq-nanny:latest

docker tag registry.cn-hangzhou.aliyuncs.com/dck8s/k8s-dns-dnsmasq-nanny:latest k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64:1.14.5

# kube-addon-manager

docker pull registry.cn-hangzhou.aliyuncs.com/dck8s/kube-addon-manager:latest

docker tag registry.cn-hangzhou.aliyuncs.com/dck8s/kube-addon-manager:latest gcr.io/google-containers/kube-addon-manager:v6.5

# kubernetes-dashboard

docker pull registry.cn-hangzhou.aliyuncs.com/dck8s/kubernetes-dashboard:latest

docker tag registry.cn-hangzhou.aliyuncs.com/dck8s/kubernetes-dashboard:latest k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.1

docker pull registry.cn-hangzhou.aliyuncs.com/dck8s/pause:latest

docker tag registry.cn-hangzhou.aliyuncs.com/dck8s/pause:latest gcr.io/google_containers/pause-amd64:3.0

docker pull registry.cn-hangzhou.aliyuncs.com/dck8s/storage-provisioner:latest

docker tag registry.cn-hangzhou.aliyuncs.com/dck8s/storage-provisioner:latest gcr.io/k8s-minikube/storage-provisioner:v1.8.1


作者:nanhuai

链接:http://www.codebeta.cn/?p=1497

來源:CodeBeta

著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

原文链接:,发表于 源代码(CodeBeta),转发请注明来源!

发表评论