content large_stringlengths 3 20.5k | url large_stringlengths 54 193 | branch large_stringclasses 4
values | source large_stringclasses 42
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
## {{% heading "synopsis" %}} Display resource (CPU/memory) usage of nodes. The top-node command allows you to see the resource consumption of nodes. ``` kubectl top node [NAME | -l label] ``` ## {{% heading "examples" %}} ``` # Show metrics for all nodes kubectl top node # Show metrics for a given node kubectl top nod... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node.md | main | kubernetes | [
0.04718936234712601,
0.0848175585269928,
-0.01656409166753292,
0.05935965105891228,
0.022073471918702126,
-0.00411619059741497,
0.05611046776175499,
0.009034542366862297,
0.00367633905261755,
0.012071477249264717,
-0.054747868329286575,
-0.131683811545372,
0.02260022796690464,
-0.106209754... | 0.155177 |
profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex|trace) | | --profile-output string Default: "profile.pprof" | | | | Name of the file to write the profile to | | --request-timeout string Default: "0" | | | | The length of time to wait before giving up on a single server request. Non-zero val... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_top/kubectl_top_node.md | main | kubernetes | [
0.05021156743168831,
0.04805637523531914,
-0.0714360848069191,
0.03334534540772438,
-0.03419020026922226,
0.002005777321755886,
0.016771724447607994,
0.05044650658965111,
0.08477044850587845,
0.03835661709308624,
0.005620026029646397,
-0.062024105340242386,
0.008881889283657074,
-0.0719138... | 0.079951 |
## {{% heading "synopsis" %}} Display resource (CPU/memory) usage. This command provides a view of recent resource consumption for nodes and pods. It fetches metrics from the Metrics Server, which aggregates this data from the kubelet on each node. The Metrics Server must be installed and running in the cluster for thi... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_top/_index.md | main | kubernetes | [
0.030803514644503593,
0.027384424582123756,
0.0012838845141232014,
0.04196224361658096,
-0.003445657901465893,
-0.02868293970823288,
0.014051676727831364,
0.039578165858983994,
0.09515632688999176,
-0.007367018610239029,
-0.03141690045595169,
-0.07266464829444885,
-0.03744879737496376,
-0.... | 0.214685 |
-n, --namespace string | | | | If present, the namespace scope for this CLI request | | --password string | | | | Password for basic authentication to the API server | | --profile string Default: "none" | | | | Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex|trace) | | --profile-out... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_top/_index.md | main | kubernetes | [
0.0006845721509307623,
0.037232231348752975,
-0.08472656458616257,
-0.01691560633480549,
-0.060415118932724,
-0.007474325131624937,
0.0064207930117845535,
0.04954909905791283,
0.08122032880783081,
0.0035333430860191584,
0.00376530340872705,
-0.08508483320474625,
0.03295992687344551,
-0.049... | 0.088709 |
## {{% heading "synopsis" %}} Set a new size for a deployment, replica set, replication controller, or stateful set. Scale also allows users to specify one or more preconditions for the scale action. If --current-replicas or --resource-version is specified, it is validated before the scale is attempted, and it is guara... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_scale/_index.md | main | kubernetes | [
0.012852886691689491,
0.014736500568687916,
-0.0005185706540942192,
0.03957720473408699,
-0.028101438656449318,
0.0005103392177261412,
-0.004750706255435944,
-0.01170626562088728,
0.027397261932492256,
0.06471926718950272,
0.02077786810696125,
-0.07875853776931763,
0.06858506798744202,
-0.... | 0.083176 |
Any other values should contain a corresponding time unit (e.g. 1s, 2m, 3h). | ## {{% heading "parentoptions" %}} | --as string | | | --- | --- | | | Username to impersonate for the operation. User could be a regular user or a service account in a namespace. | | --as-group strings | | | | Group to impersonate for the o... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_scale/_index.md | main | kubernetes | [
-0.02398272044956684,
0.09237245470285416,
-0.04211054742336273,
0.013211434707045555,
-0.08094394952058792,
-0.05279040336608887,
0.10234534740447998,
0.002697739051654935,
0.04025403782725334,
-0.0033953681122511625,
0.042175374925136566,
-0.10289517045021057,
0.015138562768697739,
-0.03... | 0.041999 |
| | database username | | --tls-server-name string | | | | Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used | | --token string | | | | Bearer token for authentication to the API server | | --user string | | | | The name of the kubeconfig user t... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_scale/_index.md | main | kubernetes | [
0.015281644649803638,
0.07580984383821487,
0.005405541975051165,
0.018466565757989883,
-0.040394701063632965,
-0.006054998841136694,
-0.008069530129432678,
-0.02214113622903824,
0.04473146051168442,
-0.013792033307254314,
-0.04779524356126785,
-0.14643704891204834,
0.09862017631530762,
-0.... | 0.081356 |
## {{% heading "synopsis" %}} List all available plugin files on a user's PATH. To see plugins binary names without the full path use --name-only flag. Available plugin files are those that are: - executable - anywhere on the user's PATH - begin with "kubectl-" ``` kubectl plugin list [flags] ``` ## {{% heading "exampl... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list.md | main | kubernetes | [
0.0011079527903348207,
0.05248017981648445,
0.008089989423751831,
0.04319937527179718,
0.013623157516121864,
0.015611802227795124,
0.02849382907152176,
0.04167526587843895,
0.0013752963859587908,
-0.014063180424273014,
0.011093192733824253,
-0.12009485810995102,
-0.02092791721224785,
0.033... | 0.035083 |
The address and port of the Kubernetes API server | | --storage-driver-buffer-duration duration Default: 1m0s | | | | Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction | | --storage-driver-db string Default: "cadvisor" | | | | database name... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list.md | main | kubernetes | [
0.041221603751182556,
0.038708124309778214,
-0.026554619893431664,
0.010490687564015388,
-0.06685011088848114,
-0.02023056522011757,
0.01027637254446745,
-0.01044172141700983,
0.1563275009393692,
0.056083958595991135,
-0.03053206019103527,
-0.09008370339870453,
0.07804910838603973,
-0.0139... | 0.100824 |
## {{% heading "synopsis" %}} Provides utilities for interacting with plugins. Plugins provide extended functionality that is not part of the major command-line distribution. Please refer to the documentation and examples for more information about how write your own plugins. The easiest way to discover and install plu... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_plugin/_index.md | main | kubernetes | [
-0.04011344909667969,
-0.014795376919209957,
0.05188180133700371,
0.019068773835897446,
-0.043370917439460754,
0.05202685669064522,
-0.03170838579535484,
0.010130482725799084,
0.04120718315243721,
0.01445477269589901,
-0.01239448320120573,
-0.1230192631483078,
-0.04305769130587578,
0.01774... | 0.113202 |
server | | --storage-driver-buffer-duration duration Default: 1m0s | | | | Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction | | --storage-driver-db string Default: "cadvisor" | | | | database name | | --storage-driver-host string Default: ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_plugin/_index.md | main | kubernetes | [
0.034519124776124954,
0.050694067031145096,
-0.11121287941932678,
0.028667138889431953,
-0.07620327174663544,
-0.058413222432136536,
0.014310672879219055,
0.011663108132779598,
0.07334382832050323,
0.022391214966773987,
0.015348552726209164,
-0.10665103048086166,
0.10952067375183105,
-0.00... | 0.110208 |
## {{% heading "synopsis" %}} Wait for a specific condition on one or many resources. The command takes multiple resources and waits until the specified condition is seen in the Status field of every given resource. Alternatively, the command can wait for the given set of resources to be created or deleted by providing... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_wait/_index.md | main | kubernetes | [
0.00037862229510210454,
0.05057186260819435,
-0.0048924763686954975,
0.042488209903240204,
0.020719759166240692,
-0.0030071930959820747,
0.028372954577207565,
-0.0769624412059784,
0.09855753928422928,
-0.016853440552949905,
0.018794478848576546,
-0.07539191842079163,
-0.007143132388591766,
... | 0.105237 |
If true, keep the managedFields when printing objects in JSON or YAML format. | | --template string | | | | Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]. | | --timeout duration Defaul... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_wait/_index.md | main | kubernetes | [
-0.022891758009791374,
0.09239137172698975,
-0.039092712104320526,
0.06337663531303406,
-0.04518086835741997,
-0.0015384296420961618,
0.016237085685133934,
0.022798508405685425,
-0.03073888272047043,
-0.03390783444046974,
0.10209368169307709,
-0.037942901253700256,
-0.013442429713904858,
0... | 0.033777 |
| database name | | --storage-driver-host string Default: "localhost:8086" | | | | database host:port | | --storage-driver-password string Default: "root" | | | | database password | | --storage-driver-secure | | | | use secure connection with database | | --storage-driver-table string Default: "stats" | | | | table na... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_wait/_index.md | main | kubernetes | [
-0.003244162304326892,
0.028847722336649895,
-0.055884916335344315,
-0.01674445904791355,
-0.07729291170835495,
-0.024253668263554573,
-0.01085849292576313,
0.011170733720064163,
0.04770159721374512,
-0.012039014138281345,
-0.026711180806159973,
-0.13546296954154968,
0.10170632600784302,
0... | 0.071333 |
## {{% heading "synopsis" %}} Update the taints on one or more nodes. \* A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect. \* The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to 253 characters. \* Optio... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_taint/_index.md | main | kubernetes | [
0.0003324642893858254,
0.06132996827363968,
0.08327972143888474,
-0.06422633677721024,
-0.011072027496993542,
-0.019787926226854324,
0.049502529203891754,
-0.032451216131448746,
0.07047092914581299,
-0.0010189720196649432,
-0.014243852347135544,
-0.12777350842952728,
0.03960558399558067,
-... | 0.157261 |
but will fall back to less reliable client-side validation if not. "warn" will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as "ignore" otherwise. "false" or "ignore" will not perform any schema validation, silently dropping... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_taint/_index.md | main | kubernetes | [
-0.05428070202469826,
0.06635332852602005,
-0.018214641138911247,
0.02461409568786621,
-0.04197890684008598,
-0.06592199951410294,
0.07912660390138626,
-0.039452482014894485,
0.03635967895388603,
-0.031128088012337685,
0.0430346317589283,
-0.06532235443592072,
0.03652924671769142,
-0.00935... | 0.084587 |
string Default: "root" | | | | database password | | --storage-driver-secure | | | | use secure connection with database | | --storage-driver-table string Default: "stats" | | | | table name | | --storage-driver-user string Default: "root" | | | | database username | | --tls-server-name string | | | | Server name to us... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_taint/_index.md | main | kubernetes | [
0.019985582679510117,
0.04247593879699707,
-0.04030356556177139,
0.0001503542735008523,
-0.07058674842119217,
-0.0037914272397756577,
0.004053888842463493,
0.03287937119603157,
0.04752200469374657,
-0.020615147426724434,
-0.02826469950377941,
-0.13810163736343384,
0.08736259490251541,
-0.0... | 0.098055 |
## {{% heading "synopsis" %}} Output shell completion code for the specified shell (bash, zsh, fish, or powershell). The shell code must be evaluated to provide interactive completion of kubectl commands. This can be done by sourcing it from the .bash\_profile. Detailed instructions on how to do this are available here... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_completion/_index.md | main | kubernetes | [
0.04816056415438652,
0.030245916917920113,
0.0436655655503273,
-0.026067955419421196,
-0.0012747274013236165,
0.04310167580842972,
0.01878371462225914,
-0.012786821462213993,
0.04299763962626457,
0.029274240136146545,
-0.06793894618749619,
-0.11359477788209915,
-0.03159566596150398,
0.0400... | 0.090121 |
Path to a client key file for TLS | | --cluster string | | | | The name of the kubeconfig cluster to use | | --context string | | | | The name of the kubeconfig context to use | | --disable-compression | | | | If true, opt-out of response compression for all requests to the server | | --insecure-skip-tls-verify | | | |... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_completion/_index.md | main | kubernetes | [
-0.002354454016312957,
0.049045760184526443,
-0.004259556531906128,
-0.007756264880299568,
-0.0798875093460083,
-0.014797578565776348,
-0.0314364917576313,
-0.05879361182451248,
0.0796121135354042,
-0.02352781966328621,
-0.035953089594841,
-0.09606993198394775,
0.044057320803403854,
0.0083... | 0.046781 |
## {{% heading "synopsis" %}} Roll back to a previous rollout. ``` kubectl rollout undo (TYPE NAME | TYPE/NAME) [flags] ``` ## {{% heading "examples" %}} ``` # Roll back to the previous deployment kubectl rollout undo deployment/abc # Roll back to daemonset revision 3 kubectl rollout undo daemonset/abc --to-revision=3 ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo.md | main | kubernetes | [
0.013650850392878056,
0.11761142313480377,
0.0651717409491539,
0.019544171169400215,
-0.01735043153166771,
0.02408193238079548,
-0.04603520408272743,
-0.029850829392671585,
0.03404790163040161,
-0.0073732356540858746,
0.029289204627275467,
-0.03602631390094757,
-0.025680480524897575,
-0.07... | 0.03364 |
the kubeconfig context to use | | --disable-compression | | | | If true, opt-out of response compression for all requests to the server | | --insecure-skip-tls-verify | | | | If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | | --kubeconfig string | | | ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_undo.md | main | kubernetes | [
-0.02205285057425499,
0.0798000618815422,
0.01409888919442892,
-0.00775154959410429,
-0.045358844101428986,
-0.038300272077322006,
-0.05524992197751999,
-0.07173563539981842,
0.09072504192590714,
-0.0021939389407634735,
-0.05152592062950134,
-0.10923667252063751,
0.04424388334155083,
0.013... | 0.019955 |
## {{% heading "synopsis" %}} Resume a paused resource. Paused resources will not be reconciled by a controller. By resuming a resource, we allow it to be reconciled again. Currently only deployments support being resumed. ``` kubectl rollout resume RESOURCE ``` ## {{% heading "examples" %}} ``` # Resume an already pau... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume.md | main | kubernetes | [
-0.033707089722156525,
0.07201820611953735,
0.019684823229908943,
0.02274732105433941,
0.003666939213871956,
0.05729321017861366,
-0.02914297766983509,
-0.04224985092878342,
0.01959494687616825,
-0.011424889788031578,
0.0494702085852623,
-0.01148422434926033,
-0.02867237478494644,
-0.01078... | 0.063899 |
HTTPS connections insecure | | --kubeconfig string | | | | Path to the kubeconfig file to use for CLI requests. | | --kuberc string | | | | Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL\_KUBERC=false feature gate or turning off the feature KUBERC=off. | | --match-server-versi... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_resume.md | main | kubernetes | [
-0.029822679236531258,
0.03361715003848076,
-0.05471969023346901,
-0.03289901465177536,
-0.04547976702451706,
-0.006984403822571039,
-0.009832587093114853,
-0.001616599503904581,
0.04669959098100662,
-0.008762621320784092,
-0.0034223340917378664,
-0.10577799379825592,
0.021854575723409653,
... | 0.046897 |
## {{% heading "synopsis" %}} Restart a resource. Resource rollout will be restarted. ``` kubectl rollout restart RESOURCE ``` ## {{% heading "examples" %}} ``` # Restart all deployments in the test-namespace namespace kubectl rollout restart deployment -n test-namespace # Restart a deployment kubectl rollout restart d... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart.md | main | kubernetes | [
-0.017418239265680313,
0.09632805734872818,
0.04387279972434044,
-0.005247623194009066,
-0.05030910670757294,
0.02271748147904873,
-0.0201247651129961,
-0.047508180141448975,
0.04633725807070732,
0.010027644224464893,
0.008246120996773243,
-0.06174306571483612,
-0.01771216094493866,
-0.018... | 0.062383 |
certificate will not be checked for validity. This will make your HTTPS connections insecure | | --kubeconfig string | | | | Path to the kubeconfig file to use for CLI requests. | | --kuberc string | | | | Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL\_KUBERC=false feature ga... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart.md | main | kubernetes | [
-0.014254527166485786,
0.020722893998026848,
-0.014083008281886578,
-0.036260854452848434,
-0.0423867329955101,
-0.018414633348584175,
-0.013207711279392242,
-0.019770583137869835,
0.059410709887742996,
-0.027809256687760353,
-0.0228425320237875,
-0.12018215656280518,
0.05845820903778076,
... | -0.002959 |
## {{% heading "synopsis" %}} Show the status of the rollout. By default 'rollout status' will watch the status of the latest rollout until it's done. If you don't want to wait for the rollout to finish then you can use --watch=false. Note that if a new rollout starts in-between, then 'rollout status' will continue wat... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status.md | main | kubernetes | [
-0.008762475103139877,
0.06461987644433975,
0.012767455540597439,
-0.000457930495031178,
0.03172856196761131,
-0.002635166747495532,
-0.03433072194457054,
-0.06672001630067825,
0.09618686139583588,
0.04181063920259476,
-0.032491300255060196,
0.00036733943852595985,
-0.07468028366565704,
-0... | 0.026839 |
will not be checked for validity. This will make your HTTPS connections insecure | | --kubeconfig string | | | | Path to the kubeconfig file to use for CLI requests. | | --kuberc string | | | | Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL\_KUBERC=false feature gate or turnin... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_status.md | main | kubernetes | [
-0.007761749438941479,
0.02144199050962925,
-0.022761764004826546,
-0.039177924394607544,
-0.038514457643032074,
-0.02808194048702717,
-0.005484211724251509,
-0.03603459522128105,
0.06221320480108261,
-0.014222437515854836,
-0.014614339917898178,
-0.10569233447313309,
0.03289729729294777,
... | 0.020769 |
## {{% heading "synopsis" %}} Mark the provided resource as paused. Paused resources will not be reconciled by a controller. Use "kubectl rollout resume" to resume a paused resource. Currently only deployments support being paused. ``` kubectl rollout pause RESOURCE ``` ## {{% heading "examples" %}} ``` # Mark the ngin... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause.md | main | kubernetes | [
-0.014211773872375488,
0.07913509756326675,
0.028282100334763527,
-0.008826125413179398,
0.003395358333364129,
0.04439906030893326,
-0.025837155058979988,
-0.06763598322868347,
0.014037230983376503,
0.03425617516040802,
0.044017940759658813,
-0.011162687093019485,
-0.043912921100854874,
-0... | 0.031048 |
response compression for all requests to the server | | --insecure-skip-tls-verify | | | | If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | | --kubeconfig string | | | | Path to the kubeconfig file to use for CLI requests. | | --kuberc string | | | | P... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_pause.md | main | kubernetes | [
-0.02885688841342926,
0.0693630576133728,
0.012722667306661606,
-0.027462273836135864,
-0.057077180594205856,
-0.0313003771007061,
-0.031392283737659454,
-0.05878755450248718,
0.07281477749347687,
-0.010444988496601582,
-0.043908119201660156,
-0.12063832581043243,
0.03173530101776123,
-0.0... | 0.069259 |
## {{% heading "synopsis" %}} Manage the rollout of one or many resources. Valid resource types include: \* deployments \* daemonsets \* statefulsets ``` kubectl rollout SUBCOMMAND ``` ## {{% heading "examples" %}} ``` # Rollback to the previous deployment kubectl rollout undo deployment/abc # Check the rollout status ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/_index.md | main | kubernetes | [
-0.08179643005132675,
0.06518830358982086,
0.013235127553343773,
0.013660728931427002,
-0.06190546602010727,
0.0009877310367301106,
0.03083869069814682,
-0.025450358167290688,
0.026285290718078613,
0.028473103418946266,
-0.014139734208583832,
-0.05198013037443161,
-0.013651827350258827,
0.... | 0.103034 |
be buffered for this duration, and committed to the non memory backends as a single transaction | | --storage-driver-db string Default: "cadvisor" | | | | database name | | --storage-driver-host string Default: "localhost:8086" | | | | database host:port | | --storage-driver-password string Default: "root" | | | | data... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/_index.md | main | kubernetes | [
0.036498408764600754,
0.03340483456850052,
-0.09901131689548492,
0.011982045136392117,
-0.11643248796463013,
-0.030110087245702744,
0.0009477111743763089,
0.026883674785494804,
0.05155862867832184,
0.021257147192955017,
0.00963718444108963,
-0.11099988222122192,
0.09732532501220703,
-0.028... | 0.097015 |
## {{% heading "synopsis" %}} View previous rollout revisions and configurations. ``` kubectl rollout history (TYPE NAME | TYPE/NAME) [flags] ``` ## {{% heading "examples" %}} ``` # View the rollout history of a deployment kubectl rollout history deployment/abc # View the details of daemonset revision 3 kubectl rollout... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history.md | main | kubernetes | [
0.014798336662352085,
0.11109839379787445,
0.0002808508579619229,
-0.019111262634396553,
-0.03741271048784256,
0.05007193610072136,
-0.05952933803200722,
0.013382099568843842,
0.03034735471010208,
-0.02393535152077675,
0.04935603588819504,
-0.05029600113630295,
-0.030432453379034996,
-0.03... | 0.082096 |
| | | | Path to the kubeconfig file to use for CLI requests. | | --kuberc string | | | | Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL\_KUBERC=false feature gate or turning off the feature KUBERC=off. | | --match-server-version | | | | Require server version to match client v... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_history.md | main | kubernetes | [
-0.02121763862669468,
0.0024951465893536806,
-0.01771743968129158,
-0.024499420076608658,
-0.045569151639938354,
0.014506988227367401,
-0.011392787098884583,
0.015095129609107971,
0.043119896203279495,
0.0004951826995238662,
-0.009961439296603203,
-0.10884206742048264,
-0.0019891962874680758... | 0.071666 |
## {{% heading "synopsis" %}} Set the latest last-applied-configuration annotations by setting it to match the contents of a file. This results in the last-applied-configuration being updated as though 'kubectl apply -f<file> ' was run, without updating any other parts of the object. ``` kubectl apply set-last-applied ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied.md | main | kubernetes | [
0.005211960058659315,
0.0423109196126461,
0.06558062136173248,
0.000056779797887429595,
0.04139374569058418,
-0.0016021899646148086,
-0.0051275696605443954,
-0.017116669565439224,
0.07414976507425308,
0.03035818040370941,
-0.00839773565530777,
-0.03668544441461563,
-0.021268561482429504,
-... | 0.09686 |
certificate will not be checked for validity. This will make your HTTPS connections insecure | | --kubeconfig string | | | | Path to the kubeconfig file to use for CLI requests. | | --kuberc string | | | | Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL\_KUBERC=false feature ga... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_set-last-applied.md | main | kubernetes | [
-0.014254527166485786,
0.020722893998026848,
-0.014083008281886578,
-0.036260854452848434,
-0.0423867329955101,
-0.018414633348584175,
-0.013207711279392242,
-0.019770583137869835,
0.059410709887742996,
-0.027809256687760353,
-0.0228425320237875,
-0.12018215656280518,
0.05845820903778076,
... | -0.002959 |
## {{% heading "synopsis" %}} Edit the latest last-applied-configuration annotations of resources from the default editor. The edit-last-applied command allows you to directly edit any API resource you can retrieve via the command-line tools. It will open the editor defined by your KUBE\_EDITOR, or EDITOR environment v... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied.md | main | kubernetes | [
-0.042763978242874146,
0.044584374874830246,
0.026839125901460648,
0.04035525396466255,
-0.010041875764727592,
0.020694421604275703,
-0.058872971683740616,
0.036559153348207474,
0.08268921077251434,
0.04578036069869995,
-0.014018264599144459,
-0.03410462662577629,
-0.017989983782172203,
-0... | 0.172132 |
not perform any schema validation, silently dropping any unknown or duplicate fields. | | --windows-line-endings | | | | Defaults to the line ending native to your platform. | ## {{% heading "parentoptions" %}} | --as string | | | --- | --- | | | Username to impersonate for the operation. User could be a regular user o... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied.md | main | kubernetes | [
-0.0100039541721344,
0.05897991359233856,
-0.025851430371403694,
0.015177639201283455,
-0.06452580541372299,
-0.05312567204236984,
0.07966816425323486,
-0.02001107670366764,
-0.017370738089084625,
0.020825812593102455,
0.01826445199549198,
-0.10330351442098618,
0.02975590154528618,
0.01070... | 0.006272 |
"stats" | | | | table name | | --storage-driver-user string Default: "root" | | | | database username | | --tls-server-name string | | | | Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used | | --token string | | | | Bearer token for authenticati... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_edit-last-applied.md | main | kubernetes | [
0.00948330108076334,
0.07203850150108337,
-0.028307858854532242,
-0.002353188581764698,
-0.057900313287973404,
-0.011616808362305164,
0.006522958632558584,
0.01883603073656559,
0.03901704400777817,
0.0007036521565169096,
-0.04051331430673599,
-0.149424210190773,
0.09551210701465607,
-0.021... | 0.089023 |
## {{% heading "synopsis" %}} View the latest last-applied-configuration annotations by type/name or file. The default output will be printed to stdout in YAML format. You can use the -o option to change the output format. ``` kubectl apply view-last-applied (TYPE [NAME | -l label] | TYPE/NAME | -f FILENAME) ``` ## {{%... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied.md | main | kubernetes | [
0.02410944551229477,
0.0686742514371872,
0.04443711042404175,
0.0026836961042135954,
0.053221575915813446,
0.0202054213732481,
-0.015530801378190517,
-0.014177304692566395,
0.04276077449321747,
0.005746334791183472,
-0.04706861451268196,
-0.0530116967856884,
-0.02510436624288559,
-0.010265... | 0.039246 |
version to match client version | | -n, --namespace string | | | | If present, the namespace scope for this CLI request | | --password string | | | | Password for basic authentication to the API server | | --profile string Default: "none" | | | | Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/kubectl_apply_view-last-applied.md | main | kubernetes | [
-0.005788404028862715,
0.050656240433454514,
-0.0457872599363327,
-0.035500239580869675,
-0.03771479055285454,
-0.0038752099499106407,
-0.010343235917389393,
0.05306752026081085,
0.047009874135255814,
0.006549444515258074,
-0.0035247483756393194,
-0.08366888016462326,
0.021895546466112137,
... | 0.034284 |
## {{% heading "synopsis" %}} Apply a configuration to a resource by file name or stdin. The resource name must be specified. This resource will be created if it doesn't exist yet. To use 'apply', always create the resource initially with either 'apply' or 'create --save-config'. JSON and YAML formats are accepted. Alp... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/_index.md | main | kubernetes | [
0.01878349483013153,
0.0850096195936203,
0.043191973119974136,
0.009701735340058804,
0.0031583590898662806,
0.01723296195268631,
-0.014632473699748516,
0.04512353613972664,
0.01616634614765644,
0.030292904004454613,
0.028210632503032684,
-0.006477627903223038,
0.0017008695285767317,
-0.002... | 0.087932 |
to use baked-in types. | | -o, --output string | | | | Output format. One of: (json, yaml, kyaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file). | | --overwrite Default: true | | | | Automatically resolve conflicts between the modified and live configuration by ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/_index.md | main | kubernetes | [
0.025687331333756447,
0.08111558109521866,
-0.05634469538927078,
0.00008324726513819769,
0.04001457989215851,
0.045573145151138306,
-0.007739237044006586,
0.003338567214086652,
-0.09104439616203308,
-0.029957272112369537,
0.0811261385679245,
0.03804395720362663,
-0.048934511840343475,
0.03... | -0.00868 |
string | | | | Path to a client certificate file for TLS | | --client-key string | | | | Path to a client key file for TLS | | --cluster string | | | | The name of the kubeconfig cluster to use | | --context string | | | | The name of the kubeconfig context to use | | --disable-compression | | | | If true, opt-out of r... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/_index.md | main | kubernetes | [
-0.006641767453402281,
0.06654543429613113,
-0.003195993835106492,
0.0020408809650689363,
-0.07809747755527496,
-0.01573213003575802,
-0.03141161426901817,
-0.05598750337958336,
0.08693614602088928,
-0.03453105688095093,
-0.02762475050985813,
-0.08888661861419678,
0.06567081063985825,
0.00... | 0.038635 |
of a resource/object \* [kubectl apply set-last-applied](kubectl\_apply\_set-last-applied/) - Set the last-applied-configuration annotation on a live object to match the contents of a file \* [kubectl apply view-last-applied](kubectl\_apply\_view-last-applied/) - View the latest last-applied-configuration annotations o... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_apply/_index.md | main | kubernetes | [
-0.012025319039821625,
0.0544019378721714,
0.011879165656864643,
-0.034640684723854065,
0.06376652419567108,
0.01997499354183674,
0.053315404802560806,
-0.04509764164686203,
0.03847465664148331,
0.029840193688869476,
-0.02964708022773266,
-0.05288633331656456,
-0.03528083115816116,
-0.0325... | 0.131285 |
## {{% heading "synopsis" %}} Print the client and server version information for the current context. ``` kubectl version [flags] ``` ## {{% heading "examples" %}} ``` # Print the client and server versions for the current context kubectl version ``` ## {{% heading "options" %}} | --client | | | --- | --- | | | If tru... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_version/_index.md | main | kubernetes | [
-0.0020791995339095592,
0.06300295889377594,
0.040694598108530045,
-0.00031304667936638,
-0.012610790319740772,
-0.03818324953317642,
0.022537441924214363,
0.002764681354165077,
0.028179587796330452,
-0.009266490116715431,
0.02522979862987995,
-0.10634840279817581,
0.005945031531155109,
-0... | 0.058494 |
committed to the non memory backends as a single transaction | | --storage-driver-db string Default: "cadvisor" | | | | database name | | --storage-driver-host string Default: "localhost:8086" | | | | database host:port | | --storage-driver-password string Default: "root" | | | | database password | | --storage-driver-... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_version/_index.md | main | kubernetes | [
0.02065977454185486,
0.017925752326846123,
-0.08806876838207245,
0.010327421128749847,
-0.09272976964712143,
-0.025673000141978264,
-0.001775683369487524,
0.008105049841105938,
0.0691470131278038,
0.016305312514305115,
0.014517203904688358,
-0.11707139760255814,
0.11167927831411362,
-0.020... | 0.084095 |
## {{% heading "synopsis" %}} Build a set of KRM resources using a 'kustomization.yaml' file. The DIR argument must be a path to a directory containing 'kustomization.yaml', or a git repository URL with a path suffix specifying same with respect to the repository root. If DIR is omitted, '.' is assumed. ``` kubectl kus... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_kustomize/_index.md | main | kubernetes | [
0.0015817444073036313,
0.04870355874300003,
0.01695415750145912,
0.007145451381802559,
-0.03349560499191284,
-0.020864212885499,
0.030372941866517067,
0.030977418646216393,
0.002303100423887372,
0.001682913745753467,
0.017827313393354416,
-0.09580374509096146,
0.011273995973169804,
0.01310... | 0.070451 |
| | --insecure-skip-tls-verify | | | | If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure | | --kubeconfig string | | | | Path to the kubeconfig file to use for CLI requests. | | --kuberc string | | | | Path to the kuberc file to use for preferences. This ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/kubectl/generated/kubectl_kustomize/_index.md | main | kubernetes | [
-0.014064783230423927,
0.030785085633397102,
0.0018734517507255077,
-0.03915904462337494,
-0.0702904760837555,
-0.00687636062502861,
-0.024071479216217995,
-0.04037684574723244,
0.06272318959236145,
-0.024602651596069336,
-0.025586191564798355,
-0.1347288340330124,
0.038478534668684006,
0.... | 0.027402 |
This page provides an overview of authentication in Kubernetes, with a focus on authentication to the [Kubernetes API](/docs/concepts/overview/kubernetes-api/). ## Users in Kubernetes All Kubernetes clusters have two categories of users: service accounts managed by Kubernetes, and normal users. It is assumed that a clu... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.01837853342294693,
-0.029622623696923256,
-0.0046117608435451984,
-0.014617114327847958,
-0.0732005164027214,
-0.0003980595211032778,
0.06332778185606003,
-0.015604491345584393,
0.09729307144880295,
0.013106693513691425,
0.003787160851061344,
-0.07186377793550491,
0.05778591334819794,
-... | 0.150521 |
the `--anonymous-auth=false` command line option to the API server. The built-in ABAC and RBAC authorizers require explicit authorization of the `system:anonymous` user or the `system:unauthenticated` group; if you have legacy policy rules (from Kubernetes version 1.5 or earlier), those legacy rules that grant access t... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.04092484712600708,
0.03137979283928871,
-0.05312500149011612,
0.024637466296553612,
-0.08590063452720642,
-0.01029619574546814,
0.02165694534778595,
-0.03928148001432419,
0.07632940262556076,
0.030390257015824318,
0.014312267303466797,
-0.07784785330295563,
0.0016326874028891325,
-0.015... | 0.067369 |
attributes, and the certificate must have an \_extended key usage\_ that includes client authentication (`ClientAuth`). {{< note >}} Kubernetes {{< skew currentVersion >}} does not support certificate \_revocation\_. Any certificate that is issued remains valid until it expires. {{< /note >}} ##### Username mapping {#x... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
0.00860610418021679,
0.07181385159492493,
0.07631285488605499,
-0.01988590694963932,
-0.027775129303336143,
-0.016307814046740532,
0.04521166905760765,
0.026927266269922256,
0.04768624156713486,
-0.017620550468564034,
-0.024479448795318604,
-0.10410923510789871,
0.05999457836151123,
0.0679... | 0.011101 |
trust certificate authority to obtain a certificate you can use for client authentication to your cluster. ### Bootstrap tokens {{< feature-state for\_k8s\_version="v1.18" state="stable" >}} To allow for streamlined bootstrapping for new clusters, Kubernetes includes a dynamically-managed Bearer token type called a \*B... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.06048831716179848,
0.037823520600795746,
0.015308321453630924,
0.031224463135004044,
0.012044890783727169,
0.01831173151731491,
-0.0001038356131175533,
-0.016719123348593712,
0.06267804652452469,
0.019990839064121246,
-0.01979135535657406,
-0.06855102628469467,
0.0834430605173111,
0.025... | 0.092049 |
create serviceaccount (NAME)` command. This creates a service account in the current namespace. ```bash kubectl create serviceaccount jenkins ``` ```none serviceaccount/jenkins created ``` You can manually create an associated token: ```bash kubectl create token jenkins ``` ```none eyJhbGciOiJSUzI1NiIsImtp... ``` The c... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.0693294033408165,
-0.028382055461406708,
-0.038069095462560654,
-0.05699393153190613,
-0.10572297126054764,
-0.025819318369030952,
0.06901141256093979,
0.0068780602887272835,
0.13370805978775024,
-0.004506099037826061,
-0.09627043455839157,
-0.11928021907806396,
0.06876394897699356,
-0.... | 0.185632 |
well known fields, such as a user's email, signed by the server. To identify the user, the authenticator uses the `id\_token` (not the `access\_token`) from the OAuth2 [token response](https://openid.net/specs/openid-connect-core-1\_0.html#TokenResponse) as a bearer token. See [above](#putting-a-bearer-token-in-a-reque... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
0.005106472875922918,
0.10034887492656708,
0.04887710511684418,
-0.026306064799427986,
-0.011611707508563995,
-0.03986160829663277,
0.09386865049600601,
0.02797081507742405,
0.09117100387811661,
-0.07131338119506836,
-0.02812597155570984,
-0.10124305635690689,
-0.024133756756782532,
-0.056... | 0.158817 |
be a unique identifier of the end user. Admins can choose other claims, such as `email` or `name`, depending on their provider. However, claims other than `email` will be prefixed with the issuer URL to prevent naming clashes with other plugins. | sub | No | | `--oidc-username-prefix` | Prefix prepended to username cla... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.18516507744789124,
0.003301391378045082,
-0.0432707741856575,
0.05746186152100563,
-0.00015896162949502468,
-0.05988604575395584,
0.04538148269057274,
0.01363976951688528,
0.046666357666254044,
-0.0732400193810463,
-0.004662072751671076,
-0.06009345501661301,
0.044884152710437775,
-0.00... | 0.071245 |
authenticators to authenticate Kubernetes users using JWT compliant tokens. # the maximum number of allowed authenticators is 64. jwt: - issuer: # url must be unique across all authenticators. # url must not conflict with issuer configured in --service-account-issuer. url: https://example.com # Same as --oidc-issuer-ur... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.04652860388159752,
0.034429486840963364,
0.05690937861800194,
0.004624817054718733,
-0.0007481838692910969,
-0.035756390541791916,
0.01768498867750168,
-0.0446842722594738,
0.11485936492681503,
-0.00787775032222271,
-0.05555141717195511,
-0.05834110453724861,
0.04023803398013115,
-0.009... | 0.073608 |
validation rule expression that matches the validation automatically # applied when username.claim is set to 'email' is 'claims.?email\_verified.orValue(true) == true'. # By explicitly comparing the value to true, we let type-checking see the result will be a boolean, and # to make sure a non-boolean email\_verified cl... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.14019788801670074,
0.041970618069171906,
0.018351562321186066,
0.07899419218301773,
0.08573967963457108,
-0.05941031128168106,
0.09976515918970108,
-0.0009623333462513983,
0.030191611498594284,
-0.06060635298490524,
0.00466964952647686,
-0.11329598724842072,
0.0589899942278862,
0.058510... | 0.003716 |
AuthenticationConfiguration jwt: - issuer: url: https://example.com audiences: - my-app claimMappings: username: expression: 'claims.username + ":external-user"' groups: expression: 'claims.roles.split(",")' uid: expression: 'claims.sub' extra: - key: 'example.com/tenant' valueExpression: 'claims.tenant' userValidation... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.06462559103965759,
-0.002153838286176324,
-0.010267267934978008,
-0.046311430633068085,
0.015062901191413403,
-0.018195608630776405,
0.028494061902165413,
0.02336706407368183,
-0.0038889043498784304,
-0.027671029791235924,
0.0303539726883173,
-0.12046804279088974,
0.1019061878323555,
0.... | -0.000341 |
endpoint at a different location than the issuer (such as locally in the cluster) and specify the `issuer.discoveryURL` in the configuration file. 1. Run in TLS with non-obsolete ciphers 1. Have a CA signed certificate (even if the CA is not a commercial CA or is self signed) A note about requirement #3 above, requirin... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.0017111077904701233,
0.06997063755989075,
0.02536160685122013,
-0.011224771849811077,
-0.07833219319581985,
-0.04598386585712433,
0.007946443744003773,
-0.00815967284142971,
0.08084718137979507,
-0.038141556084156036,
0.004334331955760717,
-0.13223689794540405,
0.020518120378255844,
0.0... | 0.053201 |
users: - name: name-of-api-server user: client-certificate: /path/to/cert.pem # cert for the webhook plugin to use client-key: /path/to/key.pem # key matching the cert # kubeconfig files require a context. Provide one for the API server. current-context: webhook contexts: - context: cluster: name-of-remote-authn-servic... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.04906172677874565,
0.08595278859138489,
-0.021174516528844833,
-0.0457494892179966,
-0.04178977385163307,
-0.052289318293333054,
0.00567323062568903,
-0.027093838900327682,
0.07363724708557129,
0.031194230541586876,
-0.021989410743117332,
-0.13694755733013153,
0.04478323459625244,
0.010... | 0.090866 |
Optional list audience-aware token authenticators can return, # containing the audiences from the `spec.audiences` list for which the provided token was valid. # If this is omitted, the token is considered to be valid to authenticate to the Kubernetes API server. "audiences": ["https://myserver.example.com"] } } ``` {{... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
0.0092978710308671,
0.053278785198926926,
0.02728765271604061,
-0.006699043326079845,
0.005839434452354908,
-0.008129364810883999,
0.08333948999643326,
-0.0359618179500103,
0.07593774795532227,
0.025812409818172455,
-0.002453926485031843,
-0.11970363557338715,
0.03524653613567352,
0.013643... | 0.107896 |
authentication mode. Do \*\*not\*\* reuse a CA that is used in a different context unless you understand the risks and the mechanisms to protect the CA's usage. ### Static token file integration {#static-token-file} The API server reads static bearer tokens from a file when given the `--token-auth-file=` option on the ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.028536977246403694,
0.047110214829444885,
0.02396317385137081,
-0.019845398142933846,
-0.0471016950905323,
-0.00394333666190505,
0.0606517419219017,
0.008889837190508842,
0.10056757181882858,
0.026901880279183388,
0.005533608607947826,
-0.0620589442551136,
0.018726171925663948,
0.023587... | 0.175773 |
URL )` is the value of `--oidc-issuer-url`. You can specify the prefix value as `-` to disable username prefixing. `--oidc-groups-claim` : The name of a custom OpenID Connect claim for specifying user groups. The claim in the token must be an array of strings. No default. `--oidc-groups-prefix` : Prefix prepended to gr... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.11098217964172363,
0.057194601744413376,
-0.049444086849689484,
0.11343242228031158,
0.025061042979359627,
-0.09871667623519897,
0.04457283765077591,
-0.003065638244152069,
0.05747227743268013,
-0.0634915679693222,
0.02568713203072548,
-0.029840178787708282,
0.0126439044252038,
0.013565... | 0.077585 |
PEM-encoded certificate bundle containing trust anchor(s) for validating authenticating proxy identity. A valid [client certificate](#reverse-proxy-client-certificate) must be presented and validated against the certificate authorities in the specified file before the request headers are checked for user names. `--requ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.0751575380563736,
0.08719281107187271,
-0.01024883333593607,
-0.06491407006978989,
-0.02313290350139141,
-0.043355781584978104,
0.08620854467153549,
0.018604783341288567,
-0.019468573853373528,
-0.0059706647880375385,
0.04906177148222923,
-0.09063578397035599,
0.11616232246160507,
0.043... | -0.071549 |
The user issues a `kubectl` command. \* Credential plugin prompts the user for LDAP credentials, exchanges credentials with external service for a token. \* Credential plugin returns token to client-go, which uses it as a bearer token against the API server. \* API server uses the [webhook token authenticator](#webhook... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.04836114123463631,
0.027641505002975464,
-0.010674010030925274,
-0.042129456996917725,
-0.06947338581085205,
-0.03930896893143654,
0.008503849618136883,
0.016521189361810684,
0.06392084807157516,
0.032467979937791824,
-0.03827303275465965,
-0.1442047506570816,
0.008459932170808315,
-0.0... | 0.100046 |
- "arg2" # Text shown to the user when the executable doesn't seem to be present. Optional. installHint: | example-client-go-exec-plugin is required to authenticate to the current cluster. It can be installed: On macOS: brew install example-client-go-exec-plugin On Ubuntu: apt-get install example-client-go-exec-plugin ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
0.0271788090467453,
0.0022758073173463345,
-0.016779320314526558,
-0.025012511759996414,
-0.03971804305911064,
-0.0019817776046693325,
0.01472376100718975,
0.035437848418951035,
0.08331447839736938,
-0.001831625122576952,
0.014496452175080776,
-0.10343553870916367,
-0.06778265535831451,
0.... | 0.168305 |
and therefore the exec plugin will only be run if standard input is available for user input. If standard input is not available for user input, then the exec plugin will not be run and an error will be returned by the exec plugin runner. | {{< /table >}} To use bearer token credentials, the plugin returns a token in t... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.06480659544467926,
0.027557313442230225,
-0.06015031039714813,
-0.006913262885063887,
-0.05439314246177673,
0.006320234853774309,
-0.0024987540673464537,
0.09578908234834671,
0.014291913248598576,
0.04543939232826233,
0.01576598361134529,
-0.09766698628664017,
0.035405658185482025,
0.10... | 0.089611 |
for a client {#self-subject-review} {{< feature-state for\_k8s\_version="v1.28" state="stable" >}} You can use the SelfSubjectReview API to find out how your Kubernetes cluster maps your authentication information to identify you as a client. This works whether you are authenticating as a user (typically representing a... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.027056671679019928,
0.014440162107348442,
-0.018082981929183006,
-0.00010746294719865546,
-0.031611960381269455,
0.019469790160655975,
0.07434167712926865,
-0.030056670308113098,
0.060421139001846313,
0.024645311757922173,
-0.05596347525715828,
-0.07402548938989639,
0.030620642006397247,
... | 0.13857 |
authentication information {#self-subject-review-cli} For convenience, the `kubectl auth whoami` subcommand is also available: ```shell kubectl auth whoami ``` The output is similar to: ```console ATTRIBUTE VALUE Username george.boole Groups [system:authenticated] ``` See [`kubectl auth whoami`](/docs/reference/kubectl... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authentication.md | main | kubernetes | [
-0.03802810236811638,
0.11702178418636322,
-0.022325756028294563,
-0.05162067338824272,
-0.061803076416254044,
-0.02815990149974823,
0.06494200974702835,
0.011473667807877064,
0.0699777901172638,
-0.01469992846250534,
-0.018571682274341583,
-0.14100036025047302,
0.0731240063905716,
0.02688... | 0.096298 |
Attribute-based access control (ABAC) defines an access control paradigm whereby access rights are granted to users through the use of policies which combine attributes together. ## Policy File Format To enable `ABAC` mode, specify `--authorization-policy-file=SOME\_FILENAME` and `--authorization-mode=ABAC` on startup.... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/abac.md | main | kubernetes | [
0.0026127707678824663,
0.08859413117170334,
-0.04030587151646614,
-0.006267217453569174,
-0.04961683601140976,
0.007000402547419071,
0.01877068541944027,
-0.023633522912859917,
0.0009721743990667164,
0.05783660709857941,
0.04896153137087822,
-0.06144671514630318,
-0.03304080665111542,
-0.0... | 0.115242 |
\* `/version` for retrieving the server version via `kubectl version`. \* `/swaggerapi/\*` for create/update operations. To inspect the HTTP calls involved in a specific kubectl operation you can turn up the verbosity: ```shell kubectl --v=8 version ``` ## Examples 1. Alice can do anything to all resources: ```json {"a... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/abac.md | main | kubernetes | [
0.02749325893819332,
0.06055184453725815,
0.01996549405157566,
-0.008207692764699459,
-0.03776878863573074,
-0.05538003146648407,
-0.06900549679994583,
-0.0809783786535263,
0.09526664763689041,
0.017812075093388557,
-0.00004994998380425386,
-0.09222099184989929,
-0.038932111114263535,
-0.0... | 0.08536 |
{{< feature-state for\_k8s\_version="v1.18" state="stable" >}} Bootstrap tokens are a simple bearer token that is meant to be used when creating new clusters or joining new nodes to an existing cluster. It was built to support [kubeadm](/docs/reference/setup-tools/kubeadm/), but can be used in other contexts for users ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/bootstrap-tokens.md | main | kubernetes | [
-0.07945802807807922,
0.020975550636649132,
-0.02353239618241787,
0.0240319911390543,
0.0015615317970514297,
0.006550327409058809,
-0.009934679605066776,
-0.014528332278132439,
0.07449142634868622,
0.000008985373824543785,
0.017785746604204178,
-0.02386091649532318,
0.06367163360118866,
-0... | 0.19385 |
the tokens can be used to sign a ConfigMap. This is used early in a cluster bootstrap process before the client trusts the API server. The signed ConfigMap can be authenticated by the shared token. Enable ConfigMap signing by enabling the `bootstrapsigner` controller on the Controller Manager. ``` --controllers=\*,boot... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/bootstrap-tokens.md | main | kubernetes | [
-0.09639039635658264,
0.009020478464663029,
-0.018302464857697487,
0.0167582668364048,
0.061779096722602844,
-0.04954692721366882,
-0.005099248606711626,
-0.02272697351872921,
0.074175164103508,
0.004036190919578075,
0.0042043118737638,
-0.05649535730481148,
0.07329708337783813,
-0.0209646... | 0.187655 |
User \_impersonation\_ is a method of allowing authenticated users to act as another user, group, or service account through HTTP headers. A user can act as another user through impersonation headers. These let requests manually override the user info a request authenticates as. For example, an admin could use this fea... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/user-impersonation.md | main | kubernetes | [
-0.16736340522766113,
0.05496611073613167,
0.010416279546916485,
-0.05245274305343628,
-0.017686033621430397,
-0.11508192867040634,
0.08948090672492981,
0.018759367987513542,
0.028377536684274673,
-0.009465191513299942,
-0.0008391058654524386,
-0.03204990178346634,
0.05280213803052902,
-0.... | 0.183735 |
kind: ClusterRole metadata: name: scopes-and-uid-impersonator rules: # Can set "Impersonate-Extra-scopes" header and the "Impersonate-Uid" header. - apiGroups: ["authentication.k8s.io"] resources: ["userextras/scopes", "uids"] verbs: ["impersonate"] ``` The values of impersonation headers can also be restricted by limi... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/user-impersonation.md | main | kubernetes | [
-0.05305448919534683,
0.006692651193588972,
-0.05830755457282066,
0.038462162017822266,
-0.0009293321636505425,
0.0012375203659757972,
0.07606389373540878,
-0.04373311251401901,
-0.01423080638051033,
0.009008537046611309,
-0.02546357363462448,
-0.0844680443406105,
0.12166955322027206,
0.06... | 0.143369 |
This is determined by checking if the service account's user info contains an extra field with key `authentication.kubernetes.io/node-name` that matches the node being impersonated. {{< /note >}} ### Configuring constrained impersonation with RBAC All constrained impersonation permissions use the `authentication.k8s.io... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/user-impersonation.md | main | kubernetes | [
-0.015200487338006496,
-0.026455601677298546,
0.01659342274069786,
-0.02077239193022251,
0.002915601711720228,
-0.008882486261427402,
0.10638228058815002,
-0.03803759440779686,
0.06908095628023148,
0.07051781564950943,
-0.03497883677482605,
-0.06847085803747177,
0.03929412364959717,
0.0387... | 0.159784 |
apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: impersonate-associated-node-identity subjects: - kind: ServiceAccount name: node-agent namespace: kube-system --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: node-agent-impersonate-list-pods roleRef: apiGroup: rbac.authori... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/user-impersonation.md | main | kubernetes | [
-0.0057015735656023026,
0.000658267003018409,
-0.047705117613077164,
0.05450449883937836,
-0.015388259664177895,
-0.008421429432928562,
0.04437556117773056,
-0.0012809443287551403,
0.050123181194067,
0.0472458153963089,
-0.002092427108436823,
-0.09352423995733261,
0.05116727948188782,
0.00... | 0.14394 |
Kubernetes authorization takes place following [authentication](/docs/reference/access-authn-authz/authentication/). Usually, a client making a request must be authenticated (logged in) before its request can be allowed; however, Kubernetes also allows anonymous requests in some circumstances. For an overview of how au... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authorization.md | main | kubernetes | [
-0.03946353495121002,
0.0649290680885315,
0.03590843826532364,
-0.036557938903570175,
-0.020287983119487762,
-0.02411593683063984,
0.04962373152375221,
-0.0248727984726429,
0.1251346319913864,
0.037796977907419205,
-0.037759702652692795,
-0.005294442176818848,
0.012664132751524448,
0.00599... | 0.141657 |
verb | request verb --------------|--------------- `POST` | \*\*create\*\* `GET`, `HEAD` | \*\*get\*\* (for individual resources), \*\*list\*\* (for collections, including full object content), \*\*watch\*\* (for watching an individual resource or collection of resources) `PUT` | \*\*update\*\* `PATCH` | \*\*patch\*\* ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authorization.md | main | kubernetes | [
-0.11071338504552841,
0.053956545889377594,
-0.05703740194439888,
0.051682066172361374,
0.05332985520362854,
-0.013763255439698696,
0.09900283068418503,
-0.042860426008701324,
-0.01455130334943533,
0.08109930157661438,
0.03780069574713707,
-0.05242190510034561,
0.06759133189916611,
-0.0195... | 0.125814 |
API server is reachable from the public internet. {{< /warning >}} ### The system:masters group The `system:masters` group is a built-in Kubernetes group that grants unrestricted access to the API server. Any user assigned to this group has full cluster administrator privileges, bypassing any authorization restrictions... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authorization.md | main | kubernetes | [
0.003364084754139185,
-0.0030995842535048723,
-0.05996709689497948,
0.016714289784431458,
-0.051285747438669205,
0.02792222611606121,
-0.009491189382970333,
-0.016852574422955513,
-0.0030460411217063665,
0.05376994609832764,
-0.04711689427495003,
-0.045114487409591675,
0.04172553867101669,
... | 0.1259 |
webhook. # Same as setting `--authorization-webhook-version` flag # Required, with no default # Valid values: v1beta1, v1 subjectAccessReviewVersion: v1 # MatchConditionSubjectAccessReviewVersion specifies the SubjectAccessReview # version the CEL expressions are evaluated against # Valid values: v1 # Required, no defa... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authorization.md | main | kubernetes | [
-0.07730856537818909,
0.09256184846162796,
-0.040155671536922455,
-0.06637115776538849,
0.029809027910232544,
-0.06129063293337822,
-0.029493074864149094,
-0.06448481976985931,
0.017042357474565506,
0.006804461125284433,
0.01928521692752838,
-0.13887238502502441,
0.044605400413274765,
-0.0... | 0.11175 |
You must ensure that all non-webhook authorizer types remain unchanged in the file on reload. A reload \*\*must not\*\* add or remove Node or RBAC authorizers (they can be reordered, but cannot be added or removed). {{< /note >}} ### Command line authorization mode configuration {#using-flags-for-your-authorization-mod... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authorization.md | main | kubernetes | [
-0.01292797178030014,
0.06029271334409714,
-0.06639450043439865,
0.025682488456368446,
-0.04294097051024437,
-0.006634899880737066,
0.01093573309481144,
-0.06549790501594543,
0.0032295193523168564,
0.03633677959442139,
0.020312100648880005,
-0.05921832472085953,
0.038517843931913376,
-0.02... | 0.038145 |
to this: ``` no ``` Similarly, to check whether a ServiceAccount named `dev-sa` in Namespace `dev` can list Pods in the Namespace `target`: ```bash kubectl auth can-i list pods \ --namespace target \ --as system:serviceaccount:dev:dev-sa ``` The output is similar to this: ``` yes ``` SelfSubjectAccessReview is part of ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/authorization.md | main | kubernetes | [
-0.02315453812479973,
-0.009233754128217697,
-0.03761110454797745,
-0.01487585250288248,
0.005057959817349911,
-0.03690781816840172,
0.06863927096128464,
-0.0507524311542511,
0.09589895606040955,
0.036250367760658264,
-0.024754995480179787,
-0.08571336418390274,
0.048391055315732956,
-0.01... | 0.256715 |
Node authorization is a special-purpose authorization mode that specifically authorizes API requests made by kubelets. ## Overview The Node authorizer allows a kubelet to perform API operations. This includes: Read operations: \* services \* endpoints \* nodes \* pods \* secrets, configmaps, persistent volume claims an... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/node.md | main | kubernetes | [
0.033489909023046494,
0.03380820155143738,
0.03121379017829895,
0.03892763704061508,
-0.03607679903507233,
-0.04166107997298241,
0.007323463447391987,
-0.006914698984473944,
0.07055488973855972,
0.0261569544672966,
-0.04925635829567909,
-0.028054308146238327,
0.029785914346575737,
-0.03894... | 0.206593 |
A \_ServiceAccount\_ provides an identity for processes that run in a Pod. A process inside a Pod can use the identity of its associated service account to authenticate to the cluster's API server. For an introduction to service accounts, read [configure service accounts](/docs/tasks/configure-pod-container/configure-s... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
-0.048717208206653595,
-0.03264959156513214,
0.01844039186835289,
-0.018496109172701836,
-0.03535333275794983,
0.0002522349823266268,
0.05018328130245209,
-0.012433690950274467,
0.0963858887553215,
0.04123730584979057,
-0.02856690250337124,
-0.0368758887052536,
0.05768865719437599,
-0.0010... | 0.193659 |
additional metadata is also embedded into the token that indicates the value of the bound pod's `spec.nodeName` field, and the uid of that Node, if available. This node information is \*\*not\*\* verified by the kube-apiserver when the token is used for authentication. It is included so integrators do not have to fetch... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
-0.016750361770391464,
0.03209594264626503,
0.037775907665491104,
0.016574282199144363,
0.023258142173290253,
-0.04105479270219803,
0.04813842475414276,
0.009450230747461319,
0.0779557004570961,
0.03521407023072243,
-0.03976232558488846,
-0.09050603210926056,
0.057574354112148285,
-0.03094... | 0.175544 |
assurance that a token's bound claims are still valid \*\*MUST\*\* use the TokenReview API to present the token to the `kube-apiserver` for it to verify and expand the embedded claims, using similar steps to the [Verifying and inspecting private claims](#verifying-and-inspecting-private-claims) section above, but with ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
-0.09205195307731628,
0.0228444654494524,
0.05307292565703392,
-0.04256195202469826,
0.018738875165581703,
-0.013884074985980988,
0.01774398796260357,
0.031124113127589226,
0.0934424102306366,
0.0554787740111351,
-0.051592227071523666,
-0.044543590396642685,
0.08485928177833557,
0.01925577... | 0.115599 |
ServiceAccount token exists, using [TokenRequest](/docs/reference/kubernetes-api/authentication-resources/token-request-v1/) to obtain short-lived API access tokens is recommended instead. {{< /note >}} ## Auto-generated legacy ServiceAccount token clean up {#auto-generated-legacy-serviceaccount-token-clean-up} Before ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
-0.07329200953245163,
-0.02124645933508873,
0.058553118258714676,
-0.024494042620062828,
-0.00028310136985965073,
-0.0068717291578650475,
0.014927497133612633,
-0.03703303262591362,
0.13977552950382233,
0.046004075556993484,
-0.007392746862024069,
-0.045470159500837326,
0.010105585679411888,... | 0.14868 |
ensures that the ServiceAccount referenced by the incoming Pod exists. If there is no ServiceAccount with a matching name, the admission controller rejects the incoming Pod. That check applies even for the `default` ServiceAccount. 1. Provided that neither the ServiceAccount's `automountServiceAccountToken` field nor t... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
0.00037955111474730074,
-0.008143448270857334,
0.06978151202201843,
-0.0146830128505826,
0.01966196298599243,
-0.014890258200466633,
0.06673569232225418,
-0.002812744816765189,
0.1277327835559845,
0.0651143342256546,
0.042611319571733475,
-0.036163292825222015,
0.052281081676483154,
0.0115... | 0.151462 |
the Pod but did not expire.) Here's an example of how that looks for a launched Pod: ```yaml ... - name: kube-api-access- projected: defaultMode: 420 # decimal equivalent of octal 0644 sources: - serviceAccountToken: expirationSeconds: 3607 path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.c... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
-0.02000322751700878,
-0.03838855400681496,
0.03697211295366287,
0.011290042661130428,
0.004437729250639677,
-0.04110255837440491,
-0.056522417813539505,
-0.011587636545300484,
0.1335296481847763,
0.053245946764945984,
-0.01689276099205017,
-0.009919377975165844,
-0.018711702898144722,
-0.... | 0.181326 |
token {#delete-short-lived} Short lived ServiceAccount tokens automatically expire after the time-limit specified during their creation. There is no central record of tokens issued, so there is no way to revoke individual tokens. If you have to revoke a short-lived token before its expiration, you can delete and re-cre... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
-0.04483536258339882,
-0.006639967206865549,
0.08341220766305923,
-0.03447508439421654,
-0.03019218146800995,
-0.018445471301674843,
0.0018769982270896435,
-0.02061278186738491,
0.13933873176574707,
0.05579717457294464,
0.0003877786220982671,
-0.02791438065469265,
0.05406418815255165,
-0.0... | 0.079232 |
tokens. // eg: supported keys for legacy tokens. // If set, key is used for verification but excluded from OIDC discovery docs. // if set, external signer should not use this key to sign a JWT. bool exclude\_from\_oidc\_discovery = 3; } ``` ### Sign Sign takes a serialized JWT payload, and returns the serialized header... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/service-accounts-admin.md | main | kubernetes | [
-0.0667000412940979,
0.029862256720662117,
0.059572190046310425,
-0.0354909710586071,
0.011380833573639393,
-0.09394031763076782,
0.007407613098621368,
0.028031000867486,
0.07796832919120789,
-0.040471501648426056,
-0.03104322962462902,
-0.0528390109539032,
0.02899649739265442,
-0.02293637... | 0.096559 |
{{< feature-state state="stable" for\_k8s\_version="v1.30" >}} This page provides an overview of Validating Admission Policy. ## What is Validating Admission Policy? Validating admission policies offer a declarative, in-process alternative to validating admission webhooks. Validating admission policies use the Common E... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/validating-admission-policy.md | main | kubernetes | [
-0.05071774497628212,
0.044538114219903946,
-0.007556650321930647,
-0.02770599164068699,
0.064007468521595,
-0.010385843925178051,
0.07367806881666183,
-0.009578125551342964,
-0.08397836238145828,
0.00017648479843046516,
-0.015777988359332085,
-0.05640820041298866,
0.07535933703184128,
0.0... | 0.159556 |
is set to `Fail` (or not specified), otherwise the failures are ignored. See [Audit Annotations: validation failures](/docs/reference/labels-annotations-taints/audit-annotations/#validation-policy-admission-k8s-io-validation-failure) for more details about the validation failure audit annotation. ### Parameter resource... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/validating-admission-policy.md | main | kubernetes | [
-0.07452508062124252,
0.04895687475800514,
-0.007678085472434759,
-0.01803874969482422,
0.028212158009409904,
-0.013613547198474407,
0.1095583438873291,
-0.036514367908239365,
-0.03310173749923706,
-0.031007470563054085,
-0.018699156120419502,
-0.06926730275154114,
0.08649130910634995,
0.0... | 0.05666 |
"params != null" message: "params missing but required to bind to this policy" ``` #### Optional parameters It can be convenient to be able to have optional parameters as part of a parameter resource, and only validate them if present. CEL provides `has()`, which checks if the key passed to it exists. CEL also implemen... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/validating-admission-policy.md | main | kubernetes | [
-0.050291888415813446,
0.028842797502875328,
0.018164105713367462,
0.0027831646148115396,
0.01458768267184496,
0.05275430157780647,
0.055221833288669586,
0.017921151593327522,
-0.01904834248125553,
-0.0433698371052742,
0.011186178773641586,
-0.1002514660358429,
0.06347426027059555,
0.05738... | -0.001639 |
the policy. One of `name` or `selector` must be set, but not both. {{< note >}} The `parameterNotFoundAction` field in `paramRef` is \*\*required\*\*. It specifies the action to take when no parameters are found matching the `paramRef`. If not specified, the policy binding may be considered invalid and will be ignored ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/validating-admission-policy.md | main | kubernetes | [
-0.07593661546707153,
0.026622481644153595,
-0.034968309104442596,
0.012800577096641064,
0.0009047382045537233,
0.011218034662306309,
0.04984579607844353,
-0.005340107716619968,
-0.015792876482009888,
0.01598309725522995,
0.030357956886291504,
-0.07568057626485825,
0.05043402686715126,
0.0... | 0.034306 |
their partial order. - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with non-intersecting keys are appended, retaining their partial order. #### Validation expression... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/validating-admission-policy.md | main | kubernetes | [
-0.017376119270920753,
0.009803482331335545,
0.035244401544332504,
-0.021637439727783203,
-0.018046708777546883,
-0.012820704840123653,
-0.014647970907390118,
-0.0514785572886467,
0.022992441430687904,
0.026509372517466545,
0.004574431572109461,
0.041475750505924225,
0.02470638044178486,
-... | 0.034011 |
proceed with the request but skip the policy. ### Audit annotations `auditAnnotations` may be used to include audit annotations in the audit event of the API request. For example, here is an admission policy with an audit annotation: {{% code\_sample file="access/validating-admission-policy-audit-annotation.yaml" %}} W... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/validating-admission-policy.md | main | kubernetes | [
-0.023017484694719315,
0.13734252750873566,
0.053319528698921204,
0.00014361525245476514,
0.09360611438751221,
-0.0011407894780859351,
0.058945558965206146,
-0.05177147313952446,
0.0608631856739521,
0.04513176903128624,
-0.00764503376558423,
-0.13216987252235413,
0.02588575892150402,
0.069... | 0.083739 |
code\_sample language="yaml" file="validatingadmissionpolicy/typechecking-multiple-match.yaml" %}} will have multiple types and type checking result of each type in the warning message. ```yaml status: typeChecking: expressionWarnings: - fieldRef: spec.validations[0].expression warning: |- apps/v1, Kind=Deployment: ERR... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/validating-admission-policy.md | main | kubernetes | [
-0.010584810748696327,
0.017592545598745346,
0.04105319455265999,
-0.029034961014986038,
0.06872615218162537,
-0.035025451332330704,
0.06236371397972107,
-0.05150245502591133,
-0.0015813452191650867,
0.017847489565610886,
-0.03195221349596977,
-0.08248662203550339,
0.02402501367032528,
0.0... | 0.060206 |
{{< feature-state for\_k8s\_version="v1.34" state="beta" >}} This page provides an overview of \_MutatingAdmissionPolicies\_. MutatingAdmissionPolicies allow you to change what happens when someone writes a change to the Kubernetes API. If you want to use declarative policies just to prevent a particular kind of change... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/mutating-admission-policy.md | main | kubernetes | [
0.001747864531353116,
0.06955107301473618,
0.08370572328567505,
-0.05743084475398064,
0.00878540612757206,
-0.011899402365088463,
0.04212099313735962,
-0.03531763330101967,
0.0319865383207798,
0.04624156281352043,
-0.05261054262518883,
-0.034505587071180344,
0.028245382010936737,
0.0052550... | 0.14239 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.