2020-12-01ãã1ã¶æéã®è¨äºä¸è¦§
kustomize.io èæ¯/æ¦è¦ Configmapã¯é常æ¸ãæããã ãã ã¨ãã®å 容ã¯æ¢åã®podã«ã¯åæ ãããªãããã®ä»çµã¿èªä½ã¯å½¹ç«ã¤ã±ã¼ã¹ããããããã«ã¦ã§ã¢ã®ä¿®æ£æã«å³åº§ã«åæ ããããã±ã¼ã¹ã§äººã®æãä»ãã¦kubectl ã® rollout restartãæã¤å¿ è¦ãåºã¦ãã¦ãâ¦
snapcraft.io CPUãç®ãã£ã±ã使ãããå ´åã«æå®ãããªãã·ã§ã³ã§ãã å®è¡ããã¨ãCPU使ç¨çã100%ç¨åº¦ã«éãã¾ãã ãªããstress-ngã使ãã¨ãCPU使ç¨çãæå®ã§ããããã«ãªãã¾ã 使ãæ¹ã¯ããstress-ngã³ãã³ãã®ä½¿ãæ¹ããåç §ãã¦ãã ããã
ã¢ããªã±ã¼ã·ã§ã³ã®ä¿®æ£ã§DockerPushããããPRãä½æãããã±ã¼ã¹ã§æ¬²ããã£ãã®ã§æ¸ãã¦ã¿ãã - name: Create pull request uses: actions/github-script@v2 env: BRANCH: ${{ steps.get_branch.outputs.BRANCH }} VERSION: ${{ steps.bump_version.outpuâ¦
- name: Container Push if: startsWith( github.ref, 'refs/tags/' ) env: REF: ${{ github.ref }} DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} run: | docker login -u ${DOCKERHUB_USER} -p $â¦
github.com ãªã³ãã¬ã§k8sãéãã§ãã¦ã¶ã¤ããåé¡ã¨ãã¦LBãå®ç¾©ã§ãªãã¦nodePortã使ã£ã¦éã¶ãããªãåé¡ãããã¯ããã§åé¡ãªããã©nodeã®æ°ãå¢ããéã«è¦ããªããã°ãããªãäºé ãå¢ãã¦å°ãã®ã§å°å ¥ãã¦ã¿ãã Metallbã§åºæ¥ãã㨠MetalLBãKuberneâ¦
æ´å²ãããªãã¸ããªã¨ãã§æ°åãã¡ã¤ã«ãæ¢ã«ãã£ããããã±ã¼ã¹ã®ãªãã¸ããªã«å¯¾ãã¦å ¨ä½çã«formatterãããããã¯ããããªããã©ç´è¿ã§ä¿®æ£ãã¦ããã¡ã¤ã«ã¯formatterãããããã¿ãããªã±ã¼ã¹ã§ä½¿ããå°æã GitHub scriptãèªåãã¡ã§æ¸ãã¦ãè¯ãããâ¦
ã«ããªã¢ã£ã½ãã㨠apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: reviews-route spec: hosts: - reviews.prod.svc.cluster.local http: - route: - destination: host: reviews.prod.svc.cluster.local subset: v2 weighâ¦
æ¦è¦ istio/envoyã使ã£ã¦B/Gãããã¤ã¨ãã«ããªã¢ãªãªã¼ã¹ã¨ãã試ãã¦ã¿ãéã®ã¡ã¢ã§ãã github.com github.com Istio/Envoyã¨ã¯ ãã£ããããã¨ã¯ã©ã¦ããã¤ãã£ããªWebãµã¼ãã¹ã®ããã«è¨è¨ããããã¼ããã©ã³ãµã¼ã®ãã¼ã«ç¾¤ããµã¼ãã¹ã¡ãã·ã¥ã®éä¿¡ãªâ¦
$ brew update Error: homebrew-core is a shallow clone. To `brew update` first run: git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch --unshallow This restriction has been made on GitHub's request because updating shallâ¦
apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: httpbin-destination-rule spec: host: c-native-flask-svc subsets: - name: v1 labels: version: v1 trafficPolicy: connectionPool: tcp: maxConnections: 2 http: http2â¦
æ¦è¦ kubernetes.io Horizontal Pod Autoscalerã使ã£ã¦éãã æã®ãã°è¨äºã§ãã ã¡ããªã¯ã¹ãµã¼ããããã㤠ãªã¼ãã¹ã±ã¼ã«ã®å¥æ©ã決ããã®ã«podãnodeã®ã¡ããªã¯ã¹ãåå¾ããå¿ è¦ãããã®ã§ãã¡ãããããã¤ãã¾ãã GitHub - kubernetes-sigs/metrics-â¦
ä½æããpodãå¤é¨ã®ååãå¼ããã¨ããéã«åºåãããã¡ãã»ã¼ã¸ / # nslookup google.com nslookup: can't resolve '(null)': Name does not resolve nslookup: can't resolve 'kubernetes.default': Try again / # ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): â¦
åè·ã§ã¯ææ²ããã®ã§ãã®è¾ºã®ç¥èãå¦ã³ç´ãã¦åå ¥éãã¦ããæ¹ãã¦åæç¥èã®å¤ãã«ææ²ããããhttps://t.co/5XWYnPLnPBâ Ryuichi@vimãªã«ãããããªã (@ryuichi_1208) 2020å¹´12æ12æ¥ ä¹ ã ã«k8sã触ã£ã¦éãã§ãã¦ãKubernetesãå§ããåã«å¿ è¦ãããªç¥â¦
ã¹ãã¼ã¸ã³ã°ç°å¢è¦ãããªãããªã«é«é »åº¦ã«æ´æ°ããããªããã¤ã³ã³ããªã¯ããããã¾ãç¡ããã§ã¼ãºã§ã®ãã¹ãã§ã¯ãªãéçºä¸ã«å°ããåä½ã§manifestãapplyãã¦ã¿ããã±ã¼ã¹ãããã¨ãã¾ãã ãã®å ´åéçºè ãããããkindããã¼ã«ã«ã«æã¤ã¨ãã£ã解決çãâ¦
qiita.com ãã®è¨äºæ¸ããã®ã2å¹´åã§ä¹ ã ã«k8sã®åå¼·ãå§ãããããã·ã¥ãã¼ãã®ãã¼ã¸ã§ã³ããã£ã¡ãä¸ãã£ã¦ããã¨ã«æ°ã¥ããã®ã§ãã£ãããªã®ã§å°å ¥ãã¦ã¿ãã®ã§ã¾ã¨ãã¾ãã ã´ã¼ã« ã¯ã©ã¹ã¿å¤ã®ã¯ã©ã¤ã¢ã³ãããkubernetesã®ããã·ã¥ãã¼ããé²è¦§ãã â¦
kubetnetsã¯ã©ã¹ã¿ãå£ãã¦ç¹°ãè¿ãã¦ããã¦ãã¨zshã®ã»ããã¢ãããªããããã®ããããã©ããããã¨ããã£ãããã¾ãã ãªã®ã§bashã§ä½¿ããk8sã®ä¾¿å©ãã¼ã«ãæä½éå ¥ããéã®æé ã§ãã(githubã§curl & shã¨ãã§å©ããããã«ãã¦ããã¨ä¾¿å©) cat <<"EOT" >â¦
å æ¥åããAWS DVAã®è©¦é¨ã«åæ ¼ãã¤ãã«CLFåããã¢ã½ã·ã¨ã¤ã4å ãéæããã®ã§ã¡ã¢çãªãã®ãæ®ãã¦ã¿ãã ã¹ãã«ã»ããã¨è·åçµæ´çãªã® 2017å¹´4æ ~ æ°åã«ã¼ããåã£ã¦Linuxã«ã¼ãã«ã¨ã³ã¸ãã¢ã®æ«ç«¯ã®æ«ç«¯ã®æ«ç«¯ãããã«ã¸ã§ã¤ã³ 2019å¹´4æ ~ 第äºæ°åâ¦
metacpan.org perlã§ã®éç解æãã¼ã«ã£ã¦ä½ããããã ããã¨ãæã£ã¦èª¿ã¹ã¦ããåºã¦ããã®ã§ä½¿ã£ã¦ã¿ããperlä½ãåããããæãããã¦ããããã¼ã«ã¨æãã¾ããã å°å ¥ cpanmã§å ¥ãã¾ãã $ cpanm Perl::Critic; ã¡ãªã¿ã«ãã¡ããã¡ãå¤æ©è½ã§ããpythonã§â¦
kubectl run -it --rm --restart=Never poisute --image=alpine -- sh -c "while true; do date; sleep 3; done
è² è·ãã¹ããããç®ç ä¸è¬çã«ã¯ãã·ã¹ãã ããç¹å®ã®ã¯ã¼ã¯ãã¼ãã®å ã§ãå¿çæ§ï¼responsivenessï¼ãå®å®æ§ï¼stabilityï¼ã®é¢ã§ãã©ã®ç¨åº¦åä½ãããã測å®ããã®ãç®çãããã«æè¿ã ã¨ã¤ã³ãã©ãã¹ã±ã¼ã«ããã®ãåæã ã£ããããã®ã§ã¹ã±ã¼ã©ããªãã£â¦
GitHub Actionsã§ä½¿ããé¢æ°ä¸è¦§ contains() contains( search, item )searchãitem ãå«ãå ´åãtrue ãè¿ãã ç¹å®ã©ãã«ã§åä½ããã¸ã§ãã®å®ç¾©ãªããã§ä½¿ãå ´åã¯ä»¥ä¸ã®ããã«ãªãã if contains(github.event.issue.labels.*.name, 'bug') startWith() â¦
perlã¢ããªã±ã¼ã·ã§ã³ã®è² è·ãã¹ãããã£ã¦ãã¦é¢æ°ãã¨ã®ã¡ã¢ãªä½¿ç¨éã¨ãã¿ãããã©ã©ããã£ã¦åºããã ãCãªãåããã®ã«ã£ã¦å ´é¢ããã£ããCãªãåããã£ã¦æã£ãã¯ãããã®ã®ããããã°ã©ããã£ã¦åºããã ãã£ã¦æã£ã¦ãµã³ãã«è¦ãªããå®è£ ãã¦ã¿ãã ã©â¦
fzfããemmetãããããªãã«ä½¿ã£ã¦ããã©ã°ã¤ã³ãã»ããã«ãã¦ã©ããªç°å¢ã§ã使ããããªã®dockerã³ã³ããã èªåã®dotfilesãå梱ããããæ©ã¿ä¸ã試è¡é¯èª¤ãã¤ã¤ãã£ã¦ãããã¨æããdocker hubã«ã¯privateã§ä¸ãã¦ãã¦ããã«ã¯ä¸å¿dotfilseãå ¥ãã¦ãã¾ã£â¦
socket: Too many open files (24) Macã§å¤§éã«ãªã¯ã¨ã¹ããéãããã°ã©ã ãå®è¡ããã¨ããã»ã¹ãéãããã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ã®ä¸éã«éãã¦ãã¾ãã¨çºçããã¨ã©ã¼ãåºãããã¾ããããããmacã§ãããªãã£ã¦è©±ã§ããããã対å¦ããã«ã¯ä»¥ä¸ã®æ¹æ³ã§å¯¾å¦â¦
ããã¿ã¤ãã³ã°ãããdial tcp 10.96.0.1:443: i/o timeoutãããã£ã¨åºåããç¶ããããã«ãªã£ããæå³ã¨ãã¦ã¯ç¹å®ã®podããapiãµã¼ãã¸ã®éä¿¡ãã¿ã¤ã ã¢ã¦ããããçãªæå³ã ç°å¢ (â |kubernetes-admin@kubernetes:default) [root@k8s-master manifest]#â¦
ãã°ãã¡ã¤ã«ã®éè¨ãpythonã§ãã£ã¦ãã¨ãã¡ããã¡ãã¡ã¢ãªé£ãã®ã§é 延èªã¿è¾¼ã¿ã使ã£ããããã®ã ãæ¯åæ¸ãã®ãã¢ããããã®ã§ã©ã¤ãã©ãªã¨ãã¦æ¸ãã¦ã¿ãã yield使ã£ã¦ã¸ã§ãã¬ã¼ã¿ã¨ãã¦å®è£ ãã¦ããã°åé¡ãªããããªã®ã§ãããªæãããã°éè¨ã®ãã³â¦
è¯ãã¿ããã¤ãèªåã§vimãã«ãããã¨è¯ããªãã¨ãããMacã®pythonã¸ã®ãã¹ã®ä»çµã¿ããã¾ãç解ãã¦ããªãã®ã§çµæ§èµ·ãããã ./configure \ --with-python3-command=/usr/local/bin/python3.8 \ vimã®configurããã¨ãã®æ å ±ã表示ãã¦pythonã®ãã¹ããªã³â¦