forked from kadisi/yurt-app-manager
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
162bf2c
commit dc4f071
Showing
52 changed files
with
32,100 additions
and
748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ gopath | |
dockerbuild | ||
|
||
*.out | ||
logs | ||
test-prow | ||
logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.7.0 | ||
creationTimestamp: null | ||
name: nodepools.apps.openyurt.io | ||
spec: | ||
group: apps.openyurt.io | ||
names: | ||
categories: | ||
- all | ||
kind: NodePool | ||
listKind: NodePoolList | ||
plural: nodepools | ||
shortNames: | ||
- np | ||
singular: nodepool | ||
scope: Cluster | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: The type of nodepool | ||
jsonPath: .spec.type | ||
name: Type | ||
type: string | ||
- description: The number of ready nodes in the pool | ||
jsonPath: .status.readyNodeNum | ||
name: ReadyNodes | ||
type: integer | ||
- jsonPath: .status.unreadyNodeNum | ||
name: NotReadyNodes | ||
type: integer | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: NodePool is the Schema for the nodepools 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: NodePoolSpec defines the desired state of NodePool | ||
properties: | ||
annotations: | ||
additionalProperties: | ||
type: string | ||
description: 'If specified, the Annotations will be added to all nodes. | ||
NOTE: existing labels with samy keys on the nodes will be overwritten.' | ||
type: object | ||
labels: | ||
additionalProperties: | ||
type: string | ||
description: 'If specified, the Labels will be added to all nodes. | ||
NOTE: existing labels with samy keys on the nodes will be overwritten.' | ||
type: object | ||
selector: | ||
description: A label query over nodes to consider for adding to the | ||
pool | ||
properties: | ||
matchExpressions: | ||
description: matchExpressions is a list of label selector requirements. | ||
The requirements are ANDed. | ||
items: | ||
description: A label selector requirement is a selector that | ||
contains values, a key, and an operator that relates the key | ||
and values. | ||
properties: | ||
key: | ||
description: key is the label key that the selector applies | ||
to. | ||
type: string | ||
operator: | ||
description: operator represents a key's relationship to | ||
a set of values. Valid operators are In, NotIn, Exists | ||
and DoesNotExist. | ||
type: string | ||
values: | ||
description: values is an array of string values. If the | ||
operator is In or NotIn, the values array must be non-empty. | ||
If the operator is Exists or DoesNotExist, the values | ||
array must be empty. This array is replaced during a strategic | ||
merge patch. | ||
items: | ||
type: string | ||
type: array | ||
required: | ||
- key | ||
- operator | ||
type: object | ||
type: array | ||
matchLabels: | ||
additionalProperties: | ||
type: string | ||
description: matchLabels is a map of {key,value} pairs. A single | ||
{key,value} in the matchLabels map is equivalent to an element | ||
of matchExpressions, whose key field is "key", the operator | ||
is "In", and the values array contains only "value". The requirements | ||
are ANDed. | ||
type: object | ||
type: object | ||
taints: | ||
description: If specified, the Taints will be added to all nodes. | ||
items: | ||
description: The node this Taint is attached to has the "effect" | ||
on any pod that does not tolerate the Taint. | ||
properties: | ||
effect: | ||
description: Required. The effect of the taint on pods that | ||
do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule | ||
and NoExecute. | ||
type: string | ||
key: | ||
description: Required. The taint key to be applied to a node. | ||
type: string | ||
timeAdded: | ||
description: TimeAdded represents the time at which the taint | ||
was added. It is only written for NoExecute taints. | ||
format: date-time | ||
type: string | ||
value: | ||
description: The taint value corresponding to the taint key. | ||
type: string | ||
required: | ||
- effect | ||
- key | ||
type: object | ||
type: array | ||
type: | ||
description: The type of the NodePool | ||
type: string | ||
type: object | ||
status: | ||
description: NodePoolStatus defines the observed state of NodePool | ||
properties: | ||
nodes: | ||
description: The list of nodes' names in the pool | ||
items: | ||
type: string | ||
type: array | ||
readyNodeNum: | ||
description: Total number of ready nodes in the pool. | ||
format: int32 | ||
type: integer | ||
unreadyNodeNum: | ||
description: Total number of unready nodes in the pool. | ||
format: int32 | ||
type: integer | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
Oops, something went wrong.