github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1/core.giantswarm.io_drainerconfigs.yaml (about) 1 2 --- 3 apiVersion: apiextensions.k8s.io/v1 4 kind: CustomResourceDefinition 5 metadata: 6 annotations: 7 controller-gen.kubebuilder.io/version: v0.2.4 8 creationTimestamp: null 9 name: drainerconfigs.core.giantswarm.io 10 spec: 11 group: core.giantswarm.io 12 names: 13 categories: 14 - common 15 - giantswarm 16 kind: DrainerConfig 17 listKind: DrainerConfigList 18 plural: drainerconfigs 19 singular: drainerconfig 20 scope: Namespaced 21 versions: 22 - name: v1alpha1 23 schema: 24 openAPIV3Schema: 25 properties: 26 apiVersion: 27 description: 'APIVersion defines the versioned schema of this representation 28 of an object. Servers should convert recognized schemas to the latest 29 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 30 type: string 31 kind: 32 description: 'Kind is a string value representing the REST resource this 33 object represents. Servers may infer this from the endpoint the client 34 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 35 type: string 36 metadata: 37 type: object 38 spec: 39 properties: 40 guest: 41 properties: 42 cluster: 43 properties: 44 api: 45 properties: 46 endpoint: 47 description: Endpoint is the guest cluster API endpoint. 48 type: string 49 required: 50 - endpoint 51 type: object 52 id: 53 description: ID is the guest cluster ID of which a node should 54 be drained. 55 type: string 56 required: 57 - api 58 - id 59 type: object 60 node: 61 properties: 62 name: 63 description: "Name is the identifier of the guest cluster's 64 master and worker nodes. In Kubernetes/Kubectl they are 65 represented as node names. The names are manage in an abstracted 66 way because of provider specific differences. \n AWS: 67 EC2 instance DNS. Azure: VM name. KVM: host cluster 68 pod name." 69 type: string 70 required: 71 - name 72 type: object 73 required: 74 - cluster 75 - node 76 type: object 77 versionBundle: 78 properties: 79 version: 80 type: string 81 required: 82 - version 83 type: object 84 required: 85 - guest 86 - versionBundle 87 type: object 88 status: 89 properties: 90 conditions: 91 items: 92 description: DrainerConfigStatusCondition expresses a condition 93 in which a node may is. 94 properties: 95 lastHeartbeatTime: 96 description: LastHeartbeatTime is the last time we got an update 97 on a given condition. 98 format: date-time 99 type: string 100 lastTransitionTime: 101 description: LastTransitionTime is the last time the condition 102 transitioned from one status to another. 103 format: date-time 104 type: string 105 status: 106 description: Status may be True, False or Unknown. 107 type: string 108 type: 109 description: Type may be Pending, Ready, Draining, Drained. 110 type: string 111 required: 112 - lastHeartbeatTime 113 - lastTransitionTime 114 - status 115 - type 116 type: object 117 type: array 118 required: 119 - conditions 120 type: object 121 required: 122 - metadata 123 - spec 124 type: object 125 served: true 126 storage: true 127 subresources: 128 status: {} 129 status: 130 acceptedNames: 131 kind: "" 132 plural: "" 133 conditions: [] 134 storedVersions: []