-
Notifications
You must be signed in to change notification settings - Fork 242
/
Copy pathacn.azure.com_nodenetworkconfigs.yaml
172 lines (172 loc) · 5.94 KB
/
acn.azure.com_nodenetworkconfigs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: nodenetworkconfigs.acn.azure.com
spec:
group: acn.azure.com
names:
kind: NodeNetworkConfig
listKind: NodeNetworkConfigList
plural: nodenetworkconfigs
shortNames:
- nnc
singular: nodenetworkconfig
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .spec.requestedIPCount
name: Requested IPs
priority: 1
type: integer
- jsonPath: .status.assignedIPCount
name: Allocated IPs
type: integer
- jsonPath: .status.networkContainers[*].subnetName
name: Subnet
priority: 1
type: string
- jsonPath: .status.networkContainers[*].subnetAddressSpace
name: Subnet CIDR
priority: 1
type: string
- jsonPath: .status.networkContainers[*].id
name: NC ID
priority: 1
type: string
- jsonPath: .status.networkContainers[*].assignmentMode
name: NC Mode
type: string
- jsonPath: .status.networkContainers[*].type
name: NC Type
priority: 1
type: string
- jsonPath: .status.networkContainers[*].version
name: NC Version
type: integer
name: v1alpha
schema:
openAPIV3Schema:
description: NodeNetworkConfig is the Schema for the nodenetworkconfigs API
properties:
apiVersion:
description: '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/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. 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/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: NodeNetworkConfigSpec defines the desired state of NetworkConfig
properties:
ipsNotInUse:
items:
type: string
type: array
requestedIPCount:
default: 0
format: int64
type: integer
type: object
status:
description: NodeNetworkConfigStatus defines the observed state of NetworkConfig
properties:
assignedIPCount:
default: 0
type: integer
networkContainers:
items:
description: NetworkContainer defines the structure of a Network
Container as found in NetworkConfigStatus
properties:
assignmentMode:
default: dynamic
description: AssignmentMode is whether we are allocated an entire
block or IP by IP.
enum:
- dynamic
- static
type: string
defaultGateway:
type: string
id:
type: string
ipAssignments:
items:
description: IPAssignment groups an IP address and Name. Name
is a UUID set by the the IP address assigner.
properties:
ip:
type: string
name:
type: string
type: object
type: array
nodeIP:
type: string
primaryIP:
type: string
resourceGroupID:
type: string
status:
description: NCStatus indicates the latest NC request status
enum:
- SubnetFull
type: string
subcriptionID:
type: string
subnetAddressSpace:
type: string
subnetID:
type: string
subnetName:
type: string
type:
default: vnet
description: NCType is the specific type of network this NC
represents.
type: string
version:
default: 0
format: int64
type: integer
vnetID:
type: string
type: object
type: array
scaler:
description: Scaler groups IP request params together
properties:
batchSize:
format: int64
type: integer
maxIPCount:
format: int64
type: integer
releaseThresholdPercent:
format: int64
type: integer
requestThresholdPercent:
format: int64
type: integer
type: object
status:
description: Status indicates the NNC reconcile status
enum:
- Updating
- Updated
- Error
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}