Qconnect Service with Kubernetes
This guide will walk you through deploying Qpoint Proxy and Qpoint Connect on a Kubernetes cluster using Helm, setting up a test Pod to verify the setup, and configuring iptables
or environment variables for traffic routing. The Proxy supports only HTTPS traffic at this time.
We'll skip Certificate Installation in this guide. See the Kubernetes Connect guide for additional information on how to supply certificates.
Install Qpoint Helm Repo
First, add the Qpoint Helm Repo. The Qpoint Helm charts are maintained under https://github.com/qpoint-io/helm-charts and the repository is available at https://helm.qpoint.io/.
Deploy Qpoint Proxy
Deploy Qpoint Proxy using Helm. Replace $TOKEN
with your actual registration token.
Note that there are two recommended approaches in regards to namespaces when installing:
Install into a dedicated namespace (i.e.
qpoint
).Install into different namespaces inline with the operational requirements for your organziation (i.e.
billing
,shipping
...).
The following example assumes that Qpoint Proxy will be installed into the qpoint
namespace.
You can find all configurable options with helm:
Verify the Deployment:
Example Output:
Deploy Qpoint Connect
Deploy Qpoint Connect, setting the upstream to the Qpoint Proxy service, and provide an optional username and password if you've implemented an ACL.
Similar to Qpoint Proxy there are also the same options for choosing which namespace to install into.
The following example assumes that Qpoint Connect will be installed into the qpoint
namespace.
You can find all configurable options with helm:
Verify the Deployment:
Example Output:
Route traffic
Qpoint Init
If your application does not support environment variables for proxies, you can use the Qpoint Init container to configure iptables
rules for routing traffic through Qpoint Connect.
Note that the following assumes that Qpoint Connect has been installed in the qpoint
namespace (i.e. DNS value of qpoint-connect.qpoint.svc.cluster.local
).
Apply the configuration:
Verify the Pod Status
Ensure the Pod is running:
Example Output:
Execute Commands in the Pod
Once the Pod is running, exec into the Pod and use curl:
Inside the Pod, you can now use curl to test the connectivity through Qpoint Connect:
You should see this traffic discovered and authenticated by the Qpoint Proxy
Last updated