<@U04S8PLJWMT> kubectl port-forward svc/airbyte-ai...
# ask-ai
s
@kapa.ai kubectl port-forward svc/airbyte-airbyte-server-svc 8000:8001 -n airbyte &...is this correct way of port farwarding
k
Yes, your command is almost correct for port-forwarding the Airbyte server service in the airbyte namespace:
Copy code
kubectl port-forward svc/airbyte-airbyte-server-svc 8000:8001 -n airbyte &
This command forwards your local port 8000 to port 8001 of the
airbyte-airbyte-server-svc
service in the
airbyte
namespace, which matches the typical Airbyte deployment pattern for recent versions using Helm chart V2. After running this, you should be able to access the Airbyte UI at [http://localhost:8000](http://localhost:8000) in your browser. This approach is consistent with the official documentation, which recommends forwarding local port 8080 to 8001 of the Airbyte server deployment for Helm chart V2, but using port 8000 locally is also valid as long as you adjust your browser URL accordingly. The key is matching the local and remote ports as needed for your setup. Always ensure you specify the correct namespace with
-n airbyte
if Airbyte is not deployed in the default namespace [Upgrading Airbyte](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte) [Deploying Airbyte](https://docs.airbyte.com/platform/deploying-airbyte#6-set-up-port-forward-for-ui-access). If you encounter issues, double-check that the service name and namespace are correct and that the service is running.