在容器外访问k8s apiserver

使用 kubectl proxy --port=8080 & 或者使用token $ APISERVER=$(kubectl config view --minify | grep server | cut -f 2- -d ":" | tr -d " ") $ TOKEN=$(kubectl describe secret $(kubectl get secrets |……

hdfs acl 授权

hdfs dfs -setfacl -m default:user:user1111:rwx /tmp/xxx hdfs dfs -setfacl -m user:user1111:rwx /tmp/xxx

cuDNN下载链接

cuDNN需要注册才能下载,实际上可以从nvidia的gitlab上找到下载地址   https://gitlab.com/nvidia/cuda/tree/centos7/9.0……

linux系统镜像

debian sed -i "s#deb.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list sed -i "s#security.debian.org#mirrors.aliyun.com#g" /etc/apt/sources.list ubuntu sed -i "s#archive.ubuntu.com#mirrors.aliyun.com#g" /etc/apt/sources.list sed -i "s#security.ubuntu.com#mirrors.aliyun.com#g" /etc/apt/sources.list alpline sed -i "s#dl-cdn.alpinelinux.org#mirrors.aliyun.com#g" /etc/apk/repositories

k8s安装zookeeper

使用命令安装,里面使用了gcr的镜像换一下 kubectl create -f \ https://raw.githubusercontent.com/kubernetes/contrib/master/statefulsets/zookeeper/zookeeper.yaml 但装完之后,使用zkCli.sh……

docker pull 访问registry过程

执行 docker pull daocloud.io/busybox 之后 步骤 请求 返回 1 GET https://daocloud.io/v2/ HTTP/1.1 HTTP/1.1 401 Unauthorized Server: nginx/1.11.13 Date: Sun, 28 Jan 2018 02:35:17 GMT Content-Type: application/json; charset=utf-8 Content-Length: 87 Connection: close Docker-Distribution-Api-Version: registry/2.0 Www-Authenticate: Bearer realm=”https://daohub-auth.daocloud.io/auth”,service=”daocloud.io” X-Content-Type-Options:……

在win10启动minikube

Setting up Kubernetes on Windows10 Laptop with Minikube 如果建虚拟交换机提示权限失败,使用管理员权限开启hyper-v。如果……