Skip to content

Commit 3e81d0f

Browse files
committed
Add gateway api quick start instructions
1 parent 6249b68 commit 3e81d0f

File tree

1 file changed

+11
-1
lines changed
  • content/en/blog/_posts/2023-10-18-gateway-api-time-to-switch-i2gw

1 file changed

+11
-1
lines changed

content/en/blog/_posts/2023-10-18-gateway-api-time-to-switch-i2gw/index.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ For instance, infrastructure engineers play a pivotal role in deploying GatewayC
3737

3838
<!-- Lastly, application developers … -->
3939

40-
![The resources of Gateway API](gateway-api-resources.png)
40+
![The resources of Gateway API](gateway-api-resources.svg)
4141

4242
### Portability
4343
Gateway API is designed to be more portable across different implementations, clusters and environments. It helps reduce Ingress' reliance on non-portable, provider-specific annotations, making your configurations more consistent and easier to manage across multiple clusters.
@@ -53,6 +53,16 @@ Gateway API allows for custom resources to be linked at various layers of the AP
5353
### Gateway API Quick Start
5454

5555
<!-- TODO(liorlieberman) - either put it here or provide links to reference on how to install and deploy a service exposed with a Gateway and HTTPRoute. -->
56+
The first thing you will need is a Kubernetes cluster. You can set up a new cluster using [KinD](https://kind.sigs.k8s.io/) with the following command:
57+
```bash
58+
kind create cluster --name introducing-i2gw
59+
```
60+
When you create a service of type LoadBalancer in a Kubernetes cluster, typically, cloud providers (like AWS, GCP, Azure) automatically provision a cloud load balancer and allocate a public IP address for it. However, since KinD runs locally, there's no cloud provider available to automatically provision an external IP for such services.
61+
62+
This is where MetalLB comes in. MetalLB provides a network load-balancer implementation for Kubernetes clusters that do not have external load-balancers available, like KinD.
63+
You'll need to [install](https://metallb.universe.tf/installation/) it in order to continue with this guide.
64+
65+
Now you should have a working environment to start experimenting with Gateway-API. There are many great guides you can follow at https://gateway-api.sigs.k8s.io/guides/.
5666

5767
### Migrating from Ingress to Gateway API using Ingress2Gateway
5868
Migrating from Ingress to the Gateway API may seem intimidating, but luckily Kubernetes SIG-Network provides a tool to simplify the process. Ingress2Gateway assists in the migration by converting your existing Ingress resources into Gateway API resources. To get started with ingress2gateway, you need to first install the tool.

0 commit comments

Comments
 (0)