Skip to content

Commit 6c74d06

Browse files
authored
Merge pull request #664 from xiaolao/dev
[Helm Charts] Adjust helm charts
2 parents b5aed78 + 169d5bf commit 6c74d06

File tree

192 files changed

+4114
-2967
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+4114
-2967
lines changed

Makefile

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
# Image URL to use all building/pushing image targets
2-
#PADDLEJOB_IMG ?= registry.baidubce.com/paddle-operator/paddlejob
3-
#SAMPLESET_IMG ?= registry.baidubce.com/paddle-operator/sampleset
4-
#RUNTIME_IMG ?= registry.baidubce.com/paddle-operator/runtime
5-
#SERVING_IMG ?= registry.baidubce.com/paddle-operator/serving
6-
7-
PADDLEJOB_IMG ?= xiaolao/paddlejob
8-
SAMPLESET_IMG ?= xiaolao/sampleset
9-
RUNTIME_IMG ?= xiaolao/runtime
10-
SERVING_IMG ?= xiaolao/serving
2+
PADDLEJOB_IMG ?= registry.baidubce.com/paddleflow-public/paddlecloud/paddlejob
3+
SAMPLESET_IMG ?= registry.baidubce.com/paddleflow-public/paddlecloud/sampleset
4+
RUNTIME_IMG ?= registry.baidubce.com/paddleflow-public/paddlecloud/runtime
5+
SERVING_IMG ?= registry.baidubce.com/paddleflow-public/paddlecloud/serving
116

127
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
138
CRD_OPTIONS ?= "crd:maxDescLen=0,generateEmbeddedObjectMeta=true,trivialVersions=true,preserveUnknownFields=false"
149

15-
# Set version and get git tag
16-
VERSION=v0.1
17-
GIT_SHA=$(shell git rev-parse --short HEAD || echo "HEAD")
18-
GIT_VERSION=${VERSION}-${GIT_SHA}
10+
# Set version
11+
VERSION=0.4.0
1912

2013
# Run go fmt against code
2114
fmt:
@@ -45,35 +38,35 @@ docker-build-all: docker-build-paddlejob docker-build-sampleset docker-build-run
4538

4639
# Build paddlejob controller image
4740
docker-build-paddlejob: test
48-
docker build . -f docker/Dockerfile.paddlejob -t ${PADDLEJOB_IMG}:${GIT_VERSION}
41+
docker build . -f docker/Dockerfile.paddlejob -t ${PADDLEJOB_IMG}:${VERSION}
4942

5043
# Build sampleset controller image
5144
docker-build-sampleset: test
52-
docker build . --build-arg RUNTIME_IMG=${RUNTIME_IMG} --build-arg GIT_VERSION=${GIT_VERSION} \
53-
-f docker/Dockerfile.sampleset -t ${SAMPLESET_IMG}:${GIT_VERSION}
45+
docker build . --build-arg RUNTIME_IMG=${RUNTIME_IMG} --build-arg VERSION=${VERSION} \
46+
-f docker/Dockerfile.sampleset -t ${SAMPLESET_IMG}:${VERSION}
5447

5548
docker-build-runtime: test
56-
docker build . -f docker/Dockerfile.runtime -t ${RUNTIME_IMG}:${GIT_VERSION}
49+
docker build . -f docker/Dockerfile.runtime -t ${RUNTIME_IMG}:${VERSION}
5750

5851
docker-build-serving: test
59-
docker build . -f docker/Dockerfile.serving -t ${SERVING_IMG}:${GIT_VERSION}
52+
docker build . -f docker/Dockerfile.serving -t ${SERVING_IMG}:${VERSION}
6053

6154
# Push all docker images
6255
docker-push-all: docker-push-paddlejob docker-push-sampleset docker-push-runtime docker-push-serving
6356

6457
# Push the docker image
6558
docker-push-paddlejob:
66-
docker push ${PADDLEJOB_IMG}:${GIT_VERSION}
59+
docker push ${PADDLEJOB_IMG}:${VERSION}
6760

6861
# Push the sampleset docker image
6962
docker-push-sampleset:
70-
docker push ${SAMPLESET_IMG}:${GIT_VERSION}
63+
docker push ${SAMPLESET_IMG}:${VERSION}
7164

7265
docker-push-runtime:
73-
docker push ${RUNTIME_IMG}:${GIT_VERSION}
66+
docker push ${RUNTIME_IMG}:${VERSION}
7467

7568
docker-push-serving:
76-
docker push ${SERVING_IMG}:${GIT_VERSION}
69+
docker push ${SERVING_IMG}:${VERSION}
7770

7871
update-api-doc:
7972
bash docs/api-doc-gen/gen_api_doc.sh

charts/Chart.yaml

Lines changed: 44 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,54 @@
1+
annotations:
2+
category: mlops
13
apiVersion: v2
2-
name: paddlecloud
3-
description: A Helm chart to deploy paddle cloud ops in Kubernetes
4-
5-
# A chart can be either an 'application' or a 'library' chart.
6-
#
7-
# Application charts are a collection of templates that can be packaged into versioned archives
8-
# to be deployed.
9-
#
10-
# Library charts provide useful utilities or functions for the chart developer. They're included as
11-
# a dependency of application charts to inject those utilities and functions into the rendering
12-
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
4+
appVersion: 0.4.0
135
type: application
14-
15-
# This is the chart version. This version number should be incremented each time you make changes
16-
# to the chart and its templates, including the app version.
17-
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
19-
20-
# This is the version number of the application being deployed. This version number should be
21-
# incremented each time you make changes to the application. Versions are not expected to
22-
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: 0.1.0
24-
6+
description: PaddlePaddle Docker images and K8s operators for PaddleOCR/Detection developers to use on public/private cloud.
257
home: https://github.com/PaddlePaddle/PaddleCloud
8+
icon: https://avatars.githubusercontent.com/u/23534030?s=200&v=4
9+
keywords:
10+
- paddle
11+
- PaddlePaddle
12+
- mlops
13+
- paddlecloud
14+
name: paddlecloud
2615
sources:
2716
- https://github.com/PaddlePaddle/PaddleCloud
17+
version: 0.0.1
2818

