Kubernetes(K8S)集群管理Docker容器(概念篇)

Kubernetes是Google在2014年6月开源的一个容器集群管理系统,使用Go语言开发,Kubernetes也叫K8S。

K8S是Google内部一个叫Borg的容器集群管理系统衍生出来的,Borg已经在Google大规模生产运行十年之久。

K8S主要用于自动化部署、扩展和管理容器应用,提供了资源调度、部署管理、服务发现、扩容缩容、监控等一整套功能。

2015年7月,Kubernetes v1.0正式发布,截止到2017年9月29日最新稳定版本是v1.8。

Kubernetes目标是让部署容器化应用简单高效。

官方网站:www.kubernetes.io

                               Kubernetes主要功能:

数据卷

Pod中容器之间共享数据,可以使用数据卷。

应用程序健康检查

容器内服务可能进程堵塞无法处理请求,可以设置监控检查策略保证应用健壮性。

复制应用程序实例

控制器维护着Pod副本数量,保证一个Pod或一组同类的Pod数量始终可用。

弹性伸缩

根据设定的指标(CPU利用率)自动缩放Pod副本数。

服务发现

使用环境变量或DNS服务插件保证容器中程序发现Pod入口访问地址。

负载均衡

一组Pod副本分配一个私有的集群IP地址,负载均衡转发请求到后端容器。在集群内部其他Pod可通过这个ClusterIP访问应   用。

滚动更新

更新服务不中断,一次更新一个Pod,而不是同时删除整个服务。

服务编排

通过文件描述部署服务,使得应用程序部署变得更高效。

资源监控

Node节点组件集成cAdvisor资源收集工具,可通过Heapster汇总整个集群节点资源数据,然后存储到InfluxDB时序数据库,    再由Grafana展示。

提供认证和授权

支持属性访问控制(ABAC)、角色访问控制(RBAC)认证授权策略。

                                      基本对象概念

基本对象:

Pod

Pod是最小部署单元,一个Pod有一个或多个容器组成,Pod中容器共享存储和网络,在同一台Docker主机上运行。

nService

Service一个应用服务抽象,定义了Pod逻辑集合和访问这个Pod集合的策略。

Service代理Pod集合对外表现是为一个访问入口,分配一个集群IP地址,来自这个IP的请求将负载均衡转发后端Pod中的容器。

Service通过LableSelector选择一组Pod提供服务。

Volume

数据卷,共享Pod中容器使用的数据。

Namespace

命名空间将对象逻辑上分配到不同Namespace,可以是不同的项目、用户等区分管理,并设定控制策略,从而实现多租户。

命名空间也称为虚拟集群。

Lable

标签用于区分对象(比如Pod、Service),键/值对存在;每个对象可以有多个标签,通过标签关联对象。
基于基本对象更高层次抽象:  

ReplicaSet

下一代ReplicationController。确保任何给定时间指定的Pod副本数量,并提供声明式更新等功能。

RC与RS唯一区别就是lableselector支持不同,RS支持新的基于集合的标签,RC仅支持基于等式的标签。

Deployment

Deployment是一个更高层次的API对象,它管理ReplicaSets和Pod,并提供声明式更新等功能。

官方建议使用Deployment管理ReplicaSets,而不是直接使用ReplicaSets,这就意味着可能永远不需要直接操作   ReplicaSet对象。

StatefulSet

StatefulSet适合持久性的应用程序,有唯一的网络标识符(IP),持久存储,有序的部署、扩展、删除和滚动更新。

DaemonSet

DaemonSet确保所有(或一些)节点运行同一个Pod。当节点加入Kubernetes集群中,Pod会被调度到该节点上运行,当节点   从集群中移除时,DaemonSet的Pod会被删除。删除DaemonSet会清理它所有创建的Pod。

Job

一次性任务,运行完成后Pod销毁,不再重新启动新容器。还可以任务定时运行。

我来吐槽

*

*

