-
Notifications
You must be signed in to change notification settings - Fork 146
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 #197 from xtreme1-io/dev
Merge v0.9 features
- Loading branch information
Showing
286 changed files
with
27,317 additions
and
4,524 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 |
---|---|---|
|
@@ -4,4 +4,4 @@ include: | |
|
||
variables: | ||
APP_NAME: "xtreme1" | ||
APP_VERSION: "0.8.1" | ||
APP_VERSION: "0.9" |
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,136 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: backend | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: $APP_NAME | ||
app.kubernetes.io/instance: $APP_NAME | ||
app.kubernetes.io/component: backend | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: $APP_NAME | ||
app.kubernetes.io/instance: $APP_NAME | ||
app.kubernetes.io/component: backend | ||
spec: | ||
nodeSelector: | ||
dedicated: app | ||
imagePullSecrets: | ||
- name: basicai-registry | ||
containers: | ||
- name: backend | ||
image: $BACKEND_IMAGE | ||
env: | ||
- name: JAVA_OPTS | ||
value: "-XX:InitialRAMPercentage=20.0 -XX:MinRAMPercentage=80.0 -XX:MaxRAMPercentage=80.0 -XshowSettings:vm" | ||
resources: | ||
requests: | ||
memory: 200Mi | ||
cpu: 10m | ||
limits: | ||
memory: 2Gi | ||
cpu: 1 | ||
ports: | ||
- name: http | ||
containerPort: 8080 | ||
startupProbe: | ||
httpGet: | ||
path: /actuator/health/liveness | ||
port: 8080 | ||
periodSeconds: 10 | ||
failureThreshold: 6 | ||
livenessProbe: | ||
httpGet: | ||
path: /actuator/health/liveness | ||
port: 8080 | ||
periodSeconds: 10 | ||
failureThreshold: 3 | ||
readinessProbe: | ||
httpGet: | ||
path: /actuator/health/readiness | ||
port: 8080 | ||
initialDelaySeconds: 10 | ||
periodSeconds: 10 | ||
volumeMounts: | ||
- name: config | ||
mountPath: /app/config | ||
volumes: | ||
- name: config | ||
configMap: | ||
name: backend | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: backend | ||
spec: | ||
selector: | ||
app.kubernetes.io/name: $APP_NAME | ||
app.kubernetes.io/instance: $APP_NAME | ||
app.kubernetes.io/component: backend | ||
ports: | ||
- name: http | ||
port: 80 | ||
targetPort: 8080 | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
nginx.ingress.kubernetes.io/rewrite-target: /$2 | ||
name: backend | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: app-test-ce.alidev.beisai.com | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: backend | ||
port: | ||
number: 80 | ||
path: /api(/|$)(.*) | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- app-test-ce.alidev.beisai.com | ||
secretName: alidev.beisai.com | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: minio | ||
spec: | ||
type: ExternalName | ||
externalName: basicai-dataset-tmp-minio-endpoint.alidev.beisai.com | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
nginx.ingress.kubernetes.io/rewrite-target: /$2 | ||
nginx.ingress.kubernetes.io/backend-protocol: HTTPS | ||
nginx.ingress.kubernetes.io/upstream-vhost: basicai-dataset-tmp-minio-endpoint.alidev.beisai.com | ||
nginx.ingress.kubernetes.io/proxy-body-size: 1000m | ||
name: minio | ||
spec: | ||
ingressClassName: nginx | ||
rules: | ||
- host: app-test-ce.alidev.beisai.com | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: minio | ||
port: | ||
number: 443 | ||
path: /minio(/|$)(.*) | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- app-test-ce.alidev.beisai.com | ||
secretName: alidev.beisai.com |
Oops, something went wrong.