Kubernetes network hub/router pod
up vote
0
down vote
favorite
I am looking for a way to be able to have a centralized pod for a namespace that all other pods connect to for their network routing. To clarify, the scenario I am looking to achieve is to have a container/pod that has an OpenVPN connection to a site and all the other pods/services in the namespace go through that OpenVPN pod for their external network communication/routing so that they can be accessible only via the VPN.
I have gone through a portion of the k8s documentation, but I have not yet found anything that can help me achieve this. Ideally I would like to be able to implement this in any k8s environment without having to rework the images for the already existing deployments. Any Kubernetes gurus here that might have some insight on the matter? :)
kubernetes vpn kubectl openvpn
add a comment |
up vote
0
down vote
favorite
I am looking for a way to be able to have a centralized pod for a namespace that all other pods connect to for their network routing. To clarify, the scenario I am looking to achieve is to have a container/pod that has an OpenVPN connection to a site and all the other pods/services in the namespace go through that OpenVPN pod for their external network communication/routing so that they can be accessible only via the VPN.
I have gone through a portion of the k8s documentation, but I have not yet found anything that can help me achieve this. Ideally I would like to be able to implement this in any k8s environment without having to rework the images for the already existing deployments. Any Kubernetes gurus here that might have some insight on the matter? :)
kubernetes vpn kubectl openvpn
For what exact purposes do you want to use OpenVPN? Also, isn't it an option to configure it on Nodes, to let containers use these settings.
– Artem Golenyaev
15 hours ago
@ArtemGolenyaev , OpenVPN is the chosen solution for the VPN tunnel based on the use case for the eventual solution. There are options to to run OpenVPN directly for the k8s cluster but then there would not be any room for diversity i.e. I want to achieve an environment where I can deploy certain applications in a namespace that communicates only via the VPN.
– Martin Nikolaev Ivanov
13 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am looking for a way to be able to have a centralized pod for a namespace that all other pods connect to for their network routing. To clarify, the scenario I am looking to achieve is to have a container/pod that has an OpenVPN connection to a site and all the other pods/services in the namespace go through that OpenVPN pod for their external network communication/routing so that they can be accessible only via the VPN.
I have gone through a portion of the k8s documentation, but I have not yet found anything that can help me achieve this. Ideally I would like to be able to implement this in any k8s environment without having to rework the images for the already existing deployments. Any Kubernetes gurus here that might have some insight on the matter? :)
kubernetes vpn kubectl openvpn
I am looking for a way to be able to have a centralized pod for a namespace that all other pods connect to for their network routing. To clarify, the scenario I am looking to achieve is to have a container/pod that has an OpenVPN connection to a site and all the other pods/services in the namespace go through that OpenVPN pod for their external network communication/routing so that they can be accessible only via the VPN.
I have gone through a portion of the k8s documentation, but I have not yet found anything that can help me achieve this. Ideally I would like to be able to implement this in any k8s environment without having to rework the images for the already existing deployments. Any Kubernetes gurus here that might have some insight on the matter? :)
kubernetes vpn kubectl openvpn
kubernetes vpn kubectl openvpn
edited 16 hours ago
Ivan Aracki
1,55432540
1,55432540
asked 18 hours ago
Martin Nikolaev Ivanov
153
153
For what exact purposes do you want to use OpenVPN? Also, isn't it an option to configure it on Nodes, to let containers use these settings.
– Artem Golenyaev
15 hours ago
@ArtemGolenyaev , OpenVPN is the chosen solution for the VPN tunnel based on the use case for the eventual solution. There are options to to run OpenVPN directly for the k8s cluster but then there would not be any room for diversity i.e. I want to achieve an environment where I can deploy certain applications in a namespace that communicates only via the VPN.
– Martin Nikolaev Ivanov
13 hours ago
add a comment |
For what exact purposes do you want to use OpenVPN? Also, isn't it an option to configure it on Nodes, to let containers use these settings.
– Artem Golenyaev
15 hours ago
@ArtemGolenyaev , OpenVPN is the chosen solution for the VPN tunnel based on the use case for the eventual solution. There are options to to run OpenVPN directly for the k8s cluster but then there would not be any room for diversity i.e. I want to achieve an environment where I can deploy certain applications in a namespace that communicates only via the VPN.
– Martin Nikolaev Ivanov
13 hours ago
For what exact purposes do you want to use OpenVPN? Also, isn't it an option to configure it on Nodes, to let containers use these settings.
– Artem Golenyaev
15 hours ago
For what exact purposes do you want to use OpenVPN? Also, isn't it an option to configure it on Nodes, to let containers use these settings.
– Artem Golenyaev
15 hours ago
@ArtemGolenyaev , OpenVPN is the chosen solution for the VPN tunnel based on the use case for the eventual solution. There are options to to run OpenVPN directly for the k8s cluster but then there would not be any room for diversity i.e. I want to achieve an environment where I can deploy certain applications in a namespace that communicates only via the VPN.
– Martin Nikolaev Ivanov
13 hours ago
@ArtemGolenyaev , OpenVPN is the chosen solution for the VPN tunnel based on the use case for the eventual solution. There are options to to run OpenVPN directly for the k8s cluster but then there would not be any room for diversity i.e. I want to achieve an environment where I can deploy certain applications in a namespace that communicates only via the VPN.
– Martin Nikolaev Ivanov
13 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370926%2fkubernetes-network-hub-router-pod%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
For what exact purposes do you want to use OpenVPN? Also, isn't it an option to configure it on Nodes, to let containers use these settings.
– Artem Golenyaev
15 hours ago
@ArtemGolenyaev , OpenVPN is the chosen solution for the VPN tunnel based on the use case for the eventual solution. There are options to to run OpenVPN directly for the k8s cluster but then there would not be any room for diversity i.e. I want to achieve an environment where I can deploy certain applications in a namespace that communicates only via the VPN.
– Martin Nikolaev Ivanov
13 hours ago