diff --git a/.kubeagi_repo.yaml b/.kubeagi_repo.yaml deleted file mode 100644 index 55d91dc77..000000000 --- a/.kubeagi_repo.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: core.kubebb.k8s.com.cn/v1alpha1 -kind: Repository -metadata: - name: kubeagi - namespace: kubebb-system -spec: - url: https://kubeagi.github.io/arcadia - pullStategy: - intervalSeconds: 120 - retry: 5 diff --git a/README.md b/README.md index e5366a9c1..2900e6a7a 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,13 @@ Our design and development in Arcadia design follows operator pattern which exte helm install --namespace arcadia --create-namespace arcadia arcadia/arcadia ``` +More conveniently,you can use [kubebb](https://github.com/kubebb) to install and upgrade arcadia automatically: +> Pre-requsities +> - [kubebb](https://kubebb.github.io/website/docs/quick-start/core_quickstart) +```shell +kubectl apply -f ./kubeagi.yaml +``` + ## CLI We provide a Command Line Tool `arctl` to interact with `arcadia`. See [here](./arctl/README.md) for more details. diff --git a/kubeagi.yaml b/kubeagi.yaml new file mode 100644 index 000000000..20e4a9c3e --- /dev/null +++ b/kubeagi.yaml @@ -0,0 +1,30 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: arcadia +--- +apiVersion: core.kubebb.k8s.com.cn/v1alpha1 +kind: Repository +metadata: + name: kubeagi + namespace: arcadia +spec: + url: https://kubeagi.github.io/arcadia + pullStategy: + intervalSeconds: 120 + retry: 5 +--- +apiVersion: core.kubebb.k8s.com.cn/v1alpha1 +kind: Subscription +metadata: + name: arcadia + namespace: arcadia +spec: + name: arcadia # release name in helm + componentPlanInstallMethod: auto + component: + name: kubeagi.arcadia + namespace: arcadia + override: + set: + - deployment.imagePullPolcy=Always \ No newline at end of file