From 8388709d4df22800d9794bc1f02f3b51e9d3aa3a Mon Sep 17 00:00:00 2001 From: cchung100m Date: Mon, 8 May 2023 18:47:38 +0800 Subject: [PATCH 1/2] [Docs]Updated the install.md for solving metadata.annotations: Too long --- docs/operator/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/operator/install.md b/docs/operator/install.md index 06a380add8..06e8b19bae 100644 --- a/docs/operator/install.md +++ b/docs/operator/install.md @@ -42,7 +42,7 @@ to [crd yaml file](../../deploy/kubernetes/operator/config/crd/bases/uniffle.apa Run the following command: ``` -kubectl apply -f ${crd-yaml-file} +kubectl create -f ${crd-yaml-file} ``` ## Setup or Update Uniffle Webhook From 1edc4e6e3e05fd1c28ffe9d12aa759e811efbce8 Mon Sep 17 00:00:00 2001 From: cchung100m Date: Tue, 9 May 2023 20:35:15 +0800 Subject: [PATCH 2/2] [Docs] Updated based on review comments --- docs/operator/install.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/operator/install.md b/docs/operator/install.md index 06e8b19bae..891ea28c06 100644 --- a/docs/operator/install.md +++ b/docs/operator/install.md @@ -42,7 +42,11 @@ to [crd yaml file](../../deploy/kubernetes/operator/config/crd/bases/uniffle.apa Run the following command: ``` +# create, cannot use apply here, see https://github.com/apache/incubator-uniffle/issues/774 kubectl create -f ${crd-yaml-file} + +# update, make sure the crd-yaml-file is a complete CRD file. +kubectl replace -f ${crd-yaml-file} ``` ## Setup or Update Uniffle Webhook