Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.44 KB

02-PrepareKymaNamespace.md

File metadata and controls

41 lines (22 loc) · 1.44 KB

Prepare Kyma Namespace

Prerequisites

Prepare your application for deployment

Get kubeconfig:

  1. Open the reCAP: Kyma subaccount and go to the Kyma Environment section.

  2. Click on KubeconfigURL to download the kubeconfig File.

  3. Export the kubeconfig using the command:

    Windows:

    set KUBECONFIG=<path-to-your-downloaded-file>.

    macOS:

    export KUBECONFIG=<path-to-your-downloaded-file>.

Prepare Kubernetes Namespace

Change namespace to your own using: kubectl config set-context --current --namespace=participant-<id>

Create container registry secret

Create a secret docker-secret with credentials to access the container registry:

kubectl create secret docker-registry docker-secret --docker-username=$USERNAME --docker-password=$API_KEY --docker-server=$YOUR_CONTAINER_REGISTRY 

This will create a K8s secret, docker-secret, in your namespace.

Next: Containerization