Skip to content

Commit

Permalink
Deprecate kyma provision k3d command (kyma-project#18673)
Browse files Browse the repository at this point in the history
* Deprecate kyma provision k3d command

* add missing

* use local registry in docs
  • Loading branch information
halamix2 authored May 10, 2024
1 parent a7648f9 commit 239afe9
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
3 changes: 2 additions & 1 deletion docs/02-get-started/01-quick-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ To get started with Kyma, let's quickly install it with specific modules first.
1. Provision a k3d cluster, run:

```bash
kyma provision k3d
k3d cluster create
kubectl create ns kyma-system
```

1. To install a Kyma module of your choice on a Kubernetes cluster, deploy its module manager and apply the module configuration. See the following Kyma modules with their quick installation commands and links to their GitHub repositories:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ On Linux, the ports are reserved to be used by a privileged user.
Use a custom port for the load balancer. For example, use the port `8080`:

```bash
kyma provision k3d -p 8080:80@loadbalancer -p 8443:443@loadbalancer
k3d cluster create -p 8080:80@loadbalancer -p 8443:443@loadbalancer
```

Alternatively, execute the `kyma provision k3d` command with sudo privileges.
Alternatively, execute the `k3d cluster create` command with sudo privileges.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ Pipelines run the tests using the **test-validator** target from the `Makefile`.

1. Provision a local Kubernetes cluster with k3d:
```sh
kyma provision k3d
k3d registry create kyma-registry --port 5001
k3d cluster create kyma --kubeconfig-switch-context -p 80:80@loadbalancer -p 443:443@loadbalancer --registry-use kyma-registry
kubectl create ns kyma-system
```

2. Install the minimal set of components required to run Application Connectivity Validator **for Kyma SKR (Compass mode)**:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ Pipelines run the tests using the **test-gateway** target from the `Makefile`.

1. Provision a local Kubernetes cluster with k3d:
```sh
kyma provision k3d
k3d registry create kyma-registry --port 5001
k3d cluster create kyma --kubeconfig-switch-context -p 80:80@loadbalancer -p 443:443@loadbalancer --registry-use kyma-registry
kubectl create ns kyma-system
```

2. Install the minimal set of components required to run Application Gateway for either Kyma OS or SKR:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ Pipelines run the tests using the **test-compass-runtime-agent** target from the

1. Provision a local Kubernetes cluster with k3d:
```bash
kyma provision k3d
k3d registry create kyma-registry --port 5001
k3d cluster create kyma --kubeconfig-switch-context -p 80:80@loadbalancer -p 443:443@loadbalancer --registry-use kyma-registry
kubectl create ns kyma-system
```

2. Install the minimal set of components required to run Compass Runtime Agent **for Kyma SKR (Compass mode)**:
Expand Down Expand Up @@ -135,4 +137,4 @@ To run the test in your IDE, perform the following steps.

```bash
make clean-test-compass-runtime-agent-test
```
```
4 changes: 3 additions & 1 deletion tests/components/application-connector/scripts/test-cra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
service docker start
curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash
curl -Lo kyma.tar.gz "https://github.com/kyma-project/cli/releases/download/$(curl -s https://api.github.com/repos/kyma-project/cli/releases/latest | grep tag_name | cut -d '"' -f 4)/kyma_Linux_x86_64.tar.gz" && mkdir kyma-release && tar -C kyma-release -zxvf kyma.tar.gz && chmod +x kyma-release/kyma && rm -rf kyma.tar.gz
kyma-release/kyma provision k3d
k3d registry create kyma-registry --port 5001
k3d cluster create kyma --kubeconfig-switch-context -p 80:80@loadbalancer -p 443:443@loadbalancer --registry-use kyma-registry
kubectl create ns kyma-system
kubectl cluster-info
kyma-release/kyma deploy --ci --components-file tests/components/application-connector/resources/installation-config/mini-kyma-skr.yaml --source local --workspace $PWD
cd tests/components/application-connector
Expand Down

0 comments on commit 239afe9

Please sign in to comment.