mirror of https://github.com/istio/istio.io.git
				
				
				
			Move gardener doc to platform-setup folder (#4554)
This commit is contained in:
		
							parent
							
								
									d4545c9233
								
							
						
					
					
						commit
						9d0a75b3f7
					
				| Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 125 KiB | 
| Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB | 
| Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 111 KiB | 
|  | @ -1,7 +1,7 @@ | ||||||
| --- | --- | ||||||
| title: Kubernetes Gardener | title: Kubernetes Gardener | ||||||
| description: Instructions to setup a Gardener cluster for Istio. | description: Instructions to setup a Gardener cluster for Istio. | ||||||
| weight: 15  | weight: 19 | ||||||
| skip_seealso: true | skip_seealso: true | ||||||
| keywords: [platform-setup,kubernetes,gardener,sap] | keywords: [platform-setup,kubernetes,gardener,sap] | ||||||
| --- | --- | ||||||
|  | @ -13,15 +13,15 @@ To set up your own [Gardener](https://gardener.cloud), see the | ||||||
| or have a look at the | or have a look at the | ||||||
| [landscape-setup-template](https://github.com/gardener/landscape-setup-template) | [landscape-setup-template](https://github.com/gardener/landscape-setup-template) | ||||||
| project. To learn more about this open source project, read the | project. To learn more about this open source project, read the | ||||||
| [blog on kubernetes.io](https://kubernetes.io/blog/2018/05/17/gardener/). | [blog on `kubernetes.io`](https://kubernetes.io/blog/2018/05/17/gardener/). | ||||||
| 
 | 
 | ||||||
| ### Install and configure `kubectl` | ### Install and configure `kubectl` | ||||||
| 
 | 
 | ||||||
| 1.  If you already have `kubectl` CLI, run `kubectl version --short` to check | 1.  If you already have `kubectl` CLI, run `kubectl version --short` to check | ||||||
|     the version. You need v1.10 or newer. If your `kubectl` is older, follow the |     the version. You need `v1.10` or newer. If your `kubectl` is older, follow the | ||||||
|     next step to install a newer version. |     next step to install a newer version. | ||||||
| 
 | 
 | ||||||
| 1.  [Install the kubectl CLI](https://kubernetes.io/docs/tasks/tools/install-kubectl/). | 1.  [Install the `kubectl` CLI](https://kubernetes.io/docs/tasks/tools/install-kubectl/). | ||||||
| 
 | 
 | ||||||
| ### Access Gardener | ### Access Gardener | ||||||
| 
 | 
 | ||||||
|  | @ -43,7 +43,7 @@ You can create your cluster using `kubectl` cli by providing a cluster | ||||||
| specification yaml file. You can find an example for GCP | specification yaml file. You can find an example for GCP | ||||||
| [here](https://github.com/gardener/gardener/blob/master/example/90-shoot-gcp.yaml). | [here](https://github.com/gardener/gardener/blob/master/example/90-shoot-gcp.yaml). | ||||||
| Make sure the namespace matches that of your project. Then just apply the | Make sure the namespace matches that of your project. Then just apply the | ||||||
| prepared so-called "shoot" cluster crd with kubectl: | prepared so-called "shoot" cluster CRD with `kubectl`: | ||||||
| 
 | 
 | ||||||
| {{< text bash >}} | {{< text bash >}} | ||||||
| $ kubectl apply --filename my-cluster.yaml | $ kubectl apply --filename my-cluster.yaml | ||||||
|  | @ -53,7 +53,7 @@ The easier alternative is to create the cluster following the cluster creation | ||||||
| wizard in the Gardener dashboard: | wizard in the Gardener dashboard: | ||||||
|  |  | ||||||
| 
 | 
 | ||||||
| ### Configure kubectl for your cluster | ### Configure `kubectl` for your cluster | ||||||
| 
 | 
 | ||||||
| You can now download the kubeconfig for your freshly created cluster in the | You can now download the kubeconfig for your freshly created cluster in the | ||||||
| Gardener dashboard or via cli as follows: | Gardener dashboard or via cli as follows: | ||||||
|  | @ -68,7 +68,7 @@ of this guide be sure you have `export KUBECONFIG=my-cluster.yaml` set. | ||||||
| ## Cleaning up | ## Cleaning up | ||||||
| 
 | 
 | ||||||
| Use the Gardener dashboard to delete your cluster, or execute the following with | Use the Gardener dashboard to delete your cluster, or execute the following with | ||||||
| kubectl pointing to your `garden-my-project.yaml` kubeconfig: | `kubectl` pointing to your `garden-my-project.yaml` kubeconfig: | ||||||
| 
 | 
 | ||||||
| {{< text bash >}} | {{< text bash >}} | ||||||
| $ kubectl --kubeconfig garden-my-project.yaml --namespace garden--my-project annotate shoot my-cluster confirmation.garden.sapcloud.io/deletion=true | $ kubectl --kubeconfig garden-my-project.yaml --namespace garden--my-project annotate shoot my-cluster confirmation.garden.sapcloud.io/deletion=true | ||||||
		Loading…
	
		Reference in New Issue