ref: https://blog.kubecost.com/blog/kubernetes-labels/
本篇文章是一個 Kubernetes Label 介紹文, Kubernetes 的使用者一定都知道 Kubernetes 內的物件很大量依賴 Label 的使用,最基本的用法就是
Deployment 與 Pod 之間是透過 Label 與 LabelSelector 互相溝通的。
Kubernetes 提供兩種不同的方式來為資源打上標記,分別是
1. labels
2. annotations
兩者都是基於 key/value 的方式來設定,不過用途是完全不同。 Label 主要是用來提供辨識的功能,讓使用者可以透過 key/value 的方式來辨識當前的資源,就如同前述提到的 Deployment 與 Pod 的關係。
透過 Label 來標示 Pod,而 Deployment 則透過 LabelSelector 來選擇符合標準的 Pod。
Label 主要有兩大用法
1. Grouping Resource for Queries
2. Bulk Operations.
第一種用法就是前述提到的,將一群資源透過 Label 給標記起來,另外一個則是透過 kubectl 等指令操作時,可以一口氣操作多個資源,譬如
kubectl delete deployment -l environment in (dev,sit)
上述資源可以一口氣將符合 environmnet=dev 以及 environmnet=sit 的 deployment 給一次刪除。
文章中還列舉了其他介紹與學習 Labeling 概念的網站,最後還提到一個使用 Label 上要注意的相關事項
1. 不要將一些會一直改變的資料放到 Label 中
2. 沒有任何理由的話,不要輕易去修改運行資源的 Label 內容
3. Label 本身的設計不是一個 data store,所以不要將一些 Application 的重要資料給存放到 Label 上
對於 Label 這概念想要更深理解的可以參閱全文
同時也有1部Youtube影片,追蹤數超過3萬的網紅Brian2Taiwan,也在其Youtube影片中提到,Facebook: www.facebook.com/Brian2Taiwan Instagram: www.instagram.com/Brian2Taiwan 一個月大挑戰的第六天我想用一下累積12年多的英語教學經驗來叫大家一個台灣人常常用而用錯的單字的正確用法。歡迎來到Brian愛Taiwa...
in common use用法 在 CheckCheckCin Facebook 的精選貼文
【選對食用油】身體運作需要適量油脂
⭐要懂得分辨好油壞油
⭐按烹調方式選擇用哪種油
#星期四食材
認識健康油脂食物
有些女生為了減肥,視油脂為大敵,自煮時不添加油份,外出進食亦「走油」,以為這種飲食方法很健康,但久久未能成孕,最後發現原來因為飲食中缺少了油脂!膽固醇是合成多種荷爾蒙的重要原料,如果油脂攝取不足容易影響荷爾蒙分泌,造成不孕,所以不應盲目「走油」,宜認識哪些為健康油脂適量攝取,哪些壞油應該避免食用,市面上見到的油脂各有優缺點,最好是在家中常備2至3種油脂,每星期輪流使用或按烹調方式選擇。
飽和脂肪酸:室溫時呈白色固體狀態,常見於豬油、牛油、動物性脂肪、芝士、忌廉、椰子油、棕櫚油等。
優點:化學性質穩定,不易氧化變質。
缺點:過量進食較容易患上血管硬化、中風、心臟病等疾病風險。
適合用法:高溫且長時間烹煮的菜式
單元不飽和脂肪:室溫時呈液體狀態,常見於橄欖油、苦茶油、花生油、堅果、牛油果。
優點:含有Omega-9,有助提高好膽固醇及降低壞膽固醇。
缺點:化學性質不穩定,容易受高溫影響產生氧化。
適合用法:涼拌、低溫快炒
多元不飽和脂肪:室溫時呈液體狀態,常見於粟米油、芝麻油、葵花油、亞麻籽油、菜籽油、大豆油、核桃油、三文魚、沙甸魚等。
優點:含有人體無法自製的Omega-3及Omega-6,同時提高好膽固醇及降低壞膽固醇。
缺點:化學性質不穩定,容易受高溫影響產生氧化。
適合用法:一般煎炒菜式
反式脂肪:植物油經過氫化程序會轉化成反式脂肪,常見於人造牛油、起酥油(Shortening)。
優點:沒有
缺點:令血液中的壞膽固醇上升,同時降低好膽固醇,過量進食有增加患上血管硬化、中風、心臟病等疾病風險。
常見含反式脂肪食物:蛋撻、曲奇餅、酥皮食物、蛋糕、餅乾、椰絲奶油包、炸薯條、炸雞、菠蘿油、油炸鬼、奶精
留言或按讚👍🏻支持一下我們吧!❤️ 歡迎 Follow 我們獲得更多養生資訊。
Get to know healthy high-fat foods
Some women view fats as their archnemesis when they wish to shed some pounds. They would either avoid using oil in their cooking or request restaurants to remove additional fats when ordering take-outs. They thought this is a healthy dietary practice, but the lack of fats in the body is one of the main reasons they cannot get pregnant!
In fact, cholesterol is the precursor of many hormones. The lack of fats in the body would affect the secretion of hormones, leading to infertility. We should learn more about healthy fats, consume them in an appropriate quantity, and avoid fats that are bad for us. There are many types of fats and oils in the market, and each of them has their own pros and cons. It is best to prepare 2 to 3 different types of oils and use them interchangeably in cooking from time to time.
Saturated fatty acids: in white solid state at room temperature; can be found in lard, butter, animal fats, cheese, cream, coconut oil, and palm oil
Pros: chemically stable, not easily oxidized
Cons: excessive consumption can cause the hardening of the arteries (vascular sclerosis), stroke, and heart diseases
Proper way of use: dishes to be cooked at high temperature and for a long period
Monounsaturated fatty acids: liquid at room temperature; often seen in olive oil, camellia seed oil, peanut oil, nuts, and avocado
Pros: contains Omega-9; can help increase the good cholesterols and reduce the bad cholesterol
Cons: chemically unstable, oxidized easily when exposed to high temperature
Proper way of use: cold dishes, and can be used for frying at low temperature
Polyunsaturated fatty acids: liquid at room temperature, commonly found in corn oil, sesame oil, sunflower oil, linseed oil, rapeseed oil, soybean oil, walnut oil, salmon, and sardine
Pros: contains Omega-3 and Omega-6, which humans could not produce; can help increase the good cholesterols and reduce the bad cholesterol
Cons: chemically unstable, oxidized easily when exposed to high temperature
Proper way of use: normal pan-fried dishes
Trans-fatty acids: vegetable oils that have gone through hydrogenation; often seen in margarine and shortening
Pros: none
Cons: increase the bad cholesterol and reduce the good cholesterol in the blood; excessive consumption can cause the hardening of the arteries (vascular sclerosis), stroke, and heart diseases
Common foods that contain trans-fatty acids: Egg tart, cookies, puff pastries, cakes, biscuits, coconut cream bun, fried chicken, pineapple bun, Chinese fried dough and creamer
Comment below or like 👍🏻 this post to support us. ❤️ Follow us for more healthy living tips.
#男 #女
in common use用法 在 Eric's English Lounge Facebook 的最佳解答
[專頁公告] 英文學習「生態系」更新
English Learning Ecosystem Update
As I began exploring Instagram, I struggled to find a way to deliver useful academic content. Instagram posts typically focus on images, short clips, and concise text, which are attention grabbing but not always entirely conducive to language learning. I looked over the posts of established Instagram English learning accounts, and experimented with vocabulary posts and even news posts for a couple of weeks. Not wanting to post just images, I thought about creating something new even with the rigid format of the platform.
當我開始研究怎麼用IG,我想盡了各種辦法,希望能提供大家一些實用的學術內容。 IG 的特色著重在圖片、短片以及簡潔的文字,這樣的方式雖然很容易引人注目,卻不全然有助於語言學習。我瀏覽了 IG 上英文教學網紅的貼文,並在這幾週嘗試發了一些學術單字與新聞相關的文章。我並不想只是發一些圖片,而思考著要如何在既有框架下創作一些新的東西。
★★★★★★★★★★★★
A tenet of using tech in education is to engage students with what they are familiar with, not give them an entirely new platform that is difficult to use. So, how could I create a new series of Instagram posts that is both educational and unique? I thought about my goal to disseminate academic English resources, and how I could leverage my experience as a curriculum writer and voice recording artist for public school textbooks.
一個使用科技進行教育的原則是用學生熟悉的方式與他們互動,而非用了全新的平台卻使他們難以學習。那麼,我應該如何創作獨特且具教育意義的一系列全新 IG 發文呢?我想到了我傳遞學術英文資源的目標,以及思考到該如何發揮身為教科書編輯者與音頻錄製者的經驗。
★★★★★★★★★★★★
So far, this is what I have at the moment. I will post Word of the Day (每日一詞), high frequency vocabulary words that you see in academic texts and sometimes on the news. These Tier 2 academic vocabulary words are not exclusive to a single domain and complement the theme-based approach I’ve taken with my mind-mapping vocabulary class. You can find other vocabulary learning methods here.
這是我目前所想到的內容:我會發布「每日一詞」,也就是學術文章或是新聞中有時出現的高頻字彙。這些Tier 2學術詞彙並不限於單個領域,更補充了我在心智圖詞彙攻略課程中採用的主題式學習法。你還可以在下面網站找到其他詞彙學習方法。
🎓 詞彙學習方法:http://bit.ly/2JGXKvK
In these posts, I added the pronunciation, collocation, and example sentences of each word for students. These words will be helpful to university-level students who often read academic texts and the news. Students can access them by simply clicking on the hashtag 學術英語單字.
在這些貼文中,我為學生提供了發音、搭配用法和例句。這些單字會對經常閱讀學術文章和新聞的大學程度學生有所幫助。學生只要點貼文上的#學術英語單字即可看到貼文。
🎓 學術英文單字: https://bit.ly/3cxH091
★★★★★★★★★★★★
To help students use more precise and common academic phrases, I then added Academic Phrases (每日一句), set phrases that appear in both academic speech and writing. These phrases have varying functions from introducing a topic to comparing and contrasting ideas. There is a difference between speech and writing, so I picked words that could be used for both. If one is used only in a specific context, I will make note of it in the video recording. This series of posts will help students with language output, and can be found under the following hashtag 學術英語片語.
為了幫助學生使用更精準、更道地的常見學術用語,我們接著會進入「每日一句」,也就是在學術演說與寫作中常見的用語。這些片語具有不同的功能,範圍涵蓋介紹主題到比較、對比想法等等。而演講和寫作之間也有不同,所以我選擇了都可以使用的片語。如果只能在特定情況下使用,我會在影片中特別說明。該系列文章將會幫助學生提高語言輸出能力,可以在 # 學術英語片語找到。
🎓 學術英文片語: https://bit.ly/3aqaQcP
★★★★★★★★★★★★
Last, I will follow up with an abridged version of breaking news (時事英文) with high frequency collocations and audio recordings. This will provide students with the input of not only individual words, but how to use them in output (speech and writing) with context. While all these news posts might seem independent at first, I will eventually link and organize them by theme when there are enough posts. Along with my news class, these extra posts will help students stay aware of current events, acquire set phrases used in journalism, and develop critical thinking. These posts can currently be found under the hashtag EEL時事英文.
最後,我們會跟進精簡版的「時事英文」,其中包含高頻搭配詞與錄音資料。這些內容不僅可以提供你們輸入單字,而且可以幫助你們知道如何搭配情境輸出,再將這些內容使用在口說與寫作中。這些貼文一開始雖然看似獨立,當素材足夠後我會再將他們進行連結與整理。這些貼文和我的新聞課程將幫助學生維持對時事的敏銳度,掌握新聞中使用的固定用法,並養成批判性思維。這些貼文目前可以在 # EEL時事英文。
🎓 批判性思考問題大全: http://bit.ly/34rdtJ7
🎓 EEL時事英文: https://bit.ly/36tDusv
★★★★★★★★★★★★
There is a lot more I want to do to create an ecosystem of free academic English learning materials. I will continue modifying our post format to meet your needs, but these are my plans for Instagram thus far. Join us on our journey to make bilingual academic English resources more readily available to all! Let’s continue to learn and grow together!
建立免費的學術英文學習系統是件大工程,我會持續修改我們發文的格式以符合你們的需求與習慣,這些只是我目前 IG 學術英語學習計畫的一部分。加入我們的旅程來讓雙語的學術英文資源更加普及!讓我們一起學習與成長!
★★★★★★★★★★★★
🎓 學術英文單字: https://bit.ly/3cxH091
🎓 學術英文片語: https://bit.ly/3aqaQcP
🎓 EEL時事英文: https://bit.ly/36tDusv
🎓 批判性思考問題大全:http://bit.ly/34rdtJ7
🎓 該如何學習英文?http://bit.ly/3inxdCP
in common use用法 在 Brian2Taiwan Youtube 的最讚貼文
Facebook: www.facebook.com/Brian2Taiwan
Instagram: www.instagram.com/Brian2Taiwan
一個月大挑戰的第六天我想用一下累積12年多的英語教學經驗來叫大家一個台灣人常常用而用錯的單字的正確用法。歡迎來到Brian愛Taiwan英文小教室跟 Brian老師一起學~
今天的單字是什麼呢? 自己會不會反這個錯呢?看看影片可以知道自己平常講英文有沒有講錯~ 台灣人學英文詞的時候要注意英文單字常常變來變去的詞型
因為英文的單字變化跟文法不太一樣,有時候台灣人學英文會犯錯。 我們今天來學一下一個常見的錯誤該怎麼訂正
許多英文單字詞型變化不少,英文的單字有時候改變後要陪什麼指定的詞型的單字今天我們來看看一個常用的單字應該怎麼用
我們要看怎麼歡迎人家來做一件是還有怎麼歡迎人家來到一個地方
留言跟我說自己有沒有返過這個錯
有其他的文法或用詞的問題嗎? 可以跟我說~ 我來跟大家解釋~
記得訂閱,按讚,分享~~
For Day 6 of my 1-Month Challenge, I use my over 12 years of English teaching experience to explain a common mistake Taiwanese people make in English. Welcome to Brian2Taiwan's English Classroom where you can study with Teacher Brian~
What is today's mistake? Do you make this mistake? Watch to see which mistake I'm talking about today.
Subscribe, comment, and share with friends~
Background Music:
I'm Happy For This Guitar
Freedom Trail Studio
https://www.youtube.com/channel/UCx6kpgiQkDkN1UnK5GaATGw
#布萊恩 #英文 #美語
![post-title](https://i.ytimg.com/vi/B6TyhsZ_DV0/hqdefault.jpg)