You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

321 lines
8.1 KiB

  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. name: ips.kubeovn.io
  5. spec:
  6. group: kubeovn.io
  7. versions:
  8. - name: v1
  9. served: true
  10. storage: true
  11. additionalPrinterColumns:
  12. - name: Provider
  13. type: string
  14. jsonPath: .spec.provider
  15. - name: IP
  16. type: string
  17. jsonPath: .spec.ipAddress
  18. - name: Mac
  19. type: string
  20. jsonPath: .spec.macAddress
  21. - name: Node
  22. type: string
  23. jsonPath: .spec.nodeName
  24. - name: Subnet
  25. type: string
  26. jsonPath: .spec.subnet
  27. schema:
  28. openAPIV3Schema:
  29. type: object
  30. properties:
  31. spec:
  32. type: object
  33. properties:
  34. podName:
  35. type: string
  36. namespace:
  37. type: string
  38. subnet:
  39. type: string
  40. attachSubnets:
  41. type: array
  42. items:
  43. type: string
  44. nodeName:
  45. type: string
  46. ipAddress:
  47. type: string
  48. attachIps:
  49. type: array
  50. items:
  51. type: string
  52. macAddress:
  53. type: string
  54. attachMacs:
  55. type: array
  56. items:
  57. type: string
  58. containerID:
  59. type: string
  60. scope: Cluster
  61. names:
  62. plural: ips
  63. singular: ip
  64. kind: IP
  65. shortNames:
  66. - ip
  67. ---
  68. apiVersion: apiextensions.k8s.io/v1
  69. kind: CustomResourceDefinition
  70. metadata:
  71. name: subnets.kubeovn.io
  72. spec:
  73. group: kubeovn.io
  74. versions:
  75. - name: v1
  76. served: true
  77. storage: true
  78. subresources:
  79. status: {}
  80. additionalPrinterColumns:
  81. - name: Provider
  82. type: string
  83. jsonPath: .spec.provider
  84. - name: Vpc
  85. type: string
  86. jsonPath: .spec.vpc
  87. - name: Protocol
  88. type: string
  89. jsonPath: .spec.protocol
  90. - name: CIDR
  91. type: string
  92. jsonPath: .spec.cidrBlock
  93. - name: Private
  94. type: boolean
  95. jsonPath: .spec.private
  96. - name: NAT
  97. type: boolean
  98. jsonPath: .spec.natOutgoing
  99. - name: Default
  100. type: boolean
  101. jsonPath: .spec.default
  102. - name: GatewayType
  103. type: string
  104. jsonPath: .spec.gatewayType
  105. - name: Used
  106. type: number
  107. jsonPath: .status.usingIPs
  108. - name: Available
  109. type: number
  110. jsonPath: .status.availableIPs
  111. schema:
  112. openAPIV3Schema:
  113. type: object
  114. properties:
  115. status:
  116. type: object
  117. properties:
  118. availableIPs:
  119. type: number
  120. usingIPs:
  121. type: number
  122. activateGateway:
  123. type: string
  124. conditions:
  125. type: array
  126. items:
  127. type: object
  128. properties:
  129. type:
  130. type: string
  131. status:
  132. type: string
  133. reason:
  134. type: string
  135. message:
  136. type: string
  137. lastUpdateTime:
  138. type: string
  139. lastTransitionTime:
  140. type: string
  141. spec:
  142. type: object
  143. properties:
  144. vpc:
  145. type: string
  146. default:
  147. type: boolean
  148. protocol:
  149. type: string
  150. cidrBlock:
  151. type: string
  152. namespaces:
  153. type: array
  154. items:
  155. type: string
  156. gateway:
  157. type: string
  158. provider:
  159. type: string
  160. excludeIps:
  161. type: array
  162. items:
  163. type: string
  164. gatewayType:
  165. type: string
  166. allowSubnets:
  167. type: array
  168. items:
  169. type: string
  170. gatewayNode:
  171. type: string
  172. natOutgoing:
  173. type: boolean
  174. private:
  175. type: boolean
  176. vlan:
  177. type: string
  178. underlayGateway:
  179. type: boolean
  180. disableInterConnection:
  181. type: boolean
  182. scope: Cluster
  183. names:
  184. plural: subnets
  185. singular: subnet
  186. kind: Subnet
  187. shortNames:
  188. - subnet
  189. ---
  190. apiVersion: apiextensions.k8s.io/v1
  191. kind: CustomResourceDefinition
  192. metadata:
  193. name: vlans.kubeovn.io
  194. spec:
  195. group: kubeovn.io
  196. versions:
  197. - name: v1
  198. served: true
  199. storage: true
  200. schema:
  201. openAPIV3Schema:
  202. type: object
  203. properties:
  204. spec:
  205. type: object
  206. properties:
  207. vlanId:
  208. type: integer
  209. providerInterfaceName:
  210. type: string
  211. logicalInterfaceName:
  212. type: string
  213. subnet:
  214. type: string
  215. additionalPrinterColumns:
  216. - name: VlanID
  217. type: string
  218. jsonPath: .spec.vlanId
  219. - name: ProviderInterfaceName
  220. type: string
  221. jsonPath: .spec.providerInterfaceName
  222. - name: Subnet
  223. type: string
  224. jsonPath: .spec.subnet
  225. scope: Cluster
  226. names:
  227. plural: vlans
  228. singular: vlan
  229. kind: Vlan
  230. shortNames:
  231. - vlan
  232. ---
  233. apiVersion: apiextensions.k8s.io/v1
  234. kind: CustomResourceDefinition
  235. metadata:
  236. name: vpcs.kubeovn.io
  237. spec:
  238. group: kubeovn.io
  239. versions:
  240. - additionalPrinterColumns:
  241. - jsonPath: .status.standby
  242. name: Standby
  243. type: boolean
  244. - jsonPath: .status.subnets
  245. name: Subnets
  246. type: string
  247. name: v1
  248. schema:
  249. openAPIV3Schema:
  250. properties:
  251. spec:
  252. properties:
  253. namespaces:
  254. items:
  255. type: string
  256. type: array
  257. staticRoutes:
  258. items:
  259. properties:
  260. policy:
  261. type: string
  262. cidr:
  263. type: string
  264. nextHopIP:
  265. type: string
  266. type: object
  267. type: array
  268. type: object
  269. status:
  270. properties:
  271. conditions:
  272. items:
  273. properties:
  274. lastTransitionTime:
  275. type: string
  276. lastUpdateTime:
  277. type: string
  278. message:
  279. type: string
  280. reason:
  281. type: string
  282. status:
  283. type: string
  284. type:
  285. type: string
  286. type: object
  287. type: array
  288. default:
  289. type: boolean
  290. defaultLogicalSwitch:
  291. type: string
  292. router:
  293. type: string
  294. standby:
  295. type: boolean
  296. subnets:
  297. items:
  298. type: string
  299. type: array
  300. tcpLoadBalancer:
  301. type: string
  302. tcpSessionLoadBalancer:
  303. type: string
  304. udpLoadBalancer:
  305. type: string
  306. udpSessionLoadBalancer:
  307. type: string
  308. type: object
  309. type: object
  310. served: true
  311. storage: true
  312. subresources:
  313. status: {}
  314. names:
  315. kind: Vpc
  316. listKind: VpcList
  317. plural: vpcs
  318. shortNames:
  319. - vpc
  320. singular: vpc
  321. scope: Cluster