content
large_stringlengths
3
20.5k
url
large_stringlengths
53
192
branch
large_stringclasses
4 values
source
large_stringclasses
51 values
embeddings
listlengths
384
384
score
float64
-0.21
0.65
# Loki components {{< youtube id="\_hv4i84Z68s" >}} Loki is a modular system that contains many components that can either be run together (in "single binary" mode with target `all`), in logical groups (in "simple scalable deployment" mode with targets `read`, `write`, `backend`), or individually (in "microservice" mod...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/components.md
main
loki
[ -0.038874924182891846, -0.0849023163318634, -0.12047542631626129, -0.024575788527727127, -0.014273891225457191, -0.027282247319817543, -0.005497153848409653, -0.02429652400314808, -0.03263779729604721, 0.01409823913127184, 0.06621405482292175, -0.01335971336811781, 0.006824501324445009, -0...
0.150107
level and enables us to scale the distributors up or down and have the per-distributor limit adjust accordingly. For instance, say we have 10 distributors and tenant A has a 10MB rate limit. Each distributor will allow up to 1MB/s before limiting. Now, say another large tenant joins the cluster and we need to spin up 1...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/components.md
main
loki
[ -0.047188472002744675, -0.050231579691171646, -0.10355260968208313, 0.01909981667995453, -0.023501312360167503, -0.03143196552991867, -0.04901167005300522, 0.03899350389838219, 0.043698061257600784, -0.004358481615781784, 0.05388624593615532, 0.05293353274464607, 0.030729571357369423, -0.0...
0.208186
achieve consistent hashing; all [ingesters](#ingester) register themselves into the hash ring with a set of tokens they own. Each token is a random unsigned 32-bit number. Along with a set of tokens, ingesters register their state into the hash ring. The state `JOINING`, and `ACTIVE` may all receive write requests, whi...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/components.md
main
loki
[ -0.04898657277226448, -0.015340819023549557, -0.06906099617481232, -0.08844276517629623, -0.02803903818130493, -0.05355047807097435, 0.07928145676851273, -0.0077288225293159485, 0.061577700078487396, -0.0033660002518445253, -0.029007120057940483, 0.022786259651184082, 0.07478774338960648, ...
0.185483
1. A flush occurs. Whenever a chunk is compressed and marked as read-only, a writable chunk takes its place. If an ingester process crashes or exits abruptly, all the data that has not yet been flushed will be lost. Loki is usually configured to replicate multiple replicas (usually 3) of each log to mitigate this risk....
https://github.com/grafana/loki/blob/main/docs/sources/get-started/components.md
main
loki
[ -0.10005218535661697, -0.007350085768848658, 0.002403394551947713, 0.02891903929412365, -0.018484177067875862, -0.10086504369974136, -0.037019725888967514, -0.032124195247888565, 0.0964573472738266, 0.08398830890655518, 0.014780034311115742, 0.05775640532374382, -0.01815328188240528, -0.06...
0.144313
This process is used to avoid flushing all chunks when shutting down, which is a slow process. ## Query frontend The \*\*query frontend\*\* is an \*\*optional service\*\* providing the querier's API endpoints and can be used to accelerate the read path. When the query frontend is in place, incoming query requests shoul...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/components.md
main
loki
[ -0.03887986019253731, -0.037953197956085205, -0.015060638077557087, 0.0775449126958847, -0.052583247423172, -0.07014332711696625, 0.016495494171977043, -0.04234466329216957, 0.055726662278175354, 0.0478191003203392, -0.052738118916749954, 0.07853571325540543, 0.03175133839249611, -0.075825...
0.1871
volume query results similar to the [metric query](#metric-queries) results. This cache is only applicable when using single store TSDB. ## Query scheduler The \*\*query scheduler\*\* is an \*\*optional service\*\* providing more [advanced queuing functionality](https://grafana.com/docs/loki//operations/query-fairness/...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/components.md
main
loki
[ -0.029369371011853218, -0.03261318802833557, -0.027398385107517242, 0.04050565883517265, -0.12018762528896332, -0.06682933866977692, -0.01648990996181965, -0.053562093526124954, 0.05846170336008072, 0.05519940331578255, -0.03995557501912117, -0.004935247357934713, 0.041886646300554276, 0.0...
0.092488
can be managed via the ruler API or directly by uploading the files to object storage. Alternatively, the ruler can also delegate rule evaluation to the query frontend. This mode is called remote rule evaluation and is used to gain the advantages of query splitting, query sharding, and caching from the query frontend. ...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/components.md
main
loki
[ -0.06392288208007812, 0.056800954043865204, -0.07458099722862244, 0.032824091613292694, -0.022566424682736397, -0.04876665771007538, 0.010286850854754448, 0.018109899014234543, 0.05615180730819702, 0.0487825870513916, -0.05299834534525871, 0.009863589890301228, 0.0502731017768383, 0.013177...
0.164459
# Loki deployment modes Loki is a distributed system consisting of many microservices. It also has a unique build model where all of those microservices exist within the same binary. You can configure the behavior of the single binary with the `-target` command-line flag to specify which microservices will run on start...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/deployment-modes.md
main
loki
[ 0.06252475082874298, -0.04726209491491318, 0.02379041537642479, -0.011805251240730286, 0.013865899294614792, -0.07464446127414703, -0.03466730937361717, 0.03469608351588249, -0.038985803723335266, 0.011047697626054287, 0.041516635566949844, -0.011212540790438652, 0.003824828192591667, 0.02...
0.156504
stateless and can be run as a Kubernetes Deployment that can be scaled automatically (Note that in the official helm chart it is currently deployed as a stateful set). It contains the following components: \* Query Frontend \* Querier - `-target=backend` - The backend target is stateful, and is controlled by a Kubernet...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/deployment-modes.md
main
loki
[ 0.00471470644697547, -0.005342019721865654, 0.015412697568535805, -0.0025968144182115793, -0.06564506888389587, -0.03332473710179329, -0.0793108344078064, -0.003973012324422598, 0.017627133056521416, 0.06697873771190643, -0.02630758471786976, 0.014483563601970673, 0.0411837212741375, -0.01...
0.195002
# Get started with Grafana Loki {{< youtube id="1uk8LtQqsZQ" >}} Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus. It's designed to be very cost-effective and easy to operate. It doesn't index the contents of the logs, but rather a set of labels for each log ...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/_index.md
main
loki
[ -0.01934046670794487, -0.029929781332612038, -0.0033873221836984158, -0.03326389566063881, -0.011957296170294285, -0.048857878893613815, -0.042822301387786865, -0.0005988696939311922, 0.04477609694004059, 0.05930287763476372, -0.015573922544717789, -0.045548539608716965, -0.02399402670562267...
0.132138
# Modify default OpenTelemetry labels When Grafana Loki first started supporting OpenTelemetry, we selected a set of [default resource attributes to promote to labels](https://grafana.com/docs/loki//get-started/labels/#default-labels-for-opentelemetry). We included some labels such as k8s.pod.name to be consistent with...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/modify-default-labels.md
main
loki
[ -0.09791531413793564, 0.05732256919145584, -0.05474071204662323, 0.044762108474969864, -0.017790520563721657, -0.029891524463891983, 0.00705554336309433, -0.021425409242510796, -0.013261787593364716, -0.04887866601347923, 0.02763131633400917, -0.06223267316818237, 0.0002306746901012957, 0....
0.171444
Helm chart to demote `k8s.pod.name` and `service.instance.id` from index labels to structured metadata. ```yaml # Enable pod log collection for the cluster. Will collect logs from all pods in both the meta and loki namespace. podLogs: enabled: true collector: alloy-singleton #List of attributes to use as index labels i...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/modify-default-labels.md
main
loki
[ 0.0482688844203949, 0.038971997797489166, 0.029921602457761765, 0.023519303649663925, 0.02472265064716339, 0.005219056736677885, -0.00422365078702569, 0.026954669505357742, 0.06459832191467285, 0.05035727843642235, -0.0071400366723537445, -0.10843707621097565, 0.010943346656858921, -0.0227...
0.177341
# Cardinality The cardinality of a data attribute is the number of distinct values that the attribute can have. For example, a boolean column in a database, which can only have a value of either `true` or `false` has a cardinality of 2. High cardinality refers to a column or row in a database that can have many possibl...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/cardinality.md
main
loki
[ 0.08415671437978745, -0.02914145588874817, -0.06885159015655518, -0.026980610564351082, -0.004304875619709492, 0.019201351329684258, 0.06692878156900406, 0.0401461198925972, 0.12139619886875153, -0.02374427206814289, 0.03389164060354233, -0.03043949604034424, 0.06492683291435242, -0.009586...
0.116604
label. [Query acceleration with Blooms](https://grafana.com/docs/loki//operations/bloom-filters/) also utilizes structured metadata. {{< /admonition >}}
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/cardinality.md
main
loki
[ -0.07138589024543762, 0.07661460340023041, -0.06559041142463684, 0.06448370218276978, -0.05213344842195511, -0.004287525080144405, 0.02545848861336708, -0.04764339700341225, -0.008474057540297508, -0.062280744314193726, -0.017692508175969124, -0.03721863031387329, -0.014346362091600895, -0...
0.147923
# What is structured metadata {{< admonition type="warning" >}} Structured metadata was added to chunk format V4 which is used if the schema version is greater or equal to `13`. See [Schema Config](https://grafana.com/docs/loki//configure/storage/#schema-config) for more details about schema versions. {{< /admonition >...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/structured-metadata.md
main
loki
[ -0.02464182674884796, 0.057075176388025284, -0.06540382653474808, -0.03020353987812996, -0.001661404618062079, -0.08496825397014618, -0.0430249348282814, 0.03515784069895744, 0.06027252599596977, 0.026700777933001518, -0.0161240603774786, -0.05453355982899666, -0.030665351077914238, 0.0410...
0.200632
[max\_structured\_metadata\_entries\_count: | default = 128] ``` {{< /admonition >}} ## Querying structured metadata Structured metadata is extracted automatically for each returned log line and added to the labels returned for the query. You can use labels of structured metadata to filter log line using a [label filte...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/structured-metadata.md
main
loki
[ -0.04396415501832962, 0.0409352146089077, -0.04666951671242714, 0.0013905244413763285, -0.07715100795030594, -0.06218920648097992, 0.04198721423745155, -0.04033037647604942, 0.024871326982975006, 0.0114626819267869, -0.03460580110549927, -0.08709397166967392, 0.004594425205141306, 0.029353...
0.068591
# Label best practices Grafana Loki is under active development, and we are constantly working to improve performance. But here are some of the most current best practices for labels that will give you the best experience with Loki. ## Static labels are good Use labels for things like regions, clusters, servers, applic...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/bp-labels.md
main
loki
[ -0.05119956657290459, 0.002834529150277376, -0.08810538798570633, 0.01121174730360508, -0.02811400219798088, -0.010814999230206013, 0.0345173217356205, 0.03676436468958855, 0.0029966840520501137, -0.01862430013716221, -0.010143923573195934, -0.060123883187770844, -0.001021676231175661, 0.0...
0.173114
dynamic labels with Loki: - Ensure the labels have low cardinality, ideally limited to tens of values. - Use labels with long-lived values, such as the initial segment of an HTTP path: `/load`, `/save`, `/update`. - Do not extract ephemeral values like a trace ID or an order ID into a label; the values should be static...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/bp-labels.md
main
loki
[ 0.006510262843221426, 0.014939956367015839, -0.08744241297245026, 0.026116633787751198, -0.038676973432302475, -0.008571673184633255, 0.035917267203330994, 0.054146476089954376, 0.004193759988993406, -0.0678476020693779, -0.022404437884688377, -0.04669753834605217, 0.010511535219848156, 0....
0.108675
# Understand labels Labels are a crucial part of Loki. They allow Loki to organize and group together log messages into log streams. Each log stream must have at least one label to be stored and queried in Loki. In this topic we'll learn about labels and why your choice of labels is important when shipping logs to Loki...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/_index.md
main
loki
[ -0.012450167909264565, -0.0001446708047296852, -0.054861947894096375, 0.017327332869172096, 0.0023922575637698174, -0.05202987790107727, 0.02523740753531456, 0.00935948546975851, 0.05956796556711197, 0.022071529179811478, 0.0064732288010418415, -0.06566236168146133, -0.023111354559659958, ...
0.124867
select resource attributes as labels. Although the default config selects more than 15 Resource Attributes, some are mutually exclusive. {{< /admonition >}} {{< admonition type="tip" >}} For Grafana Cloud Logs, see the [current OpenTelemetry guidance](https://grafana.com/docs/grafana-cloud/send-data/otlp/otlp-format-co...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/_index.md
main
loki
[ -0.024523606523871422, 0.0373120978474617, -0.12000037729740143, 0.022806843742728233, 0.009308339096605778, -0.0337623730301857, 0.020861737430095673, -0.053421664983034134, 0.02413777820765972, 0.0037171838339418173, 0.03569471463561058, -0.08871009200811386, -0.014564042910933495, 0.024...
0.109417
or virtual machines, the hostname should be stored in [structured metadata](https://grafana.com/docs/loki//get-started/labels/structured-metadata/). If your logs had the example labels above, then you might query them in LogQL like this: `{namespace="mynamespace", cluster="cluster123" filename="/var/log/myapp.log"}` Un...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/_index.md
main
loki
[ -0.03671246021986008, 0.012020844034850597, -0.09601248055696487, 0.04468042775988579, -0.011540479958057404, -0.05135352537035942, 0.005735292565077543, -0.0028129357378929853, 0.06529274582862854, 0.002095175674185157, 0.0041078538633883, -0.07978174090385437, 0.03944139555096626, 0.0268...
0.140591
`{environment="production", app="fast\_app"}` Now the "fast\_app" and "slow\_app" will ship logs to different streams, allowing each to maintain their order of ingestion. ## Loki labels examples The way that labels are added to logs is configured in the client that you use to send logs to Loki. The specific configurati...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/_index.md
main
loki
[ -0.05135531350970268, -0.005380370654165745, -0.035868991166353226, 0.021156437695026398, 0.009175640530884266, -0.01688135787844658, 0.0504615418612957, 0.032860059291124344, -0.0010908349649980664, 0.00541413901373744, -0.011923828162252903, -0.07986603677272797, 0.04482424259185791, 0.0...
0.169237
-0500] "GET /1986.js HTTP/1.1" 200 932 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 GTB6" {job="apache",env="dev",action="POST",status\_code="200"} 11.11.11.12 - frank [25/Jan/2000:14:00:02 -0500] "POST /1986.js HTTP/1.1" 200 932 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/labels/_index.md
main
loki
[ -0.05433971807360649, 0.03040310926735401, -0.03193579614162445, 0.012566464021801949, 0.04707050323486328, -0.0922691598534584, -0.04713701456785202, -0.0820646584033966, 0.04305239021778107, -0.05854302644729614, 0.015544547699391842, 0.05040862038731575, -0.02008652500808239, -0.0089931...
0.013756
# Quickstart to run Loki locally If you want to experiment with Loki, you can run Loki locally using the Docker Compose file that ships with Loki. It runs Loki in the [simple scalable deployment](https://grafana.com/docs/loki//get-started/deployment-modes/#simple-scalable) mode and includes a sample application to gene...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/quick-start.md
main
loki
[ -0.05941234529018402, -0.009927481412887573, -0.038531843572854996, 0.02529635652899742, 0.02377542294561863, -0.1047583818435669, -0.0640404000878334, 0.016393352299928665, -0.013828005641698837, 0.037489812821149826, -0.05864192172884941, -0.07469619065523148, -0.03684428706765175, 0.034...
0.12841
Grafana Alloy is running. - You can access the Grafana Alloy UI at [http://localhost:12345](http://localhost:12345). 6. (Optional) You can check all the containers are running by running the following command: ```bash docker ps -a ``` ## View your logs in Grafana After you have collected logs, you will want to view the...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/quick-start.md
main
loki
[ -0.061242472380399704, -0.010056523606181145, -0.06084354594349861, 0.057522255927324295, 0.07214067876338959, -0.08935574442148209, -0.024580636993050575, -0.015084744431078434, -0.020501328632235527, 0.0018636424792930484, -0.0408620722591877, -0.11091521382331848, -0.01377196703106165, ...
0.085225
logfmt parser\*\*, by clicking \*\*Use this query\*\*. 1. On the Explore tab, click \*\*Label browser\*\*, in the dialog select a container and click \*\*Show logs\*\*. For a thorough introduction to LogQL, refer to the [LogQL reference](https://grafana.com/docs/loki//query/). ## Sample queries (code view) Here are som...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/quick-start.md
main
loki
[ -0.024145763367414474, -0.030462129041552544, -0.09291906654834747, 0.07914881408214569, 0.010289523750543594, -0.09008761495351791, 0.043135203421115875, -0.017109237611293793, 0.03306107968091965, 0.0067563895136117935, -0.04035135731101036, -0.0572969950735569, 0.004039067309349775, -0....
0.046064
# Loki Tutorial This quickstart guide will walk you through deploying Loki in single binary mode (also known as [monolithic mode](https://grafana.com/docs/loki//get-started/deployment-modes/#monolithic-mode)) using Docker Compose. Grafana Loki is only one component of the Grafana observability stack for logs. In this t...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/tutorial.md
main
loki
[ -0.06838792562484741, 0.00010687726171454415, -0.029146987944841385, -0.019563471898436546, -0.035282544791698456, -0.10014969855546951, -0.02619856595993042, 0.025094138458371162, -0.017055297270417213, 0.06792566925287247, 0.0033539978321641684, -0.11159475147724152, -0.006954531650990248,...
0.140391
with Grafana Logs Drilldown](https://grafana.com/docs/grafana/latest/explore/simplified-exploration/logs/get-started/). ## Collect logs from a sample application Currently, the Loki stack is collecting logs about itself. To provide a more realistic example, you can deploy a sample application that generates logs. The s...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/tutorial.md
main
loki
[ -0.11686646938323975, -0.04168802872300148, -0.057653095573186874, 0.005916121881455183, -0.012705313041806221, -0.11766340583562851, -0.0008914450299926102, -0.003774109063670039, 0.030163338407874107, 0.0794277936220169, 0.005521439015865326, -0.08048858493566513, 0.003530333749949932, 0...
0.24606
1. From the menu in the dashboard header, select the Loki data source (2). This displays the Loki query editor. In the query editor you use the Loki query language, [LogQL](https://grafana.com/docs/loki//query/), to query your logs. To learn more about the query editor, refer to the [query editor documentation](https:/...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/tutorial.md
main
loki
[ -0.0802958756685257, -0.015532022342085838, -0.08005530387163162, 0.05789019912481308, -0.07498262077569962, -0.06343748420476913, -0.037166912108659744, 0.0007186798029579222, 0.018192574381828308, 0.06826069951057434, -0.03344351425766945, -0.0788610577583313, 0.023579873144626617, -0.00...
0.096194
of `ERROR` and a `line` attribute of `58`. LogQL also supports metrics queries. Metrics are useful for abstracting the raw log data aggregating attributes into numeric values. This allows you to utilize more visualization options in Grafana as well as generate alerts on your logs. For example, you can use a metric quer...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/tutorial.md
main
loki
[ -0.05063437297940254, 0.021312503144145012, -0.049520183354616165, 0.03095274604856968, -0.07097511738538742, -0.08027460426092148, -0.009331723675131798, 0.027939941734075546, 0.027898145839571953, 0.06571254134178162, -0.018361466005444527, -0.12533611059188843, 0.08119352161884308, 0.01...
0.070813
are connected: \* \*\*discovery.docker\*\*: This component queries the metadata of the Docker environment via the Docker socket and discovers new containers, as well as providing metadata about the containers. \* \*\*discovery.relabel\*\*: This component converts a metadata (`\_\_meta\_docker\_container\_name`) label i...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/tutorial.md
main
loki
[ 0.010310729034245014, 0.03562571853399277, -0.006323863286525011, 0.025466708466410637, 0.05973532795906067, -0.0495440699160099, 0.04521910101175308, -0.0337008498609066, 0.060438014566898346, 0.023399652913212776, -0.02558799833059311, -0.07560283690690994, 0.016740839928388596, 0.020528...
0.156705
documentation. ### Grafana Loki Data source The final piece of the puzzle is the Grafana Loki data source. This is used by Grafana to connect to Loki and query the logs. Grafana has multiple ways to define a data source: \* \*\*Direct\*\*: This is where you define the data source in the Grafana UI. \* \*\*Provisioning\...
https://github.com/grafana/loki/blob/main/docs/sources/get-started/quick-start/tutorial.md
main
loki
[ -0.061100322753190994, -0.016098501160740852, -0.029499683529138565, 0.036002740263938904, -0.036276549100875854, -0.08795496821403503, -0.04878855124115944, -0.021799759939312935, -0.004582228604704142, 0.06742823123931885, 0.006542514078319073, -0.10853428393602371, 0.020749663934111595, ...
0.01179
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex char...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/CODE_OF_CONDUCT.md
main
ckad-exercises
[ -0.0039531160145998, 0.06808163970708847, -0.005732879973948002, -0.0030267671681940556, -0.014490759931504726, 0.06686898320913315, 0.003709884826093912, -0.05929004028439522, -0.025362461805343628, 0.011467767879366875, 0.00841405987739563, -0.041727155447006226, -0.015594778582453728, 0...
0.079829
![](https://gaforgithub.azurewebsites.net/api?repo=CKAD-exercises/state∅) # State Persistence (8%) kubernetes.io > Documentation > Tasks > Configure Pods and Containers > [Configure a Pod to Use a Volume for Storage](https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/) kubernetes.io > Doc...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/g.state.md
main
ckad-exercises
[ 0.010954753495752811, -0.005278872326016426, -0.02476830594241619, 0.04719668626785278, -0.021417509764432907, 0.008942069485783577, -0.00583679461851716, -0.017000501975417137, 0.043618351221084595, 0.08693358302116394, -0.0033062929287552834, -0.02907462790608406, 0.07245024293661118, 0....
0.08038
```bash kubectl create -f pvc.yaml ``` Show the PersistentVolumeClaims and PersistentVolumes: ```bash kubectl get pvc # will show as 'Bound' kubectl get pv # will show as 'Bound' as well ``` ### Create a busybox pod with command 'sleep 3600', save it on pod.yaml. Mount the PersistentVolumeClaim to '/etc/foo'. Connect t...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/g.state.md
main
ckad-exercises
[ 0.051295265555381775, -0.007234819699078798, 0.006662418600171804, 0.006438829470425844, -0.01815757527947426, 0.0043291617184877396, -0.040879081934690475, 0.01815040037035942, 0.07708265632390976, 0.02035929635167122, 0.008207486942410469, -0.05156677961349487, -0.016584692522883415, -0....
0.060715
![](https://gaforgithub.azurewebsites.net/api?repo=CKAD-exercises/pod\_design∅) # Pod design (20%) [Labels And Annotations](#labels-and-annotations) [Deployments](#deployments) [Jobs](#jobs) [Cron Jobs](#cron-jobs) ## Labels and Annotations kubernetes.io > Documentation > Concepts > Overview > Working with Kubernetes O...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/c.pod_design.md
main
ckad-exercises
[ -0.0388859324157238, 0.039589717984199524, -0.037317465990781784, -0.006667119450867176, -0.01638748310506344, 0.055635567754507065, 0.06795883178710938, -0.07487019151449203, 0.06366049498319626, 0.004276731517165899, -0.023144403472542763, -0.10481348633766174, 0.012877468951046467, -0.0...
0.128771
`nodeName` forces the Pod to be bound to a specific node (bypassing the scheduler). For more details, see the official docs: [https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename) ```yaml apiVersion: v1 kind:...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/c.pod_design.md
main
ckad-exercises
[ -0.010020067915320396, 0.07600445300340652, 0.0748477429151535, 0.0430811308324337, 0.042090464383363724, -0.02612891234457493, -0.01564953103661537, -0.0776575356721878, 0.09046228975057602, 0.017151374369859695, -0.08418493717908859, -0.04873044416308403, -0.0012199489865452051, -0.03255...
0.123989
confirm that the replicas are OK show ```bash kubectl rollout history deploy nginx kubectl get deploy nginx kubectl get rs # check that a new replica set has been created kubectl get po ``` ### Undo the latest rollout and verify that new pods have the old image (nginx:1.18.0) show ```bash kubectl rollout undo deploy ng...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/c.pod_design.md
main
ckad-exercises
[ -0.004645166452974081, 0.02636193111538887, 0.06635301560163498, -0.053231749683618546, 0.005500571336597204, -0.04850811883807182, -0.0402190126478672, -0.05740709230303764, 0.07837849110364914, 0.02901548147201538, 0.012107589282095432, -0.03381646052002907, -0.012890373356640339, 0.0047...
0.045736
from within a Pod: ``` # run a wget to the Service my-app-svc kubectl run -it --rm --restart=Never busybox --image=gcr.io/google-containers/busybox --command -- wget -qO- my-app-svc version-1 ``` Deploy 1 replica of v2: ``` apiVersion: apps/v1 kind: Deployment metadata: name: my-app-v2 labels: app: my-app spec: replica...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/c.pod_design.md
main
ckad-exercises
[ 0.03452743962407112, 0.014983187429606915, 0.01861584559082985, 0.020779583603143692, 0.044437143951654434, -0.06855029612779617, -0.03320525586605072, -0.07336844503879547, 0.060798726975917816, 0.03783060610294342, 0.006182551383972168, -0.056028060615062714, -0.0994316041469574, -0.0423...
0.026117
``` ```bash kubectl create -f job.yaml ``` Verify that it has been completed: ```bash kubectl get job busybox -w # will take two and a half minutes kubectl delete jobs busybox ``` ### Create the same job, but make it run 5 parallel times show ```bash vi job.yaml ``` Add job.spec.parallelism=5 ```YAML apiVersion: batch/...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/c.pod_design.md
main
ckad-exercises
[ -0.002581691835075617, 0.018079092726111412, -0.012912126258015633, -0.006717111449688673, -0.005133786704391241, -0.04974956065416336, -0.07072313874959946, -0.07049240916967392, 0.0809987261891365, 0.0399380661547184, 0.014043355360627174, -0.06231343746185303, -0.0690239816904068, -0.07...
0.068648
- -c - date; echo Hello from the Kubernetes cluster image: busybox name: time-limited-job resources: {} restartPolicy: Never schedule: '\* \* \* \* \*' status: {} ``` ### Create a cron job with image busybox that runs every minute and writes 'date; echo Hello from the Kubernetes cluster' to standard output. The cron jo...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/c.pod_design.md
main
ckad-exercises
[ 0.06455715000629425, 0.030807841569185257, -0.0020214002579450607, 0.001233183196745813, 0.005318444687873125, 0.00822948943823576, -0.055697936564683914, -0.006164906546473503, 0.054961927235126495, 0.03734397143125534, -0.030107231810688972, -0.07528301328420639, -0.04858780652284622, -0...
0.072917
![](https://gaforgithub.azurewebsites.net/api?repo=CKAD-exercises/services∅) # Services and Networking (13%) ### Create a pod with image nginx called nginx and expose its port 80 show ```bash kubectl run nginx --image=nginx --restart=Never --port=80 --expose # observe that a pod as well as a service are created ``` ###...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/f.services.md
main
ckad-exercises
[ -0.005582126788794994, -0.0128592848777771, -0.04212493821978569, 0.020518749952316284, -0.020800143480300903, -0.03580799698829651, -0.004636344965547323, -0.09941046684980392, 0.07398176193237305, 0.07822683453559875, 0.0037132096476852894, -0.053311098366975784, -0.01945945993065834, -0...
0.1191
--port=6262 --target-port=8080 kubectl get service foo # you will see ClusterIP as well as port 6262 kubectl get endpoints foo # you will see the IPs of the three replica pods, listening on port 8080 ``` ### Create a temp busybox pod and connect via wget to foo service. Verify that each time there's a different hostnam...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/f.services.md
main
ckad-exercises
[ -0.0028672891203314066, -0.0527852326631546, -0.011271192692220211, -0.02002634108066559, -0.02741115726530552, -0.06468033790588379, -0.06945788860321045, -0.1030997633934021, 0.09165060520172119, 0.034354619681835175, -0.01937149278819561, -0.04747395217418671, -0.045370232313871384, -0....
0.127223
# Define, build and modify container images - Note: The topic is part of the new CKAD syllabus. Here are a few examples of using \*\*podman\*\* to manage the life cycle of container images. The use of \*\*docker\*\* had been the industry standard for many years, but now large companies like [Red Hat](https://www.redhat...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/j.podman.md
main
ckad-exercises
[ -0.051447466015815735, 0.03799561411142349, 0.059736523777246475, -0.04636351391673088, -0.006536094471812248, -0.019997671246528625, 0.010843035764992237, -0.010563447140157223, 0.03611500561237335, 0.0621616393327713, 0.0017865021945908666, -0.03975566104054451, 0.009249315597116947, -0....
0.18995
skipped: already exists Copying blob 8e47efbf2b7e skipped: already exists Copying blob 42e0f5a91e40 skipped: already exists Copying config ef4b14a72d done Writing manifest to image destination Storing signatures ef4b14a72d02ae0577eb0632d084c057777725c279e12ccf5b0c6e4ff5fd598b ``` ### Create a container without running/...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/j.podman.md
main
ckad-exercises
[ 0.05324007570743561, -0.0038975237403064966, 0.06038430333137512, -0.05311981961131096, 0.10692444443702698, -0.06430863589048386, 0.01687020994722843, -0.014002122916281223, 0.033355969935655594, 0.017356447875499725, 0.023595580831170082, -0.09853110462427139, -0.019491072744131088, -0.0...
0.018481
![](https://gaforgithub.azurewebsites.net/api?repo=CKAD-exercises/configuration∅) # Configuration (18%) [ConfigMaps](#configmaps) [SecurityContext](#securitycontext) [Resource Requests and Limits](#resource-requests-and-limits) [Limit Ranges](#limit-ranges) [Resource Quotas](#resource-quotas) [Secrets](#secrets) [Servi...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/d.configuration.md
main
ckad-exercises
[ -0.020712601020932198, 0.022850558161735535, -0.05587806552648544, 0.036950044333934784, -0.02024272456765175, -0.012471089139580727, 0.04436682164669037, -0.04825790226459503, 0.03374375030398369, 0.09627322852611542, 0.002310783602297306, -0.09753306210041046, 0.06344665586948395, -0.027...
0.095906
- name: myvolume # the name that you specified in pod.spec.volumes.name mountPath: /etc/lala # the path inside your container dnsPolicy: ClusterFirst restartPolicy: Never status: {} ``` ```bash kubectl create -f pod.yaml kubectl exec -it nginx -- /bin/sh cd /etc/lala ls # will show var8 var9 cat var8 # will show val8 `...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/d.configuration.md
main
ckad-exercises
[ 0.0256145391613245, -0.0386284738779068, -0.01148432120680809, -0.037648383527994156, -0.045382656157016754, 0.00626859487965703, -0.01649465225636959, 0.027992263436317444, 0.03918259218335152, 0.01631215214729309, -0.03713955357670784, -0.06090417876839638, 0.01826118864119053, 0.0172245...
0.13023
2Gi ``` ```bash kubectl apply -f rq-one.yaml ``` or ```bash kubectl create quota my-rq --namespace=one --hard=requests.cpu=1,requests.memory=1Gi,limits.cpu=2,limits.memory=2Gi ``` ### Attempt to create a pod with resource requests `cpu=2`, `memory=3Gi` and limits `cpu=3`, `memory=4Gi` in namespace `one` show ```bash vi...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/d.configuration.md
main
ckad-exercises
[ 0.04130001738667488, -0.0014437698991969228, -0.01585792936384678, -0.004007688723504543, -0.04399885609745979, -0.054698627442121506, -0.007869605906307697, -0.01462493184953928, 0.12819114327430725, 0.05675170570611954, -0.054800521582365036, -0.07698965817689896, -0.014743758365511894, ...
0.09715
pod in env variable called 'USERNAME' show ```bash kubectl delete po nginx kubectl run nginx --image=nginx --restart=Never -o yaml --dry-run=client > pod.yaml vi pod.yaml ``` ```YAML apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: run: nginx name: nginx spec: containers: - image: nginx imagePullPolic...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/d.configuration.md
main
ckad-exercises
[ 0.01707454025745392, 0.035782720893621445, 0.00880847405642271, -0.013023185543715954, -0.010948480106890202, -0.039808180183172226, 0.03835636377334595, 0.001219556201249361, 0.1101950854063034, 0.014590686187148094, -0.015048437751829624, -0.06456302851438522, -0.02425326593220234, -0.01...
0.100956
create -f sa.yaml ``` ### Create an nginx pod that uses 'myuser' as a service account show ```bash kubectl run nginx --image=nginx --restart=Never -o yaml --dry-run=client > pod.yaml vi pod.yaml ``` ```YAML apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: run: nginx name: nginx spec: serviceAccountNam...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/d.configuration.md
main
ckad-exercises
[ 0.022411402314901352, -0.0077887848019599915, 0.007738178595900536, -0.031068721786141396, -0.03840218484401703, -0.03878180682659149, 0.013408306986093521, 0.005139239132404327, 0.08356698602437973, 0.03404209017753601, -0.028732769191265106, -0.06465867161750793, -0.03583604469895363, 0....
0.092171
![](https://gaforgithub.azurewebsites.net/api?repo=CKAD-exercises/observability∅) # Observability (18%) ## Liveness, readiness and startup probes kubernetes.io > Documentation > Tasks > Configure Pods and Containers > [Configure Liveness, Readiness and Startup Probes](https://kubernetes.io/docs/tasks/configure-pod-cont...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/e.observability.md
main
ckad-exercises
[ 0.0020813876762986183, -0.0010188795858994126, 0.005300083663314581, 0.019263727590441704, 0.035644013434648514, -0.03334309160709381, -0.04504907503724098, -0.08179877698421478, 0.024375461041927338, 0.08845220506191254, -0.025037404149770737, -0.043512482196092606, 0.023784680292010307, ...
0.061296
### Create a busybox pod that runs 'ls /notexist'. Determine if there's an error (of course there is), see it. In the end, delete the pod show ```bash kubectl run busybox --restart=Never --image=busybox -- /bin/sh -c 'ls /notexist' # show that there's an error kubectl logs busybox kubectl describe po busybox kubectl de...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/e.observability.md
main
ckad-exercises
[ 0.06551553308963776, 0.01614266447722912, 0.05337759852409363, -0.020466485992074013, 0.043906934559345245, -0.04826240986585617, -0.012985399924218655, -0.023550570011138916, 0.11221205443143845, 0.025383317843079567, 0.027884237468242645, -0.08327338099479675, -0.01882859319448471, -0.03...
0.127505
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![unofficial Google Analytics for GitHub](https://gaforgithub.azurewebsites.net/api?repo=C...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/README.md
main
ckad-exercises
[ -0.05397816747426987, -0.0005414890474639833, 0.03458293899893761, -0.010639122687280178, -0.04562801122665405, -0.015373931266367435, 0.03265247493982315, -0.05928532034158707, 0.0004270747595001012, 0.06619111448526382, -0.01678476668894291, -0.047881707549095154, 0.084505595266819, -0.0...
0.104845
# Managing Kubernetes with Helm - Note: Helm is part of the new CKAD syllabus. Here are a few examples of using Helm to manage Kubernetes. ## Helm in K8s ### Creating a basic Helm chart show ```bash helm create chart-test ## this would create a helm ``` ### Running a Helm chart show ```bash helm install -f myvalues.yam...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/h.helm.md
main
ckad-exercises
[ 0.024074267596006393, 0.013789687305688858, 0.01703711785376072, -0.06678944826126099, -0.0013519368367269635, 0.018700217828154564, -0.030738187953829765, -0.0024728833232074976, 0.0844082310795784, 0.06819066405296326, 0.012064232490956783, -0.035057440400123596, 0.025474362075328827, -0...
0.114593
![](https://gaforgithub.azurewebsites.net/api?repo=CKAD-exercises/core\_concepts∅) # Core Concepts (13%) kubernetes.io > Documentation > Reference > kubectl CLI > [kubectl Cheat Sheet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/) kubernetes.io > Documentation > Tasks > Monitoring, Logging, and Debugging > ...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/a.core_concepts.md
main
ckad-exercises
[ 0.04394781216979027, 0.00910128653049469, -0.031944166868925095, -0.01802685670554638, 0.005371870007365942, 0.00609119376167655, -0.0043129753321409225, -0.03911598026752472, 0.02593010663986206, 0.0927530974149704, -0.026798686012625694, -0.08989737182855606, 0.026424484327435493, -0.043...
0.159394
recreated' kubectl get po nginx -w # watch it ``` \*Note\*: some time after changing the image, you should see that the value in the `RESTARTS` column has been increased by 1, because the container has been restarted, as stated in the events shown at the bottom of the `kubectl describe pod` command: ``` Events: Type Re...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/a.core_concepts.md
main
ckad-exercises
[ 0.017736732959747314, 0.023005815222859383, 0.05119086056947708, 0.0001796538708731532, 0.022893792018294334, -0.06920915842056274, -0.0012817762326449156, -0.024128993973135948, 0.09495782852172852, 0.032437585294246674, -0.0024957219138741493, -0.024935929104685783, -0.04439181834459305, ...
0.120855
# Extend the Kubernetes API with CRD (CustomResourceDefinition) - Note: CRD is part of the new CKAD syllabus. Here are a few examples of installing custom resource into the Kubernetes API by creating a CRD. ## CRD in K8s ### Create a CustomResourceDefinition manifest file for an Operator with the following specificatio...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/i.crd.md
main
ckad-exercises
[ -0.02821207605302334, 0.002792003331705928, 0.06310001015663147, -0.05049898102879524, -0.08503986150026321, 0.06281030178070068, -0.022261004894971848, -0.0007085314719006419, 0.06563284248113632, 0.044065315276384354, -0.044417448341846466, -0.09519512951374054, -0.008328622207045555, 0....
0.116762
![](https://gaforgithub.azurewebsites.net/api?repo=CKAD-exercises/multi\_container∅) # Multi-container Pods (10%) ### Create a Pod with two containers, both with image busybox and command "echo hello; sleep 3600". Connect to the second container and run 'ls' show The easiest way to do it is create a pod with a single c...
https://github.com/dgkanatsios/CKAD-exercises/blob/main/b.multi_container_pods.md
main
ckad-exercises
[ 0.05632511526346207, 0.019231753423810005, 0.00606205128133297, 0.032272953540086746, -0.0020432230085134506, -0.017689667642116547, 0.004826492164283991, -0.034477002918720245, 0.039364539086818695, 0.06996282190084457, 0.012326724827289581, -0.09860748052597046, 0.053749796003103256, -0....
0.044937
//!!NODE\_ROOT [."topic"] [[contribute,contribute.title]] = Contribute to this guide :info\_doctype: chapter :info\_titleabbrev: Contribute Anyone can contribute to the best practices guide. The EKS Best Practices Guide is written in the AsciiDoc format on GitHub. == Summary for existing contributors \* Open the https:...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/contribute.adoc
mainline
aws-eks-best-practices
[ -0.07625415176153183, 0.06607616692781448, -0.08143480867147446, 0.07083369046449661, 0.024589432403445244, 0.017030835151672363, -0.045431360602378845, 0.01230045035481453, 0.09582872688770294, 0.01949349232017994, 0.030723394826054573, -0.08247910439968109, 0.017064249143004417, -0.04735...
0.186694
Edit a single page You can rapidly update individual pages by using GitHub. Each page contains an "📝 Edit this page on GitHub" link at the bottom. . Navigate to the page in this guide you want to edit . Click the "Edit this page on GitHub" link at the bottom . Click the edit pencil icon on the top right of the GitHub ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/contribute.adoc
mainline
aws-eks-best-practices
[ -0.09238580614328384, -0.015457198023796082, -0.019474603235721588, 0.04470103979110718, 0.03648360073566437, -0.016775602474808693, -0.1288885623216629, -0.002953367307782173, 0.018054576590657234, 0.07556174695491791, -0.040954869240522385, 0.11021110415458679, 0.045358967036008835, -0.0...
0.059028
"diagram of VPC with three availability zones" is appropriate alt-text. . Update the following example with the alt-text and image filename. Insert at the desired location. + ==== +image::[]+ ==== + For example, + ==== +image::eks-data-plane-connectivity.jpeg[Network diagram]+ ==== == Check style with Vale . https://va...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/contribute.adoc
mainline
aws-eks-best-practices
[ -0.009671875275671482, 0.010201476514339447, -0.040534909814596176, 0.07508911937475204, 0.029943225905299187, 0.0025997308548539877, -0.06956851482391357, 0.009266058914363384, 0.05595758557319641, -0.05996834114193916, 0.055132731795310974, -0.05869089066982269, 0.010385979898273945, -0....
0.131351
//!!NODE\_ROOT [[top]] = Amazon EKS :doctype: book :toc: left :icons: font :experimental: :idprefix: :idseparator: - :info\_doctype: book :info\_title: Amazon EKS :info\_subtitle: Best Practices Guide :info\_abstract: Learn best practices for operating EKS clusters. :info\_corpauthor: AWS :info\_publisher: AWS :info\_c...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/book.adoc
mainline
aws-eks-best-practices
[ -0.04886502027511597, 0.03165654093027115, 0.006021933164447546, -0.02815173752605915, 0.06203147768974304, -0.0034641255624592304, 0.042477816343307495, -0.05074586719274521, 0.06061211973428726, 0.01600143313407898, 0.04179910942912102, -0.014979937113821507, 0.0791485533118248, -0.07582...
0.173043
//!!NODE\_ROOT [."topic"] [[introduction,introduction.title]] = Amazon EKS Best Practices Guide :doctype: book :sectnums: :toc: left :icons: font :experimental: :idprefix: :idseparator: - :sourcedir: . :info\_doctype: chapter :info\_title: Amazon EKS Best Practices Guide :info\_titleabbrev: Introduction :info\_abstract...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/index.adoc
mainline
aws-eks-best-practices
[ -0.060038972645998, 0.06549834460020065, 0.013675806112587452, 0.06805810332298279, 0.00000857623035699362, -0.0347098633646965, -0.027629954740405083, -0.03534239903092384, 0.021022170782089233, 0.05873233079910278, 0.0025457129813730717, -0.00019696488743647933, 0.03329697623848915, -0.0...
0.199377
//!!NODE\_ROOT [."topic"] [[aiml-cpu-inference,aiml-cpu-inference.title]] = CPU Inference and Orchestration on EKS :info\_doctype: section :imagesdir: images/ :info\_title: CPU Inference and Orchestration :info\_abstract: Best practices for running AI inference and orchestration workloads on CPU instances with Amazon E...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_cpu_inference.adoc
mainline
aws-eks-best-practices
[ -0.04694412648677826, 0.014511716552078724, 0.009608486667275429, 0.0395033061504364, 0.02543354593217373, -0.0558849573135376, -0.035470202565193176, -0.020636754110455513, 0.08436685800552368, 0.022461919113993645, -0.10011930763721466, -0.033359576016664505, -0.003642141120508313, -0.04...
0.259973
AI pipelines, every GPU inference call is surrounded by CPU work: tool execution, context assembly, vector search, embedding lookups, guardrails, response validation, memory management, and orchestration logic. As agents grow more complex (more tools, longer chains, multi-step reasoning), these CPU workloads grow super...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_cpu_inference.adoc
mainline
aws-eks-best-practices
[ 0.02339068613946438, -0.06678428500890732, -0.01006119605153799, 0.06307294219732285, 0.024511726573109627, -0.0717552974820137, -0.09069157391786575, 0.04149803891777992, 0.014496514573693275, -0.05106692761182785, -0.07576776295900345, -0.006341751664876938, -0.016063619405031204, -0.023...
0.160921
outputs. For any interactive or latency-sensitive use case, 70B+ models belong on GPU or Trainium. === Quick Benchmark Workflow Before committing to an instance family, we recommend running a structured benchmark comparing your candidate CPU families (arm64 and x86) against GPU on a single comparable metric: \*cost-per...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_cpu_inference.adoc
mainline
aws-eks-best-practices
[ 0.011527033522725105, -0.06457826495170593, 0.002258698223158717, 0.017602447420358658, 0.048193372786045074, -0.07204203307628632, -0.08953357487916946, -0.029268039390444756, -0.11055110394954681, -0.03883722424507141, -0.06270040571689606, -0.03224021941423416, -0.047649212181568146, 0....
0.024568
with Karpenter managing node lifecycle and KEDA scaling on observed load. This pattern extends naturally into RAG architectures: embedding generation, document chunking, and retrieval from OpenSearch all run cost-effectively on CPU nodes, feeding results to a GPU-hosted LLM only for the final generation step. The CPU f...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_cpu_inference.adoc
mainline
aws-eks-best-practices
[ -0.04567155987024307, -0.0009724790579639375, 0.04080747812986374, 0.020946811884641647, 0.00849971640855074, -0.0307345911860466, -0.08135746419429779, 0.027045341208577156, 0.06574299186468124, 0.004899896681308746, -0.08909062296152115, -0.013830834999680519, -0.051260389387607574, -0.0...
0.146196
it still helps for longer inputs. TIP: Q4\_K\_M quality degradation varies by model and task. Always evaluate on your own dataset before deploying to production. === Bin-packing for dense serving For classical ML and embedding models (typically <500MB each), the goal is \*maximum pod density per node at stable tail lat...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_cpu_inference.adoc
mainline
aws-eks-best-practices
[ 0.02674870193004608, -0.02026348002254963, 0.02611786127090454, 0.0422208271920681, 0.010662549175322056, -0.07971445471048355, -0.06442636996507645, 0.005524772219359875, 0.011415700428187847, 0.0031084357760846615, -0.07919517159461975, 0.014196831732988358, -0.0350949764251709, -0.02672...
0.099649
Triton, TorchServe) expose Prometheus-compatible metrics at a `/metrics` endpoint. The metric names vary by server, but the concepts are the same. \*Key metrics to instrument:\* [cols="2,3,2", options="header"] |=== |Metric Category |Description |Alerting Threshold |Requests processing / in-flight |Number of requests c...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_cpu_inference.adoc
mainline
aws-eks-best-practices
[ -0.03578910976648331, -0.0625341385602951, -0.08395137637853622, 0.034357186406850815, -0.02580975741147995, -0.10000336170196533, 0.028197484090924263, 0.07079420238733292, -0.036668289452791214, 0.015109946019947529, 0.006430118810385466, -0.039165351539850235, -0.1026768684387207, -0.00...
0.266272
dataset on your quantized SLM and compare. . \*Evaluate\* — Define your quality threshold before testing, for example, "SLM accuracy within 5 percentage points of baseline." The right threshold depends on the task: a classifier reviewed by humans can tolerate more errors than a system making automatic decisions. === Ho...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_cpu_inference.adoc
mainline
aws-eks-best-practices
[ 0.005474405828863382, -0.033525604754686356, 0.008329691365361214, 0.012153780087828636, -0.0477583184838295, -0.05025387182831764, -0.019823642447590828, -0.0091304462403059, -0.06305641680955887, -0.033597182482481, -0.012005573138594627, 0.009396000765264034, -0.005083021242171526, -0.0...
0.043201
//!!NODE\_ROOT [."topic"] [[aiml-networking,aiml-networking.title]] = AI/ML on EKS - Networking :info\_doctype: section :imagesdir: images/ :info\_title: Networking :info\_abstract: Networking :info\_titleabbrev: Networking :authors: ["Leah Tucker"] :date: 2025-05-30 TIP: https://aws-experience.com/emea/smb/events/seri...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_networking.adoc
mainline
aws-eks-best-practices
[ -0.016448302194476128, 0.02931137941777706, 0.013834334909915924, 0.049234796315431595, 0.048823125660419464, -0.021815551444888115, 0.012421662919223309, -0.01742715947329998, 0.037544406950473785, 0.06437727063894272, -0.04802779480814934, -0.02017565444111824, 0.007917382754385471, -0.0...
0.169862
//!!NODE\_ROOT [."topic"] [[aiml-performance,aiml-performance.title]] = AI/ML on EKS - Performance :info\_doctype: section :imagesdir: images/ :info\_title: Application Scaling and Performance :info\_abstract: Application Scaling and Performance :info\_titleabbrev: Performance :authors: ["Leah Tucker"] :date: 2025-05-3...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_performance.adoc
mainline
aws-eks-best-practices
[ -0.026709022000432014, 0.03363823518157005, 0.018495680764317513, 0.06383182853460312, 0.1028369590640068, -0.038381293416023254, -0.02891630306839943, -0.0031115980818867683, 0.036858830600976944, 0.045109204947948456, -0.03644587844610214, -0.018116693943738937, 0.030381781980395317, -0....
0.185508
extra infrastructure, compatible with all HuggingFace models, simple Kubernetes deployment. \* \*\*Cons\*\*: Restricts to single request/simple batching, slow token generation (no optimized kernels), memory inefficient, lacks scaling/monitoring, and involves long startup times. \* \*\*Recommendation\*\*: Use for initia...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_performance.adoc
mainline
aws-eks-best-practices
[ -0.04895615950226784, -0.07629621773958206, 0.0240112766623497, -0.025955157354474068, 0.011752546764910221, -0.02572295069694519, -0.08832940459251404, 0.03290313109755516, 0.009307590313255787, 0.01545813586562872, -0.05963246151804924, -0.01915844902396202, -0.03151079639792442, -0.0005...
0.291747
to understand the difference between baseline and burst bandwidth (see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html[Amazon EC2 instance network bandwidth]). To minimize time-to-ready for your workloads, select instance sizes with sufficient baseline network bandwidth relative ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_performance.adoc
mainline
aws-eks-best-practices
[ -0.016930805519223213, 0.02896963618695736, 0.02134759910404682, -0.012788578867912292, 0.03984104096889496, -0.051246754825115204, -0.039779577404260635, 0.05252686142921448, 0.0372721403837204, 0.02908705733716488, -0.006426896899938583, -0.011882456950843334, 0.031737323850393295, -0.05...
0.064844
https://containerd.io/[containerd] where images are stored after being pulled from a registry. Pre-pulling ensures images are available locally, avoiding download delays during pod startup. This approach is particularly useful when images change often (e.g., frequent updates), when EBS snapshots are not preconfigured, ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_performance.adoc
mainline
aws-eks-best-practices
[ -0.027762623503804207, 0.060416486114263535, 0.04942270740866661, 0.010737914592027664, 0.06661631166934967, -0.013286166824400425, -0.039396386593580246, 0.0377299040555954, 0.04612700641155243, 0.046883467584848404, -0.007758656516671181, 0.014920580200850964, -0.051014985889196396, -0.0...
0.166249
//!!NODE\_ROOT [."topic"] [[aiml-security,aiml-security.title]] = AI/ML on EKS - Security :info\_doctype: section :imagesdir: images/ :info\_title: Security :info\_abstract: Security :info\_titleabbrev: Security :authors: ["Leah Tucker"] :date: 2025-07-01 TIP: https://aws-experience.com/emea/smb/events/series/get-hands...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_security.adoc
mainline
aws-eks-best-practices
[ -0.025987207889556885, 0.020227743312716484, -0.04606961831450462, 0.02238008938729763, 0.07442480325698853, -0.0031106884125620127, 0.003380321431905031, -0.037463679909706116, 0.12214971333742142, 0.050815556198358536, -0.028906896710395813, -0.024174313992261887, 0.06232975423336029, -0...
0.068401
//!!NODE\_ROOT [."topic"] [[aiml-storage,aiml-storage.title]] = AI/ML on EKS - Storage :info\_doctype: section :imagesdir: images/ :info\_title: Storage :info\_abstract: Storage :info\_titleabbrev: Storage :authors: ["Leah Tucker"] :date: 2025-05-30 TIP: https://aws-experience.com/emea/smb/events/series/get-hands-on-wi...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_storage.adoc
mainline
aws-eks-best-practices
[ -0.016459118574857712, 0.04556005820631981, 0.04553493112325668, 0.07179993391036987, 0.06266163289546967, -0.05562533065676689, -0.025073125958442688, 0.027043981477618217, 0.10622021555900574, 0.0624108612537384, 0.003599149640649557, -0.025456687435507774, 0.0712021142244339, 0.00071882...
0.168416
serving, and you require native Amazon S3 data repository integration, we recommend https://docs.aws.amazon.com/fsx/latest/LustreGuide/what-is.html[Amazon FSx for Lustre]. FSx for Lustre provides a fully managed high performance parallel filesystem that is designed for compute-intensive workloads like high-performance ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_storage.adoc
mainline
aws-eks-best-practices
[ -0.06960394233465195, -0.023971011862158775, -0.06326458603143692, -0.013559023849666119, 0.0209638811647892, -0.04551157355308533, -0.06546204537153244, 0.02893754281103611, 0.011530672200024128, 0.0535612516105175, -0.0399739034473896, 0.024358177557587624, 0.028076281771063805, -0.02837...
0.104347
larger than the `ImportedFileChunkSize` will be stored on multiple OSTs with a stripe count based on the `ImportedFileChunkSize` defined value (default 1GiB). If you have large files, we recommend tuning this parameter to a higher value. \*\* \*\*Placement\*\*: Deploy an FSx for Lustre file system in the same Availabil...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_storage.adoc
mainline
aws-eks-best-practices
[ -0.016298197209835052, -0.007294349372386932, -0.09370681643486023, 0.010255987755954266, 0.02101152576506138, -0.04157394915819168, -0.06496810913085938, 0.1241602748632431, -0.04500658065080643, 0.003884561825543642, -0.02307802252471447, 0.03681674227118492, -0.010509178973734379, -0.00...
0.052946
\* \*\*API request charges\*\*: When performing a high number of file operations with the Mountpoint for S3, API request charges can become a portion of storage costs. To mitigate this, if strong consistency is not required, always enable metadata caching and set the `metadata-ttl` period to reduce the number of API op...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_storage.adoc
mainline
aws-eks-best-practices
[ -0.03189610689878464, 0.005836373660713434, -0.04271221160888672, 0.026907792314887047, 0.09363104403018951, -0.06562331318855286, -0.05083007737994194, -0.021181700751185417, 0.13000500202178955, 0.055181268602609634, -0.03806788846850395, 0.0162921454757452, 0.07390495389699936, -0.01943...
0.09544
\* \*\*Storage Class:\*\* FSx for OpenZFS supports both the https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-ssd.html[SSD storage] class as well as the https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/performance-intelligent-tiering.html[Intelligent-Tiering] storage class. For AI/ML workloads it is re...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_storage.adoc
mainline
aws-eks-best-practices
[ -0.04403313994407654, 0.07665349543094635, -0.0695028156042099, 0.0628710463643074, 0.09086526930332184, -0.06656620651483536, -0.026325881481170654, -0.002674002666026354, 0.042929209768772125, 0.030976178124547005, -0.07207254320383072, 0.1053861528635025, 0.04376830533146858, -0.0501781...
0.125125
Claim (PVC) that is backed by an EFS file system is created as an https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html[EFS Access-point to the EFS file system]. EFS allows multiple nodes and pods to access the same model files, eliminating the need to sync data to each node's filesystem. https://docs.aws.am...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_storage.adoc
mainline
aws-eks-best-practices
[ -0.07381328195333481, -0.0015961425378918648, -0.00964057631790638, 0.05344197526574135, 0.10268815606832504, -0.026562603190541267, -0.03210986778140068, 0.01029288675636053, 0.05835435539484024, 0.10838735103607178, -0.002299918094649911, -0.016495617106556892, 0.04356100782752037, -0.03...
0.191566
using the Mountpoint S3 CSI Driver with S3 Express One Zone is caching. The first instance reads data from S3 Standard (general purpose), caching it in lower-latency Express One Zone. Subsequent reads by other clients access the cached data faster, which is ideal for multi-node scenarios where multiple EKS nodes read t...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_storage.adoc
mainline
aws-eks-best-practices
[ -0.030641594901680946, -0.04769546166062355, -0.015010167844593525, 0.01803913153707981, 0.08500207215547562, -0.07129573076963425, -0.07452556490898132, -0.00124647025950253, 0.053069185465574265, 0.025829220190644264, -0.07748878002166748, 0.031159106642007828, 0.03232543170452118, -0.03...
0.157797
//!!NODE\_ROOT [."topic"] [[aiml-compute,aiml-compute.title]] = AI/ML on EKS - Compute :info\_doctype: section :imagesdir: images/ :info\_title: Compute and Autoscaling :info\_abstract: Compute and Autoscaling :info\_titleabbrev: Compute :authors: ["Leah Tucker"] :date: 2025-05-30 TIP: https://aws-experience.com/emea/s...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.04391438141465187, 0.06651998311281204, -0.013092088513076305, 0.06547624617815018, -0.006562435533851385, -0.06301243603229523, 0.0024258075281977654, -0.020879125222563744, 0.04196871072053909, 0.027516063302755356, -0.05667166784405708, -0.08167637884616852, 0.016712093725800514, -0....
0.148447
available. It’s important to understand the unique characteristics of your AI/ML workloads before diversifying arbitrarily. Review the available instance types using the https://aws.amazon.com/ec2/instance-explorer/[EC2 Instance Type Explorer] tool to generate a list of instance types that match your specific compute r...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ 0.0108374347910285, -0.06331220269203186, -0.010851472616195679, 0.071441650390625, 0.014288785867393017, 0.0323171503841877, -0.03767640143632889, 0.02111482433974743, -0.016659216955304146, 0.01339591946452856, -0.04853000491857529, -0.05039971321821213, 0.02614598348736763, -0.024884710...
0.141955
from checkpoints if interrupted, making them ideal for Spot's variable availability. \* \*\*Fine-tuning models\*\*: Use Spot instances for fine-tuning with robust checkpointing mechanisms to resume from the last saved state, minimizing the impact of instance interruptions. \* \*\*Batch inference\*\*: Use Spot instances...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.07104681432247162, -0.03549603000283241, -0.002536772284656763, 0.05294084921479225, 0.031047817319631577, 0.02488800324499607, 0.004454741254448891, -0.030736509710550308, -0.016873832792043686, -0.005514198448508978, -0.012844652868807316, 0.04048467054963112, -0.0004690363130066544, ...
0.219324
unused EC2 instance capacity for a specific instance type in a specific Availability Zone (AZ). When Karpenter tries to provision a new node, it selects an instance type that matches the NodePool's requirements. If no compatible instance type has Spot capacity in any AZ, then provisioning fails. To avoid this issue, al...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ 0.028173187747597694, -0.01740295998752117, 0.014667787589132786, 0.03895273804664612, 0.004498135764151812, -0.025122372433543205, -0.026755597442388535, -0.051635388284921646, 0.009327600710093975, -0.0017384581733494997, -0.08438345044851303, -0.08543507009744644, 0.026247307658195496, ...
0.079917
longer than two minutes, the old node will be interrupted prior to those pods being rescheduled, which could impact workload availability. Consider the two-minute Spot interruption notice when designing your applications, implement checkpointing in long-running applications (e.g., saving progress to persistent storage ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ 0.027866924181580544, 0.0023774660658091307, 0.08345265686511993, 0.0493335947394371, 0.06137154623866081, -0.053510233759880066, -0.10885340720415115, -0.013342413119971752, 0.026286326348781586, 0.046926792711019516, -0.05609205365180969, 0.07145144045352936, -0.048523955047130585, -0.07...
0.137005
work completed within a specific time frame to understand impact of diversification. \*\*Scenario: Diversification for real time inference workloads\*\* For a real-time online inference workload on Spot Instances, you can configure a Karpenter NodePool to diversify across compatible GPU instance families and generation...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.025980167090892792, -0.031301915645599365, 0.027798043563961983, 0.05069180577993393, 0.05985533818602562, -0.01482310052961111, -0.038758784532547, -0.028482265770435333, 0.014397528022527695, -0.025222696363925934, -0.08513841032981873, -0.0017819606000557542, -0.012398197315633297, 0...
0.129512
overhead. \* \*\*For Spot instances or hardware failures\*\*: In environments prone to interruptions, such as EC2 Spot (2-minute notice) or hardware failures (e.g., GPU memory errors), checkpointing enables quick resumption, making Spot viable for cost savings in fault-tolerant workloads. \* \*\*Distributed training at...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.03176553174853325, -0.012552311643958092, -0.00425328966230154, 0.03244549781084061, 0.06121579557657242, -0.04744858294725418, -0.052491188049316406, 0.05914456397294998, 0.04250744357705116, -0.02530939131975174, -0.04599941894412041, 0.02844509482383728, 0.037758078426122665, -0.0649...
0.205905
and Trainium instances, ODCRs can be used for a wider range of instance types, including G instances, making them suitable for workloads that require different GPU capabilities, such as inference or graphics. When using Amazon EC2 Spot Instances, being able to diverse across different instance types, sizes, and availab...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.02818339504301548, -0.041382886469364166, -0.022894224151968956, 0.06887461245059967, 0.09146315604448318, -0.04537959024310112, -0.09411121904850006, -0.010229313746094704, 0.07408081740140915, -0.03681673854589462, -0.05422337353229523, 0.013347542844712734, 0.0440179742872715, -0.046...
0.069717
`karpenter.k8s.aws/instance-gpu-name: "a100"`) \* \*\*Time-Slicing\*\*: Schedules workloads to share a GPU's compute resources over time, allowing concurrent execution without physical partitioning. This is ideal for workloads with variable compute demands, but may lack memory isolation. \* \*\*Multi-Instance GPU (MIG)...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.08623020350933075, 0.0078575499355793, -0.02678791992366314, 0.025826117023825645, 0.004147353116422892, -0.06665708124637604, -0.01661957986652851, -0.015126493759453297, 0.04212125763297081, -0.02429061569273472, -0.048661988228559494, -0.004526343662291765, -0.02011525072157383, -0.0...
0.260406
and Trainium-based instances. It is tailored for AI/ML workloads, using labels (e.g., node-health-status) to manage node health. When a node is deemed unhealthy, HyperPod triggers automatic replacement of the faulty hardware, such as GPUs. It detects networking-related failures for EFA through its basic health checks b...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ 0.025985540822148323, 0.004342255182564259, 0.0440220907330513, 0.08968062698841095, 0.08975186198949814, 0.01698719896376133, -0.00606980687007308, -0.016392597928643227, -0.05905158817768097, 0.0636163204908371, -0.0008221754105761647, -0.008092123083770275, -0.008199249394237995, -0.022...
0.232491
memory. We recommend using Kubernetes `PriorityClass` to assign priorities and `PodDisruptionBudget` to control eviction behavior. [,yaml] ---- apiVersion: scheduling.k8s.io/v1 kind: PriorityClass metadata: name: low-priority value: 100 --- spec: priorityClassName: low-priority ---- See the https://kubernetes.io/docs/c...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.0018200742779299617, 0.054322101175785065, 0.03567223623394966, 0.04225659370422363, -0.02605137974023819, -0.024124015122652054, -0.053237538784742355, -0.01618691347539425, 0.06413346529006958, 0.08927058428525925, -0.06248117610812187, -0.01757715828716755, -0.024533914402127266, -0....
0.151195
DRA transforms this model by introducing structured, declarative allocation that provides the Kubernetes scheduler with complete visibility into hardware characteristics and workload requirements. This enables intelligent placement decisions and efficient resource sharing. === Advantages of using DRA instead of NVIDIA ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.037783361971378326, -0.005513170268386602, -0.0011289609828963876, 0.03367985785007477, -0.024798937141895294, -0.029430368915200233, -0.09863460808992386, -0.02092638984322548, 0.040403541177511215, -0.02130918949842453, -0.09214537590742111, -0.03104565478861332, -0.04699435457587242, ...
0.180971
about Kubernetes DRA and NVIDIA DRA drivers, see the following resources on GitHub: \* Kubernetes https://github.com/kubernetes/dynamic-resource-allocation[dynamic-resource-allocation] \* https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/3063-dynamic-resource-allocation[Kubernetes enhancement proposa...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.03461870923638344, 0.032863784581422806, -0.0012166360393166542, 0.03664488345384598, -0.07885466516017914, -0.021033933386206627, -0.02206742763519287, 0.043079908937215805, 0.01717028021812439, -0.014704763889312744, -0.08071359246969223, -0.00846337154507637, -0.060571178793907166, -...
0.116135
A10G GPU and creates two `resourceslices` on that node. \* The `gpu.nvidia.com` slice registers the physical A10G GPU device with its specifications (memory, compute capability, and more). \* Since A10G doesn't support MIG partitioning, the `compute-domain.nvidia.com` slice creates a single compute domain representing ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.08846883475780487, 0.028471894562244415, 0.025215936824679375, 0.032713230699300766, -0.035475969314575195, -0.07315154373645782, -0.042898666113615036, 0.005023630801588297, 0.061398424208164215, -0.04011703282594681, -0.041283018887043, -0.03693036735057831, -0.0500526987016201, -0.00...
0.169885
usage. For an example, see <>. \* \*Multi-Process service (MPS)\* enables concurrent execution of multiple CUDA processes on a single GPU with better isolation than time-slicing. For an example, see <>. \* \*Multi-Instance GPU (MIG)\* provides hardware-level partitioning, creating isolated GPU instances with dedicated ...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.07419892400503159, -0.010375040583312511, -0.040671207010746, 0.01991329900920391, 0.030755838379263878, -0.08252304792404175, -0.011227025650441647, 0.027850637212395668, 0.03432530164718628, -0.025982040911912918, -0.062050603330135345, 0.05375015363097191, -0.016220439225435257, 0.00...
0.282453
GPU and reserved it for this Pod \* \*Pod status\*: Starts running immediately Second Pod (`training-pod-2`) \* \*State\*: `pending` \* \*Meaning\*: Waiting for DRA to configure time-slicing on the same GPU \* \*Pod status\*: Waiting to be scheduled \* The state will go from `pending` to `allocated,reserved` to `runnin...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.05117523670196533, 0.005256379023194313, -0.02754843421280384, 0.01247705239802599, -0.005254643503576517, -0.048333823680877686, -0.017116138711571693, -0.009076807647943497, -0.001090031466446817, 0.016307180747389793, -0.008563409559428692, -0.047639328986406326, -0.0682998076081276, ...
0.093671
driver allocates one `ResourceClaim` to the Pod and automatically configures MPS to allow both the inference and training containers to execute concurrently. Each container gets its own isolated GPU memory space and compute resources, with the MPS daemon coordinating access to the underlying hardware. You can verify th...
https://github.com/aws/aws-eks-best-practices/blob/mainline/latest/bpg/aiml/aiml_compute.adoc
mainline
aws-eks-best-practices
[ -0.010900568217039108, 0.0055719357915222645, -0.026396332308650017, 0.05070408433675766, 0.038487304002046585, -0.06748484075069427, -0.044711221009492874, -0.052339810878038406, 0.001447138492949307, -0.04540187865495682, -0.07262545078992844, -0.03136453405022621, -0.01306493952870369, ...
0.078114