You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2023/02/01 12:17:17 UTC

[skywalking-swck] branch master updated: Use `kubectl apply -k` to install operator and adapter (#79)

This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-swck.git


The following commit(s) were added to refs/heads/master by this push:
     new d9e6f33  Use  `kubectl apply -k` to install operator and adapter (#79)
d9e6f33 is described below

commit d9e6f33ce53f79055bae9c751254b43323b8c0a9
Author: Ye Cao <da...@gmail.com>
AuthorDate: Wed Feb 1 20:17:12 2023 +0800

    Use  `kubectl apply -k` to install operator and adapter (#79)
    
    * Use `kubectl apply -k`  to install the operator and adapter
    * Preserve the way to install from the release binary.
    
    Signed-off-by: dashanji <da...@gmail.com>
---
 README.md | 32 ++++++++++++++++++++++++++++----
 1 file changed, 28 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index e142efd..e8d3bf3 100644
--- a/README.md
+++ b/README.md
@@ -21,8 +21,9 @@ SWCK is a platform for the SkyWalking user that provisions, upgrades, maintains
 
 # Quick Start
 
-* Go to the [download page](https://skywalking.apache.org/downloads/#SkyWalkingCloudonKubernetes) to download the latest release binary, `skywalking-swck-<SWCK_VERSION>-bin.tgz`. Unarchive the package to
-a folder named `skywalking-swck-<SWCK_VERSION>-bin`
+There are two ways to install swck.
+* Go to the [download page](https://skywalking.apache.org/downloads/#SkyWalkingCloudonKubernetes) to download the latest release binary, `skywalking-swck-<SWCK_VERSION>-bin.tgz`. Unarchive the package to a folder named `skywalking-swck-<SWCK_VERSION>-bin`
+* Apply the kustomization directory from github.
 
 ## Java Agent Injector
 
@@ -41,21 +42,44 @@ For more details, please read [Java agent injector](/docs/java-agent-injector.md
 
 * To install the operator in an existing cluster, ensure you have [`cert-manager`](https://cert-manager.io/docs/installation/) installed.
 * Apply the manifests for the Controller and CRDs in release/config:
- 
+
  ```
  kubectl apply -f skywalking-swck-<SWCK_VERSION>-bin/config/operator-bundle.yaml
  ```
 
+* Also, you could deploy the operator quickly based on **Master Branch** or **Stable Release**:
+ 
+ ```
+ kubectl apply -k "github.com/apache/skywalking-swck/operator/config/default"
+ ```
+
+or
+
+ ```
+ kubectl apply -k "github.com/apache/skywalking-swck/operator/config/default?ref=v0.7.0"
+ ```
+
 For more details, please refer to [deploy operator](docs/operator.md)
 
 ## Custom Metrics Adapter
   
 * Deploy the OAP server by referring to Operator Quick Start.
 * Apply the manifests for an adapter in release/adapter/config:
- 
+
  ```
  kubectl apply -f skywalking-swck-<SWCK_VERSION>-bin/config/adapter-bundle.yaml
  ```
+* Also, you could deploy the adapter quickly based on **Master Branch** or **Stable Release**:
+ 
+ ```
+ kubectl apply -k "github.com/apache/skywalking-swck/adapter/config"
+ ```
+
+or
+
+ ```
+ kubectl apply -k "github.com/apache/skywalking-swck/adapter/config?ref=v0.7.0"
+ ```
 
 For more details, please read [Custom metrics adapter](docs/custom-metrics-adapter.md)