Kubespec Logo kubespec.dev

coordination.k8s.io/v1

Namespaced Resource

Lease

        Lease defines a lease concept.
      

Click on Property Name to show the description, and Pink Types to expand schema.

Required properties are marked with *

Change History

Kubernetes v1.32

Kubernetes v1.31

+2~2

Kubernetes v1.30

Kubernetes v1.29

Kubernetes v1.28

Kubernetes v1.27

~8

Kubernetes v1.26

Kubernetes v1.25

-1

Kubernetes v1.24

~5

Kubernetes v1.23

Kubernetes v1.22

+1

Kubernetes v1.21

Kubernetes v1.20

Kubernetes v1.19

~1

Kubernetes v1.18

Kubernetes v1.17

~1

Kubernetes v1.16

+2-2~4

Kubernetes v1.15

+1

Kubernetes v1.14

Kubernetes v1.13

Kubernetes v1.12

Kubernetes v1.11

Examples

There is 1 example of Lease that you can use as a starting point to create your own.

apiVersion: coordination.k8s.io/v1
kind: Lease
metadata:
  name: some-component-deployment-lock
  namespace: default # Lease is a namespaced resource
spec:
  holderIdentity: locking-person-name

Other useful resources