已有 117 条评论

  1. clourgy

    This limits the amount of kinetic energy that can be utilized to aid the jump. where to buy cialis cheap kamagra gel cheap

  2. clourgy

    cheap cialis from india Cialis Farmaco Equivalente

  3. clourgy

    Venta De Cialis Barcelona buy generic cialis cialis vademecum es

  4. Twirway

    buy stromectol 12mg Vigre In Usa Without Prickription

  5. Twirway

    ivermectin for sale Soit 20mg Du Principe Actif Tadalafil Un Inhibiteur De La Pde

  6. Twirway

    Viagra Achat En Suisse En Asnieres ivermectin tablet online purchase Keflex Generic

  7. Twirway

    Propecia 20 Years Old ivermectin amazon

  8. Keysler

    cialis online ordering Gu Huan asked, Can I wait for my senior to get married My father best over the counter male enhancement and mother had been dead for many years, and the master Chang Yizhen also went to the other side

  9. Derofoory

    That s because chicken parmesan is kind of a pain in the ass to make, and it messes up the kitchen, to boot how to buy cialis

  10. Keysler

    5 cc every 5 pounds 9 lbs of weight you gain best generic cialis

  11. wainnef

    Sanofi s popular erectile dysfunction drug won t begin trials as anticipated due to concerns regarding trial protocol priligy fda approval Even if you are not producing sperm, you could still be fertile and conceive

  12. zeriGauri

    By some estimates, more than half of all ED drugs sold online are fakes buy priligy 60

  13. wainnef

    Viagra, or sildenafil in its generic form, is a PDE5 inhibitor drug primarily used to treat erectile dysfunction whether it s a result of a health condition or a side effect from taking other medications buy priligy online usa

  14. ruinkix

    buy cialis online with a prescription These tablets help many adults when ED has become an issue

  15. ruinkix

    discount cialis Pfizer is engraved on one side of the pill and VGR and a dosage amount are printed on the other side e

  16. Nizscoons

    It may last too long for you buy cialis online in usa Buy Cialis Online

  17. exinody

    best place to buy generic cialis online As a side note, the quality of the online Cialis stores is very high for their price, and they always recommend taking them with meals while you have your break

  18. Nizscoons

    While siblings often follow similar growth patterns, there can even be variations among them that defy expectations best generic cialis

  19. Gearsella

    body building forum clomid As mentioned above, these outcome data only refer to RM women without selected risk factors.

  20. chibina

    My first cycle was 100mg. what is in clomid I am hopeful.

  21. Gearsella

    All other trials had a low risk of bias for this domain. where sells genuine clomid in the uk Beside, san nutrition is the affinity to convert androgens to the free service for a quam mi augue.

  22. GaumbFaib

    clomid and nolvadex There were also, however, serious unacceptable side-effects Caine et al.

  23. furtuby

    tamoxifen nolvadex They have you leave a voice mail and they will return your call.

  24. ziserse

    Similarly, Vlahov and colleagues 2002 reported increases in substance use, including alcohol, in New York City and the surrounding areas in the months after September 11, 2001. buy doxycycline

  25. zibTaible

    He would also make make you feel dumb for asking legitimate questions. doxycycline hyclate uses

  26. ziserse

    doxycycline 500 mg prices She announced that she and Jacob were engaged and planned to be married.

  27. Arrerswaf

    lasix 12.5 mg for dogs It s been over a year since I posted on here

  28. boursorma

    J Vasc Interv Radiol 14 11 1395 1399 lasix med

  29. Arrerswaf

    Trastuzumab is available in 66 of facilities dosage of lasix for congestive heart failure 000 ATELIT LAFRANCOL 75 mg x 28 tabs

  30. ethinny

    Birthday Survivor cialis online cheap PUBMED Abstract Thorlacius S, Tryggvadottir L, Olafsdottir GH, et al

  31. allemycle

    Values are percentages best cialis online 1992; 80 4 37 43

  32. ethinny

    8 Pomegranate juice also inhibited genes important for inducing the epithelial to mesenchymal transition can i buy cialis online Although I want to take a few more glances, I also want this kid to Anderson black mamba 2 male enhancement pay the price

  33. Allercext

    what is stromectol Don t Miss Your Shot

  34. Allercext

    Characteristic resonances from 1 H NMR 500 MHz, 1 1 D 2 O CD 3 CN Оґ 9 buy stromectol In fact, certain steroids have been used in clinical settings to improve growth rates in children

  35. Allercext

    Caleb, USA 2022 04 29 17 40 04 online stromectol

  36. Almobre

    adverse effects of tamoxifen esp the prov

  37. Almobre

    tamoxifen ocular side effects High mitochondrial mass identifies a sub population of stem like cancer cells that are chemo resistant

  38. Epibigo

    what is priligy Hormone therapies stop your body from making the hormones some breast and prostate cancers need to grow, or they keep the hormones from working

  39. Almobre

    YAP1 is amplified and up regulated in hedgehog associated medulloblastomas and mediates Sonic hedgehog driven neural precursor proliferation nolvadex without prescription

  40. Epibigo

    cialis pharmacanada Lawmakers in every state in the nation introduced school safety legislation this year, and in at least 20 states those proposals became law, according to the National Conference of State Legislatures buy priligy generic fraud

  41. Epibigo

    Treatments need to be repeated and are expensive buy priligy Medically prescribed for Raplon was prescribed as a general anesthetic to ease the insertion of a tube into the windpipe and to relax muscles during surgery

  42. justymn

    Women are instructed to examine themselves to discover changes that have occurred in the breast doxycycline 100mg tablets in canada

  43. Spoiffutt

    Genomic Health, Inc Getting tested with the Onco type DX breast cancer assay lasix and alcohol Serious Use Alternative 1 nevirapine will decrease the level or effect of tezacaftor by affecting hepatic intestinal enzyme CYP3A4 metabolism

  44. Attaicift

    buy 10 pack of clomid pills has successfully carried out two cargo resupply missions to the International Space Station for NASA

  45. Spoiffutt

    Click here to learn more What Are Uterine Fibroids buy lasix A cohort based state transition model was developed to represent important clinical events associated with osteoporosis

  46. justymn

    1, Box 2 is now considered a standard of care approach to fertility preservation and can be offered to postpubertal patients who do not have a partner or to those with a partner who do not wish to cryopreserve embryos doxycycline Titus KvIWcsJxLbzEbn 6 17 2022

  47. legepunny

    side effects of stromectol Coleman mWhOulIbMxIK 6 5 2022

  48. Attaicift

    Treatment with letrozole did not influence surgery what is clomid used for The protocol was approved by an AntiCancer Inc

  49. Spoiffutt

    betoptic tadalafil apotex 20 mg Morzaria faces a challenging job can lasix be crushed

  50. legepunny

    This means that estrogen blockers aren t just for young guys looking for muscle gains older men should consider an estrogen blocker too, if they feel they are suffering from the negative effects of low testosterone and high estrogen, namely, decreasing muscle mass, increasing fat mass, low energy levels, and a low libido stromectol buy canada

  51. justymn

    doxycycline take with food Stage 4 is metastasis to other distant organs from the primary tumor site where it began

  52. Attaicift

    Knocking down ERО±36 in MDA MB 436 cells decreased E2 or 4 OHT induced transcriptional activity of the ALDH1A1 promoter Figure 6H, and this effect of ERО±36 knockdown was abolished when ERE site 2 in ALDH1A1 promoter was mutated Figure 6I clomid ovulation calculator

  53. legepunny

    6c decreased both GAP 43 and MARCKS phosphorylation in a concentration dependent manner up to 3 ОјM but showed greater potency in inhibition of GAP 43 phosphorylation as compared with MARCKS Figure 1b cheap stromectol

  54. nuabnuame

    mebendazole pentasa granulado como tomar No cover from not paying attention to Mark Sanchez throwing an interception during a preseason game with Detroit, which was portrayed as a football sin viagra pictures before and after

  55. hahacticy

    cialis online cheap In the general population, only 50 percent of American adults reported taking dietary supplements

  56. frurgeorS

    stromectol reviews The News has learned that investigators from the league continue to look into the role sports agents may have played in connecting players with Biogenesis Гў particularly since eight of the 12 players who accepted 50 game bans are represented by one agency, ACES, operated by brothers Seth and Sam Levinson

  57. nuabnuame

    Pharmaceutical Grade Winstrol For Sale nolvadex pct side effects itraconazole increases levels of eletriptan by decreasing metabolism

  58. ristsnums

    Histograms with T bars indicate the mean percentage of BrdU positive cells of two independent experiments with their corresponding standard deviation where can i buy zithromax OPTIONAL CANCER Screening and Annual Care Benefit Rider Summary Page Rider NY76051

  59. hahacticy

    Food Chem Toxicol 83 26 35, 2015 can't keep an erection even with viagra In certain embodiments, R A is alkyl

  60. hahacticy

    Intratesticular testosterone concentrations comparable with serum levels are not sufficient to maintain normal sperm production in men receiving a hormonal contraceptive regimen lasix loop diuretic

  61. nuabnuame

    The other possibility is that Paget cells originate from a beast cancer how long does it take for tamoxifen to start working

  62. unfaina

    cheapest cialis OVULATION PREDICTOR KITS FINDING YOUR LH SURGE

  63. ristsnums

    In addition, Prince received the Student Library Award and was selected by her fellow classmates as an Outstanding Senior order cialis online To measure endosomal pH pH e, we took advantage of co localization of NHE9 with transferrin, as shown in Fig

  64. frurgeorS

    buy priligy 60 Distinct pathophysiologies cause peripheral sensory neuron dysfunction in ASD models

  65. unfaina

    finasteride 1 mg online pharmacy Monitoring the cycle is very important

  66. ristsnums

    These 6 Signs may indicate it s time to see a fertility specialist stromectol buy europe

  67. unfaina

    Seeing that the female lord was even more embarrassed, she grabbed Qin Ming s arms again, trying to change the two what blood pressure medications lower your pulse rate arms back to their original shape stromectol ivermectin for humans First, we examined cell migration, a process that relies heavily on assembly and disassembly of EC ECM focal contacts FCs

  68. frurgeorS

    buy roaccutane online uk In this high risk population, a cutoff at 6 75 mm achieved sensitivity of 84 3 71 4 93 0 and specificity of 89 9 89 3 90 5

  69. frurgeorS

    Monitor Closely 1 albuterol and torsemide both decrease serum potassium propecia no prescription Study design and Statistical analysis

  70. unfaina

    levitra generique en ligne The mode of action of the antiarrhythmic effect of Procainamide appears to be similar to that of procaine and quinidine

  71. liapGearl

    can you buy priligy in usa Bates DW, Boyle DL, Vander Vliet MB, Schneider J, Leape L

  72. scupesace

    Earnest gygzvtpjVuchwzgQd 6 19 2022 online cialis pharmacy Thiazide like diuretics may affect the response to oral anticoagulants; dose adjustments may be necessary

  73. marlomi

    safe place to buy cialis online The Honest, Hairy Truth Part 2 Natural ways to manage your PCOS and Hirsutism

  74. edimisy

    Vivradoxil description who makes kamagra st

  75. edimisy

    does cvs sell viagra Belkacemi Y, et al

  76. enlarly

    buy priligy 30mg The file named RXQ_RX_H contains data on all survey participants and their use of a prescription drug

  77. liapGearl

    MCF 7 are defective in double strand break repair DSBR and DSBR genes are involved in MCF 7 genomic instability 31 clomid mechanism of action Pharmacokinetics in the Elderly

  78. Snirlcync

    In a relatively large series of 21 patients with FAP Bertagnollia et al cialis online pharmacy

  79. boufave

    This is because the challenge made by an athlete who does test positive will seek to exploit any loophole or weakness that can be identified does propecia regrow hair Overdoses, suicide a litany of avoidable heartbreak

  80. liapGearl

    where can i buy left over clomid No one said that a certain thinking can not cut off the donation to Huawei, but you can not use Huawei is human blood steamed buns to offer your name Luo Jia looked at her phone, and sure enough, the forum where major technology enthusiasts and industry insiders gathered had exploded at this moment, and a certain wanted to become the target of public criticism, and word of mouth plummeted, and countless Provia Male Enhancement Pills half life viagra people wanted to kill them immediately

  81. marlomi

    In these experiments, the biodistribution of the formulations was investigated in a Kunming mouse model 28 g what happens if a women takes viagra Liver biopsy is not diagnostic for PSC, but findings often include commonly the absence of intralobular bile ducts ductopenia, bile duct proliferation, and periductal fibrosis, with an onion skin fibrosis and nodular fibrous scars

  82. Undopsy

    buy priligy 30 mg x 10 pill The Hedgehog HH signaling pathway is critical in embryonic development, and aberrant activation of this transduction cascade is linked to various malignancies

  83. enlarly

    tamoxifen Sleep cycles seem to be a trigger for her is that normal in ndph

  84. Undopsy

    In fact, nonobese PCOS patients 20 seems to have a better response to metformin administration, and to date, it is not known whether metformin acts better or worst in patients more or less insulin resistant cialis generic online

  85. edimisy

    Triplicate replicate wells were treated with either 0 proscar shopping

  86. scupesace

    May akda MeCan Medical Mga tagagawa ng ultrasound machines Ang partikular na protina ay tumutukoy sa mga functional na protina sa dugo, ihi, cerebrospinal fluid, thorax, pericardium, at pericardium how much is accutane without insurance This can be problematic because potassium is important for good health, especially if you have high blood pressure

  87. Snirlcync

    cialis online purchase Nolvadex is also effective in treating cancer that is estrogen sensitive

  88. liapGearl

    The dependence on 3D culture was examined for unacylated ghrelin, where treatment of MCF7 and MDA MB 468 cells with 100 pM resulted in suppression of cell growth in matrigel and collagen, but not in 2D Figure 1 figure supplement 1a and b lasix drip

  89. enlarly

    daily cialis online Serious Use Alternative 1 abametapir will increase the level or effect of caffeine by affecting hepatic enzyme CYP1A2 metabolism

  90. fliplem

    buy clomid in australia online 2019 Apr; 33 2 249 260

  91. boufave

    I worry that if we don t get him some help now, the social aspect is only going to become harder for him what is tamoxifen used for

  92. marlomi

    B PCNA immunofluorescence red in the heart of male Tg cmlc2 eGFP zebrafish heart from regimens R1 R4 kamagra uk next day delivery paypal 306 Essentially overdosing your pet with antibiotics only to later on create a super virus immune to antibiotics

  93. ovazoky

    Pivik to Alpelisib 150 Mg Cap buying cheap cialis online If using, monitor for reduced efficacy of bisoprolol

  94. edimisy

    This was a randomized clinical trial being performed in Mother and Child Hospital, a tertiary health- care center affiliated with Shiraz University of Medical Sciences, during a 16- month period from August 2013 to December 2014 cialis online without

  95. liapGearl

    b12 sildenafil biogaran 100 mg avis While likely voters divide evenly on the plan, 8 percent oppose the law because it does not go far enough, wrote pollsters Stan Greenberg, James Carville and Erica Seifert in a memo accompanying the poll release buy provera and clomid online I did touch on how this works a little in the article but, you re right, I did not go into detail

  96. Undopsy

    priligy where to buy Given the association of cardiotoxicity with many cancer treatments, monitoring the heart function before, during and after cancer treatment is important

  97. danianamn

    how to buy priligy in usa All boys with gynecomastia should be evaluated thoroughly by an experienced clinician

  98. ovazoky

    cialis otc A more stable tamoxifen nanocarriers is developed

  99. KaliSlece

    Alternative to classical hormone replacement therapy HRT are needed for women that cannot or don t want to be treated with hormones buy cialis without prescription Others 91, 92 have discussed CPOE as a complex system; we have not identified any previous studies that discussed IV infusion administration in these terms

  100. edimisy

    propecia online pharmacy new york Our findings indicate that the highest versus lowest VitC intake was significantly associated with a lower BC risk

  101. Undopsy

    cheapest cialis generic online The slides were spun dried immediately after washing

  102. boufave

    The ordering process is the same whether you order for one person or many what if a woman takes viagra

  103. scupesace

    Therapeutic trials are currently underway in pediatric patients in the United States cialis for daily use

  104. ovazoky

    clomid usa shippments online Myths and truths of growth hormone and testosterone therapy in heart failure

  105. marlomi

    And that s why we want to know all about the X rays that are used in our children s dental exams buy clomid online Minor 1 panax ginseng increases effects of escitalopram by pharmacodynamic synergism

  106. fliplem

    I would like to know all ingredients in it buy viagra cialis online

  107. danianamn

    The Rhine Alliance has been between the two great empires of Austria Hungary and Dro for many years, what is lisinopril hctz used for but they still dare to start wars everywhere, and they do not take the Church of Light in their eyes clomid for men

  108. scupesace

    cialis for sale online At this conference, he presented updated results from a study looking at whether adding an additional 5 years of Femara after a woman had taken 5 years of an aromatase inhibitor or a combination of an aromatase inhibitor and tamoxifen might offer extra benefits to postmenopausal women who have been diagnosed with early stage hormone receptor positive breast cancer

  109. ovazoky

    78 buy azithromycin chlamydia treatment Martinez is a cancer epidemiologist with expertise in molecular epidemiology as well as cancer disparities research

  110. liapGearl

    clomid calculator He also said not to test till Sunday because I ovulated so late and that I was 34 between cycles

  111. fliplem

    We ve licensed music to TV shows cialis online reviews

  112. danianamn

    singulair omeprazole in pregnancy third trimester I did get a taste of the HDX s smartest feature, Mayday, which delivers instant tech support buy cialis online 20mg