Skip to content

Commit

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

* add  internal registry

* add missing flags
  • Loading branch information
halamix2 authored May 8, 2024
1 parent 8746ec5 commit 6001548
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/contributor/01-00-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ export K3D_CLUSTER_NAME=kyma
3. Provision the k3d cluster.

```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 --k3s-arg "--disable=traefik@server:0" --registry-use kyma-registry
kubectl create ns kyma-system
```
>**TIP:** To verify the correctness of the project, build it using the `make build` command.
Expand Down
4 changes: 3 additions & 1 deletion tests/ui/scripts/k3d-local-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
set -ex

echo "Provisioning k3d cluster"
kyma provision k3d
k3d cluster create kyma --port 80:80@loadbalancer --port 443:443@loadbalancer --k3s-arg "--disable=traefik@server:0"

export KUBECONFIG=$(k3d kubeconfig merge kyma)

kubectl create ns kyma-system

echo "Apply istio"
make create-kyma-system-ns
kubectl apply -f https://github.com/kyma-project/istio/releases/latest/download/istio-manager.yaml
Expand Down

0 comments on commit 6001548

Please sign in to comment.