k8s kubernetes Lesson 1 windows

1、install Virtualbox 2、donwload & rename minikube.exe & move minikube.exe put file on path C:\minikube add path to system PATH https://storage.googleapis.com/minikube/releases/latest/minikube-windows-amd64.exe 3、download kubectl.exe put file on path C:\minikube https://storage.googleapis.com/kubernetes-release/release/v1.13.0/bin/windows/amd64/kubectl.exe 4、minikube start 5、check virtualbox have new minikube PS:Don’t start minikube with Virtualbox UI. Use cmd >minikube start 6、Run > minikube dashboard 7、Get IP > minikube ip

2019-01-30 · 1 min · 54 words · Me

docker registry

1. create htpasswd docker run --rm --entrypoint htpasswd registry:2 -Bbn username password > htpasswd docker run --rm --entrypoint htpasswd registry:2 -Bbn test test > htpasswd htpasswd file inside have two records: username & test 2. create registry_config.yml version: 0.1 log: fields: service: registry storage: delete: enabled: true cache: blobdescriptor: inmemory filesystem: rootdirectory: /var/lib/registry http: addr: :5000 headers: X-Content-Type-Options: [nosniff] Access-Control-Allow-Origin: ['*'] Access-Control-Allow-Methods: ['HEAD', 'GET', 'OPTIONS', 'DELETE'] Access-Control-Allow-Headers: ['Authorization'] Access-Control-Max-Age: [1728000] Access-Control-Allow-Credentials: [true] Access-Control-Expose-Headers: ['Docker-Content-Digest'] auth: htpasswd: realm: basic-realm path: /etc/docker/registry/htpasswd Access-Control-Allow-Origin can change you want. ...

2019-01-29 · 1 min · 162 words · Me

[轉]你(多半)不需要 Kubernetes k8s

https://linux.cn/article-10469-1.html https://arp242.net/weblog/dont-need-k8s.html

2019-01-25 · 1 min · 2 words · Me

[轉]用 docker 改善開發流程筆記

https://kkc.github.io/2018/04/28/docker-note/ multistage build Optimization && Debugging skill Development environment revolution

2019-01-25 · 1 min · 10 words · Me

[轉]go modules docker

https://pliutau.com/go-modules-docker/

2019-01-25 · 1 min · word · Me