skype 8登入後自動記住登入帳密,下次登入時,不會詢問,一般會有不記憶選項,但沒有! 唯一只能登出時選擇 等到下次再登入就會詢問,但實際上再次登入後,登出、登入…又不用輸入…… 難怪軟微推什麼產品,失敗居多!

繼續閱讀

IF you apt-get update in k8s Deployment yaml that containers command run it. Maybe get Deployment Failed to fetch Temporary failure resolving So just put this line before script - /bin/bash - -c - | echo nameserver 8.8.8.8 >> /etc/resolv.conf apt-get update Usually you get this problem because try to transfer Dockerfile / docker-compose directory to ConfigMap and Deployment YAML. Dockerfile have apt-get update that get problem.

繼續閱讀

https://segment.com/blog/goodbye-microservices/ 核心服務 不見得要微服務化,因為共同開發上,減少一些問題 In early 2017 we reached a tipping point with a core piece of Segment’s product. It seemed as if we were falling from the microservices tree, hitting every branch on the way down. Instead of enabling us to move faster, the small team found themselves mired in exploding complexity. Essential benefits of this architecture became burdens. As our velocity plummeted, our defect rate exploded. Eventually, the team found themselves unable to make headway, with 3 full-time engineers spending most of their time just keeping the system alive.

繼續閱讀

normal k8s https://sueboy.blogspot.com/2019/11/kubernetes-nodeport.html namespace docker-registry { "kind": "Namespace", "apiVersion": "v1", "metadata": { "name": "docker-registry", "labels": { "name": "test-dev" } } } secret.yml ID/PWD:username/password tls:cn=docker-registry apiVersion: v1 kind: Secret metadata: name: registry-tls namespace: docker-registry type: Opaque data: tls.crt: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUVzRENDQXBnQ0NRRHpteitOQUZCMGRUQU5CZ2txaGtpRzl3MEJBUXNGQURBYU1SZ3dGZ1lEVlFRRERBOWsKYjJOclpYSXRjbVZuYVhOMGNua3dIaGNOTVRrd01qSTJNVEF3TlRBMldoY05NakF3TWpJMk1UQXdOVEEyV2pBYQpNUmd3RmdZRFZRUUREQTlrYjJOclpYSXRjbVZuYVhOMGNua3dnZ0lpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElDCkR3QXdnZ0lLQW9JQ0FRRFBKcHhZK0RVQ05aMVh4Tkc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U9lZ29kb3VrQzFpR0owc05ENjhD configmap.yml apiVersion: v1 kind: ConfigMap metadata: name: docker-registry namespace: docker-registry data: 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 host: https://docker-registry:30500 secret: asecretforlocaldevelopment 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'] tls: certificate: /cert/x509/public key: /cert/x509/private auth: htpasswd: realm: basic-realm path: /auth/htpasswd health: storagedriver: enabled: true interval: 10s threshold: 3 deployment.

繼續閱讀

Part 1 https://medium.com/@cloudsanchen/ci-cd-with-drone-kubernetes-and-helm-part-1-69c147046ffa Part 2 https://medium.com/@cloudsanchen/ci-cd-with-drone-kubernetes-and-helm-part-2-65b43d790b30 part 3 https://medium.com/@cloudsanchen/%E6%95%99%E5%AD%B8-%E7%94%A8drone-kubernetes%E8%B7%9Fhelm-%E4%BB%A5%E5%8F%8Arbac%E4%BE%86%E5%BB%BA%E7%BD%AE%E4%BD%A0%E7%9A%84ci-cd%E6%B5%81%E7%A8%8B-part-3-de7273591bb

繼續閱讀

作者的圖片

Sue boy

Sueboy Can support You

CIO

Taiwan