Install APK with Enterprise Helm Chart¶
Before you begin...¶
Install the prerequisites that are required to run WSO2 API Platform For Kubernetes.
Start WSO2 API Platform For Kubernetes Enterprise Version¶
-
Create WSO2 APK image pull secrets with your WSO2 credentials as shown below and apply this in K8s.
kubectl create secret docker-registry apk-registry-secret --docker-server=docker.wso2.com --docker-username=<username> --docker-password=<password> --docker-email=<email>
Note
If you don't have a WSO2 user account, we've created one and sent you the details. If you already have an account, just use your existing credentials.
-
Add the WSO2 APK Helm repository.
helm repo add wso2 https://helm.wso2.com
-
Execute the following command to update the helm repositories.
helm repo update
-
Install the APK components and start WSO2 API Platform For Kubernetes. Consider
apk
as the<chart-name>
for this guide. As the--version
of this command, use the version of the release you used in point 1 above. It will take a few minutes for the deployment to complete.
Helm install for amd64¶
helm install apk wso2/apk-helm --version 1.1.0 --set wso2.subscription.imagePullSecrets="apk-registry-secret"
helm install <chart-name> <repository-name>/apk-helm --version <version-of-APK> --set wso2.subscription.imagePullSecrets=<secret-name>
Helm install for arm64¶
helm install apk wso2/apk-helm --version 1.1.0 --set wso2.subscription.imagePullSecrets="apk-registry-secret" -f https://raw.githubusercontent.com/wso2/apk/main/helm-charts/samples/enterprise/arm64.yaml
helm install <chart-name> <repository-name>/apk-helm --version <version-of-APK> -f <path-to-arm64.yaml-file>
Optional
To commence the installation while making use of the customization capabilities inherent in the values.yaml
file, follow the subsequent command format. Instructions in Customize Configurations will guide you through the process of acquiring the values.yaml
file.
helm install apk wso2apk/apk-helm --version 1.1.0 -set wso2.subscription.imagePullSecrets="apk-registry-secret" -f values.yaml
helm install <chart-name> <repository-name>/apk-helm --version <version-of-APK> --set wso2.subscription.imagePullSecrets=<secret-name> -f <path-to-values.yaml-file>
Verify the deployment¶
Now you can verify the deployment by executing the following command. You will see the status of the pods as follows once completed.
kubectl get pods
Important
If pods are not transitioning to running state, please follow the steps in the FAQs to troubleshoot the problem.