doc/tutorials/kubernetes: update comments
Change-Id: I4d872255b488c12d61779c204bc2945798ec8fee
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/3045
Reviewed-by: Marcel van Lohuizen <mpvl@google.com>
diff --git a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/apps/v1beta1/types_go_gen.cue b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/apps/v1beta1/types_go_gen.cue
index 9470290..17b3cc5 100644
--- a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/apps/v1beta1/types_go_gen.cue
+++ b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/apps/v1beta1/types_go_gen.cue
@@ -43,15 +43,15 @@
// Scale represents a scaling request for a resource.
Scale: metav1.TypeMeta & {
- // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
+ // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
- // defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.
+ // defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
// +optional
spec?: ScaleSpec @go(Spec) @protobuf(2,bytes,opt)
- // current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.
+ // current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
// +optional
status?: ScaleStatus @go(Status) @protobuf(3,bytes,opt)
}
@@ -109,21 +109,25 @@
// StatefulSetUpdateStrategyType is a string enumeration type that enumerates
// all possible update strategies for the StatefulSet controller.
-StatefulSetUpdateStrategyType: string
+StatefulSetUpdateStrategyType: string // enumStatefulSetUpdateStrategyType
+
+enumStatefulSetUpdateStrategyType:
+ RollingUpdateStatefulSetStrategyType |
+ OnDeleteStatefulSetStrategyType
// RollingUpdateStatefulSetStrategyType indicates that update will be
// applied to all Pods in the StatefulSet with respect to the StatefulSet
// ordering constraints. When a scale operation is performed with this
// strategy, new Pods will be created from the specification version indicated
// by the StatefulSet's updateRevision.
-RollingUpdateStatefulSetStrategyType: "RollingUpdate"
+RollingUpdateStatefulSetStrategyType: StatefulSetUpdateStrategyType & "RollingUpdate"
// OnDeleteStatefulSetStrategyType triggers the legacy behavior. Version
// tracking and ordered rolling restarts are disabled. Pods are recreated
// from the StatefulSetSpec when they are manually deleted. When a scale
// operation is performed with this strategy,specification version indicated
// by the StatefulSet's currentRevision.
-OnDeleteStatefulSetStrategyType: "OnDelete"
+OnDeleteStatefulSetStrategyType: StatefulSetUpdateStrategyType & "OnDelete"
// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
RollingUpdateStatefulSetStrategy: {
@@ -521,7 +525,7 @@
// depend on its stability. It is primarily for internal use by controllers.
ControllerRevision: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -534,7 +538,7 @@
// ControllerRevisionList is a resource containing a list of ControllerRevision objects.
ControllerRevisionList: metav1.TypeMeta & {
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
diff --git a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/types_go_gen.cue b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/types_go_gen.cue
index f44f8c4..c5b4899 100644
--- a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/types_go_gen.cue
+++ b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/types_go_gen.cue
@@ -78,12 +78,12 @@
// ISCSI represents an ISCSI Disk resource that is attached to a
// kubelet's host machine and then exposed to the pod.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md
+ // More info: https://examples.k8s.io/volumes/iscsi/README.md
// +optional
iscsi?: null | ISCSIVolumeSource @go(ISCSI,*ISCSIVolumeSource) @protobuf(8,bytes,opt)
// Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md
// +optional
glusterfs?: null | GlusterfsVolumeSource @go(Glusterfs,*GlusterfsVolumeSource) @protobuf(9,bytes,opt)
@@ -94,7 +94,7 @@
persistentVolumeClaim?: null | PersistentVolumeClaimVolumeSource @go(PersistentVolumeClaim,*PersistentVolumeClaimVolumeSource) @protobuf(10,bytes,opt)
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
+ // More info: https://examples.k8s.io/volumes/rbd/README.md
// +optional
rbd?: null | RBDVolumeSource @go(RBD,*RBDVolumeSource) @protobuf(11,bytes,opt)
@@ -103,8 +103,8 @@
// +optional
flexVolume?: null | FlexVolumeSource @go(FlexVolume,*FlexVolumeSource) @protobuf(12,bytes,opt)
- // Cinder represents a cinder volume attached and mounted on kubelets host machine
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // Cinder represents a cinder volume attached and mounted on kubelets host machine.
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
// +optional
cinder?: null | CinderVolumeSource @go(Cinder,*CinderVolumeSource) @protobuf(13,bytes,opt)
@@ -207,7 +207,7 @@
// Glusterfs represents a Glusterfs volume that is attached to a host and
// exposed to the pod. Provisioned by an admin.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md
// +optional
glusterfs?: null | GlusterfsPersistentVolumeSource @go(Glusterfs,*GlusterfsPersistentVolumeSource) @protobuf(4,bytes,opt)
@@ -217,7 +217,7 @@
nfs?: null | NFSVolumeSource @go(NFS,*NFSVolumeSource) @protobuf(5,bytes,opt)
// RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
+ // More info: https://examples.k8s.io/volumes/rbd/README.md
// +optional
rbd?: null | RBDPersistentVolumeSource @go(RBD,*RBDPersistentVolumeSource) @protobuf(6,bytes,opt)
@@ -226,8 +226,8 @@
// +optional
iscsi?: null | ISCSIPersistentVolumeSource @go(ISCSI,*ISCSIPersistentVolumeSource) @protobuf(7,bytes,opt)
- // Cinder represents a cinder volume attached and mounted on kubelets host machine
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // Cinder represents a cinder volume attached and mounted on kubelets host machine.
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
// +optional
cinder?: null | CinderPersistentVolumeSource @go(Cinder,*CinderPersistentVolumeSource) @protobuf(8,bytes,opt)
@@ -280,7 +280,7 @@
local?: null | LocalVolumeSource @go(Local,*LocalVolumeSource) @protobuf(20,bytes,opt)
// StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
- // More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
+ // More info: https://examples.k8s.io/volumes/storageos/README.md
// +optional
storageos?: null | StorageOSPersistentVolumeSource @go(StorageOS,*StorageOSPersistentVolumeSource) @protobuf(21,bytes,opt)
@@ -301,7 +301,7 @@
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
PersistentVolume: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -428,7 +428,7 @@
// PersistentVolumeList is a list of PersistentVolume items.
PersistentVolumeList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -440,7 +440,7 @@
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
PersistentVolumeClaim: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -459,7 +459,7 @@
// PersistentVolumeClaimList is a list of PersistentVolumeClaim items.
PersistentVolumeClaimList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -710,16 +710,16 @@
// Glusterfs volumes do not support ownership management or SELinux relabeling.
GlusterfsVolumeSource: {
// EndpointsName is the endpoint name that details Glusterfs topology.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
endpoints: string @go(EndpointsName) @protobuf(1,bytes,opt)
// Path is the Glusterfs volume path.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
path: string @go(Path) @protobuf(2,bytes,opt)
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
// Defaults to false.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
}
@@ -728,22 +728,22 @@
// Glusterfs volumes do not support ownership management or SELinux relabeling.
GlusterfsPersistentVolumeSource: {
// EndpointsName is the endpoint name that details Glusterfs topology.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
endpoints: string @go(EndpointsName) @protobuf(1,bytes,opt)
// Path is the Glusterfs volume path.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
path: string @go(Path) @protobuf(2,bytes,opt)
// ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
// Defaults to false.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
// EndpointsNamespace is the namespace that contains Glusterfs endpoint.
// If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
// +optional
endpointsNamespace?: null | string @go(EndpointsNamespace,*string) @protobuf(4,bytes,opt)
}
@@ -752,11 +752,11 @@
// RBD volumes support ownership management and SELinux relabeling.
RBDVolumeSource: {
// A collection of Ceph monitors.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
monitors: [...string] @go(CephMonitors,[]string) @protobuf(1,bytes,rep)
// The rados image name.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
image: string @go(RBDImage) @protobuf(2,bytes,opt)
// Filesystem type of the volume that you want to mount.
@@ -769,32 +769,32 @@
// The rados pool name.
// Default is rbd.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
pool?: string @go(RBDPool) @protobuf(4,bytes,opt)
// The rados user name.
// Default is admin.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
user?: string @go(RadosUser) @protobuf(5,bytes,opt)
// Keyring is the path to key ring for RBDUser.
// Default is /etc/ceph/keyring.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
keyring?: string @go(Keyring) @protobuf(6,bytes,opt)
// SecretRef is name of the authentication secret for RBDUser. If provided
// overrides keyring.
// Default is nil.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
secretRef?: null | LocalObjectReference @go(SecretRef,*LocalObjectReference) @protobuf(7,bytes,opt)
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
// Defaults to false.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(8,varint,opt)
}
@@ -803,11 +803,11 @@
// RBD volumes support ownership management and SELinux relabeling.
RBDPersistentVolumeSource: {
// A collection of Ceph monitors.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
monitors: [...string] @go(CephMonitors,[]string) @protobuf(1,bytes,rep)
// The rados image name.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
image: string @go(RBDImage) @protobuf(2,bytes,opt)
// Filesystem type of the volume that you want to mount.
@@ -820,32 +820,32 @@
// The rados pool name.
// Default is rbd.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
pool?: string @go(RBDPool) @protobuf(4,bytes,opt)
// The rados user name.
// Default is admin.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
user?: string @go(RadosUser) @protobuf(5,bytes,opt)
// Keyring is the path to key ring for RBDUser.
// Default is /etc/ceph/keyring.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
keyring?: string @go(Keyring) @protobuf(6,bytes,opt)
// SecretRef is name of the authentication secret for RBDUser. If provided
// overrides keyring.
// Default is nil.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
secretRef?: null | SecretReference @go(SecretRef,*SecretReference) @protobuf(7,bytes,opt)
// ReadOnly here will force the ReadOnly setting in VolumeMounts.
// Defaults to false.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(8,varint,opt)
}
@@ -855,20 +855,20 @@
// The volume must also be in the same region as the kubelet.
// Cinder volumes support ownership management and SELinux relabeling.
CinderVolumeSource: {
- // volume id used to identify the volume in cinder
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // volume id used to identify the volume in cinder.
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
volumeID: string @go(VolumeID) @protobuf(1,bytes,opt)
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
// +optional
fsType?: string @go(FSType) @protobuf(2,bytes,opt)
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
@@ -883,20 +883,20 @@
// The volume must also be in the same region as the kubelet.
// Cinder volumes support ownership management and SELinux relabeling.
CinderPersistentVolumeSource: {
- // volume id used to identify the volume in cinder
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // volume id used to identify the volume in cinder.
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
volumeID: string @go(VolumeID) @protobuf(1,bytes,opt)
// Filesystem type to mount.
// Must be a filesystem type supported by the host operating system.
// Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
// +optional
fsType?: string @go(FSType) @protobuf(2,bytes,opt)
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
@@ -910,7 +910,7 @@
// Cephfs volumes do not support ownership management or SELinux relabeling.
CephFSVolumeSource: {
// Required: Monitors is a collection of Ceph monitors
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
monitors: [...string] @go(Monitors,[]string) @protobuf(1,bytes,rep)
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
@@ -918,23 +918,23 @@
path?: string @go(Path) @protobuf(2,bytes,opt)
// Optional: User is the rados user name, default is admin
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
user?: string @go(User) @protobuf(3,bytes,opt)
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
secretFile?: string @go(SecretFile) @protobuf(4,bytes,opt)
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
secretRef?: null | LocalObjectReference @go(SecretRef,*LocalObjectReference) @protobuf(5,bytes,opt)
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(6,varint,opt)
}
@@ -955,7 +955,7 @@
// Cephfs volumes do not support ownership management or SELinux relabeling.
CephFSPersistentVolumeSource: {
// Required: Monitors is a collection of Ceph monitors
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
monitors: [...string] @go(Monitors,[]string) @protobuf(1,bytes,rep)
// Optional: Used as the mounted root, rather than the full Ceph tree, default is /
@@ -963,23 +963,23 @@
path?: string @go(Path) @protobuf(2,bytes,opt)
// Optional: User is the rados user name, default is admin
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
user?: string @go(User) @protobuf(3,bytes,opt)
// Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
secretFile?: string @go(SecretFile) @protobuf(4,bytes,opt)
// Optional: SecretRef is reference to the authentication secret for User, default is empty.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
secretRef?: null | SecretReference @go(SecretRef,*SecretReference) @protobuf(5,bytes,opt)
// Optional: Defaults to false (read/write). ReadOnly here will force
// the ReadOnly setting in VolumeMounts.
- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
// +optional
readOnly?: bool @go(ReadOnly) @protobuf(6,varint,opt)
}
@@ -2269,7 +2269,7 @@
periodSeconds?: int32 @go(PeriodSeconds) @protobuf(4,varint,opt)
// Minimum consecutive successes for the probe to be considered successful after having failed.
- // Defaults to 1. Must be 1 for liveness. Minimum value is 1.
+ // Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
// +optional
successThreshold?: int32 @go(SuccessThreshold) @protobuf(5,varint,opt)
@@ -2465,6 +2465,17 @@
// +optional
readinessProbe?: null | Probe @go(ReadinessProbe,*Probe) @protobuf(11,bytes,opt)
+ // StartupProbe indicates that the Pod has successfully initialized.
+ // If specified, no other probes are executed until this completes successfully.
+ // If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
+ // This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
+ // when it might take a long time to load data or warm a cache, than during steady-state operation.
+ // This cannot be updated.
+ // This is an alpha feature enabled by the StartupProbe feature flag.
+ // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
+ // +optional
+ startupProbe?: null | Probe @go(StartupProbe,*Probe) @protobuf(22,bytes,opt)
+
// Actions that the management system should take in response to container lifecycle events.
// Cannot be updated.
// +optional
@@ -2557,7 +2568,7 @@
postStart?: null | Handler @go(PostStart,*Handler) @protobuf(1,bytes,opt)
// PreStop is called immediately before a container is terminated due to an
- // API request or management event such as liveness probe failure,
+ // API request or management event such as liveness/startup probe failure,
// preemption, resource contention, etc. The handler is not called if the
// container crashes or exits. The reason for termination is passed to the
// handler. The Pod's termination grace period countdown begins before the
@@ -2680,6 +2691,13 @@
// Container's ID in the format 'docker://<container_id>'.
// +optional
containerID?: string @go(ContainerID) @protobuf(8,bytes,opt)
+
+ // Specifies whether the container has passed its startup probe.
+ // Initialized as false, becomes true after startupProbe is considered successful.
+ // Resets to false when the container is restarted, or if kubelet loses state temporarily.
+ // Is always true when no startupProbe is defined.
+ // +optional
+ started?: null | bool @go(Started,*bool) @protobuf(9,varint,opt)
}
// PodPhase is a label for the condition of a pod at the current time.
@@ -3133,7 +3151,7 @@
// init container fails, the pod is considered to have failed and is handled according
// to its restartPolicy. The name for an init container or normal container must be
// unique among all containers.
- // Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes.
+ // Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
// The resourceRequirements of an init container are taken into account during scheduling
// by finding the highest request/limit for each resource type, and then using the max of
// of that value or the sum of the normal containers. Limits are applied to init containers
@@ -3153,12 +3171,10 @@
// +patchStrategy=merge
containers: [...Container] @go(Containers,[]Container) @protobuf(2,bytes,rep)
- // EphemeralContainers is the list of ephemeral containers that run in this pod. Ephemeral containers
- // are added to an existing pod as a result of a user-initiated action such as troubleshooting.
- // This list is read-only in the pod spec. It may not be specified in a create or modified in an
- // update of a pod or pod template.
- // To add an ephemeral container use the pod's ephemeralcontainers subresource, which allows update
- // using the EphemeralContainers kind.
+ // List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing
+ // pod to perform user-initiated actions such as debugging. This list cannot be specified when
+ // creating a pod, and it cannot be modified by updating the pod spec. In order to add an
+ // ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.
// This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
// +optional
// +patchMergeKey=name
@@ -3578,6 +3594,10 @@
ip?: string @go(IP) @protobuf(1,bytes,opt)
}
+// EphemeralContainerCommon is a copy of all fields in Container to be inlined in
+// EphemeralContainer. This separate type allows easy conversion from EphemeralContainer
+// to Container and allows separate documentation for the fields of EphemeralContainer.
+// When a new field is added to Container it must be added here as well.
EphemeralContainerCommon: {
// Name of the ephemeral container specified as a DNS_LABEL.
// This name must be unique among all containers, init containers and ephemeral containers.
@@ -3662,6 +3682,10 @@
// +optional
readinessProbe?: null | Probe @go(ReadinessProbe,*Probe) @protobuf(11,bytes,opt)
+ // Probes are not allowed for ephemeral containers.
+ // +optional
+ startupProbe?: null | Probe @go(StartupProbe,*Probe) @protobuf(22,bytes,opt)
+
// Lifecycle is not allowed for ephemeral containers.
// +optional
lifecycle?: null | Lifecycle @go(Lifecycle,*Lifecycle) @protobuf(12,bytes,opt)
@@ -3720,14 +3744,14 @@
tty?: bool @go(TTY) @protobuf(18,varint,opt)
}
-// An EphemeralContainer is a special type of container which doesn't come with any resource
-// or scheduling guarantees but can be added to a pod that has already been created. They are
-// intended for user-initiated activities such as troubleshooting a running pod.
-// Ephemeral containers will not be restarted when they exit, and they will be killed if the
-// pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource
+// An EphemeralContainer is a container that may be added temporarily to an existing pod for
+// user-initiated activities such as debugging. Ephemeral containers have no resource or
+// scheduling guarantees, and they will not be restarted when they exit or when a pod is
+// removed or restarted. If an ephemeral container causes a pod to exceed its resource
// allocation, the pod may be evicted.
-// Ephemeral containers are added via a pod's ephemeralcontainers subresource and will appear
-// in the pod spec once added. No fields in EphemeralContainer may be changed once added.
+// Ephemeral containers may not be added by directly updating the pod spec. They must be added
+// via the pod's ephemeralcontainers subresource, and they will appear in the pod spec
+// once added.
// This is an alpha feature enabled by the EphemeralContainers feature flag.
EphemeralContainer: EphemeralContainerCommon & {
// If set, the name of the container from PodSpec that this ephemeral container targets.
@@ -3829,8 +3853,8 @@
// +optional
qosClass?: PodQOSClass @go(QOSClass) @protobuf(9,bytes,rep)
- // Status for any ephemeral containers that running in this pod.
- // This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
+ // Status for any ephemeral containers that have run in this pod.
+ // This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.
// +optional
ephemeralContainerStatuses?: [...ContainerStatus] @go(EphemeralContainerStatuses,[]ContainerStatus) @protobuf(13,bytes,rep)
}
@@ -3838,7 +3862,7 @@
// PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded
PodStatusResult: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -3846,7 +3870,7 @@
// This data may not be up to date.
// Populated by the system.
// Read-only.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: PodStatus @go(Status) @protobuf(2,bytes,opt)
}
@@ -3855,12 +3879,12 @@
// by clients and scheduled onto hosts.
Pod: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Specification of the desired behavior of the pod.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: PodSpec @go(Spec) @protobuf(2,bytes,opt)
@@ -3868,7 +3892,7 @@
// This data may not be up to date.
// Populated by the system.
// Read-only.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: PodStatus @go(Status) @protobuf(3,bytes,opt)
}
@@ -3876,24 +3900,24 @@
// PodList is a list of Pods.
PodList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
// List of pods.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
items: [...Pod] @go(Items,[]Pod) @protobuf(2,bytes,rep)
}
// PodTemplateSpec describes the data a pod should have when created from a template
PodTemplateSpec: {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Specification of the desired behavior of the pod.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: PodSpec @go(Spec) @protobuf(2,bytes,opt)
}
@@ -3901,12 +3925,12 @@
// PodTemplate describes a template for creating copies of a predefined pod.
PodTemplate: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Template defines the pods that will be created from this pod template.
- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
template?: PodTemplateSpec @go(Template) @protobuf(2,bytes,opt)
}
@@ -3914,7 +3938,7 @@
// PodTemplateList is a list of PodTemplates.
PodTemplateList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -4017,12 +4041,12 @@
ReplicationController: metav1.TypeMeta & {
// If the Labels of a ReplicationController are empty, they are defaulted to
// be the same as the Pod(s) that the replication controller manages.
- // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Spec defines the specification of the desired behavior of the replication controller.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: ReplicationControllerSpec @go(Spec) @protobuf(2,bytes,opt)
@@ -4030,7 +4054,7 @@
// This data may be out of date by some window of time.
// Populated by the system.
// Read-only.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: ReplicationControllerStatus @go(Status) @protobuf(3,bytes,opt)
}
@@ -4038,7 +4062,7 @@
// ReplicationControllerList is a collection of replication controllers.
ReplicationControllerList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -4148,6 +4172,20 @@
hostname?: string @go(Hostname) @protobuf(2,bytes,opt)
}
+// IPFamily represents the IP Family (IPv4 or IPv6). This type is used
+// to express the family of an IP expressed by a type (i.e. service.Spec.IPFamily)
+IPFamily: string // enumIPFamily
+
+enumIPFamily:
+ IPv4Protocol |
+ IPv6Protocol
+
+// IPv4Protocol indicates that this IP is IPv4 protocol
+IPv4Protocol: IPFamily & "IPv4"
+
+// IPv6Protocol indicates that this IP is IPv6 protocol
+IPv6Protocol: IPFamily & "IPv6"
+
// ServiceSpec describes the attributes that a user creates on a service.
ServiceSpec: {
// The list of ports that are exposed by this service.
@@ -4264,13 +4302,24 @@
// sessionAffinityConfig contains the configurations of session affinity.
// +optional
sessionAffinityConfig?: null | SessionAffinityConfig @go(SessionAffinityConfig,*SessionAffinityConfig) @protobuf(14,bytes,opt)
+
+ // ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs.
+ // IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is
+ // available in the cluster. If no IP family is requested, the cluster's primary IP family will be used.
+ // Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which
+ // allocate external load-balancers should use the same IP family. Endpoints for this Service will be of
+ // this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the
+ // cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment.
+ // +optional
+ ipFamily?: null | IPFamily @go(IPFamily,*IPFamily) @protobuf(15,bytes,opt,Configcasttype=IPFamily)
}
// ServicePort contains information on service's port.
ServicePort: {
// The name of this port within the service. This must be a DNS_LABEL.
- // All ports within a ServiceSpec must have unique names. This maps to
- // the 'Name' field in EndpointPort objects.
+ // All ports within a ServiceSpec must have unique names. When considering
+ // the endpoints for a Service, this must match the 'name' field in the
+ // EndpointPort.
// Optional if only one ServicePort is defined on this service.
// +optional
name?: string @go(Name) @protobuf(1,bytes,opt)
@@ -4308,19 +4357,19 @@
// will answer requests sent through the proxy.
Service: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Spec defines the behavior of a service.
- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: ServiceSpec @go(Spec) @protobuf(2,bytes,opt)
// Most recently observed status of the service.
// Populated by the system.
// Read-only.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: ServiceStatus @go(Status) @protobuf(3,bytes,opt)
}
@@ -4332,7 +4381,7 @@
// ServiceList holds a list of services.
ServiceList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -4346,7 +4395,7 @@
// * a set of secrets
ServiceAccount: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -4373,7 +4422,7 @@
// ServiceAccountList is a list of ServiceAccount objects
ServiceAccountList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -4396,7 +4445,7 @@
// ]
Endpoints: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -4463,7 +4512,8 @@
// EndpointPort is a tuple that describes a single port.
EndpointPort: {
- // The name of this port (corresponds to ServicePort.Name).
+ // The name of this port. This must match the 'name' field in the
+ // corresponding ServicePort.
// Must be a DNS_LABEL.
// Optional only if one port is defined.
// +optional
@@ -4482,7 +4532,7 @@
// EndpointsList is a list of endpoints.
EndpointsList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -4921,19 +4971,19 @@
// Each node will have a unique identifier in the cache (i.e. in etcd).
Node: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Spec defines the behavior of a node.
- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: NodeSpec @go(Spec) @protobuf(2,bytes,opt)
// Most recently observed status of the node.
// Populated by the system.
// Read-only.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: NodeStatus @go(Status) @protobuf(3,bytes,opt)
}
@@ -4941,7 +4991,7 @@
// NodeList is the whole list of all Nodes which have been registered with master.
NodeList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -4971,6 +5021,12 @@
// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
// +optional
phase?: NamespacePhase @go(Phase) @protobuf(1,bytes,opt,casttype=NamespacePhase)
+
+ // Represents the latest available observations of a namespace's current state.
+ // +optional
+ // +patchMergeKey=type
+ // +patchStrategy=merge
+ conditions?: [...NamespaceCondition] @go(Conditions,[]NamespaceCondition) @protobuf(2,bytes,rep)
}
NamespacePhase: string // enumNamespacePhase
@@ -4985,21 +5041,55 @@
// NamespaceTerminating means the namespace is undergoing graceful termination
NamespaceTerminating: NamespacePhase & "Terminating"
+NamespaceConditionType: string // enumNamespaceConditionType
+
+enumNamespaceConditionType:
+ NamespaceDeletionDiscoveryFailure |
+ NamespaceDeletionContentFailure |
+ NamespaceDeletionGVParsingFailure
+
+// NamespaceDeletionDiscoveryFailure contains information about namespace deleter errors during resource discovery.
+NamespaceDeletionDiscoveryFailure: NamespaceConditionType & "NamespaceDeletionDiscoveryFailure"
+
+// NamespaceDeletionContentFailure contains information about namespace deleter errors during deletion of resources.
+NamespaceDeletionContentFailure: NamespaceConditionType & "NamespaceDeletionContentFailure"
+
+// NamespaceDeletionGVParsingFailure contains information about namespace deleter errors parsing GV for legacy types.
+NamespaceDeletionGVParsingFailure: NamespaceConditionType & "NamespaceDeletionGroupVersionParsingFailure"
+
+// NamespaceCondition contains details about state of namespace.
+NamespaceCondition: {
+ // Type of namespace controller condition.
+ type: NamespaceConditionType @go(Type) @protobuf(1,bytes,opt,casttype=NamespaceConditionType)
+
+ // Status of the condition, one of True, False, Unknown.
+ status: ConditionStatus @go(Status) @protobuf(2,bytes,opt,casttype=ConditionStatus)
+
+ // +optional
+ lastTransitionTime?: metav1.Time @go(LastTransitionTime) @protobuf(4,bytes,opt)
+
+ // +optional
+ reason?: string @go(Reason) @protobuf(5,bytes,opt)
+
+ // +optional
+ message?: string @go(Message) @protobuf(6,bytes,opt)
+}
+
// Namespace provides a scope for Names.
// Use of multiple namespaces is optional.
Namespace: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Spec defines the behavior of the Namespace.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: NamespaceSpec @go(Spec) @protobuf(2,bytes,opt)
// Status describes the current status of a Namespace.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: NamespaceStatus @go(Status) @protobuf(3,bytes,opt)
}
@@ -5007,7 +5097,7 @@
// NamespaceList is a list of Namespaces.
NamespaceList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -5020,7 +5110,7 @@
// Deprecated in 1.7, please use the bindings subresource of pods instead.
Binding: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -5028,12 +5118,14 @@
target: ObjectReference @go(Target) @protobuf(2,bytes,opt)
}
-// A list of ephemeral containers used in API operations
+// A list of ephemeral containers used with the Pod ephemeralcontainers subresource.
EphemeralContainers: metav1.TypeMeta & {
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
- // The new set of ephemeral containers to use for a pod.
+ // A list of ephemeral containers associated with this pod. New ephemeral containers
+ // may be appended to this list, but existing ephemeral containers may not be removed
+ // or modified.
// +patchMergeKey=name
// +patchStrategy=merge
ephemeralContainers: [...EphemeralContainer] @go(EphemeralContainers,[]EphemeralContainer) @protobuf(2,bytes,rep)
@@ -5201,7 +5293,7 @@
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
ObjectReference: {
// Kind of the referent.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
kind?: string @go(Kind) @protobuf(1,bytes,opt)
@@ -5225,7 +5317,7 @@
apiVersion?: string @go(APIVersion) @protobuf(5,bytes,opt)
// Specific resourceVersion to which this reference is made, if any.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
// +optional
resourceVersion?: string @go(ResourceVersion) @protobuf(6,bytes,opt)
@@ -5294,7 +5386,7 @@
// Event is a report of an event somewhere in the cluster.
Event: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
metadata: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// The object that this event is about.
@@ -5384,7 +5476,7 @@
// EventList is a list of events.
EventList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -5448,12 +5540,12 @@
// LimitRange sets resource usage limits for each kind of resource in a Namespace.
LimitRange: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Spec defines the limits enforced.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: LimitRangeSpec @go(Spec) @protobuf(2,bytes,opt)
}
@@ -5461,7 +5553,7 @@
// LimitRangeList is a list of LimitRange items.
LimitRangeList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -5625,17 +5717,17 @@
// ResourceQuota sets aggregate quota restrictions enforced per namespace
ResourceQuota: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
// Spec defines the desired quota.
- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
spec?: ResourceQuotaSpec @go(Spec) @protobuf(2,bytes,opt)
// Status defines the actual enforced quota and its current usage.
- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: ResourceQuotaStatus @go(Status) @protobuf(3,bytes,opt)
}
@@ -5643,7 +5735,7 @@
// ResourceQuotaList is a list of ResourceQuota items.
ResourceQuotaList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -5656,7 +5748,7 @@
// the Data field must be less than MaxSecretSize bytes.
Secret: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -5787,7 +5879,7 @@
// SecretList is a list of Secret.
SecretList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -5799,7 +5891,7 @@
// ConfigMap holds configuration data for pods to consume.
ConfigMap: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -5824,7 +5916,7 @@
// ConfigMapList is a resource containing a list of ConfigMap objects.
ConfigMapList: metav1.TypeMeta & {
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -5864,7 +5956,7 @@
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
ComponentStatus: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
@@ -5878,7 +5970,7 @@
// Status of all the conditions for the component as a list of ComponentStatus objects.
ComponentStatusList: metav1.TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -6069,7 +6161,7 @@
// RangeAllocation is not a public type.
RangeAllocation: metav1.TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
diff --git a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/well_known_labels_go_gen.cue b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/well_known_labels_go_gen.cue
index 2a35f5b..fcc2cf9 100644
--- a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/well_known_labels_go_gen.cue
+++ b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/core/v1/well_known_labels_go_gen.cue
@@ -19,3 +19,9 @@
// LabelNamespaceNodeRestriction is a forbidden label namespace that kubelets may not self-set when the NodeRestriction admission plugin is enabled
LabelNamespaceNodeRestriction: "node-restriction.kubernetes.io"
+
+// IsHeadlessService is added by Controller to an Endpoint denoting if its parent
+// Service is Headless. The existence of this label can be used further by other
+// controllers and kube-proxy to check if the Endpoint objects should be replicated when
+// using Headless Services
+IsHeadlessService: "service.kubernetes.io/headless"
diff --git a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/extensions/v1beta1/types_go_gen.cue b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/extensions/v1beta1/types_go_gen.cue
index ab1c5ab..2bf7d72 100644
--- a/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/extensions/v1beta1/types_go_gen.cue
+++ b/doc/tutorial/kubernetes/quick/pkg/k8s.io/api/extensions/v1beta1/types_go_gen.cue
@@ -890,7 +890,6 @@
// AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.
// An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
- // This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
// +optional
allowedCSIDrivers?: [...AllowedCSIDriver] @go(AllowedCSIDrivers,[]AllowedCSIDriver) @protobuf(23,bytes,rep)
diff --git a/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/api/resource/quantity_go_gen.cue b/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/api/resource/quantity_go_gen.cue
index c488bb8..56713df 100644
--- a/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/api/resource/quantity_go_gen.cue
+++ b/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/api/resource/quantity_go_gen.cue
@@ -6,7 +6,7 @@
// Quantity is a fixed-point representation of a number.
// It provides convenient marshaling/unmarshaling in JSON and YAML,
-// in addition to String() and Int64() accessors.
+// in addition to String() and AsInt64() accessors.
//
// The serialization format is:
//
diff --git a/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/apis/meta/v1/types_go_gen.cue b/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/apis/meta/v1/types_go_gen.cue
index e8c1ea5..1593bb5 100644
--- a/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/apis/meta/v1/types_go_gen.cue
+++ b/doc/tutorial/kubernetes/quick/pkg/k8s.io/apimachinery/pkg/apis/meta/v1/types_go_gen.cue
@@ -28,14 +28,14 @@
// Servers may infer this from the endpoint the client submits requests to.
// Cannot be updated.
// In CamelCase.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
kind?: string @go(Kind) @protobuf(1,bytes,opt)
// APIVersion defines the versioned schema of this representation of an object.
// Servers should convert recognized schemas to the latest internal value, and
// may reject unrecognized values.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
// +optional
apiVersion?: string @go(APIVersion) @protobuf(2,bytes,opt)
}
@@ -46,6 +46,10 @@
// selfLink is a URL representing this object.
// Populated by the system.
// Read-only.
+ //
+ // DEPRECATED
+ // Kubernetes will stop propagating this field in 1.20 release and the field is planned
+ // to be removed in 1.21 release.
// +optional
selfLink?: string @go(SelfLink) @protobuf(1,bytes,opt)
@@ -54,7 +58,7 @@
// Value must be treated as opaque by clients and passed unmodified back to the server.
// Populated by the system.
// Read-only.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
// +optional
resourceVersion?: string @go(ResourceVersion) @protobuf(2,bytes,opt)
@@ -76,9 +80,6 @@
// Servers older than v1.15 do not set this field.
// The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
// should not rely on the remainingItemCount to be set or to be exact.
- //
- // This field is alpha and can be changed or removed without notice.
- //
// +optional
remainingItemCount?: null | int64 @go(RemainingItemCount,*int64) @protobuf(4,bytes,opt)
}
@@ -112,7 +113,7 @@
// should retry (optionally after the time indicated in the Retry-After header).
//
// Applied only if Name is not specified.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
// +optional
generateName?: string @go(GenerateName) @protobuf(2,bytes,opt)
@@ -130,6 +131,10 @@
// SelfLink is a URL representing this object.
// Populated by the system.
// Read-only.
+ //
+ // DEPRECATED
+ // Kubernetes will stop propagating this field in 1.20 release and the field is planned
+ // to be removed in 1.21 release.
// +optional
selfLink?: string @go(SelfLink) @protobuf(4,bytes,opt)
@@ -152,7 +157,7 @@
// Populated by the system.
// Read-only.
// Value must be treated as opaque by clients and .
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
// +optional
resourceVersion?: string @go(ResourceVersion) @protobuf(6,bytes,opt)
@@ -168,7 +173,7 @@
// Populated by the system.
// Read-only.
// Null for lists.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
creationTimestamp?: Time @go(CreationTimestamp) @protobuf(8,bytes,opt)
@@ -189,7 +194,7 @@
//
// Populated by the system when a graceful deletion is requested.
// Read-only.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
deletionTimestamp?: null | Time @go(DeletionTimestamp,*Time) @protobuf(9,bytes,opt)
@@ -274,7 +279,7 @@
apiVersion: string @go(APIVersion) @protobuf(5,bytes,opt)
// Kind of the referent.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
kind: string @go(Kind) @protobuf(1,bytes,opt)
// Name of the referent.
@@ -547,13 +552,13 @@
// Status is a return value for calls that don't return other objects.
Status: TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
// Status of the operation.
// One of: "Success" or "Failure".
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
status?: string @go(Status) @protobuf(2,bytes,opt)
@@ -598,7 +603,7 @@
// The kind attribute of the resource associated with the status StatusReason.
// On some operations may differ from the requested resource Kind.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
kind?: string @go(Kind) @protobuf(3,bytes,opt)
@@ -750,11 +755,13 @@
// doesn't make any sense, for example deleting a read-only object. This is different than
// StatusReasonInvalid above which indicates that the API call could possibly succeed, but the
// data was invalid. API calls that return BadRequest can never succeed.
+// Status code 400
StatusReasonBadRequest: StatusReason & "BadRequest"
// StatusReasonMethodNotAllowed means that the action the client attempted to perform on the
// resource was not supported by the code - for instance, attempting to delete a resource that
// can only be created. API calls that return MethodNotAllowed can never succeed.
+// Status code 405
StatusReasonMethodNotAllowed: StatusReason & "MethodNotAllowed"
// StatusReasonNotAcceptable means that the accept types indicated by the client were not acceptable
@@ -864,7 +871,7 @@
// List holds a list of objects, which may not be known by the server.
List: TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
@@ -1086,9 +1093,13 @@
// +optional
time?: null | Time @go(Time,*Time) @protobuf(4,bytes,opt)
- // Fields identifies a set of fields.
+ // FieldsType is the discriminator for the different fields format and version.
+ // There is currently only one possible value: "FieldsV1"
+ fieldsType?: string @go(FieldsType) @protobuf(6,bytes,opt)
+
+ // FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
// +optional
- fields?: null | Fields @go(Fields,*Fields) @protobuf(5,bytes,opt,casttype=Fields)
+ fieldsV1?: null | FieldsV1 @go(FieldsV1,*FieldsV1) @protobuf(7,bytes,opt)
}
// ManagedFieldsOperationType is the type of operation which lead to a ManagedFieldsEntry being created.
@@ -1101,9 +1112,18 @@
ManagedFieldsOperationApply: ManagedFieldsOperationType & "Apply"
ManagedFieldsOperationUpdate: ManagedFieldsOperationType & "Update"
-// Fields stores a set of fields in a data structure like a Trie.
-// To understand how this is used, see: https://github.com/kubernetes-sigs/structured-merge-diff
-Fields: _
+// FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
+//
+// Each key is either a '.' representing the field itself, and will always map to an empty set,
+// or a string representing a sub-field or item. The string will follow one of these four formats:
+// 'f:<name>', where <name> is the name of a field in a struct, or key in a map
+// 'v:<value>', where <value> is the exact json formatted value of a list item
+// 'i:<index>', where <index> is position of a item in a list
+// 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values
+// If a key maps to an empty Fields value, the field that key represents is part of the set.
+//
+// The exact format is defined in sigs.k8s.io/structured-merge-diff
+FieldsV1: _
// Table is a tabular representation of a set of API resources. The server transforms the
// object into a set of preferred columns for quickly reviewing the objects.
@@ -1111,7 +1131,7 @@
// +protobuf=false
Table: TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: ListMeta @go(ListMeta)
@@ -1248,7 +1268,7 @@
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
PartialObjectMetadata: TypeMeta & {
// Standard object's metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metadata?: ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
}
@@ -1257,7 +1277,7 @@
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
PartialObjectMetadataList: TypeMeta & {
// Standard list metadata.
- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metadata?: ListMeta @go(ListMeta) @protobuf(1,bytes,opt)