2022-04-15 13:44:08 +00:00
---
title: "Traefik Kubernetes CRD Documentation"
description: "Learn about the definitions, resources, and RBAC of dynamic configuration with Kubernetes CRD in Traefik Proxy. Read the technical documentation."
---
2019-04-05 09:32:04 +00:00
# Kubernetes Configuration Reference
Dynamic configuration with Kubernetes Custom Resource
{: .subtitle }
2022-06-24 10:40:08 +00:00
!!! warning "Deprecated apiextensions.k8s.io/v1beta1 CRD"
The `apiextensions.k8s.io/v1beta1` CustomResourceDefinition is deprecated in Kubernetes `v1.16+` and will be removed in `v1.22+` .
For Kubernetes `v1.16+` , please use the Traefik `apiextensions.k8s.io/v1` CRDs instead.
2020-01-07 10:26:05 +00:00
## Definitions
2022-06-24 10:40:08 +00:00
```yaml tab="apiextensions.k8s.io/v1 (Kubernetes v1.16+)"
2021-03-03 14:32:04 +00:00
--8< -- " content / reference / dynamic-configuration / kubernetes-crd-definition-v1 . yml "
```
2022-06-24 10:40:08 +00:00
```yaml tab="apiextensions.k8s.io/v1beta1 (Deprecated)"
2021-03-03 14:32:04 +00:00
--8< -- " content / reference / dynamic-configuration / kubernetes-crd-definition-v1beta1 . yml "
2020-01-07 10:26:05 +00:00
```
## Resources
```yaml
--8< -- " content / reference / dynamic-configuration / kubernetes-crd-resource . yml "
```
## RBAC
2019-04-05 09:32:04 +00:00
```yaml
2020-01-07 10:26:05 +00:00
--8< -- " content / reference / dynamic-configuration / kubernetes-crd-rbac . yml "
2019-04-05 09:32:04 +00:00
```
2023-06-09 07:18:05 +00:00
{!traefik-api-management-kubernetes.md!}