Create Windocks database connectors and connect to them using the Windocks proxy service. The database container runs outside the cluster on the Windocks machine. The proxy runs as a Kubernetes service in the cluster and orchestrates the creation of the Windocks container outside the cluster and then proxies all traffic to it. The Kubernetes applications that need to connect to the database container simply use the service name of the proxy as the hostname for the database connectivity.
First create the service YAMLService yaml
Create the deployment YAMLDeployment yaml
Apply the service and deployment yamlskubectl apply -f service.yaml
Use the service name in the service yaml as the hostname for any Kubernetes applications that want to connect to the database container.