-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci * try github ci * debug sync chart
- Loading branch information
Showing
15 changed files
with
1,182 additions
and
184 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
v1.0.0 |
355 changes: 355 additions & 0 deletions
355
.github/chart/alb/crds/crd.alauda.io_alaudaloadbalancer2.yaml
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,355 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.12.1 | ||
name: alaudaloadbalancer2.crd.alauda.io | ||
spec: | ||
group: crd.alauda.io | ||
names: | ||
kind: ALB2 | ||
listKind: ALB2List | ||
plural: alaudaloadbalancer2 | ||
shortNames: | ||
- alb2 | ||
singular: alaudaloadbalancer2 | ||
scope: Namespaced | ||
versions: | ||
- deprecated: true | ||
deprecationWarning: alb2.v1.crd is deprecated,use alb2.v2beta1.crd instead. | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
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: | ||
properties: | ||
address: | ||
description: address is only used to display at front-end. | ||
type: string | ||
bind_address: | ||
description: bind_address is deprecated, default "" | ||
type: string | ||
domains: | ||
description: domains is deprecated, default [] | ||
items: | ||
type: string | ||
type: array | ||
iaas_id: | ||
description: iaas_id is deprecated, default "" | ||
type: string | ||
type: | ||
description: type defines the loadbalance alb2 uses, now only support | ||
nginx | ||
enum: | ||
- nginx | ||
type: string | ||
type: object | ||
status: | ||
properties: | ||
probeTime: | ||
format: int64 | ||
type: integer | ||
reason: | ||
description: reason defines the possible cause of alb2 state change | ||
type: string | ||
state: | ||
description: state defines the status of alb2, the possible values | ||
are ready/warning state:ready means ok state:warning can be caused | ||
by port conflict in alb2 | ||
type: string | ||
type: object | ||
type: object | ||
storage: false | ||
served: false | ||
subresources: | ||
status: {} | ||
- name: v2beta1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ALB2 is the Schema for the alaudaloadbalancer2 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: ALB2Spec defines the desired state of ALB2 | ||
properties: | ||
address: | ||
description: custom address of this alb | ||
type: string | ||
config: | ||
properties: | ||
antiAffinityKey: | ||
type: string | ||
backlog: | ||
type: integer | ||
bindNIC: | ||
type: string | ||
cleanMetricsInterval: | ||
type: integer | ||
defaultIngressClass: | ||
type: boolean | ||
defaultSSLCert: | ||
type: string | ||
defaultSSLStrategy: | ||
type: string | ||
enableALb: | ||
type: boolean | ||
enableCrossClusters: | ||
type: string | ||
enableGC: | ||
type: string | ||
enableGCAppRule: | ||
type: string | ||
enableGoMonitor: | ||
type: boolean | ||
enableGzip: | ||
type: string | ||
enableHTTP2: | ||
type: string | ||
enableIPV6: | ||
type: string | ||
enableIngress: | ||
type: string | ||
enablePortProject: | ||
type: boolean | ||
enablePortprobe: | ||
type: string | ||
enableProfile: | ||
type: boolean | ||
enablePrometheus: | ||
type: string | ||
gateway: | ||
properties: | ||
enable: | ||
type: boolean | ||
mode: | ||
type: string | ||
name: | ||
type: string | ||
type: object | ||
goMonitorPort: | ||
type: integer | ||
ingressController: | ||
type: string | ||
ingressHTTPPort: | ||
type: integer | ||
ingressHTTPSPort: | ||
type: integer | ||
loadbalancerName: | ||
type: string | ||
loadbalancerType: | ||
type: string | ||
maxTermSeconds: | ||
type: integer | ||
metricsPort: | ||
type: integer | ||
networkMode: | ||
type: string | ||
nodeSelector: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
overwrite: | ||
properties: | ||
configmap: | ||
items: | ||
properties: | ||
name: | ||
type: string | ||
target: | ||
type: string | ||
type: object | ||
type: array | ||
image: | ||
items: | ||
properties: | ||
alb: | ||
type: string | ||
nginx: | ||
type: string | ||
target: | ||
type: string | ||
type: object | ||
type: array | ||
type: object | ||
policyZip: | ||
type: boolean | ||
portProjects: | ||
type: string | ||
projects: | ||
items: | ||
type: string | ||
type: array | ||
reloadtimeout: | ||
type: integer | ||
replicas: | ||
type: integer | ||
resources: | ||
properties: | ||
alb: | ||
properties: | ||
limits: | ||
properties: | ||
cpu: | ||
type: string | ||
memory: | ||
type: string | ||
type: object | ||
requests: | ||
properties: | ||
cpu: | ||
type: string | ||
memory: | ||
type: string | ||
type: object | ||
type: object | ||
limits: | ||
properties: | ||
cpu: | ||
type: string | ||
memory: | ||
type: string | ||
type: object | ||
requests: | ||
properties: | ||
cpu: | ||
type: string | ||
memory: | ||
type: string | ||
type: object | ||
type: object | ||
resyncPeriod: | ||
type: integer | ||
syncPolicyInterval: | ||
type: integer | ||
vip: | ||
properties: | ||
allocateLoadBalancerNodePorts: | ||
type: boolean | ||
enableLbSvc: | ||
type: boolean | ||
lbSvcAnnotations: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
lbSvcIpFamilyPolicy: | ||
description: IPFamilyPolicy represents the dual-stack-ness | ||
requested or required by a Service | ||
type: string | ||
type: object | ||
workerLimit: | ||
type: integer | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
type: | ||
enum: | ||
- nginx | ||
type: string | ||
type: object | ||
status: | ||
description: ALB2Status defines the observed state of ALB2, detail in | ||
ALB2StatusDetail | ||
properties: | ||
detail: | ||
properties: | ||
address: | ||
description: status set by operator | ||
properties: | ||
host: | ||
items: | ||
type: string | ||
type: array | ||
ipv4: | ||
items: | ||
type: string | ||
type: array | ||
ipv6: | ||
items: | ||
type: string | ||
type: array | ||
msg: | ||
type: string | ||
ok: | ||
type: boolean | ||
type: object | ||
alb: | ||
description: status set by alb itself | ||
properties: | ||
portstatus: | ||
additionalProperties: | ||
properties: | ||
conflict: | ||
type: boolean | ||
msg: | ||
type: string | ||
probeTimeStr: | ||
format: date-time | ||
type: string | ||
type: object | ||
description: port status of this alb. key format protocol-port | ||
type: object | ||
type: object | ||
deploy: | ||
description: status set by operator | ||
properties: | ||
probeTimeStr: | ||
format: date-time | ||
type: string | ||
reason: | ||
type: string | ||
state: | ||
type: string | ||
type: object | ||
version: | ||
description: status set by operator | ||
properties: | ||
imagePatch: | ||
type: string | ||
version: | ||
type: string | ||
type: object | ||
type: object | ||
probeTime: | ||
format: int64 | ||
type: integer | ||
probeTimeStr: | ||
format: date-time | ||
type: string | ||
reason: | ||
description: reason defines the possible cause of alb2 state change | ||
type: string | ||
state: | ||
default: Pending | ||
description: state defines the status of alb2, the possible values | ||
are ready/warning state:ready means ok state:warning can be caused | ||
by port conflict in alb2 | ||
type: string | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## global | ||
operator: | ||
albImagePullPolicy: IfNotPresent | ||
defaultAlb: false # 部署默认的alb | ||
operatorReplicas: 1 | ||
operatorDeployMode: "deployment" # csv|deployment | ||
global: | ||
labelBaseDomain: cpaas.io | ||
namespace: kube-system | ||
registry: | ||
address: theseedoaa | ||
images: | ||
alb2: | ||
code: https://github.com/alauda/alb | ||
support_arm: true | ||
repository: alb | ||
nginx: | ||
code: https://github.com/alauda/alb | ||
support_arm: true | ||
repository: alb-nginx | ||
resources: | ||
alb: | ||
limits: | ||
cpu: "200m" | ||
memory: 2Gi | ||
requests: | ||
cpu: 50m | ||
memory: 128Mi | ||
limits: | ||
cpu: "2" | ||
memory: 2Gi | ||
requests: | ||
cpu: 50m | ||
memory: 128Mi |
Oops, something went wrong.