Skip to content

Commit 43ee5b6

Browse files
Update port forwarding instructions to use server
1 parent 9b706bc commit 43ee5b6

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

docs/platform/deploying-airbyte/deploying-airbyte.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,18 +193,20 @@ Helm install spits out instructions for how to set up the port forward. Go ahead
193193
<TabItem value='helm-1' label='Helm chart V1' default>
194194

195195
```bash
196-
export POD_NAME=$(kubectl get pods --namespace airbyte -l "app.kubernetes.io/name=webapp" -o jsonpath="{.items[0].metadata.name}")
197-
export CONTAINER_PORT=$(kubectl get pod --namespace airbyte $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
198-
echo "Visit http://127.0.0.1:8080 to use your application"
199-
kubectl --namespace airbyte port-forward $POD_NAME 8080:$CONTAINER_PORT
196+
Get the application URL by running these commands:
197+
198+
echo "Visit http://127.0.0.1:8080 to use your application"
199+
kubectl -n airbyte port-forward deployment/airbyte-server 8080:8001
200200
```
201201

202202
</TabItem>
203203
<TabItem value='helm-2' label='Helm chart V2' default>
204204

205205
```bash
206+
Get the application URL by running these commands:
207+
206208
echo "Visit http://127.0.0.1:8080 to use your application"
207-
kubectl -n airbyte-v2 port-forward deployment/airbyte-webapp 8080:8080
209+
kubectl -n airbyte-v2 port-forward deployment/airbyte-server 8080:8001
208210
```
209211

210212
</TabItem>

docs/platform/operator-guides/upgrading-airbyte.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ Upgrade by updating your `values.yaml` file and redeploying Airbyte. If you're n
5151
After 5 minutes, Helm prints a message showing how to port-forward Airbyte. This may take longer on Kubernetes clusters with slow internet connections. In general the message is as follows:
5252

5353
```bash
54-
export POD_NAME=$(kubectl get pods -l "app.kubernetes.io/name=webapp" -o jsonpath="{.items[0].metadata.name}")
55-
export CONTAINER_PORT=$(kubectl get pod $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
54+
Get the application URL by running these commands:
55+
5656
echo "Visit http://127.0.0.1:8080 to use your application"
57-
kubectl port-forward $POD_NAME 8080:$CONTAINER_PORT
57+
kubectl -n airbyte port-forward deployment/airbyte-server 8080:8001
5858
```
5959

6060
## Upgrading Airbyte deployed with abctl

0 commit comments

Comments
 (0)