|
1 | 1 | # Deploy MLX on an existing Kubernetes cluster |
2 | 2 |
|
3 | 3 | ## Prerequisites |
4 | | -* An existing Kubernetes cluster. Version 1.17+ |
5 | | -* The minimum recommended capacity requirement for MLX is 8 vCPUs and 16GB RAM |
| 4 | +* An existing Kubernetes cluster: |
| 5 | + - **Min version: 1.17** |
| 6 | + - **Max version: 1.21** |
| 7 | +* The recommended minimum capacity requirement for MLX are: |
| 8 | + - **CPUs**: 8 Cores |
| 9 | + - **Memory**: 16 GB RAM |
| 10 | + - **Disk**: 32+ GB |
6 | 11 | * If you are using IBM Cloud, follow the appropriate instructions for standing up your Kubernetes cluster using the [IBM Cloud Kubernetes Service](https://cloud.ibm.com/docs/containers?topic=containers-cs_cluster_tutorial#cs_cluster_tutorial) |
7 | 12 | * If you are using OpenShift on IBM Cloud, please follow the instructions for standing up your [IBM Cloud Red Hat OpenShift cluster](https://cloud.ibm.com/docs/openshift?topic=openshift-openshift_tutorial) |
8 | 13 | * [`kustomize v3.2.0`](https://github.com/kubernetes-sigs/kustomize/releases/tag/v3.2.0) is installed |
@@ -48,3 +53,22 @@ To delete this MLX deployment, run the following commands in the same manifests |
48 | 53 | ``` |
49 | 54 | kustomize build example | kubectl delete -f - |
50 | 55 | ``` |
| 56 | + |
| 57 | +## Troubleshooting |
| 58 | + |
| 59 | +- If you see errors like these during the deployment, it may be because of a unsupported Kubernetes version. |
| 60 | + Check the [Prerequisites](#prerequisites) for the supported Kubernetes versions. |
| 61 | + |
| 62 | + ``` |
| 63 | + # while ! kustomize build example | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done |
| 64 | + ... |
| 65 | + unable to recognize "STDIN": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" |
| 66 | + unable to recognize "STDIN": no matches for kind "RoleBinding" in version "rbac.authorization.k8s.io/v1beta1" |
| 67 | + unable to recognize "STDIN": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1" |
| 68 | + unable to recognize "STDIN": no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3" |
| 69 | + ... |
| 70 | + ``` |
| 71 | + To find your Kubernetes server version, run `kubectl version | grep Server`: |
| 72 | + ``` |
| 73 | + Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.12", ... |
| 74 | + ``` |
0 commit comments