-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from backguynn/multicluster-v1
add CRD(multiclusterLBService) & CRD manager & change kube-loxilb.yaml
- Loading branch information
Showing
7 changed files
with
436 additions
and
19 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
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,132 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.13.0 | ||
name: multiclusterlbservices.multicluster.loxilb.io | ||
spec: | ||
group: multicluster.loxilb.io | ||
names: | ||
kind: MultiClusterLBService | ||
listKind: MultiClusterLBServiceList | ||
plural: multiclusterlbservices | ||
singular: multiclusterlbservice | ||
scope: Cluster | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: MultiClusterLBService is the Schema for the multiclusterlbservices | ||
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: MultiClusterLBServiceSpec defines the desired state of MultiClusterLBService | ||
properties: | ||
lbModel: | ||
properties: | ||
endpoints: | ||
items: | ||
properties: | ||
endpointIP: | ||
type: string | ||
state: | ||
type: string | ||
targetPort: | ||
type: integer | ||
weight: | ||
type: integer | ||
required: | ||
- endpointIP | ||
- targetPort | ||
- weight | ||
type: object | ||
type: array | ||
secondaryIPs: | ||
items: | ||
properties: | ||
secondaryIP: | ||
type: string | ||
required: | ||
- secondaryIP | ||
type: object | ||
type: array | ||
serviceArguments: | ||
properties: | ||
BGP: | ||
type: boolean | ||
Monitor: | ||
type: boolean | ||
block: | ||
type: integer | ||
externalIP: | ||
type: string | ||
inactiveTimeOut: | ||
format: int32 | ||
type: integer | ||
managed: | ||
type: boolean | ||
mode: | ||
format: int32 | ||
type: integer | ||
port: | ||
type: integer | ||
probeport: | ||
type: integer | ||
probereq: | ||
type: string | ||
proberesp: | ||
type: string | ||
probetype: | ||
type: string | ||
protocol: | ||
type: string | ||
sel: | ||
description: 'EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU | ||
TO OWN! NOTE: json tags are required. Any new fields you | ||
add must have json tags for the fields to be serialized.' | ||
type: integer | ||
required: | ||
- block | ||
- externalIP | ||
- inactiveTimeOut | ||
- mode | ||
- port | ||
- sel | ||
type: object | ||
required: | ||
- endpoints | ||
- serviceArguments | ||
type: object | ||
required: | ||
- lbModel | ||
type: object | ||
status: | ||
description: MultiClusterLBServiceStatus defines the observed state of | ||
MultiClusterLBService | ||
properties: | ||
externalIP: | ||
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state | ||
of cluster Important: Run "make" to regenerate code after modifying | ||
this file' | ||
type: string | ||
required: | ||
- externalIP | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
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
Oops, something went wrong.