2919
dependencies:
20+
- name: paddle-training
21+
version: 0.1.0
22+
repository: file://charts/training
23+
condition: paddle-training.enabled
24+
alias: training
3025
- name: juicefs-csi-driver
31-
version: v0.8.1
26+
version: 0.8.1
3227
repository: file://charts/juicefs
33-
condition: global.enableSampleSet
28+
condition: juicefs.enabled
3429
alias: juicefs
35-
36-
keywords:
37-
- category:Paddle
38-
- Paddle
39-
- namespace:paddle-system
40-
- releaseName:paddlecloud
30+
- name: redis
31+
version: 16.5.4
32+
repository: file://charts/redis
33+
condition: redis.enabled
34+
- name: paddle-serving
35+
version: 0.1.0
36+
repository: file://charts/serving
37+
condition: paddle-serving.enabled
38+
alias: serving
39+
- name: knative-serving
40+
version: 0.1.0
41+
repository: file://charts/knative
42+
condition: knative.enabled
43+
alias: knative
44+
- name: net-kourier
45+
version: 0.1.0
46+
repository: file://charts/kourier
47+
condition: kourier.enabled
48+
alias: kourier
49+
- name: kubeflow-pipelines
50+
version: 0.1.0
51+
repository: file://charts/pipelines
52+
condition: pipelines.enabled
53+
alias: pipelines
54+
- name:

charts/LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright © 2022 Bitnami
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

charts/charts/knative/Chart.yaml

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
1+
annotations:
2+
category: serverless
13
apiVersion: v2
2-
name: knative
3-
description: A Helm chart for Kubernetes
4-
5-
# A chart can be either an 'application' or a 'library' chart.
6-
#
7-
# Application charts are a collection of templates that can be packaged into versioned archives
8-
# to be deployed.
9-
#
10-
# Library charts provide useful utilities or functions for the chart developer. They're included as
11-
# a dependency of application charts to inject those utilities and functions into the rendering
12-
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
4+
appVersion: 1.2.0
135
type: application
14-
15-
# This is the chart version. This version number should be incremented each time you make changes
16-
# to the chart and its templates, including the app version.
17-
# Versions are expected to follow Semantic Versioning (https://semver.org/)
6+
description: Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers. Serving is easy to get started with and scales to support advanced scenarios.
7+
home: https://github.com/knative/serving
8+
icon: https://knative.dev/docs/images/logo/rgb/knative-logo-rgb.png
9+
keywords:
10+
- knative
11+
- serving
12+
- serverless
13+
name: knative-serving
14+
sources:
15+
- https://github.com/knative/serving
1816
version: 0.1.0
19-
20-
# This is the version number of the application being deployed. This version number should be
21-
# incremented each time you make changes to the application. Versions are not expected to
22-
# follow Semantic Versioning. They should reflect the version the application is using.
23-
# It is recommended to use it with quotes.
24-
appVersion: "1.16.0"

charts/charts/knative/values.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## @param kubeVersion Override Kubernetes version
2+
##
3+
kubeVersion: ""
4+
## @param nameOverride String to partially override common.names.fullname
5+
##
6+
nameOverride: ""
7+
## @param fullnameOverride String to fully override common.names.fullname
8+
##
9+
fullnameOverride: ""
10+
## @param commonLabels Labels to add to all deployed objects
11+
##
12+
commonLabels: {}
13+
## @param commonAnnotations Annotations to add to all deployed objects
14+
##
15+
commonAnnotations: {}
16+
## @param clusterDomain Kubernetes cluster domain name
17+
##
18+
clusterDomain: cluster.local
19+
## @param extraDeploy Array of extra objects to deploy with the release
20+
##`
21+
extraDeploy: []

charts/charts/kourier/Chart.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
annotations:
2+
category: ingress
3+
apiVersion: v2
4+
appVersion: 1.2.0
5+
type: application
6+
description: Kourier is an Ingress for Knative Serving. Kourier is a lightweight alternative for the Istio ingress as its deployment consists only of an Envoy proxy and a control plane for it.
7+
home: https://github.com/knative-sandbox/net-kourier
8+
icon: https://knative.dev/docs/images/logo/rgb/knative-logo-rgb.png
9+
keywords:
10+
- kourier
11+
- knative
12+
- ingress
13+
name: net-kourier
14+
sources:
15+
- https://github.com/knative-sandbox/net-kourier
16+
version: 0.1.0

charts/charts/kourier/values.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## @param kubeVersion Override Kubernetes version
2+
##
3+
kubeVersion: ""
4+
## @param nameOverride String to partially override common.names.fullname
5+
##
6+
nameOverride: ""
7+
## @param fullnameOverride String to fully override common.names.fullname
8+
##
9+
fullnameOverride: ""
10+
## @param commonLabels Labels to add to all deployed objects
11+
##
12+
commonLabels: {}
13+
## @param commonAnnotations Annotations to add to all deployed objects
14+
##
15+
commonAnnotations: {}
16+
## @param clusterDomain Kubernetes cluster domain name
17+
##
18+
clusterDomain: cluster.local
19+
## @param extraDeploy Array of extra objects to deploy with the release
20+
##`
21+
extraDeploy: []

charts/charts/pipeline/Chart.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

charts/charts/pipeline/templates/_helpers.tpl

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)