Discover the K8S version for IKS deployment (#563)

* Discover the K8S version for IKS deployment

Version 1.10.3 is not available anymore in IKS. Having a fixed
version will become stale eventually. The default version is
now >1.10 but that may change, so ask installers to select an
appropriate version based on the minimum requirement.

* Update Knative-with-IKS.md

* Update Knative-with-IKS.md
This commit is contained in:
Andrea Frittoli 2018-11-26 21:12:22 +00:00 committed by Knative Prow Robot
parent 16b73392db
commit d18ba92b4a
1 changed files with 7 additions and 2 deletions

View File

@ -73,12 +73,17 @@ components, the recommended configuration for a cluster is:
```bash
ibmcloud cs region-set $CLUSTER_REGION
```
1. Select a Kubernetes version:
```bash
ibmcloud cs kube-versions
export CLUSTER_K8S_VERSION=[a version from the list, must be >1.10]
```
1. Create a Kubernetes cluster on IKS with the required specifications:
```bash
ibmcloud cs cluster-create --name=$CLUSTER_NAME \
--zone=$CLUSTER_ZONE \
--kube-version=1.10.3 \
--kube-version=$CLUSTER_K8S_VERSION \
--machine-type=b2c.4x16 \
--workers=3
```
@ -91,7 +96,7 @@ components, the recommended configuration for a cluster is:
```bash
ibmcloud cs cluster-create --name=$CLUSTER_NAME \
--zone=$CLUSTER_ZONE \
--kube-version=1.10.3 \
--kube-version=$CLUSTER_K8S_VERSION \
--machine-type=b2c.4x16 \
--workers=3 \
--private-vlan $PRIVATE_VLAN_ID \