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 |
|---|---|---|---|---|---|
... ``` #### Parameter resources Parameter resources allow a policy configuration to be separate from its definition. A policy can define `paramKind`, which outlines GVK of the parameter resource, and then a policy binding ties a policy by name (via `policyName`) to a particular parameter resource via `paramRef`. Pleas... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/mutating-admission-policy.md | main | kubernetes | [
-0.07963556796312332,
0.033674634993076324,
-0.027731306850910187,
-0.011363951489329338,
0.010161037556827068,
-0.03326096385717392,
0.0955117791891098,
0.059442054480314255,
-0.08080590516328812,
-0.006568476557731628,
0.01153756957501173,
-0.09434567391872406,
0.08100086450576782,
0.031... | 0.077476 |
function may be used to escape path keys containing `/` and `~`. - `Object` - CEL type of the resource object. - `Object.` - CEL type of object field (such as `Object.spec`) - `Object.....` - CEL type of nested field (such as `Object.spec.containers`) CEL expressions have access to the contents of the API request, orga... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/mutating-admission-policy.md | main | kubernetes | [
-0.05963698774576187,
0.022222360596060753,
-0.08142662048339844,
0.07906146347522736,
-0.020620061084628105,
-0.01839280314743519,
0.021563943475484848,
0.007382647600024939,
0.013185791671276093,
0.01722773164510727,
-0.012620382010936737,
-0.10479681193828583,
0.013887573964893818,
0.01... | 0.149928 |
A WebHook is an HTTP callback: an HTTP POST that occurs when something happens; a simple event-notification via HTTP POST. A web application implementing WebHooks will POST a message to a URL when certain things happen. When specified, mode `Webhook` causes Kubernetes to query an outside REST service when determining u... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/webhook.md | main | kubernetes | [
-0.03848256170749664,
0.09242745488882065,
-0.04898955672979355,
-0.02482299879193306,
-0.023684576153755188,
-0.07313866168260574,
-0.008829929865896702,
-0.03523866459727287,
0.08030274510383606,
0.0031319449190050364,
-0.012299607507884502,
-0.05813031643629074,
0.025787536054849625,
-0... | 0.187884 |
"SubjectAccessReview", "spec": { "nonResourceAttributes": { "path": "/debug", "verb": "get" }, "user": "jane", "group": [ "group1", "group2" ] } } ``` {{< feature-state feature\_gate\_name="AuthorizeWithSelectors" >}} When calling out to an authorization webhook, Kubernetes passes label and field selectors in the reque... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/webhook.md | main | kubernetes | [
-0.044859856367111206,
0.12388762086629868,
-0.031814008951187134,
0.0034210996236652136,
0.024722542613744736,
-0.04316006600856781,
0.0456821508705616,
-0.0518215149641037,
0.03286315128207207,
0.009366445243358612,
-0.02447621338069439,
-0.136530801653862,
0.0005563513259403408,
0.01312... | 0.132591 |
## Overview A kubelet's HTTPS endpoint exposes APIs which give access to data of varying sensitivity, and allow you to perform operations with varying levels of power on the node and within containers. This document describes how to authenticate and authorize access to the kubelet's HTTPS endpoint. ## Kubelet authentic... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-authn-authz.md | main | kubernetes | [
-0.025183457881212234,
0.11842744797468185,
-0.016387205570936203,
-0.02579955942928791,
-0.12154239416122437,
-0.058599282056093216,
-0.013192516751587391,
-0.00019034584693145007,
0.11643461883068085,
-0.04060380905866623,
-0.042591068893671036,
-0.09927963465452194,
0.026834484189748764,
... | 0.122945 |
is always the name of the kubelet's `Node` API object. When running in this mode, ensure the user identified by the `--kubelet-client-certificate` and `--kubelet-client-key` flags passed to the apiserver is authorized for the following attributes: \* verb=\\*, resource=nodes, subresource=proxy \* verb=\\*, resource=nod... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-authn-authz.md | main | kubernetes | [
0.0050913747400045395,
0.045432206243276596,
0.06054172292351723,
0.002389793749898672,
-0.0858447253704071,
-0.06650660187005997,
0.00331385456956923,
-0.04017748683691025,
0.041921623051166534,
-0.0036949277855455875,
-0.05111047998070717,
-0.08592182397842407,
0.03971238434314728,
-0.00... | 0.081269 |
This page provides an overview of \_admission controllers\_. An admission controller is a piece of code that intercepts requests to the Kubernetes API server prior to persistence of the resource, but after the request is authenticated and authorized. Several important features of Kubernetes require an admission control... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
-0.010011225007474422,
-0.030115487053990364,
0.04914440959692001,
-0.033060166984796524,
-0.019382722675800323,
0.003721927758306265,
0.046760838478803635,
-0.06876390427350998,
0.07810287177562714,
0.10152389109134674,
0.001734261866658926,
-0.011496943421661854,
0.0061814566142857075,
-... | 0.105059 |
all the features you expect. ## How do I turn on an admission controller? The Kubernetes API server flag `enable-admission-plugins` takes a comma-delimited list of admission control plugins to invoke prior to modifying objects in the cluster. For example, the following command line enables the `NamespaceLifecycle` and ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
0.0018124935450032353,
0.004231198690831661,
0.009509800933301449,
-0.015003111213445663,
-0.015513164922595024,
0.029385024681687355,
-0.026784531772136688,
-0.021057207137346268,
0.046494998037815094,
0.09701195359230042,
0.0017393737798556685,
-0.015750739723443985,
0.0017124009318649769,... | 0.12884 |
`system:masters`. ### DefaultIngressClass {#defaultingressclass} \*\*Type\*\*: Mutating. This admission controller observes creation of `Ingress` objects that do not request any specific ingress class and automatically adds a default ingress class to them. This way, users that do not request any special ingress class d... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
-0.004290517885237932,
-0.009757719933986664,
0.07777120172977448,
-0.004067599307745695,
0.012298627756536007,
-0.0013059437042102218,
0.08425263315439224,
-0.04127679765224457,
0.050249941647052765,
0.08486469089984894,
0.03149445727467537,
-0.02792303077876568,
0.020018331706523895,
-0.... | 0.148584 |
that can be specified in the configuration: \* `Server`: All Event requests (creation or modifications) received by the API server share a single bucket. \* `Namespace`: Each namespace has a dedicated bucket. \* `User`: Each user is allocated a bucket. \* `SourceAndObject`: A bucket is assigned by each combination of s... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
-0.023082908242940903,
-0.0005668812082149088,
0.016614258289337158,
-0.01432514376938343,
-0.02828601747751236,
-0.026729902252554893,
0.01396552100777626,
-0.03486961871385574,
0.11942277103662491,
0.05263558775186539,
-0.03574512526392937,
-0.044276654720306396,
0.02367081493139267,
-0.... | 0.102232 |
must enable the `imagepolicy.k8s.io/v1alpha1` API extensions group (`--runtime-config=imagepolicy.k8s.io/v1alpha1=true`). {{< /note >}} An example request body: ```json { "apiVersion": "imagepolicy.k8s.io/v1alpha1", "kind": "ImageReview", "spec": { "containers": [ { "image": "myrepo/myimage:v1" }, { "image": "myrepo/my... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
-0.01611204259097576,
0.06090326979756355,
0.051549818366765976,
-0.02946551889181137,
0.05944816768169403,
-0.04504048824310303,
-0.03326800465583801,
-0.006953071337193251,
0.00012298459478188306,
0.02016298659145832,
-0.004271958954632282,
-0.049490343779325485,
0.004718678537756205,
0.... | 0.025347 |
Future changes to control loops for built-in resources or third-party resources may break webhooks that work well today. Even when the webhook installation API is finalized, not all possible webhook behaviors will be guaranteed to be supported indefinitely. ### NamespaceAutoProvision {#namespaceautoprovision} \*\*Type\... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
-0.1076999381184578,
-0.015590894967317581,
-0.023370468989014626,
-0.008279641158878803,
0.05907423421740532,
-0.09093320369720459,
0.01950554922223091,
-0.10399476438760757,
0.01456414069980383,
0.04944073036313057,
0.03636081889271736,
-0.06993825733661652,
0.06499428302049637,
-0.03652... | 0.086277 |
the `metadata.ownerReferences` of an object so that only users with \*\*delete\*\* permission to the object can change it. This admission controller also protects the access to `metadata.ownerReferences[x].blockOwnerDeletion` of an object, so that only users with \*\*update\*\* permission to the `finalizers` subresourc... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
-0.004177080001682043,
0.04995721951127052,
-0.011621098965406418,
-0.0060440064407885075,
0.03915046900510788,
0.016536468639969826,
0.08021806925535202,
0.01415347307920456,
-0.013677606359124184,
0.09294199198484421,
0.02487560734152794,
0.015857994556427002,
0.0343206450343132,
0.01986... | 0.086386 |
the namespace. If the check succeeds, the pod request is admitted otherwise it is rejected. If the namespace of the pod does not have any associated default tolerations or allowed tolerations annotated, the cluster-level default tolerations or cluster-level list of allowed tolerations are used instead if they are speci... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
0.02185858227312565,
-0.019983839243650436,
0.04047798737883568,
0.03338493034243584,
0.06874577701091766,
-0.022991564124822617,
0.041687946766614914,
-0.10898227989673615,
0.06914355605840683,
0.04321276769042015,
-0.05122046917676926,
-0.06685328483581543,
-0.026431318372488022,
0.02650... | 0.187753 |
Pods to be scheduled on new Nodes before their taints were updated to accurately reflect their reported conditions. ### ValidatingAdmissionPolicy {#validatingadmissionpolicy} \*\*Type\*\*: Validating. [This admission controller](/docs/reference/access-authn-authz/validating-admission-policy/) implements the CEL validat... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/admission-controllers.md | main | kubernetes | [
-0.00696900486946106,
-0.0030746045522391796,
0.10137443989515305,
-0.00527278333902359,
0.026825720444321632,
-0.03801336511969566,
0.013714499771595001,
-0.05643581971526146,
0.025067677721381187,
0.024308878928422928,
-0.015980245545506477,
-0.05914997681975365,
0.02321801520884037,
0.0... | 0.092556 |
Role-based access control (RBAC) is a method of regulating access to computer or network resources based on the roles of individual users within your organization. RBAC authorization uses the `rbac.authorization.k8s.io` {{< glossary\_tooltip text="API group" term\_id="api-group" >}} to drive authorization decisions, al... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.03117922693490982,
-0.01331557147204876,
-0.028608327731490135,
0.006824646145105362,
-0.07393306493759155,
0.021998530253767967,
0.07004182785749435,
-0.056644193828105927,
0.04928603768348694,
0.0462811104953289,
-0.03559044003486633,
-0.021408619359135628,
0.037685856223106384,
0.002... | 0.1382 |
namespace whereas a ClusterRoleBinding grants that access cluster-wide. A RoleBinding may reference any Role in the same namespace. Alternatively, a RoleBinding can reference a ClusterRole and bind that ClusterRole to the namespace of the RoleBinding. If you want to bind a ClusterRole to all the namespaces in your clus... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
0.012112140655517578,
-0.0913906916975975,
-0.016875624656677246,
0.07111161947250366,
-0.039561428129673004,
0.04037041589617729,
0.0687408372759819,
-0.04214738309383392,
0.004276949446648359,
-0.018986161798238754,
0.0025912935379892588,
-0.040741752833127975,
-0.005194332916289568,
0.0... | 0.137714 |
rbac.authorization.k8s.io/v1 kind: Role metadata: namespace: default name: pod-and-pod-logs-reader rules: - apiGroups: [""] resources: ["pods", "pods/log"] verbs: ["get", "list"] ``` You can also refer to resources by name for certain requests through the `resourceNames` list. When specified, requests can be restricted... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.047196295112371445,
0.00699722021818161,
-0.028235284611582756,
0.04605774208903313,
0.008661703206598759,
-0.06269081681966782,
0.12634724378585815,
-0.051289960741996765,
0.04334379732608795,
0.041243840008974075,
-0.015106845647096634,
-0.06784801930189133,
0.03484128415584564,
0.017... | 0.142801 |
into the aggregated ClusterRole. Here is an example that adds rules to the "monitoring" ClusterRole, by creating another ClusterRole labeled `rbac.example.com/aggregate-to-monitoring: true`. ```yaml apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: name: monitoring-endpointslices labels: rbac.example... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.02246920019388199,
-0.04280440881848335,
-0.05776347219944,
0.07511156052350998,
0.025535501539707184,
0.016222814098000526,
0.09830605983734131,
-0.034663841128349304,
0.009106555953621864,
0.041952911764383316,
-0.042978763580322266,
-0.04200257733464241,
0.07467246055603027,
0.037866... | 0.189035 |
a ClusterRole bound with a ClusterRoleBinding to be effective): ```yaml rules: - nonResourceURLs: ["/healthz", "/healthz/\*"] # '\*' in a nonResourceURL is a suffix glob match verbs: ["get", "post"] ``` ### Referring to subjects A RoleBinding or ClusterRoleBinding binds a role to subjects. Subjects can be groups, users... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.033533934503793716,
0.03411160409450531,
0.024773217737674713,
-0.002567544113844633,
-0.0620705671608448,
0.004819340538233519,
0.10143933445215225,
-0.07059162855148315,
0.061472583562135696,
-0.011129679158329964,
-0.0463043674826622,
-0.09203120321035385,
0.050511542707681656,
0.004... | 0.075552 |
cluster role bindings authorize unauthenticated and authenticated users to read API information that is deemed safe to be publicly accessible (including CustomResourceDefinitions). To disable anonymous unauthenticated access, add `--anonymous-auth=false` flag to the API server configuration. To view the configuration o... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.014209712855517864,
0.010687298141419888,
0.0020918683148920536,
0.03747337684035301,
-0.06181173771619797,
0.017666945233941078,
0.01429578848183155,
-0.04290946200489998,
0.06615143269300461,
0.020691918209195137,
-0.017177850008010864,
-0.04654563590884209,
0.01489246729761362,
-0.00... | 0.132888 |
It does not allow viewing roles or role bindings. This role does not allow viewing Secrets, since reading the contents of Secrets enables access to ServiceAccount credentials in the namespace, which would allow API access as any ServiceAccount in the namespace (a form of privilege escalation). | ### Core component role... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.08219258487224579,
-0.012493031099438667,
-0.009105022065341473,
0.02618926391005516,
-0.05087876319885254,
0.04961693659424782,
0.031170547008514404,
-0.03589192405343056,
0.04188777506351471,
0.0008502863347530365,
-0.04286731407046318,
-0.07362531870603561,
0.017384979873895645,
-0.0... | 0.077888 |
`system:controller:node-controller` \* `system:controller:persistent-volume-binder` \* `system:controller:pod-garbage-collector` \* `system:controller:pv-protection-controller` \* `system:controller:pvc-protection-controller` \* `system:controller:replicaset-controller` \* `system:controller:replication-controller` \* ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.08009150624275208,
-0.0674586221575737,
-0.1349867433309555,
0.02277960814535618,
-0.013648854568600655,
0.030821586027741432,
0.014979341998696327,
0.010666443035006523,
0.04614374041557312,
0.09207047522068024,
0.03700230270624161,
0.022770818322896957,
0.08172611892223358,
0.02397730... | 0.082746 |
Examples: \* Create a Role named "pod-reader" that allows users to perform `get`, `watch` and `list` on pods: ```shell kubectl create role pod-reader --verb=get --verb=list --verb=watch --resource=pods ``` \* Create a Role named "pod-reader" with resourceNames specified: ```shell kubectl create role pod-reader --verb=g... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
0.00025312689831480384,
-0.03349009528756142,
-0.013607080094516277,
0.036954089999198914,
-0.057525765150785446,
-0.008910587057471275,
0.06293338537216187,
-0.023735303431749344,
0.061306558549404144,
0.019754484295845032,
0.001387756085023284,
-0.06569283455610275,
0.026346510276198387,
... | 0.131944 |
objects, removing any extra permissions (in roles) and any extra subjects (in bindings): ```shell kubectl auth reconcile -f my-rbac-rules.yaml --remove-extra-subjects --remove-extra-permissions ``` ## ServiceAccount permissions {#service-account-permissions} Default RBAC policies grant scoped permissions to control-pla... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.026321137323975563,
0.018979696556925774,
-0.022985415533185005,
-0.015725886449217796,
-0.0489359088242054,
0.024776052683591843,
0.0588562935590744,
-0.06796502321958542,
0.06965858489274979,
0.023223398253321648,
-0.04047856852412224,
-0.043992284685373306,
0.029828248545527458,
0.02... | 0.154299 |
is not part of the aggregated roles in clusters that you create using Kubernetes v1.22 or later. Existing clusters that have been upgraded to Kubernetes v1.22 will not be subject to this change. The [CVE announcement](https://github.com/kubernetes/kubernetes/issues/103675) includes guidance for restricting this access ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/rbac.md | main | kubernetes | [
-0.012809164822101593,
-0.033062733709812164,
0.006151476409286261,
0.06055150926113129,
-0.05019191652536392,
0.024544179439544678,
-0.007618663366883993,
-0.029604338109493256,
0.06552931666374207,
0.05031855031847954,
-0.02589612454175949,
-0.037984658032655716,
0.013586253859102726,
-0... | 0.083424 |
Kubernetes certificate and trust bundle APIs enable automation of [X.509](https://www.itu.int/rec/T-REC-X.509) credential provisioning by providing a programmatic interface for clients of the Kubernetes API to request and obtain X.509 {{< glossary\_tooltip term\_id="certificate" text="certificates" >}} from a Certifica... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/certificate-signing-requests.md | main | kubernetes | [
-0.07989693433046341,
0.04358784481883049,
0.043619830161333084,
-0.014973489567637444,
-0.014435545541346073,
-0.005847584921866655,
0.06867287307977676,
0.02029941789805889,
0.04104769974946976,
0.005339692812412977,
0.003966569434851408,
-0.11059912294149399,
0.08734728395938873,
0.0749... | 0.092363 |
Signers Signers abstractly represent the entity or entities that might sign, or have signed, a security certificate. Any signer that is made available for outside a particular cluster should provide information about how the signer works, so that consumers can understand what that means for CertificateSigningRequests a... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/certificate-signing-requests.md | main | kubernetes | [
-0.036449335515499115,
0.027346650138497353,
-0.006720220670104027,
0.02350279502570629,
0.07082490622997284,
-0.04173605889081955,
0.03658483549952507,
0.009094428271055222,
0.015885550528764725,
-0.061247289180755615,
0.05869666486978531,
-0.06349312514066696,
0.10307109355926514,
0.0416... | 0.10566 |
lifetime - for the kube-controller-manager implementation of this signer, set to the minimum of the `--cluster-signing-duration` option or, if specified, the `spec.expirationSeconds` field of the CSR object. 1. CA bit allowed/disallowed - not allowed. 1. `kubernetes.io/kube-apiserver-client-kubelet`: signs client certi... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/certificate-signing-requests.md | main | kubernetes | [
-0.03594670072197914,
0.03364378213882446,
0.017982566729187965,
0.006837722845375538,
-0.017071932554244995,
-0.02646179124712944,
-0.013979537412524223,
-0.004398397635668516,
0.12073872983455658,
0.02034088224172592,
0.00641024112701416,
-0.10368525236845016,
0.08379045873880386,
0.0074... | 0.117916 |
related to ServiceAccount token secrets `.data[ca.crt]` in any way. That CA bundle is only guaranteed to verify a connection to the API server using the default service (`kubernetes.default.svc`). ### Custom signers You can also introduce your own custom signer, which should have a similar prefixed name but using your ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/certificate-signing-requests.md | main | kubernetes | [
-0.04455014318227768,
0.012883096002042294,
0.004860353656113148,
-0.0320914052426815,
-0.044060416519641876,
-0.052654437720775604,
0.009832595475018024,
0.028493128716945648,
0.13355572521686554,
0.013670842163264751,
0.0003761911066249013,
-0.0694236308336258,
0.039071496576070786,
0.08... | 0.050386 |
certificates.k8s.io/v1 kind: CertificateSigningRequest ... status: conditions: - lastUpdateTime: "2020-02-08T11:37:35Z" lastTransitionTime: "2020-02-08T11:37:35Z" message: Approved by my custom approver controller reason: ApprovedByMyPolicy # You can set this to any string type: Approved ``` For `Denied` CSRs: ```yaml ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/certificate-signing-requests.md | main | kubernetes | [
-0.05764361098408699,
0.11949709802865982,
0.0010256888344883919,
-0.002841969719156623,
0.03406022861599922,
-0.011862087994813919,
0.019516175612807274,
0.014712625183165073,
0.05696289986371994,
0.03707273676991463,
0.0266217440366745,
-0.08608115464448929,
0.06382546573877335,
0.057307... | 0.003525 |
actions, the signing controller needs to have the appropriate permissions on both the PodCertificateRequest type, as well as on the signer name: \* Verbs: \*\*update\*\*, group: `certificates.k8s.io`, resource: `podcertificaterequests/status` \* Verbs: \*\*sign\*\*, group: `certificates.k8s.io`, resource: `signers`, re... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/certificate-signing-requests.md | main | kubernetes | [
0.01216360367834568,
0.03409693390130997,
0.008656427264213562,
0.005187004804611206,
0.0026899219956249,
-0.06674555689096451,
0.055015359073877335,
0.027046911418437958,
0.07671105116605759,
0.04416368529200554,
0.016401978209614754,
-0.046968355774879456,
0.030491391196846962,
0.0562461... | 0.092739 |
ClusterTrustBundles: ```bash kubectl get clustertrustbundles --as='system:serviceaccount:mynamespace:default' ``` ### Signer-linked ClusterTrustBundles {#ctb-signer-linked} Signer-linked ClusterTrustBundles are associated with a \_signer name\_, like this: ```yaml apiVersion: certificates.k8s.io/v1alpha1 kind: ClusterT... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/certificate-signing-requests.md | main | kubernetes | [
0.003022392513230443,
-0.014078819192945957,
-0.018053792417049408,
-0.013093152083456516,
0.013065365143120289,
-0.016975626349449158,
0.03877183049917221,
0.006478449329733849,
0.05849169194698334,
0.028473135083913803,
0.06922558695077896,
-0.0873555988073349,
0.07469107955694199,
0.009... | 0.075376 |
In addition to [compiled-in admission plugins](/docs/reference/access-authn-authz/admission-controllers/), admission plugins can be developed as extensions and run as webhooks configured at runtime. This page describes how to build, configure, use, and monitor admission webhooks. ## What are admission webhooks? Admissi... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.07686231285333633,
0.05869104340672493,
-0.06285496801137924,
-0.023228753358125687,
0.012843378819525242,
-0.05359932407736778,
0.036215368658304214,
-0.023742126300930977,
-0.024254275485873222,
-0.001626797136850655,
-0.004481209442019463,
-0.06447866559028625,
0.03243248164653778,
-... | 0.129878 |
/note >}} The `scope` field specifies if only cluster-scoped resources ("Cluster") or namespace-scoped resources ("Namespaced") will match this rule. "∗" means that there are no scope restrictions. {{< note >}} When using `clientConfig.service`, the server cert must be valid for `..svc`. {{< /note >}} {{< note >}} Defa... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.08633476495742798,
0.08601811528205872,
-0.06485527753829956,
0.036082923412323,
0.023387985303997993,
-0.0650796964764595,
-0.03318587690591812,
-0.057503703981637955,
0.046859677881002426,
-0.006163884419947863,
-0.028170816600322723,
-0.05171334370970726,
0.04022049903869629,
0.00135... | 0.108189 |
user: ... # # A webhook with `url: https://www.example.com:443`: # - name: www.example.com:443 # user: ... # # A webhook with `url: https://www.example.com:8443`: # - name: www.example.com:8443 # user: ... # - name: 'webhook1.ns1.svc' user: client-certificate-data: "" client-key-data: "" # The `name` supports using \* ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.047642782330513,
0.07784750312566757,
-0.07229994982481003,
-0.04973539337515831,
-0.06118646264076233,
-0.11034956574440002,
0.012281482107937336,
-0.05172833427786827,
0.030349144712090492,
-0.027170369401574135,
-0.016987239941954613,
-0.12095264345407486,
0.027100488543510437,
0.014... | 0.031356 |
the request to the API server "uid": "014fbff9a07c", # Group memberships of the authenticated user making the request to the API server "groups": [ "system:authenticated", "my-admin-group" ], # Arbitrary extra info associated with the user making the request to the API server # This is populated by the API server authe... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.08070580661296844,
0.06020789220929146,
-0.021787842735648155,
0.07516030967235565,
-0.029511943459510803,
-0.04229938983917236,
0.030379248782992363,
-0.04895133152604103,
0.023510631173849106,
0.06407490372657776,
0.04835670441389084,
-0.06028696894645691,
-0.021909408271312714,
0.037... | 0.131894 |
describe problems the client making the API request should correct or be aware of \* Limit warnings to 120 characters if possible {{< caution >}} Individual warning messages over 256 characters may be truncated by the API server before being returned to clients. If more than 4096 characters of warning messages are adde... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.011307256296277046,
0.07969304919242859,
0.007226241286844015,
-0.0014691563555970788,
0.0063991788774728775,
-0.0596388541162014,
0.004814579151570797,
0.0328155942261219,
0.0024681193754076958,
-0.01942666806280613,
-0.0007795688579790294,
-0.10350821912288666,
0.061187222599983215,
-... | 0.097895 |
of the objects they would be sent, by specifying an `objectSelector`. If specified, the objectSelector is evaluated against both the object and oldObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (`oldObject` in the case of create, or `newObject` ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.06472060829401016,
0.05320629104971886,
-0.03405986353754997,
0.004981766454875469,
0.0312887579202652,
-0.033211495727300644,
0.08414705842733383,
-0.09257156401872635,
0.04465456306934357,
0.030935127288103104,
0.023272575810551643,
-0.12963728606700897,
0.005412885453552008,
-0.05566... | 0.182183 |
expect when upgrades enable new versions of the resource in the API server. When a resource stops being served by the API server, it is no longer considered equivalent to other versions of that resource that are still served. For example, `extensions/v1beta1` deployments were first deprecated and then removed (in Kuber... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.054844994097948074,
0.051823586225509644,
0.0733310803771019,
-0.023659195750951767,
0.04614967107772827,
-0.0656062513589859,
-0.041968345642089844,
-0.09491944313049316,
0.0674498975276947,
0.033641476184129715,
0.01898976042866707,
-0.04796348139643669,
0.006904189474880695,
-0.02336... | 0.079913 |
documentation for more details. - `authorizer.requestResource` - A shortcut for an authorization check configured with the request resource (group, resource, (subresource), namespace, name). For more information on CEL expressions, refer to the [Common Expression Language in Kubernetes reference](/docs/reference/using-... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.06937661021947861,
0.11061009019613266,
0.0564177930355072,
-0.028334898874163628,
0.005164929199963808,
-0.0806414932012558,
0.014678034000098705,
-0.04671228304505348,
0.10854853689670563,
0.006928477436304092,
-0.016847440972924232,
-0.16349413990974426,
0.05556247755885124,
-0.04007... | 0.085512 |
also have a reconciliation mechanism (like a controller) that periodically determines the actual state of the world, and adjusts the out-of-band data modified by the admission webhook to reflect reality. This is because a call to an admission webhook does not guarantee the admitted object will be persisted as is, or at... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.07440266758203506,
0.08412239700555801,
0.003482305910438299,
0.03315528482198715,
0.0517653226852417,
-0.08408452570438385,
-0.03660712018609047,
-0.044958941638469696,
0.02904830127954483,
0.01162679586559534,
0.014449185691773891,
-0.05638248845934868,
0.02414025366306305,
-0.0759118... | 0.119221 |
all mutations are guaranteed complete, use a validating admission webhook instead (recommended for webhooks with side-effects). Here is an example of a mutating webhook opting into being re-invoked if later admission plugins modify the object: ```yaml apiVersion: admissionregistration.k8s.io/v1 kind: MutatingWebhookCon... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.10200433433055878,
0.01888992451131344,
0.00981244444847107,
-0.03964622691273689,
0.028832774609327316,
-0.07733441144227982,
0.023048222064971924,
-0.0312865749001503,
-0.02217700518667698,
0.03191198408603668,
0.0766494944691658,
-0.0704408809542656,
0.040891073644161224,
-0.06938882... | 0.156237 |
"webhook": "my-webhook-always-mutate.example.com", "mutated": true } ``` - At `Request` audit level or higher, an annotation with key `patch.webhook.admission.k8s.io/round\_{round idx}\_index\_{order idx}` gets logged with JSON payload indicating a webhook gets invoked for given request and what patch gets applied to t... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/extensible-admission-controllers.md | main | kubernetes | [
-0.12061178684234619,
0.10328735411167145,
0.04546170309185982,
-0.031562548130750656,
0.03716509789228439,
-0.10142526775598526,
0.04039982333779335,
-0.09021027386188507,
0.040176406502723694,
0.02593993954360485,
0.026933841407299042,
-0.07480532675981522,
0.0003265568520873785,
-0.0158... | 0.145452 |
The tables below enumerate the configuration parameters on `PodSecurityPolicy` objects, whether the field mutates and/or validates pods, and how the configuration values map to the [Pod Security Standards](/docs/concepts/security/pod-security-standards/). For each applicable parameter, the allowed values for the [Basel... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/psp-to-pod-security-standards.md | main | kubernetes | [
0.0614345520734787,
-0.03918688744306564,
-0.01931377686560154,
-0.043348733335733414,
0.0394226610660553,
-0.002945810090750456,
0.03176264837384224,
0.05256975442171097,
-0.06672639399766922,
0.029550420120358467,
0.03781130537390709,
-0.05928192287683487,
0.028152981773018837,
0.0202275... | 0.127969 |
PodSecurityPolicy annotations to Pod Security Standards | `PSP Annotation` | Type | Pod Security Standards Equivalent | | --- | --- | --- | | `seccomp.security.alpha.kubernetes.io` `/defaultProfileName` | Mutating | *No opinion* | | `seccomp.security.alpha.kubernetes.io` `/allowedProfileNames` | Validating | **Baseline... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/psp-to-pod-security-standards.md | main | kubernetes | [
0.027479782700538635,
0.0187480840831995,
-0.020008713006973267,
-0.04491548240184784,
0.024427153170108795,
0.03877078741788864,
0.014296459034085274,
0.026697922497987747,
0.03135247901082039,
0.047940775752067566,
0.004158372525125742,
-0.0684761330485344,
-0.03580689802765846,
0.028907... | 0.194721 |
For an introduction to how Kubernetes implements and controls API access, read [Controlling Access to the Kubernetes API](/docs/concepts/security/controlling-access/). Reference documentation: - [Authenticating](/docs/reference/access-authn-authz/authentication/) - [Authenticating with Bootstrap Tokens](/docs/reference... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/_index.md | main | kubernetes | [
-0.054929718375205994,
0.05794024467468262,
-0.024607032537460327,
0.021132010966539383,
0.007633222732692957,
0.019074339419603348,
0.067345529794693,
0.009360907599329948,
0.018811354413628578,
0.03139003366231918,
-0.00026873263414017856,
0.005831821821630001,
0.039742328226566315,
-0.0... | 0.135119 |
In a Kubernetes cluster, the components on the worker nodes - kubelet and kube-proxy - need to communicate with Kubernetes control plane components, specifically kube-apiserver. In order to ensure that communication is kept private, not interfered with, and ensure that each component of the cluster is talking to anothe... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md | main | kubernetes | [
-0.05113792046904564,
0.04835090786218643,
0.03274634853005409,
0.00955559778958559,
-0.048887949436903,
-0.04856165125966072,
0.008566347882151604,
-0.0206524059176445,
0.07192879915237427,
-0.01622186228632927,
-0.05501028895378113,
-0.028394071385264397,
0.05197208374738693,
0.032728351... | 0.067858 |
normal operation 1. Optional: if configured, kubelet automatically requests renewal of the certificate when it is close to expiry 1. The renewed certificate is approved and issued, either automatically or manually, depending on configuration. The rest of this document describes the necessary steps to configure TLS Boot... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md | main | kubernetes | [
-0.03680569306015968,
0.03927389532327652,
0.014028850011527538,
0.01752256415784359,
-0.0683419331908226,
0.002502029063180089,
-0.030271237716078758,
0.0000711366010364145,
0.08143885433673859,
-0.0011222421890124679,
-0.01699576899409294,
-0.08484718948602676,
0.08205024898052216,
-0.00... | 0.062832 |
kubelet From the kubelet's perspective, one token is like another and has no special meaning. From the kube-apiserver's perspective, however, the bootstrap token is special. Due to its `type`, `namespace` and `name`, kube-apiserver recognizes it as a special token, and grants anyone authenticating with that token speci... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md | main | kubernetes | [
-0.11902759224176407,
0.051870908588171005,
0.01688181236386299,
-0.010465044528245926,
-0.04239102825522423,
-0.03329506888985634,
-0.0013187384465709329,
0.007142898626625538,
0.13681265711784363,
-0.03205481916666031,
-0.046593546867370605,
-0.050623662769794464,
0.05225840210914612,
-0... | 0.119629 |
certificates can be configured with flag: ```shell --cluster-signing-duration ``` ### Approval In order to approve CSRs, you need to tell the controller-manager that it is acceptable to approve them. This is done by granting RBAC permissions to the correct group. There are two distinct sets of permissions: \* `nodeclie... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md | main | kubernetes | [
-0.051437705755233765,
0.0062407939694821835,
-0.018470298498868942,
0.05906635895371437,
-0.0007661784766241908,
-0.01232924871146679,
-0.017577365040779114,
-0.021242553368210793,
0.07081341743469238,
-0.02322041615843773,
-0.014572546817362309,
-0.10613493621349335,
0.08382757753133774,
... | 0.093288 |
only tokens. Because the bootstrap `kubeconfig` \_is\_ a standard `kubeconfig`, you can use `kubectl` to generate it. To create the above example file: ``` kubectl config --kubeconfig=/var/lib/kubelet/bootstrap-kubeconfig set-cluster bootstrap --server='https://my.server.example.com:6443' --certificate-authority=/var/l... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md | main | kubernetes | [
-0.016993723809719086,
0.0006854184321127832,
-0.03836623206734657,
0.0009872395312413573,
-0.061857230961322784,
0.022932419553399086,
-0.0026318076997995377,
-0.0029717455618083477,
0.0661880373954773,
-0.020772472023963928,
0.00673832930624485,
-0.11656848341226578,
0.06547768414020538,
... | 0.083001 |
may need to communicate directly with kube-apiserver. Notable is kube-proxy, which is part of the Kubernetes node components and runs on every node, but may also include other components such as monitoring or networking. Like the kubelet, these other components also require a method of authenticating to kube-apiserver.... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/access-authn-authz/kubelet-tls-bootstrapping.md | main | kubernetes | [
-0.024361129850149155,
0.015718510374426842,
-0.011653616093099117,
-0.03256971761584282,
-0.086192287504673,
-0.0010700668208301067,
-0.01669427752494812,
-0.01386752724647522,
0.12493958324193954,
0.02168312296271324,
-0.07193833589553833,
-0.11062727868556976,
0.06536169350147247,
-0.02... | 0.101619 |
The Kubernetes API is a resource-based (RESTful) programmatic interface provided via HTTP. It supports retrieving, creating, updating, and deleting primary resources via the standard HTTP verbs (POST, PUT, PATCH, DELETE, GET). For some resources, the API includes additional subresources that allow fine-grained authoriz... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.039628155529499054,
-0.012342395260930061,
0.05415438488125801,
-0.0009034737595357001,
0.018016720190644264,
-0.0097940843552351,
0.04438066855072975,
-0.06433124840259552,
0.14711296558380127,
0.052264612168073654,
-0.07024683803319931,
0.000008565879397792742,
-0.0012769466266036034,
... | 0.268619 |
to a namespace (`/apis/GROUP/VERSION/namespaces/NAMESPACE/\*`). A namespace-scoped resource type will be deleted when its namespace is deleted and access to that resource type is controlled by authorization checks on the namespace scope. Note: core resources use `/api` instead of `/apis` and omit the GROUP path segment... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
0.0047730617225170135,
-0.009874735027551651,
0.0058705443516373634,
0.09721184521913528,
0.033221349120140076,
-0.027736421674489975,
0.05138492211699486,
-0.10057796537876129,
0.049998946487903595,
0.014908579178154469,
-0.013932986184954643,
-0.03687503561377525,
0.030300870537757874,
0... | 0.156915 |
"v1", … } ``` You can also request [table](#table-fetches) and [metadata-only](#metadata-only-fetches) representations of this encoding. ### YAML resource encoding {#yaml-encoding} Kubernetes also supports the [`application/yaml`](https://www.rfc-editor.org/rfc/rfc9512.html) media type for both requests and responses. ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
0.04036099836230278,
-0.03814530000090599,
0.026985961943864822,
-0.012155845761299133,
-0.0027261797804385424,
0.010884643532335758,
-0.014289939776062965,
-0.01406173687428236,
0.047220829874277115,
0.035327550023794174,
-0.04340359941124916,
-0.06186278536915779,
0.010472879745066166,
-... | 0.156522 |
all API resource types support Kubernetes' Protobuf encoding; specifically, Protobuf isn't available for resources that are defined as {{< glossary\_tooltip term\_id="CustomResourceDefinition" text="CustomResourceDefinitions" >}} or are served via the {{< glossary\_tooltip text="aggregation layer" term\_id="aggregation... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.0703819990158081,
-0.01676885597407818,
0.03961079940199852,
-0.0015824538422748446,
-0.0600489042699337,
0.02622855082154274,
0.046481430530548096,
-0.02073586732149124,
0.04640839621424675,
-0.01797621324658394,
-0.05079635605216026,
-0.12763741612434387,
-0.024333404377102852,
0.0558... | -0.008233 |
operations (such as \*\*create\*\*, \*\*delete\*\*, \*\*patch\*\* or \*\*update\*\*) that affect Pods in the \_test\_ namespace. Each change notification is a JSON document. The HTTP response body (served as `application/json`) consists a series of JSON documents. ```http GET /api/v1/namespaces/test/pods?watch=1&resour... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.03345976397395134,
0.03449030593037605,
0.08224635571241379,
0.07235169410705566,
0.0008625095942988992,
-0.08464719355106354,
-0.007760821375995874,
-0.049595482647418976,
0.09095040708780289,
0.04012876749038696,
-0.00648659560829401,
-0.05402722954750061,
-0.019242584705352783,
-0.00... | 0.182654 |
to the moment of a consistent read from when the request started to be processed. If you specify `resourceVersion` (in the query string), the bookmark event is sent when the state is synced at least to the provided resource version. ### Example {#example-streaming-lists} An example: you want to watch a collection of Po... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
0.0173166636377573,
-0.030122017487883568,
0.05715402960777283,
0.0667048916220665,
0.018379349261522293,
-0.023461008444428444,
-0.01035822182893753,
-0.060529012233018875,
0.07771992683410645,
0.02411358244717121,
-0.047635022550821304,
0.006433054804801941,
-0.016105078160762787,
0.0027... | 0.092142 |
collection. As an API client, you can then pass this `continue` value to the API server on the next request, to instruct the server to return the next page (\_chunk\_) of results. By continuing until the server returns an empty `continue` value, you can retrieve the entire collection. Like a \*\*watch\*\* operation, a ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.040591828525066376,
0.051374148577451706,
-0.0053174723871052265,
0.05194699764251709,
-0.023043522611260414,
-0.031826201826334,
-0.042713139206171036,
-0.024704284965991974,
0.07184766232967377,
0.021102173253893852,
-0.014158083125948906,
0.00861053541302681,
-0.01692001335322857,
-0... | 0.150796 |
... ``` There are dozens of collection types (such as `PodList`, `ServiceList`, and `NodeList`) defined in the Kubernetes API. You can get more information about each collection type from the [Kubernetes API](/docs/reference/kubernetes-api/) documentation. Some tools, such as `kubectl`, represent the Kubernetes collect... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.017820077016949654,
0.021953850984573364,
0.036207426339387894,
0.029209058731794357,
-0.005574521608650684,
-0.00659340713173151,
0.005489285569638014,
-0.030934464186429977,
0.13893601298332214,
0.008846484124660492,
-0.024418184533715248,
-0.030388623476028442,
-0.030768735334277153,
... | 0.141053 |
full objects in that case is desired, clients can add `,application/json` (or any other supported encoding) to their Accept header, and handle either table or full objects in the response: ```http Accept: application/json;as=Table;g=meta.k8s.io;v=v1,application/json` ``` For more information on content type negotiation... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
0.05606205388903618,
0.045513514429330826,
0.01860375702381134,
-0.008680541068315506,
-0.026874464005231857,
-0.021719910204410553,
-0.006815390195697546,
-0.025863077491521835,
0.04858008027076721,
0.03328166902065277,
-0.06740274280309677,
-0.09556098282337189,
0.009166624397039413,
0.0... | 0.060077 |
for the first finalizer in the list is waiting for some signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering, finalizers are free to order amongst themselves and are not vulnerable to ordering changes in... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.04278283938765526,
0.021494226530194283,
0.04746655747294426,
0.013327219523489475,
0.10821428149938583,
-0.0062860590405762196,
-0.003097466891631484,
-0.08535084873437881,
0.006572736892849207,
0.023066900670528412,
0.007310492917895317,
0.08724077045917511,
0.01026201993227005,
0.008... | 0.082859 |
situations are: 1. The field is unrecognized because it is not in the resource's OpenAPI schema. (One exception to this is for {{< glossary\_tooltip term\_id="CustomResourceDefinition" text="CRDs" >}} that explicitly choose not to prune unknown fields via `x-kubernetes-preserve-unknown-fields`). 1. The field is duplica... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.05783101171255112,
0.023591328412294388,
0.04078482463955879,
0.030506491661071777,
-0.02081640623509884,
-0.07292827218770981,
0.009052000008523464,
-0.1072990819811821,
0.11858809739351273,
0.024605702608823776,
0.020385248586535454,
-0.09062817692756653,
0.03907235711812973,
-0.03993... | 0.044246 |
evaluate a request through the typical request stages (admission chain, validation, merge conflicts) up until persisting objects to storage. The response body for the request is as close as possible to a non-dry-run response. Kubernetes guarantees that dry-run requests will not be persisted in storage or have any other... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.010421543382108212,
0.01591523364186287,
0.07455188781023026,
0.031119193881750107,
0.007252180017530918,
-0.035673242062330246,
-0.00945610087364912,
-0.05462636798620224,
0.05884281173348427,
0.05909403786063194,
-0.014144595712423325,
-0.05414624139666557,
-0.0249071903526783,
-0.028... | 0.071722 |
Updates to existing resources {#patch-and-apply} Kubernetes provides several ways to update existing objects. You can read [choosing an update mechanism](#update-mechanism-choose) to learn about which approach might be best for your use case. You can overwrite (\*\*update\*\*) an existing resource - for example, a Conf... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.048748649656772614,
0.01182479690760374,
0.09616836905479431,
-0.0027237283065915108,
-0.035380855202674866,
-0.0007483726949431002,
-0.02958565764129162,
-0.07256859540939331,
0.08774158358573914,
0.09149827808141708,
-0.025931596755981445,
-0.007171624805778265,
0.01639063097536564,
-... | 0.16476 |
more details. ### Choosing an update mechanism {#update-mechanism-choose} #### HTTP PUT to replace existing resource {#update-mechanism-update} The \*\*update\*\* (HTTP `PUT`) operation is simple to implement and flexible, but has drawbacks: \* You need to handle conflicts where the `resourceVersion` of the object chan... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.03346223011612892,
0.04955020174384117,
0.08384112268686295,
-0.014512830413877964,
-0.04601549729704857,
-0.020070169121026993,
-0.026767548173666,
-0.08418352901935577,
0.12424696236848831,
0.0929001122713089,
-0.02501726523041725,
0.004744699224829674,
-0.01685088686645031,
-0.034541... | 0.129524 |
internal version of an object. Resource versions can be used by clients to determine when objects have changed, or to express data consistency requirements when getting, listing and watching resources. Resource versions must be passed unmodified back to the server. Resource version strings are orderable as monotonicall... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
0.0023663854226469994,
-0.000837066094391048,
0.10002627223730087,
-0.025976544246077538,
0.006144161801785231,
-0.07275685667991638,
-0.027485987171530724,
-0.07902563363313675,
0.11302382498979568,
0.001771364244632423,
-0.02108205296099186,
-0.07986701279878616,
0.010890726000070572,
-0... | 0.090372 |
`resourceVersion` are: \*\*get:\*\* | resourceVersion unset | resourceVersion="0" | resourceVersion="{value other than 0}" | |-----------------------|---------------------|----------------------------------------| | Most Recent | Any | Not older than | \*\*list:\*\* From version v1.19, Kubernetes API servers support th... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.0008903662674129009,
0.04153008386492729,
0.05165354162454605,
0.0018320395611226559,
0.0026022298261523247,
0.017174700275063515,
-0.023681510239839554,
-0.08126597106456757,
0.08963222056627274,
0.03170005604624748,
-0.03357569873332977,
-0.06888341903686523,
-0.01702028512954712,
0.0... | 0.031271 |
collection's `.metadata.resourceVersion` is not older than the requested `resourceVersion`, but does not make any guarantee about the `.metadata.resourceVersion` of any of the items in that collection. Always served from \_watch cache\_, improving performance and reducing etcd load. Exact : Return data at the exact res... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.0064615001901984215,
0.08031023293733597,
0.0003892071545124054,
0.011502320878207684,
0.05041123926639557,
-0.021436698734760284,
-0.06798594444990158,
-0.08093281090259552,
0.05981186032295227,
0.03959045931696892,
-0.007232625503093004,
0.017951656132936478,
0.048246268182992935,
0.0... | -0.009953 |
is allowed. It is possible for the \*\*watch\*\* to start at a much older resource version that the client has previously observed, particularly in high availability configurations, due to partitions or stale caches. Clients that cannot tolerate this apparent rewinding should not start a \*\*watch\*\* with this semanti... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/api-concepts.md | main | kubernetes | [
-0.09545965492725372,
0.008129146881401539,
0.037327710539102554,
0.0013014059513807297,
0.03173499181866646,
0.04060773923993111,
0.04422226548194885,
-0.08124237507581711,
0.03369690850377083,
0.026646096259355545,
-0.041114818304777145,
0.06188216060400009,
0.04503845423460007,
0.021991... | 0.100482 |
This document details the deprecation policy for various facets of the system. Kubernetes is a large system with many components and many contributors. As with any such software, the feature set naturally evolves over time, and sometimes a feature may need to be removed. This could include an API, a flag, or even an en... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-policy.md | main | kubernetes | [
-0.004196480382233858,
0.037094246596097946,
0.12184617668390274,
-0.009318036958575249,
0.059785500168800354,
0.00303334416821599,
-0.056918032467365265,
-0.033134572207927704,
0.07128331810235977,
0.03535303473472595,
-0.00685086939483881,
0.019597910344600677,
-0.03095303103327751,
-0.0... | 0.159956 |
versions are deprecated no more than 9 months or 3 minor releases after introduction (whichever is longer), and are no longer served 9 months or 3 minor releases after deprecation (whichever is longer) \* Alpha API versions may be removed in any release without prior deprecation notice This ensures beta API support cov... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-policy.md | main | kubernetes | [
-0.04102548211812973,
0.01795198954641819,
0.10981862246990204,
-0.018486741930246353,
0.023181874305009842,
0.004458680283278227,
-0.09061470627784729,
-0.08906363695859909,
0.05471814051270485,
0.04195801168680191,
-0.02681802585721016,
0.09261346608400345,
-0.061465490609407425,
-0.0112... | 0.074754 |
not be removed | | X+13 | v2, v2beta1 (deprecated), v2beta2 (deprecated), v1 (deprecated) | v2 | | | X+14 | v2, v2beta2 (deprecated), v1 (deprecated) | v2 | * v2beta1 is removed. See release notes for required actions. | | X+15 | v2, v1 (deprecated) | v2 | * v2beta2 is removed. See release notes for required actions. |... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-policy.md | main | kubernetes | [
-0.04044665768742561,
0.05227719992399216,
0.07322890311479568,
-0.04703189805150032,
0.06244024634361267,
0.02082758955657482,
-0.0684756189584732,
-0.054854683578014374,
0.07864266633987427,
0.0006131351692602038,
0.03543468937277794,
0.02800586260855198,
-0.03169980272650719,
-0.0215050... | 0.043734 |
longer)\*\* \* \*\*Alpha: 0 releases\*\* \*\*Rule #5b: CLI elements of admin-facing components (e.g. kubelet) must function after their announced deprecation for no less than:\*\* \* \*\*GA: 6 months or 1 release (whichever is longer)\*\* \* \*\*Beta: 3 months or 1 release (whichever is longer)\*\* \* \*\*Alpha: 0 rele... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-policy.md | main | kubernetes | [
-0.07954138517379761,
0.006305290851742029,
0.06626982241868973,
-0.03505198657512665,
-0.007993187755346298,
-0.033802054822444916,
0.009161146357655525,
-0.02337045967578888,
0.015815626829862595,
0.012108675204217434,
-0.0025486783124506474,
0.0003958752495236695,
0.01608680747449398,
-... | 0.13776 |
\* Beta: the feature gate is enabled by default and can be disabled by the user. \* GA: the feature gate is deprecated (see ["Deprecation"](#deprecation)) and becomes non-operational. \* GA, deprecation window complete: the feature gate is removed and calls to it are no longer accepted. ### Deprecation Features can be ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-policy.md | main | kubernetes | [
-0.07384482026100159,
0.010882897302508354,
0.04664042592048645,
0.0710652768611908,
0.05615948513150215,
-0.03268549218773842,
-0.003464736510068178,
-0.061613742262125015,
-0.035996757447719574,
0.012114405632019043,
0.009912132285535336,
0.07754971832036972,
-0.07159889489412308,
-0.039... | 0.110347 |
3\_), a deprecated metric will become a \_hidden\_ metric. \*\*\_Unlike\_\*\* their deprecated counterparts, hidden metrics will \_no longer\_ be automatically registered to the metrics endpoint (hence hidden). However, they can be explicitly enabled through a command line flag on the binary (`--show-hidden-metrics-for... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-policy.md | main | kubernetes | [
-0.03710158169269562,
0.0073960693553090096,
0.08429766446352005,
-0.0015162158524617553,
0.037113528698682785,
0.044153958559036255,
-0.013132504187524319,
-0.033418867737054825,
0.08350952714681625,
0.017744073644280434,
0.047712717205286026,
-0.021940521895885468,
-0.0033773353789001703,
... | 0.116207 |
As the Kubernetes API evolves, APIs are periodically reorganized or upgraded. When APIs evolve, the old API is deprecated and eventually removed. This page contains information you need to know when migrating from deprecated API versions to newer and more stable API versions. ## Removed APIs by release ### v1.32 The \*... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-guide.md | main | kubernetes | [
-0.03854937106370926,
-0.013048199005424976,
0.04228923097252846,
-0.007162841968238354,
0.01727188564836979,
0.036591123789548874,
-0.061857834458351135,
-0.08320152759552002,
0.10130540281534195,
0.044954556971788406,
-0.04154746234416962,
-0.022656267508864403,
-0.07951147109270096,
-0.... | 0.087301 |
field \* `topology` is replaced with the `deprecatedTopology` field which is not writable in v1 #### Event {#event-v125} The \*\*events.k8s.io/v1beta1\*\* API version of Event is no longer served as of v1.25. \* Migrate manifests and API clients to use the \*\*events.k8s.io/v1\*\* API version, available since v1.19. \*... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-guide.md | main | kubernetes | [
-0.037085894495248795,
0.006476447917521,
0.01858336851000786,
0.03487584367394447,
-0.004424990154802799,
0.033153582364320755,
-0.01552336011081934,
0.03797554224729538,
0.0666009783744812,
0.05249832943081856,
-0.031003274023532867,
-0.03859575837850571,
-0.023013796657323837,
0.0428470... | 0.169276 |
`NoneOnDryRun` are permitted for v1 \* `webhooks[\*].admissionReviewVersions` default value is removed and the field made required for v1 (supported versions for AdmissionReview are `v1` and `v1beta1`) \* `webhooks[\*].name` must be unique in the list for objects created via `admissionregistration.k8s.io/v1` #### Custo... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-guide.md | main | kubernetes | [
-0.07235533744096756,
0.010459939017891884,
0.0012878610286861658,
-0.024243606254458427,
0.005134490318596363,
0.016235150396823883,
-0.01993565820157528,
-0.025117751210927963,
-0.01604333147406578,
0.029463645070791245,
0.009634521789848804,
-0.10026112198829651,
0.023103468120098114,
-... | 0.085853 |
`spec.defaultBackend` \* The backend `serviceName` field is renamed to `service.name` \* Numeric backend `servicePort` fields are renamed to `service.port.number` \* String backend `servicePort` fields are renamed to `service.port.name` \* `pathType` is now required for each specified path. Options are `Prefix`, `Exact... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-guide.md | main | kubernetes | [
-0.0874420553445816,
0.0018628374673426151,
-0.02847117744386196,
-0.0024337952490895987,
-0.016805632039904594,
0.00805208832025528,
-0.003365727374330163,
-0.024067725986242294,
-0.010781507939100266,
0.0524333193898201,
-0.010600192472338676,
-0.002334164222702384,
-0.0015221136854961514,... | 0.171959 |
manifests and API clients to use the \*\*apps/v1\*\* API version, available since v1.9. \* All existing persisted objects are accessible via the new API \* Notable changes: \* `spec.selector` is now required and immutable after creation; use the existing template labels as the selector for seamless upgrades \* `spec.up... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/deprecation-guide.md | main | kubernetes | [
-0.07750964164733887,
0.004266321659088135,
-0.005977132357656956,
-0.013641411438584328,
0.0668218731880188,
0.01944766566157341,
-0.037072692066431046,
-0.0344243161380291,
-0.034867819398641586,
0.04001402482390404,
0.03939458355307579,
-0.004669236484915018,
-0.04278011992573738,
0.010... | 0.087603 |
This page contains an overview of the client libraries for using the Kubernetes API from various programming languages. To write applications using the [Kubernetes REST API](/docs/reference/using-api/), you do not need to implement the API calls and request/response types yourself. You can use a client library for the ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/client-libraries.md | main | kubernetes | [
-0.03088526800274849,
-0.01864357851445675,
-0.013969430699944496,
-0.05486060678958893,
-0.11864908784627914,
0.030912533402442932,
0.02051486074924469,
0.060470495373010635,
0.08696093410253525,
-0.0011592581868171692,
-0.11649207770824432,
-0.02124164067208767,
0.0032672469969838858,
-0... | 0.153313 |
{{< feature-state feature\_gate\_name="ServerSideApply" >}} Kubernetes supports multiple appliers collaborating to manage the fields of a single [object](/docs/concepts/overview/working-with-objects/). Server-Side Apply provides an optional mechanism for your cluster's control plane to track changes to an object's fiel... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
-0.008475486189126968,
-0.021024957299232483,
0.06308110058307648,
0.015138082206249237,
-0.04251376911997795,
-0.0005837536882609129,
0.054505057632923126,
-0.048835597932338715,
0.09971939027309418,
0.0630677342414856,
-0.023798586800694466,
-0.034053899347782135,
-0.0031643544789403677,
... | 0.149942 |
user's (or client's) field management, rather than a user's last applied state. As a side effect of using Server-Side Apply, information about which field manager manages each field in an object also becomes available. ### Example {#ssa-example-configmap} A simple example of an object created using Server-Side Apply co... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
0.014552676118910313,
0.058245621621608734,
0.0062186820432543755,
0.04292845353484154,
-0.01007623691111803,
-0.04134324565529823,
-0.03339370712637901,
-0.03271578997373581,
0.08604717254638672,
0.04145535081624985,
-0.009312069043517113,
-0.030157340690493584,
-0.002539275214076042,
-0.... | 0.144682 |
and causes that field's management to be shared by the applier along with all other field managers that already claimed to manage it. ### Field managers {#managers} Managers identify distinct workflows that are modifying the object (especially useful on conflicts!), and can be specified through the [`fieldManager`](/do... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
-0.01534946821630001,
0.02645946480333805,
0.07183454185724258,
0.03238563612103462,
-0.008102343417704105,
-0.08562488853931427,
0.01612006314098835,
-0.05674917995929718,
0.15733672678470612,
0.04553883895277977,
-0.038113951683044434,
-0.022254863753914833,
0.023969117552042007,
-0.0286... | 0.178591 |
sends a \_fully-specified intent\_ object to the Server-Side Apply endpoint, the server merges it with the live object favoring the value from the request body if it is specified in both places. If the set of items present in the applied config is not a superset of the items applied by the same user last time, each mis... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
-0.0072900354862213135,
0.015302246436476707,
0.06552285701036453,
-0.0024268522392958403,
-0.030606558546423912,
-0.05573125183582306,
0.07272639870643616,
-0.0512838214635849,
0.09650382399559021,
0.004055500961840153,
0.03981242701411247,
-0.01927289366722107,
-0.0033279363997280598,
-0... | 0.090136 |
existing objects will end-up being owned by actors who owned an element of these types. This means that any further change to these objects would cause a conflict. When a `listType`, `mapType`, or `structType` changes from `atomic` to `map`/`set`/`granular`, the API server is unable to infer the new ownership of these ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
-0.009711095131933689,
0.013309162110090256,
0.07328984141349792,
0.0005913504282943904,
-0.03567265719175339,
-0.08502990752458572,
0.014986219815909863,
-0.009409829042851925,
0.010603691451251507,
0.01681007444858551,
-0.006743747740983963,
-0.012879403308033943,
-0.011767773889005184,
... | 0.070785 |
system gives the user a conflict over it. At that point, it is safe to remove from the configuration. - (more advanced) If, however, the user doesn't want to wait, for example because they want to keep the cluster legible to their colleagues, then they can take the following steps to make it safe to remove `replicas` f... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
-0.05225331336259842,
0.09039436280727386,
0.0019584782421588898,
-0.025579681620001793,
-0.00793500803411007,
-0.029274631291627884,
-0.012378877960145473,
-0.05614745616912842,
0.032835595309734344,
0.018687712028622627,
0.03287823125720024,
0.02262347750365734,
0.009858176112174988,
-0.... | 0.064529 |
this use case. ## Migration between client-side and server-side apply ### Upgrading from client-side apply to server-side apply Client-side apply users who manage a resource with `kubectl apply` can start using server-side apply with the following flag. ```shell kubectl apply --server-side [--dry-run=server] ``` By def... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
0.0032590730115771294,
0.05216004699468613,
0.056848280131816864,
-0.04890044778585434,
0.016836026683449745,
-0.032557565718889236,
-0.01508938055485487,
-0.049419108778238297,
0.08683781325817108,
0.043349627405405045,
-0.031043129041790962,
-0.04860209673643112,
0.020628688856959343,
-0... | 0.135183 |
to an empty list will not reset the field. This is on purpose, so `managedFields` never get stripped by clients not aware of the field. In cases where the reset operation is combined with changes to other fields than the `managedFields`, this will result in the `managedFields` being reset first and the other changes be... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/server-side-apply.md | main | kubernetes | [
0.016212157905101776,
0.05396069213747978,
0.12805016338825226,
0.05361738055944443,
0.008110346272587776,
-0.09125405550003052,
0.017359459772706032,
-0.046927373856306076,
0.10343804955482483,
0.0445750467479229,
-0.026501363143324852,
0.002807965502142906,
0.016534557566046715,
0.000492... | 0.063059 |
The [Common Expression Language (CEL)](https://github.com/google/cel-go) is used in the Kubernetes API to declare validation rules, policy rules, and other constraints or conditions. CEL expressions are evaluated directly in the {{< glossary\_tooltip text="API server" term\_id="kube-apiserver" >}}, making CEL a conveni... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
-0.09348145872354507,
0.024860205128788948,
0.04472576454281807,
-0.043935541063547134,
-0.04334656521677971,
0.008691370487213135,
0.031125390902161598,
-0.023340387269854546,
0.1448388397693634,
0.013238188810646534,
-0.032319843769073486,
-0.13126204907894135,
0.015063678845763206,
0.00... | 0.174226 |
| See [official list of standard definitions](https://github.com/google/cel-spec/blob/master/doc/langdef.md#list-of-standard-definitions) | All Kubernetes versions | | [Homogeneous Aggregate Literals](https://pkg.go.dev/github.com/google/cel-go@v0.17.4/cel#HomogeneousAggregateLiterals) | - | All Kubernetes versions | |... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
-0.03863968327641487,
-0.021667934954166412,
0.06714104861021042,
-0.07111973315477371,
-0.022647587582468987,
0.04512855410575867,
-0.06167949363589287,
-0.012074110098183155,
0.10867176949977875,
-0.03696940839290619,
0.03704953193664551,
-0.08753689378499985,
-0.06746806204319,
0.010559... | 0.096039 |
`matches` function provided by the CEL standard library, the regex library provides `find` and `findAll`, enabling a much wider range of regex operations. Examples: Examples of CEL expressions using regex library functions | CEL Expression | Purpose | | --- | --- | | "abc 123".find('[0-9]+') | Find the first number in ... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
-0.03300768882036209,
0.08638619631528854,
0.0669691413640976,
-0.07006697356700897,
-0.03876403346657753,
0.029422517865896225,
0.012654654681682587,
-0.016196228563785553,
0.11422109603881836,
-0.0037499507889151573,
-0.056872736662626266,
-0.08116327971220016,
0.02327827364206314,
0.007... | 0.103636 |
| bool | Returns true if the IP address is a global unicast address. Either an IPv4 address that is not zero or 255.255.255.255 or an IPv6 address that is not a link-local unicast, loopback or multicast address. | Examples: Examples of CEL expressions using IP address library functions | CEL Expression | Purpose | | --... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
0.009523535147309303,
-0.023233477026224136,
-0.017525330185890198,
-0.025783125311136246,
0.0649152621626854,
-0.009269864298403263,
-0.016117949038743973,
-0.08097759634256363,
0.004210462793707848,
-0.030354948714375496,
0.036612480878829956,
-0.05873284488916397,
0.008002450689673424,
... | 0.001021 |
object). | | cidr('192.168.1.0/24').containsCIDR(cidr('192.168.2.0/24')) | Checks if a CIDR contains another given CIDR (CIDR object). | | cidr('192.168.0.0/16').containsCIDR('192.168.10.0/24') | Checks if a CIDR contains another given CIDR (string). | | cidr('192.168.1.0/24').containsCIDR('192.168.2.0/24') | Checks if... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
0.03529571741819382,
0.04118378832936287,
-0.030124127864837646,
-0.03992510959506035,
0.04621265456080437,
-0.029478618875145912,
0.01949235051870346,
-0.04762430489063263,
0.006256187800318003,
-0.05517223849892616,
0.05099577084183693,
-0.02750290371477604,
0.03248701989650726,
0.018748... | 0.033344 |
for validating common Kubernetes string formats. This can be useful in the `messageExpression` of validation rules to provide more specific error messages. The library provides `format()` functions for each named format, and a generic `format.named()` function. - `format.named(string)` → `?Format`: Returns the `Format`... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
-0.045084211975336075,
0.02122587524354458,
0.02666701003909111,
-0.07345223426818848,
-0.026792898774147034,
0.022420842200517654,
-0.011615521274507046,
-0.020152168348431587,
0.0983072891831398,
-0.020763035863637924,
-0.07176908850669861,
-0.07230166345834732,
-0.03352152183651924,
0.0... | 0.110051 |
representation of the quantity which may lose precision. If the value of the quantity is outside the range of a float64, +Inf/-Inf will be returned. | | sign() | int | Returns 1 if the quantity is positive, -1 if it is negative. 0 if it is zero. | | add(<Quantity>) | Quantity | Returns sum of two quantities | | add(<in... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
0.008303753100335598,
0.020617637783288956,
-0.06944316625595093,
-0.02652726322412491,
-0.04169144853949547,
-0.06075397506356239,
0.006213362794369459,
0.04764622449874878,
0.055309273302555084,
-0.021741462871432304,
0.0029709329828619957,
-0.12729473412036896,
0.09835434705018997,
0.03... | 0.113761 |
Returns true for a valid Semver string. | | isSemver('v1.0', true) | Returns true for a normalizable Semver string. | | semver('1.2.3').major() | Returns the major version of a Semver. | | semver('1.2.3').compareTo(semver('2.0.0')) < 0 | Compare two Semver strings. | See the [Kubernetes Semver library](https://pkg.go.d... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
0.00947454571723938,
0.01427870150655508,
0.05344001576304436,
-0.0171955619007349,
-0.011784623377025127,
-0.04653716832399368,
-0.017841951921582222,
-0.005809346213936806,
0.08405677229166031,
-0.04315193369984627,
0.027540387585759163,
-0.11628212034702301,
-0.02596978284418583,
-0.048... | 0.141659 |
non-intersecting keys are appended, retaining their partial order. ## Escaping Only Kubernetes resource property names of the form `[a-zA-Z\_.-/][a-zA-Z0-9\_.-/]\*` are accessible from CEL. Accessible property names are escaped according to the following rules when accessed in the expression: Table of CEL identifier es... | https://github.com/kubernetes/website/blob/main//content/en/docs/reference/using-api/cel.md | main | kubernetes | [
-0.0493788979947567,
0.019225390627980232,
0.08835310488939285,
0.006091890390962362,
-0.03263528645038605,
0.00458604097366333,
0.05805835872888565,
-0.10511031001806259,
0.13731901347637177,
0.024908844381570816,
0.03389454632997513,
-0.1186186894774437,
0.06308013200759888,
-0.052542660... | 0.008591 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.