github.com/giantswarm/apiextensions/v2@v2.6.2/config/crd/v1beta1/core.giantswarm.io_drainerconfigs.yaml (about) 1 2 --- 3 apiVersion: apiextensions.k8s.io/v1beta1 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 subresources: 22 status: {} 23 validation: 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 represented 65 as node names. The names are manage in an abstracted way because 66 of provider specific differences. \n AWS: EC2 instance 67 DNS. Azure: VM name. KVM: host cluster pod name." 68 type: string 69 required: 70 - name 71 type: object 72 required: 73 - cluster 74 - node 75 type: object 76 versionBundle: 77 properties: 78 version: 79 type: string 80 required: 81 - version 82 type: object 83 required: 84 - guest 85 - versionBundle 86 type: object 87 status: 88 properties: 89 conditions: 90 items: 91 description: DrainerConfigStatusCondition expresses a condition in 92 which a node may is. 93 properties: 94 lastHeartbeatTime: 95 description: LastHeartbeatTime is the last time we got an update 96 on a given condition. 97 format: date-time 98 type: string 99 lastTransitionTime: 100 description: LastTransitionTime is the last time the condition 101 transitioned from one status to another. 102 format: date-time 103 type: string 104 status: 105 description: Status may be True, False or Unknown. 106 type: string 107 type: 108 description: Type may be Pending, Ready, Draining, Drained. 109 type: string 110 required: 111 - lastHeartbeatTime 112 - lastTransitionTime 113 - status 114 - type 115 type: object 116 type: array 117 required: 118 - conditions 119 type: object 120 required: 121 - metadata 122 - spec 123 type: object 124 version: v1alpha1 125 versions: 126 - name: v1alpha1 127 served: true 128 storage: true 129 status: 130 acceptedNames: 131 kind: "" 132 plural: "" 133 conditions: [] 134 storedVersions: []