如果我想build 所有的 branch ,但不包括 develop 

可以輸入以下指令

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

在 /etc/ssh/sshd_config 裡面加入兩段設定,再重啟 ssh server 即可。

 

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

1. 在 Datadog 的 integration 中選取 webhooks.

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

最近因為發現在 aws 上跨 az 的流量費很高,想說有沒有辦法降低跨 az 的流量。

經過調查後,發現流量大的是 elasticsearch 彼此之間的資料同步造成的。

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

建立 ELB 時,需要選擇所在的 VPC 和 subnet,最後才是選 listener port 和 hosts。

subnet 代表 ELB 的機器要放在那裡,如果選到的 subnet 不是透過 igw 上網,就無法讓外面的使用者存取該ELB的服務。

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

Mar 10 16:22:57 ip-10-161-4-101 kubelet: E0310 16:22:57.251958    2373 kubelet_volumes.go:128] Orphaned pod "eafea4ce-0fb8-11e8-a241-0299a02e32e6" found, but volume paths are still present on disk : There were a total of 1 errors similar to this. Turn up verbosity to see them.

 

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

 

1. 下載 centos7 的 image

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

在 ~/.ssh/config 中加入以下設定,就可以用 ~/.ssh/gitea 去連 gitea.aaa.bbb

 

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

1. 

安裝 postfix 

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()

請參考以下文章

https://docs.docker.com/engine/reference/commandline/dockerd/

文章標籤

johnchen6927 發表在 痞客邦 留言(0) 人氣()