[轉]"migrating" to Kubernetes from docker-compose in homelab

https://www.reddit.com/r/docker/comments/9j2vc7/migrating_to_kubernetes_from_dockercompose_in/ If / when you’re able to spawn arbitrary VMs, you can look at kubeadm, CoreOS, RKE (my current choice), and so on for cluster creation. Before you can use kompose, or use kubectl apply -f myawesome.yaml, you first and foremost need to set up a Kubernetes cluster. This might be the most challenging thing to do because Kubernetes is heavy-weight compared to docker-compose. I recommend using RKE to set it up. Also, run away if anyone mentions Kubespray. ...

2019-02-20 · 1 min · 82 words · Me

YAML multi-line string

https://rancher.com/docs/rke/v0.1.x/en/config-options/add-ons/user-defined-add-ons/ To define an add-on directly in the YAML file, make sure to use the YAML’s block indicator |- as the addons directive is a multi-line string option. It’s possible to specify multiple YAML resource definitions by separating them using the -– directive.

2019-02-20 · 1 min · 43 words · Me

[轉]Headless CMS: REST vs JSON:API vs GraphQL

https://dri.es/headless-cms-rest-vs-jsonapi-vs-graphql?fbclid=IwAR3PJouIotZns9DnthDvr4cA-vtWiFq60opwL-dCuAjLElaflI-qj4Uw5KY#operational-efficiency

2019-02-16 · 1 min · word · Me

嘉能 免手洗單槽洗淨過濾魔術平板拖把

爛! 不合用! https://media.etmall.com.tw/XML/Scrshot/20190214/150926299_2190891.jpg 爛在那: 1. 拖把只能單邊收折,意謂只能單邊進入洗桶 2. 承1. 洗桶高度非常剛好是拖版的高度,那就代表一邊進去後,另一邊的最後面是洗不到的!!……整個無言了 3. 承2. 洗桶和拖版高度一致,導致…拖把不能弄略乾,水肯定要裝蠻高的,不然洗個屁,洗完慢慢拉出來,按照水的高度,不就只有一小段是能略乾,其他段都是溼 4. 裝水時根本不知道水裝了多少?? 5. 另外拖把必須要特殊使用方式,不然地上會一痕一痕,還有拖完地板很溼! 基本上比最近市面上很紅的腳踏式拖把還差!比同類型雙桶(一洗一乾)還差!比跪在地上用手擦地還浪費時間! 能想像 拖把只能洗一半的情況嗎??!!

2019-02-16 · 1 min · 19 words · Me

[轉]Benchmark results of Kubernetes network plugins (CNI) over 10Gbit/s network

https://itnext.io/benchmark-results-of-kubernetes-network-plugins-cni-over-10gbit-s-network-36475925a560

2019-02-12 · 1 min · word · Me